Hello,

When I compile Nuxeo Web Engine Server on Mac OS 10.5, nxserver.sh  
halt with the error "Bad version number in .class file" just after  
registering the scripting service. Switching to java6 resolves the  
problem. My problem is that compiling Nuxeo EP (into JBoss) with java6  
doesn't work well so i'd like to work only with java5.

I thought that the jar from Maven could have been compiled with java6,  
but making a full clean and build with java5 doesn't solve the  
problem....

Any idea with this problem ?



Here is the stack trace :

11:41:26,562 [main] INFO  BundleRegistry : Registering resolved  
bundle: org.nuxeo.runtime.jetty
11:41:26,568 [main] INFO  ComponentManagerImpl : Registering  
component: service:org.nuxeo.runtime.server
11:41:26,570 [main] INFO  ComponentManagerImpl : Registering service:  
org.mortbay.jetty.Server
11:41:26,645 [main] INFO  NativeMethodAccessorImpl : Logging to  
org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via  
org.mortbay.log.Slf4jLog
11:41:26,726 [main] INFO  NativeMethodAccessorImpl : jetty-6.1H.7
11:41:26,749 [main] INFO  NativeMethodAccessorImpl : Opened /opt/ 
nxserver/log/2008_08_06.request.log
11:41:26,767 [main] INFO  NativeMethodAccessorImpl : Started [EMAIL PROTECTED] 
:8080
11:41:26,768 [main] INFO  BundleRegistry : Registering resolved  
bundle: org.nuxeo.runtime.scripting
11:41:26,777 [main] INFO  ComponentManagerImpl : Registering  
component: service:org.nuxeo.runtime.ScriptingComponent
11:41:26,778 [main] INFO  ComponentManagerImpl : Registering service:  
org.nuxeo.runtime.scripting.ScriptingService
java.lang.UnsupportedClassVersionError: Bad version number in .class  
file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 
124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
...
at javax.script.ScriptEngineManager.<init>(ScriptEngineManager.java:51)
        at  
org 
.nuxeo 
.runtime.scripting.ScriptingComponent.activate(ScriptingComponent.java: 
73)
        at  
org 
.nuxeo 
.runtime 
.model.impl.ComponentInstanceImpl.activate(ComponentInstanceImpl.java: 
107)
        at  
org 
.nuxeo 
.runtime 
.model.impl.RegistrationInfoImpl.activate(RegistrationInfoImpl.java:229)
        at  
org 
.nuxeo 
.runtime 
.model.impl.RegistrationInfoImpl.resolve(RegistrationInfoImpl.java:296)
        at  
org 
.nuxeo 
.runtime 
.model.impl.ComponentManagerImpl._register(ComponentManagerImpl.java: 
185)
...
        at  
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.nuxeo.runtime.launcher.Main.main(Main.java:82)
11:41:26,791 [Shutdown] INFO  NativeMethodAccessorImpl : Shutdown hook  
executing
11:41:26,791 [Shutdown] INFO  NativeMethodAccessorImpl : Graceful  
shutdown [EMAIL PROTECTED]:8080
11:41:27,794 [Shutdown] INFO  NativeMethodAccessorImpl : Shutdown hook  
complete



--
Damien METZLER
SIF - Leroy Merlin France - Tel : 03 28 80 89 03



Ce message et toutes les pièces jointes sont établis à l'attention exclusive de 
leurs destinataires et sont confidentiels. Si vous recevez ce message par 
erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. 
L'internet ne permettant pas d'assurer l'intégrité de ce message, le contenu de 
ce message ne représente en aucun cas un engagement de la part de Leroy Merlin.

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to