5 Replies Latest reply on May 25, 2002 3:48 PM by jules

    JBoss-Jetty 3.0 RC2 Random Error In Deploy

      I am having a problem with JBoss-Jetty 3.0 RC2 where my ear file seems to randomly deploy with success. Often times when I try to deploy, Jetty complains about a nullpointerexception when trying to parse one of the war xml files. The same ear file always deploys fine in JBoss-Jetty 3.0 pre RC1. Is anyone else having this problem?

      Danny

        • 1. Re: JBoss-Jetty 3.0 RC2 Random Error In Deploy

          Is the war too big/confidential/complex to mail me (6mb tops) ?


          Jules(@jboss.org)

          • 2. Re: JBoss-Jetty 3.0 RC2 Random Error In Deploy

            I get the same nullpointerexception error with the webtest.ear file included with JBoss 3.0 rc3. I am running on Suse Linux 7.2 Prof and using IBMs SDK 1.3.1. This problem does not occur with the Jetty version included pre JBoss RC1. I've attached a partial snippet of the error from the error log.




            • 3. Re: JBoss-Jetty 3.0 RC2 Random Error In Deploy

              The error looks as if someone has changed the ConfigurationElement in jetty-plugin.sar/META-INF/jboss-service.xml. Please confirm that this has not been modified...

              Try swapping in the jetty-plugin from the working version. (it should probably be a 3.x version).

              If that works, compare their jboss-service.xml files.

              If not, someone may have messed with the xml parsers jar... - or the versions may be incompatible.

              Let me know how you get on.


              Jules

              • 4. Re: JBoss-Jetty 3.0 RC2 Random Error In Deploy

                I changed the port number in Jetty from 8080 to 80.

                Deployment File: jetty-plugin.sar
                sar file: META-INF/jboss-service.xml
                Line: <... default="80"/>

                I tested it and changing the Jetty port from 8080 to 80 in this manner is what is causing the problem.

                Danny

                • 5. Re: JBoss-Jetty 3.0 RC2 Random Error In Deploy

                  I yhink that this is due to ONLY root being able to run on 80.

                  There are various strategies for getting around this.

                  Firstly run Jetty as root on your box to confirm that this fixes the problem. Then go to jetty.mortbay.com and look around for information about it - It is probably an FAQ - there will certainly be stuff about it in the mailing-list archive (jetty-discuss@yahoogroups.com).

                  Jules