JDK 1.4

9 vistas
Ir al primer mensaje no leído

razmaspaz

no leída,
14 feb 2011, 10:21:09 a.m.14/2/11
para gwt-log
I'm trying to run the remote logger in a JDK 1.4 App Server (WAS 6).
I get the following error: I'm used to seeing this when a class is
compiled in a newer version of the JDK than is supported. Is the
library compatible with JDK 1.4, and if so is there something I need
to do to get it to run the:
com.allen_sauer.gwt.log.server.ServerLogImplJDK14 implementation?

java.lang.UnsupportedClassVersionError: (com/allen_sauer/gwt/log/
server/RemoteLoggerServiceImpl) bad major version at offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:213)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
147)
at
com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:
518)
at
com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:
469)
at
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:
365)
at java.lang.ClassLoader.loadClass(ClassLoader.java:584)
at java.beans.Beans.instantiate(Beans.java:202)
at java.beans.Beans.instantiate(Beans.java:63)
at com.ibm.ws.webcontainer.servlet.ServletWrapper
$3.run(ServletWrapper.java:1903)
at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:
118)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java:
1898)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:
616)

Fred Sauer

no leída,
15 feb 2011, 1:26:27 p.m.15/2/11
para gwt...@googlegroups.com,razmaspaz
gwt-log is currently compiled with Java 1.5. See http://code.google.com/p/gwt-log/downloads/list, which contains a Java version column.

You may be able to recompile it with 1.4, but I'm not sure. You can start here: http://code.google.com/p/gwt-log/wiki/UsingSourceWithEclipse

Fred




--
You received this message because you are subscribed to the Google Groups "gwt-log" group.
To post to this group, send email to gwt...@googlegroups.com.
To unsubscribe from this group, send email to gwt-log+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gwt-log?hl=en.




--
Fred Sauer
Developer Advocate
G
ooglInc.
1600 Amphitheatre Parkway
Mountain View, CA 94043
fre...@google.com


razmaspaz

no leída,
15 feb 2011, 1:51:26 p.m.15/2/11
para gwt-log
There is way more Java 5 code in there than I'm comfortable
refactoring. Is there a good place to start to figure out how to
decode the symbol maps and hydrate them before I throw them in a log
file? I've gotten to the point where I'm writing the raw request
contents to a file, but I would like to get them readable. What class
in the gwt-log library does this?

Thanks,
Michael

On Feb 15, 1:26 pm, Fred Sauer <fre...@google.com> wrote:
> gwt-log is currently compiled with Java 1.5. Seehttp://code.google.com/p/gwt-log/downloads/list, which contains a Java

Fred Sauer

no leída,
15 feb 2011, 4:31:53 p.m.15/2/11
para gwt...@googlegroups.com,razmaspaz
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos