Petals CDK

Unable to use WSStar into the components

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Duplicate
  • Affects Version/s: 5.0.3
  • Fix Version/s: None
  • Component/s: runtime
  • Security Level: Public
  • Description:
    Hide

    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..

    Show
    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..
  • Environment:
    RHEL 5, JDK 1.6

Issue Links

Activity

Roland Naudin made changes - Tue, 31 Aug 2010 - 11:33:59 +0200
Field Original Value New Value
Project Petals-ESB-Container [ 10029 ] Petals-CDK [ 10032 ]
Key PETALSESBCONT-42 PETALSCDK-16
Issue Type Task [ 3 ] Bug [ 1 ]
Affects Version/s 5.0.3 [ 10027 ]
Affects Version/s 3.2 [ 10108 ]
Component/s runtime [ 10075 ]
Component/s Classloader [ 10040 ]
Christophe DENEUX made changes - Fri, 24 Sep 2010 - 09:43:31 +0200
Priority Blocker [ 1 ]
Fix Version/s 5.1 [ 10134 ]
Roland Naudin made changes - Mon, 4 Oct 2010 - 17:23:36 +0200
Link This issue depends on MAVPETALSPLUG-5 [ MAVPETALSPLUG-5 ]
Mathieu Carrolle made changes - Wed, 6 Oct 2010 - 14:57:34 +0200
Resolution Duplicate [ 3 ]
Status New [ 10000 ] Resolved [ 10004 ]
Assignee Roland Naudin [ rnaudin ] Mathieu Carrolle [ mcarrolle ]
Fix Version/s 5.1 [ 10134 ]
Mathieu Carrolle made changes - Wed, 6 Oct 2010 - 14:57:48 +0200
Status Resolved [ 10004 ] Closed [ 10005 ]

People

Dates

  • Created:
    Tue, 31 Aug 2010 - 11:27:43 +0200
    Updated:
    Wed, 6 Oct 2010 - 14:57:48 +0200
    Resolved:
    Wed, 6 Oct 2010 - 14:57:34 +0200