4 Replies Latest reply on May 12, 2007 6:39 PM by jaikiran

    Problem with Deploying

    thanz

      Hello

      I tried to search the internet for my problem but couldn't find anything.

      We have JBOSS 4.0.5 and had Lomboz Eclipse 3.1. We upgradet to Eclipse SDK 3.2.

      Now when i try to start the Server in Eclipse he cannot find all jar's for the EAR's. I use the same workspace as with the old eclipse but i cant find out why he cannot find the jars.

      server.log from old eclipse(3.1) which is running :

      2007-05-09 09:20:27,312 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/MANIFEST.MF
      2007-05-09 09:20:27,312 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: FINDOK_Intranet_Config.jar
      2007-05-09 09:20:27,343 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: FINDOK_Intranet_Web.war
      2007-05-09 09:20:27,359 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: FINDOK_Util.jar
      2007-05-09 09:20:27,359 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/application.xml
      2007-05-09 09:20:27,359 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: PortalAuthentificator.jar
      2007-05-09 09:20:27,406 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: antlr.jar
      2007-05-09 09:20:27,406 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: commons-beanutils.jar
      2007-05-09 09:20:27,437 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: commons-collections-3.1.jar
      2007-05-09 09:20:27,453 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: commons-configuration-1.1.jar
      2007-05-09 09:20:27,453 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: commons-digester.jar
      2007-05-09 09:20:27,453 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: commons-fileupload.jar
      2007-05-09 09:20:27,453 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: commons-lang-2.0.jar
      2007-05-09 09:20:27,468 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: commons-logging.jar
      2007-05-09 09:20:27,468 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: commons-validator.jar
      2007-05-09 09:20:27,484 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: jakarta-oro.jar
      2007-05-09 09:20:27,500 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: jboss-cache.jar
      2007-05-09 09:20:27,515 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: jboss-serialization.jar
      2007-05-09 09:20:27,546 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: jgroups.jar
      2007-05-09 09:20:27,562 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: log4j-1.2.8.jar
      2007-05-09 09:20:27,578 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: mime4j-0.2.jar
      2007-05-09 09:20:27,593 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: struts.jar
      2007-05-09 09:20:27,593 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: tripjtk.jar
      2007-05-09 09:20:27,593 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: triputil.jar
      2007-05-09 09:20:27,625 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: xercesImpl.jar
      2007-05-09 09:20:27,625 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@c0df84c5 { url=file:/D:/dv-java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp56736FINDOK_Intranet.ear-contents/FINDOK_Util.jar }
      deployer: null
      status: null
      state: CONSTRUCTED
      watch: file:/D:/dv-java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp56736FINDOK_Intranet.ear-contents/FINDOK_Util.jar
      altDD: null
      lastDeployed: 0
      lastModified: 0
      mbeans:
      , isDirectory: false
      2007-05-09 09:20:27,625 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@62f62ccf { url=file:/D:/dv-java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp56736FINDOK_Intranet.ear-contents/FINDOK_Intranet_Config.jar }
      deployer: null
      status: null
      state: CONSTRUCTED
      watch: file:/D:/dv-java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp56736FINDOK_Intranet.ear-contents/FINDOK_Intranet_Config.jar
      altDD: null
      lastDeployed: 0
      lastModified: 0
      mbeans:
      , isDirectory: false
      2007-05-09 09:20:27,625 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@6852a9e6 { url=file:/D:/dv-java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp56736FINDOK_Intranet.ear-contents/antlr.jar }
      deployer: null
      status: null
      state: CONSTRUCTED
      watch: file:/D:/dv-java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp56736FINDOK_Intranet.ear-contents/antlr.jar
      altDD: null
      lastDeployed: 0
      lastModified: 0
      mbeans:
      , isDirectory: false



      server.log from new eclipse(3.2) which has an error :


      2007-05-09 10:36:22,593 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/MANIFEST.MF
      2007-05-09 10:36:22,593 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: FINDOK_EJB_Trip_Config.jar
      2007-05-09 10:36:22,609 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: FINDOK_TripJCA.rar
      2007-05-09 10:36:22,609 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: FINDOK_TripTreeCache.jar
      2007-05-09 10:36:22,609 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: FINDOK_Util.jar
      2007-05-09 10:36:22,609 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: FindokController.jar
      2007-05-09 10:36:22,609 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: META-INF/application.xml
      2007-05-09 10:36:22,625 DEBUG [org.jboss.deployment.EARDeployer] Extracted non-deployable content: jboss-serialization.jar
      2007-05-09 10:36:22,625 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@664993e7 { url=file:/D:/dv-java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp57224FINDOK_EJB_Trip.ear-contents/FINDOK_TripJCA.rar }
      deployer: null
      status: null
      state: CONSTRUCTED
      watch: file:/D:/dv-java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp57224FINDOK_EJB_Trip.ear-contents/FINDOK_TripJCA.rar
      altDD: null
      lastDeployed: 0
      lastModified: 0
      mbeans:
      , isDirectory: false
      2007-05-09 10:36:22,625 DEBUG [org.jboss.deployment.EARDeployer] Deployment Info: org.jboss.deployment.DeploymentInfo@a4f810db { url=file:/D:/dv-java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp57224FINDOK_EJB_Trip.ear-contents/FINDOK_TripTreeCache.jar }
      deployer: null
      status: null
      state: CONSTRUCTED
      watch: file:/D:/dv-java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp57224FINDOK_EJB_Trip.ear-contents/FINDOK_TripTreeCache.jar
      altDD: null
      lastDeployed: 0
      lastModified: 0
      mbeans:
      , isDirectory: false
      2007-05-09 10:36:22,625 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/D:/dv-java/jboss-4.0.5.GA/server/default/deploy/FINDOK_EJB_Trip.ear
      2007-05-09 10:36:22,625 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/D:/dv-java/jboss-4.0.5.GA/server/default/deploy/FINDOK_EJB_Trip.ear
      org.jboss.deployment.DeploymentException: Failed to find module file: antlr.jar



      I hope anyone can help me !

        • 1. Re: Problem with Deploying
          jaikiran

          Is there any application.xml file inside FINDOK_EJB_Trip.ear. I guess, the application.xml mentions the module antlr.jar and the ear does not contain it. Could you post the application.xml file and even the output of the following:

          - From command prompt go to D:/dv-java/jboss-4.0.5.GA/server/default/deploy

          - Run the following command:

          jar -tf FINDOK_EJB_Trip.ear


          Post the output

          • 2. Re: Problem with Deploying
            thanz

            Thx for your help !

            application.xml :

            <?xml version="1.0" encoding="UTF-8"?>
            <application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
            <display-name>FINDOK_Trip</display-name>

            FINDOK_TripJCA.rar




            FINDOK_TripTreeCache.jar



            antlr.jar


            commons-beanutils.jar


            commons-collections-3.1.jar


            commons-configuration-1.1.jar


            commons-digester.jar


            commons-fileupload.jar


            commons-lang-2.0.jar


            commons-logging.jar


            commons-validator.jar


            jakarta-oro.jar


            log4j-1.2.8.jar


            struts.jar


            tripjtk.jar


            triputil.jar


            jboss-cache.jar


            jgroups.jar


            xercesImpl.jar


            FINDOK_Util.jar


            FINDOK_EJB_Trip_Config.jar

            <!--
            Findok_User.jar
            -->
            <!--
            FINDOK_UserDummy.jar
            -->

            FindokController.jar






            jar -tf FINDOK_EJB_Trip.ear :

            Doesnt work...but i think you mean what the .ear contains ?

            FINDOK_EJB_Trip_Config.jar
            FINDOK_TripTreeCache.jar
            FINDOK_Util.jar
            FindokController.jar
            jboss-serialization.jar
            Manifest.mf
            Findok_TripJCA.rar
            application.xml



            I know that some jars are missing here...for example the antlr.jar
            And thats the reason for the error.

            But i would like to know why the Eclipse SDK 3.2 do not put the jar's in the EAR. What could be the reason why the EARDeployer cant recognize some jar's as "Extracted deployable content" ?



            • 3. Re: Problem with Deploying
              thanz

              Nobody knows ?

              • 4. Re: Problem with Deploying
                jaikiran

                 

                But i would like to know why the Eclipse SDK 3.2 do not put the jar's in the EAR


                Sorry, i dont have a clue. I dont have JBoss integrated with Eclipse. Maybe if you post your question at http://www.jboss.com/index.html?module=bb&op=viewforum&f=201, it might get answered