8 Replies Latest reply on Apr 16, 2002 8:50 AM by erikture

    Unpacked deployment in 3.0 beta2

    erikture

      Is it possible to have an unpacked ear in Jboss 3.0beta2 and get it deployed in the same way as if it was not unpacked?

      I have created a directory structure similar to the ear file. I have named the directories like, application.ear and application.war. But it is still not deployed. I have read an other post in this topic about the directory structure and I am complying to the answer in that topic.

      Is it possible to have partialy unpacked ear files deployed?
      What I am thinking of is that I whant to have the war part of my ear file unpacked and the ejb/jar parts not unpacked.

      What I whant to achive is to have an upload function where I can add jsp files to my application/war dynamicaly.

      /Erik

        • 1. Re: Unpacked deployment in 3.0 beta2

          Sorry, at the moment it is all or nothing.
          Either unpack everything, or unpack nothing.

          Regards,
          Adrian

          • 2. Re: Unpacked deployment in 3.0 beta2
            erikture

            My unpacked ear is not deployed.
            Any idea why?
            I have turned the DEBUG trace on but have not found anything indicating why.

            Is there some configuration that needs to be done?

            /Erik

            • 3. Re: Unpacked deployment in 3.0 beta2

              Try looking on http://localhost:8082 at the
              MainDeployer.

              There is a method that lets you look at waiting
              deployments.

              Does it appear there?

              Regards,
              Adrian

              • 4. Re: Unpacked deployment in 3.0 beta2
                erikture

                Hello!

                No it does not appear at the Maindeployer.

                This is the result of that method:

                The operation [listWaitingForDeployer] was successfully invoked for the MBean [jboss.system:service=MainDeployer].
                The operation returned with the value:

                [org.jboss.deployment.DeploymentInfo@f72e2f7a{ url=file:/C:/Program/Jboss-Jetty/server/default/deploy/jbossmq-state.xml }]


                I have attached a file showing my directorystructure in the deploy directory.

                /Erik

                • 5. Re: Unpacked deployment in 3.0 beta2
                  davidjencks

                  What happens if you deploy "by hand" with the MainDeployer deploy method that accepts a url in string form? (using the jmx console on port 8082). If this works, then the problem is with the deployment scanner. If not, then there is at least a problem with the main deployer

                  • 6. Re: Unpacked deployment in 3.0 beta2
                    erikture

                    Hello!

                    When I deploy by hand using The MainDeployer I get the following message in the log.

                    002-03-18 08:42:51,592 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/Program/Jboss-Jetty/server/default/deploy/webbpublication.ear/META-INF/application.xml
                    2002-03-18 08:42:51,602 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/Program/Jboss-Jetty/server/default/deploy/webbpublication.ear/META-INF/application.xml
                    2002-03-18 08:42:51,633 DEBUG [org.jboss.deployment.MainDeployer] No deployer found for url: file:/C:/Program/Jboss-Jetty/server/default/deploy/webbpublication.ear/META-INF/application.xml
                    2002-03-18 08:42:51,633 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/Program/Jboss-Jetty/server/default/deploy/webbpublication.ear/META-INF/application.xml
                    2002-03-18 08:42:51,633 INFO [org.jboss.deployment.MainDeployer] Deployment of package: file:/C:/Program/Jboss-Jetty/server/default/deploy/webbpublication.ear/META-INF/application.xml is waiting for an appropriate deployer.

                    My application.xml is added to the list of waiting files to be deployed.

                    /Erik

                    • 7. Re: Unpacked deployment in 3.0 beta2
                      erikture

                      Hello!

                      Does anybody know why my unpacked ear isnt deployed?

                      /Erik

                      • 8. Re: Unpacked deployment in 3.0 beta2
                        erikture

                        Hello!

                        With the latest in CVS it now works!
                        Thanks!

                        /Erik