cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Jetty problem in current CVS
Date Sun, 13 Apr 2003 12:38:59 GMT
Hi All,

Just did an update from CVS, did a successful 'clean', then 'webapp'  
build, but get this running 'cocoon.sh servlet'.


[tintin:~/Checkouts/Secure/cocoon-2.1] jermq% ./cocoon.sh servlet
-------------------- Loading --------------------
Processing repository:  
/Users/jermq/Checkouts/Secure/cocoon-2.1/tools/jetty/lib
Adding jar:  
/Users/jermq/Checkouts/Secure/cocoon-2.1/tools/jetty/lib/jetty-4.2.8.jar
Adding jar:  
/Users/jermq/Checkouts/Secure/cocoon-2.1/tools/jetty/lib/servlet-2.3.jar
Processing repository:  
/Users/jermq/Checkouts/Secure/cocoon-2.1/lib/endorsed
Adding jar:  
/Users/jermq/Checkouts/Secure/cocoon-2.1/lib/endorsed/xalan-2.4.1.jar
Adding jar:  
/Users/jermq/Checkouts/Secure/cocoon-2.1/lib/endorsed/xercesImpl- 
2.1.0.jar
Adding jar:  
/Users/jermq/Checkouts/Secure/cocoon-2.1/lib/endorsed/xml-apis.jar
Adding jar:  
/Users/jermq/Checkouts/Secure/cocoon-2.1/lib/endorsed/xsltc-20030211.jar
-------------------- Executing -----------------
Main Class: org.mortbay.jetty.Server
13:29:36.815 EVENT  Starting Jetty/4.2.8
13:29:37.262 WARN!! Web application not found $COCOON_HOME/build/webapp
13:29:37.392 EVENT  Started SocketListener on 0.0.0.0:8888
13:29:37.400 WARN!!
org.mortbay.util.MultiException[java.io.FileNotFoundException:  
$COCOON_HOME/build/webapp]
         at org.mortbay.http.HttpServer.start(HttpServer.java:624)
         at org.mortbay.jetty.Server.main(Server.java:411)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav 
a:39)
         at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor 
Impl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at Loader.invokeMain(Unknown Source)
         at Loader.run(Unknown Source)
         at Loader.main(Unknown Source)
[0]=java.io.FileNotFoundException: $COCOON_HOME/build/webapp
         at  
org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplica 
tionContext.java:245)
         at  
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationCont 
ext.java:338)
         at org.mortbay.http.HttpServer.start(HttpServer.java:647)
         at org.mortbay.jetty.Server.main(Server.java:411)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav 
a:39)
         at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor 
Impl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at Loader.invokeMain(Unknown Source)
         at Loader.run(Unknown Source)
         at Loader.main(Unknown Source)

There does not seem to be anything wrong with the paths.

The $COCOON_PATH env var must be setup properly, otherwise the Jetty  
jars would not have loaded.

I have tried this with $COCOON_PATH setup automatically, and setup  
manually, neither work.

Any ideas anyone?

Thanks

regards Jeremy


Mime
View raw message