In trying to reconcile the Eclipse installation instructions and the shell installation, there seems to be a disconnect over the cocoon pieces. The shell install seems to require stuff from 2 cocoon locations scr and web-apps. The Eclipse install only needs jar files. Do the build.xml or local.build.properties need to be set up differently. The http://wiki.apache.org/lenya/HowToLenyaInEclipseDebugger does not suggest that local.build.properties be created.

The build.xml is invalid under Eclipse so I am pretty sure that something is missing.

Ron

Ron Wheeler wrote:

I do not have a lenya/build folder after following the install part of http://wiki.apache.org/lenya/HowToLenyaInEclipseDebugger.

I did not perform the svn section of the installation but I am not yet trying to share this and I would be using CVS since I do not have subversion on my server.

There were no fatal errors on the automatic build but if I try to execute the build.xml, I get a class not found error.

Any idea about what I might have missed? Where does the automatic build put the output jars (if it builds them)?

The error message in the console window at the end of the debugging instructions follows. http:127.0.0.1:8888 does generate a 404 which indicates that Jetty started OK and is doing its best.

-------------------- Loading --------------------
Processing repository: .\tools\jetty\lib
Adding jar: .\tools\jetty\lib\jetty-4.2.23.jar
Adding jar: .\tools\jetty\lib\servlet-2.3.jar
Processing repository: .\lib\endorsed
-------------------- Executing -----------------
Main Class: org.mortbay.jetty.Server
14:18:01.571 EVENT  Checking Resource aliases
14:18:02.522 EVENT  Starting Jetty/4.2.23
14:18:02.552 WARN!! Web application not found ./build/lenya/webapp
14:18:02.552 WARN!! Configuration error on ./build/lenya/webapp
java.io.FileNotFoundException: ./build/lenya/webapp
at org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:249) at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:352)
  at org.mortbay.http.HttpServer.start(HttpServer.java:663)
  at org.mortbay.jetty.Server.main(Server.java:429)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at Loader.invokeMain(Unknown Source)
  at Loader.run(Unknown Source)
  at Loader.main(Unknown Source)

14:18:02.773 EVENT  Started SocketListener on 0.0.0.0:8888
14:18:02.783 WARN!!
org.mortbay.util.MultiException[java.io.FileNotFoundException: ./build/lenya/webapp]
  at org.mortbay.http.HttpServer.start(HttpServer.java:640)
  at org.mortbay.jetty.Server.main(Server.java:429)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at Loader.invokeMain(Unknown Source)
  at Loader.run(Unknown Source)
  at Loader.main(Unknown Source)
[0]=java.io.FileNotFoundException: ./build/lenya/webapp
at org.mortbay.jetty.servlet.WebApplicationContext.resolveWebApp(WebApplicationContext.java:249) at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:352)
  at org.mortbay.http.HttpServer.start(HttpServer.java:663)
  at org.mortbay.jetty.Server.main(Server.java:429)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at Loader.invokeMain(Unknown Source)
  at Loader.run(Unknown Source)
  at Loader.main(Unknown Source)

14:18:44.893 EVENT  Started HttpContext[/]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to