Currently, easy wsdl 2.2 (into the cdk 5.0.3) has a class loading error with the petals platform 3.2-SNAPSHOT:
[Petals.AutoLoaderServiceImpl]SEVERE 2010-08-31 11:21:45,319 Error during the auto installation of a component
javax.management.RuntimeErrorException: Error occurred in RequiredModelMBean while trying to invoke operation install
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1095)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:955)
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 org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:475)
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:153)
at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(InstallDirectoryScanner.java:81)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.NoClassDefFoundError: org/ow2/easywsdl/wsdl/api/WSDLException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.ow2.petals.container.lifecycle.Installer.loadComponent(Installer.java:908)
at org.ow2.petals.container.lifecycle.Installer.createComponentLifeCycleMBean(Installer.java:718)
at org.ow2.petals.container.lifecycle.Installer.install(Installer.java:395)
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:597)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
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:597)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1074)
... 13 more
Caused by: java.lang.ClassNotFoundException: org.ow2.easywsdl.wsdl.api.WSDLException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at org.ow2.petals.system.classloader.ComponentClassLoader.loadClass(ComponentClassLoader.java:129)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 32 more
32 more
We can fix this issue using the cdk 5.0.4-SNAPSHOT (instead of the 5.0.3 version).
BUT, if we want to use directly wsstar 1.2 (to do ws-addressing, ws-notification,...), wich is using easy wsdl 2.2...we're bloqued.
Some ways to explore:
-create a wsstar version snapshot using easy wsdl 2.3-SNAPSHOT and deploy it
-found a solution to accept easy wsl 2.2 (and the cdk 5.0.3 by consequence) into the petals platform 3.2-SNAPSHOT
-fix the classloader isolation between the kernel and the components..