Is the war too big/confidential/complex to mail me (6mb tops) ?
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.
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.
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.
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 (email@example.com).