[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] OK thanks, next problem

Will,

The package is not org.mortbay.jetty.*, but org.eclipse.jetty.* ;)

Jan

Will Brown wrote:
Thanks Jan,

I am getting one step further but now there is another error
Any idea why it can't find the WebAppContext class for my war even
though it works fine for the test-war which is also placed in the
webapps-plus directory?

myself@server:~/jetty-distribution-7.0.0.M2.xxx$ java
-DOPTIONS=plus,ext,default -jar start.jar etc/jetty.xml
etc/jetty-plus.xml
2009-06-03 04:30:41.355::INFO:  Logging to STDERR via
org.eclipse.jetty.util.log.StdErrLog
2009-06-03 04:30:41.490::INFO:  jetty-7.0.0.M2
2009-06-03 04:30:41.527::INFO:  Deploy
/home/myself/jetty-distribution-7.0.0.M2.xxx/contexts/demo.xml ->
MovedContextHandler@b166b5@b166b5/demo,null
2009-06-03 04:30:41.550::INFO:  Deploy
/home/myself/jetty-distribution-7.0.0.M2.xxx/contexts/javadoc.xml ->
ContextHandler@18fb1f7@18fb1f7/javadoc,file:/home/myself/jetty-distribution-7.0.0.M2.xxx/javadoc/
2009-06-03 04:30:41.582::INFO:  Deploy
/home/myself/jetty-distribution-7.0.0.M2.xxx/contexts/test.xml ->
WebAppContext@129f3b5@129f3b5/,null,/home/myself/jetty-distribution-7.0.0.M2.xxx/webapps/test.war
2009-06-03 04:30:41.653::INFO:  NO JSP Support for /, did not find
org.apache.jasper.servlet.JspServlet
2009-06-03 04:30:41.729::INFO:  Logging to STDERR via
org.eclipse.jetty.util.log.StdErrLog
2009-06-03 04:30:42.531:/:INFO:  Aliases are enabled
2009-06-03 04:30:42.544::WARN:  CGI: no CGI bin !
2009-06-03 04:30:42.561::INFO:  Extract
file:/home/myself/jetty-distribution-7.0.0.M2.xxx/webapps-plus/test.war
to /tmp/Jetty_0_0_0_0_8081_test.war__test__.x9f2ts/webapp
2009-06-03 04:30:42.633::INFO:  NO JSP Support for /test, did not find
org.apache.jasper.servlet.JspServlet
2009-06-03 04:30:42.678::INFO:  No Transaction manager found - if your
webapp requires one, please configure one.
2009-06-03 04:30:42.690::INFO:  Logging to STDERR via
org.eclipse.jetty.util.log.StdErrLog
2009-06-03 04:30:43.450:/test:INFO:  Aliases are enabled
2009-06-03 04:30:43.466::INFO:  Extract
file:/home/myself/jetty-distribution-7.0.0.M2.xxx/webapps-plus/Rego.war
to /tmp/Jetty_0_0_0_0_8081_Rego.war__Rego__ig8bku/webapp
2009-06-03 04:30:43.771::INFO:  NO JSP Support for /Rego, did not find
org.apache.jasper.servlet.JspServlet
2009-06-03 04:30:43.782::WARN:  Failed startup of context
WebAppContext@19b1de@19b1de/MyTestApp,file:/tmp/Jetty_0_0_0_0_8081_Rego.war__Rego__ig8bku/webapp/,file:/home/myself/jetty-distribution-7.0.0.M2.xxx/webapps-plus/MyTestApp.war
java.lang.ClassNotFoundException: org.mortbay.jetty.webapp.WebAppContext
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-dev

-- Jan Bartel, Webtide LLC | janb@xxxxxxxxxxx | http://www.webtide.com