| Author |
Message |
fgardes Member

Joined: 27 Jun 2008 Posts: 38 Location: Tolosa
|
Posted: Fri Nov 21, 2008 4:39 pm |
|
|
Hi!
When I want to install the bc-soap 3.1.3 on petals-platform 3-0-SNAPSHOT, I've got an error:
| Code: | [petals.InstallationService]-SEVERE 2008-11-21 16:36:05,218
java.lang.Exception: The installation of the component 'http://127.0.0.1:8180/petals-webconsole/upload/1227281763350/petals-bc-soap-3.1.3-SNAPSHOT.zip' failed.
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:226)
at org.objectweb.fractal.julia.generated.C545b90ee_0.loadNewInstaller(INTERCEPTOR[InstallationServiceMBean])
at org.objectweb.fractal.julia.generated.Cb8460763_0.loadNewInstaller(INTERFACE[InstallationServiceMBean])
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:585)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1073)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:954)
at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:221)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:431)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1350)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError: org/ow2/petals/component/framework/DefaultBootstrap
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
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 java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at org.ow2.petals.platform.classloader.ComponentClassLoader.loadClass(ComponentClassLoader.java:129)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.ow2.petals.container.lifecycle.Installer.loadBootstrap(Installer.java:1032)
at org.ow2.petals.container.lifecycle.Installer.init(Installer.java:295)
at org.objectweb.fractal.julia.generated.C7968a2c_0.init(INTERCEPTOR[InstallerMBean])
at org.objectweb.fractal.julia.generated.Cb80f5861_0.init(INTERFACE[InstallerMBean])
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:134)
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.execute(CreateAndRegisterInstallerMBeanTask.java:100)
at org.ow2.petals.processor.TaskProcessor.process(TaskProcessor.java:80)
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:222)
... 37 more |
Any idea on what's wrong?
Last edited by fgardes on Tue Nov 25, 2008 5:02 pm; edited 1 time in total |
|
| Back to top |
|
 |
chamerling Member

Joined: 17 Jul 2008 Posts: 46 Location: Toulouse
|
Posted: Fri Nov 21, 2008 4:43 pm |
|
|
| Is it working without the webconsole ? |
|
| Back to top |
|
 |
fgardes Member

Joined: 27 Jun 2008 Posts: 38 Location: Tolosa
|
Posted: Fri Nov 21, 2008 4:46 pm |
|
|
I've got the same problem with the autoloader :
| Code: | petals@localhost:/> [petals.InstallationService]-SEVERE 2008-11-21 16:45:46,935
java.lang.Exception: The installation of the component 'file:/home/fgardes/data/petals/petals-distribution/petals-platform/target/petals-platform-3.0-SNAPSHOT-dev.dir/petals-platform-3.0-SNAPSHOT/work/petals-bc-soap-3.1.3-SNAPSHOT.zip' failed.
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:226)
at org.objectweb.fractal.julia.generated.C545b90ee_0.loadNewInstaller(INTERCEPTOR[InstallationServiceMBean])
at org.objectweb.fractal.julia.generated.C6fc3660c_0.loadNewInstaller(INTERCEPTOR[InstallationServiceMBean])
at org.objectweb.fractal.julia.generated.Cb8460763_0.loadNewInstaller(INTERFACE[InstallationServiceMBean])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:315)
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:203)
at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:56)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.NoClassDefFoundError: org/ow2/petals/component/framework/DefaultBootstrap
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
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 java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at org.ow2.petals.platform.classloader.ComponentClassLoader.loadClass(ComponentClassLoader.java:129)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.ow2.petals.container.lifecycle.Installer.loadBootstrap(Installer.java:1032)
at org.ow2.petals.container.lifecycle.Installer.init(Installer.java:295)
at org.objectweb.fractal.julia.generated.C7968a2c_0.init(INTERCEPTOR[InstallerMBean])
at org.objectweb.fractal.julia.generated.Cb80f5861_0.init(INTERFACE[InstallerMBean])
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:134)
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.execute(CreateAndRegisterInstallerMBeanTask.java:100)
at org.ow2.petals.processor.TaskProcessor.process(TaskProcessor.java:80)
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:222)
... 8 more
|
|
|
| Back to top |
|
 |
chamerling Member

Joined: 17 Jul 2008 Posts: 46 Location: Toulouse
|
Posted: Fri Nov 21, 2008 4:58 pm |
|
|
Classloader issue...
First check that the class org/ow2/petals/component/framework/DefaultBootstrap is available in the SOAP BC (in the petals-cdk-core JAR). |
|
| Back to top |
|
 |
fgardes Member

Joined: 27 Jun 2008 Posts: 38 Location: Tolosa
|
Posted: Fri Nov 21, 2008 5:08 pm |
|
|
All rights!
There is a problem on my petals-platform-3.0-SNAPSHOT : the bc-soap zip haven't petals-cdk-api jar.
I went into the petals-bc-soap directory, I make a "mvn clean && mvn", and then went back to the petals-platform directory to do again the "mvn clean && mvn"...and the bc-soap zip was great!
A maven bug?
Thanks Chris'  |
|
| Back to top |
|
 |
|