Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#295406: Cocoon2 returns after installation: java.lang.ClassFormatError: Bad major version number

0 views
Skip to first unread message

Fabio Duo

unread,
Feb 15, 2005, 12:30:30 PM2/15/05
to
Package: cocoon2
Version: 20010420-1

I have installed Cocoon2 with apt-get. After the installation Cocoon
(Tomcat) returns the following Error message:

Error: 500
Location: /cocoon2
Internal Servlet Error:

java.lang.ClassFormatError: Bad major version number
at java.lang.ClassLoader.defineClass(ClassLoader.java)
at java.lang.ClassLoader.defineClass(ClassLoader.java)
at
org.apache.tomcat.util.depend.DependClassLoader.defineClassCompat(DependClas
sLoader.java:224)
at
org.apache.tomcat.util.depend.DependClassLoader.loadClassInternal1(DependCla
ssLoader.java:210)
at
org.apache.tomcat.util.depend.DependClassLoader.loadClass(DependClassLoader.
java:148)
at java.lang.ClassLoader.loadClass(ClassLoader.java)
at
org.apache.tomcat.facade.ServletHandler.getServlet(ServletHandler.java:329)
at
org.apache.tomcat.facade.ServletHandler.preInit(ServletHandler.java:386)
at
org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:214)
at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:419)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
nterceptor.java:161)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:477)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:519)
at java.lang.Thread.run(Thread.java)

There was no Error message during the installation. I have a uptodate Woody
stable installation. I made a apt-get upgrade before and after the
installation of cocoon2.

I hope I gave u enough information and that it is not my fault.

Best regards

Fabio Duo

Uname -a :

webbox462:~# uname -a
Linux webbox462 2.4.23 #1 Fri Dec 5 14:58:34 CET 2003 i686 unknown

###

Dpkg --status cocoon2:

Package: cocoon2
Status: install ok installed
Priority: extra
Section: contrib/web
Installed-Size: 512
Maintainer: Ola Lundqvist <op...@debian.org>
Version: 20010420-1
Depends: java-common, tomcat (>= 3.2.1-1), libxerces-java
Recommends: libxalan-java
Suggests: lib-fop-java
Conflicts: lib-dom-java
Description: A XML/XSL publishing framework servlet
Cocoon2 is a 100% pure Java XML/XSL publishing framework servlet that
allows complete separation of content, logic and style.
.
More information can be found at http://java.apache.org/cocoon/cocoon2/

###

webbox462:~# dpkg --status java-common
Package: java-common
Status: install ok installed
Priority: optional
Section: misc
Installed-Size: 182
Maintainer: Ola Lundqvist <op...@debian.org>
Version: 0.14
Description: Base of all Java packages
This package must be installed in the system if a Java environment
is desired. It covers useful information for Java users in
Debian GNU/Linux, including:
- The Java policy document which describes the layout of Java support in
Debian and how Java packages should behave.
- The Debian-Java-FAQ which provides information on the status of
Java support in Debian, available compilers, virtual machines, Java
programs and libraries as well as on legal issues.

###

webbox462:~# dpkg --status tomcat
Package: tomcat
Status: install ok installed
Priority: extra
Section: contrib/web
Installed-Size: 2004
Maintainer: Stefan Gybas <sgy...@debian.org>
Version: 3.3a-4woody1
Replaces: jserv, gnujsp
Depends: java2-runtime | j2sdk1.3 | j2re1.3 | jdk1.1 | ibm-jdk1.1-installer
| ibm-jre1.1-installer, jikes (>= 1.15-0.1), libxerces-java,
libservlet2.2-java, libxalan-java, logrotate
Suggests: libapache-mod-jk
Conflicts: wwwoffle
Conffiles:
/etc/default/tomcat 86c4156e1d741e3f0d9ca16a48ccc8fa
/etc/tomcat/users/global-users.xml af9d78603df61c9e5ef53406f5e30519
/etc/tomcat/users/example-users.xml 972964b1196d9446ddff3d8aee29fc71
/etc/tomcat/server.xml ab041214be10054e2565261b9e8f857a
/etc/tomcat/apps-examples.xml bffe9c5c9cc57ba464ac56660e85954b
/etc/tomcat/modules.xml 73b1650660ba49c9086404e948ff0365
/etc/tomcat/tomcat.policy 5af54ef1234b5cbfe8612d8f7590862e
/etc/init.d/tomcat de6929d5910e668eb015e98849f42609
/etc/logrotate.d/tomcat 03f5776afef903c2ee066d7c30765909
Description: Java Servlet 2.2 engine with JSP 1.1 support
Jakarta-Tomcat is the reference implementation for the Java Servlet 2.2 and
JavaServer Pages (JSP) 1.1 specification from the Apache Jakarta project.
.
For more information about Tomcat please take a look at the Tomcat
home page at http://jakarta.apache.org/tomcat/index.html.
.
The official Servlet 2.2 and JSP 1.1 specifications can be found at
http://java.sun.com/products/servlets and http://java.sun.com/products/jsp.

###

webbox462:~# dpkg --status libxerces-java
Package: libxerces-java
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 911
Maintainer: Stefan Gybas <sgy...@debian.org>
Source: xerces-j
Version: 1.4.3-1
Depends: java-common
Suggests: doc-html-w3
Description: Validating XML parser for Java
The Xerces-J parser supports XML 1.0 recommendation and contains advanced
parser functionality, such as XML Schema, DOM Level 2 version 1.0,
experimental DOM level 3 support, and SAX Version 2, in addition to
supporting the industry-standard DOM Level 1 and SAX version 1 APIs.
.
This Java version support the standard JAXP 1.0 and 1.1 interfaces.
.
For more information about Xerces-J see the home page at
http://xml.apache.org/xerces-j/index.html.

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

0 new messages