3 Replies Latest reply on Dec 8, 2005 9:23 AM by ayusman

    Re: Deploying an ejb.

      Hi All,
      I am trying to deploy an ejb in JBoss 4.0.1.
      Here I created 3 files interface, home and bean files, compiled them and created FirstEjb.jar.

      I have put the jar file in %JBOSS_HOME%\server\default\deploy directory.
      When I start the JBoss server nothing is printed on the JBoss server console.

      But when I stop the server I get an WARN saying the :
      15:37:34,005 WARN [DeploymentInfo] Could not delete file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp39383FirstEjb.

      Could any one tell me what is wrong / I should do??

      I am reading an tutorial from http://java.about.com/library/weekly/aa_ejbintro2_2.htm

      Any suggestion will be appreciated.

      Thanks and regards
      Ayusman

        • 1. Re: Re: Deploying an ejb.

          JBoss and EJB problem.

          • 2. Re: Deploying an ejb.
            darranl

            What is your actual problem? Are you saying your beans are not deployed or are you worried about the warning?

            If it is about the beans not being deployed execute the command 'jar -tf jarname.jar' against the jar and post the output here.

            If it is about the warning just ignore it, it is just a warning because the jar is still locked by the java process - it will be automatically deleted later.

            • 3. Re: Deploying an ejb.

              Yes I am now ablr to deploy the ejb. The console logs show my ejb name and deployed successfully.

              Thanks for reply.