good.
with java 5.0 go well
thanks!!
Lars Geldner ha scritto:
Dear Fabio,
I had similar problems with 1.2.5 using Tomcat/Windows. The solution was to
change to Java 5.0. Maybe because of the Cocoon version.
The Lenya documentation is not up to date at all!
Best regards,
Lars
-------- Original-Nachricht --------
Datum: Thu, 15 Mar 2007 07:57:56 +0100
Von: Fabio Noferi <[EMAIL PROTECTED]>
An: user@lenya.apache.org
CC:
Betreff: problem with 1.2.5
Iesterday i download the lenya1.2.5.
ran with lenya.sh servlet, but not work.
i try to download the 1.2.4 and run it, all go well.
my system is linux debian sarge and jdk 1.4.2_13
can someone help me?
fabio
this is the problem:
debian:/opt/apache-lenya-1.2.5-bin# ./lenya.sh servlet
./lenya.sh: using ./build/lenya/webapp as the webapp directory
INFO: build/lenya/webapp directory already exists.
-------------------- 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: ./build/lenya/webapp/WEB-INF/lib/endorsed
Adding jar:
./build/lenya/webapp/WEB-INF/lib/endorsed/jakarta-bcel-20040329.jar
Adding jar:
./build/lenya/webapp/WEB-INF/lib/endorsed/jakarta-regexp-1.4.jar
Adding jar: ./build/lenya/webapp/WEB-INF/lib/endorsed/xalan-2.7.0.jar
Adding jar: ./build/lenya/webapp/WEB-INF/lib/endorsed/xercesImpl-2.8.0.jar
Adding jar: ./build/lenya/webapp/WEB-INF/lib/endorsed/xml-apis-1.3.03.jar
-------------------- Executing -----------------
Main Class: org.mortbay.jetty.Server
08:48:37.410 EVENT Checking Resource aliases
08:48:38.193 EVENT Starting Jetty/4.2.23
08:48:38.754 EVENT Started WebApplicationContext[/,./build/lenya/webapp]
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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)
Caused by: java.lang.UnsupportedClassVersionError:
org/apache/cocoon/servlet/CocoonServlet (Unsupported major.minor version
49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at
org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:197)
at
org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:170)
at org.mortbay.http.HttpContext.loadClass(HttpContext.java:1407)
at org.mortbay.jetty.servlet.Holder.start(Holder.java:165)
at
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:198)
at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:458)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
... 7 more
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]