Thanks to all ! Yesterday I found out the reason for my problem. In my personal build script for jboss I did an "un-jar" of jetty-plugin.sar, replaced the conf/default by conf/ebm1 in jetty.xml for my personal config dir and packed this together and put it to $JBOSS_HOME/deploy/lib.
But not all was put into the new jar. I only put META-INF and org into new jar, so all jar's where not put into the sar-file. Sorry for stealing your time. Frank Julian Gosnell schrieb: > > Well, > > One is the copy that you have just built and one is the copy in your distribution >tree. > > Seeing as the latter doesn't work, and the former looks different : > > remove /jboss-all/build/output/jboss-3.0.0alpha/deploy/lib/jetty-plugin.sar (this >will undeploy jetty) > > copy ./jboss-all/plugins/jetty/output/lib/jetty-plugin.sar to >/jboss-all/build/output/jboss-3.0.0alpha/deploy/lib/j > (this will deploy the new version). > > BINGO ! > > You might have to update the jetty.xml file in conf/default/ in your distrib tree - >but it's probably OK. > > Good Luck, > > Jules > > "Langelage, Frank" wrote: > > > Julian Gosnell schrieb: > > > > > > "Langelage, Frank" wrote: > > > > > > > Julian Gosnell schrieb: > > > > > > > > > > Frank, > > > > > > > > > > I'm surprised at the Jetty error. > > > > > > > > > > mortbay.jetty.jar should not be in lib/etc but jetty-plugin.sar, which >contains it, should. > > > > > > > > > > can you confirm ? > > > > > > > > jetty-plugin.sar is in deploy/lib. It contains > > > > org.jboss.jetty.JBossLogSink but not org.mortbay.util.LogSink. > > > > > > this class should be inside mortbay.jetty.jar, which should be inside >jetty-plugin.sar. > > > > It is in jboss-all/plugins/jetty/output/lib/jetty-plugin.sar but not in > > jboss-all/build/output/jboss-3.0.0alpha/deploy/lib/jetty-plugin.sar. > > The two files are really different in size. The files in the runtime dir > > are newer, this will probably prevent copying. > > > > -rw-r--r-- 1 frank other 23783 Nov 27 22:11 > > ./jboss-all/build/output/jboss-3.0.0alpha/deploy/lib/jetty-plugin.sar > > -rw-r--r-- 1 frank other 23783 Nov 27 22:39 > > >./jboss-all/build/output/jboss-3.0.0alpha/tmp/deploy/ServiceDeployer/deploy.35/jetty-plugin.sar > > -rw-r--r-- 1 frank other 587401 Nov 27 22:06 > > ./jboss-all/plugins/jetty/output/lib/jetty-plugin.sar > > > > > > > > It works fine for me (linux) and someone else I know (on Mac) - are you on >Windows ? You may have found a bug in > > > the jars-within-sars code. > > > > I am on Caldera OpenUNIX 8.0 (also known as SCO UnixWare). > > > > > > > > Jules > > > > > > > > > > > > > > > > > > > > > when you say current - how current ? > > > > > > > > did cvs update just before sending the mail. > > > > > > > > > > > > > > are there any other errors, warnings associable with Jetty upon startup ? > > > > > > > > > > > > > No ! > > > > > > > > > what happens if you move the jetty-plugin.jar out of the deployment >directory, then back in - i.e. redeploy > > > > > Jetty ? > > > > > > > > Same problem. The same error messages appear when deploying > > > > jetty-plugin.sar. > > > > > > > > > > > > > > Jules > > > > > > > > > > > Using the current cvs-version of jboss, I get some new problems on > > > > > > startup after doing an build all. > > > > > > > > > > > > conf-file jboss-service.xml requests jbosspool.jar. > > > > > > jbosspool.jar was build in jboss-all/pool/ouput/lib but not copied to > > > > > > $JBOSS_HOME/lib/ext. > > > > > > > > > > > > conf-file jboss-service.xml also requests RARDeployer.jar. > > > > > > RARDeplyoer.jar was not build. There is only an RARDeployer.class in > > > > > > connector/output/classes/org/jboss/resource. > > > > > > > > > > > > Starting jetty fails with "java.lang.NoClassDefFoundError: > > > > > > org/mortbay/util/LogSink". > > > > > > File org.mortbay.jetty.jar is in thirdparty/mortbay/jetty/lib but not in > > > > > > the runtime dir. > > > > > > > > > > > > Finally I get two NPE at the end of startup: > > > > > > 19:16:39,870 INFO [org.jboss.deployment.AutoDeployer] Auto deploy of > > > > > > file:/home > > > > > > >/frank/java/JBoss-cvs/jboss-all/build/output/jboss-3.0.0alpha/deploy/jmx-ejb-adaptor.jar > > > > > > 19:16:39,880 INFO [org.jboss.deployment.J2eeDeployer#Default] Deploy > > > > > > J2EE application: > > > > > > file:/home/frank/java/JBoss-cvs/jboss-all/build/output/jboss-3.0.0alpha/ > > > > > > deploy/jmx-ejb-adaptor.jar > > > > > > 19:16:39,890 ERROR [org.jboss.deployment.AutoDeployer] Deployment > > > > > > >failed:file:/home/frank/java/JBoss-cvs/jboss-all/build/output/jboss-3.0.0alpha/deploy/jmx-ejb- > > > > > > adaptor.jar > > > > > > java.lang.NullPointerException > > > > > > at > > > > > > org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:388) > > > > > > at > > > > > > org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:199) > > > > > > at java.lang.reflect.Method.invoke(Native Method) > > > > > > at > > > > > > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > > > > > > at > > > > > > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > > > > > > at > > > > > > org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:653) > > > > > > at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:326) > > > > > > at java.lang.Thread.run(Thread.java:484) > > > > > > > > > > > > 19:16:39,920 INFO [org.jboss.deployment.AutoDeployer] Auto deploy of > > > > > > >file:/home/frank/java/JBoss-cvs/jboss-all/build/output/jboss-3.0.0alpha/deploy/ejb-managem > > > > > > ent.jar > > > > > > 19:16:39,920 INFO [org.jboss.deployment.J2eeDeployer#Default] Deploy > > > > > > J2EE application: > > > > > > file:/home/frank/java/JBoss-cvs/jboss-all/build/output/jboss-3.0.0alpha/ > > > > > > deploy/ejb-management.jar > > > > > > 19:16:39,920 ERROR [org.jboss.deployment.AutoDeployer] Deployment > > > > > > >failed:file:/home/frank/java/JBoss-cvs/jboss-all/build/output/jboss-3.0.0alpha/deploy/ejb-management.jar > > > > > > java.lang.NullPointerException: > > > > > > at > > > > > > org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:388) > > > > > > at > > > > > > org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:199) > > > > > > at java.lang.reflect.Method.invoke(Native Method) > > > > > > at > > > > > > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) > > > > > > at > > > > > > com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) > > > > > > at > > > > > > org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:653) > > > > > > at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:326) > > > > > > at java.lang.Thread.run(Thread.java:484) > > > > > > > > > > > > Is anybody else getting this problems ? > > > > > > > > > > > > Frank Langelage > > > > > > > > > > > > _______________________________________________ > > > > > > Jboss-development mailing list > > > > > > [EMAIL PROTECTED] > > > > > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > > > _________________________________________________________ > > > > > Do You Yahoo!? > > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > _________________________________________________________ > > > Do You Yahoo!? > > > Get your free @yahoo.com address at http://mail.yahoo.com > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development