Petals ESB Container

Unable to deploy a service with a description containing an import located on Internet

Details

  • Type: Bug Bug
  • Status: New New
  • Priority: Blocker Blocker
  • Resolution: Unresolved
  • Affects Version/s: 3.1
  • Fix Version/s: None
  • Security Level: Public
  • Description:
    Hide

    When deploying a service with a WSDL containing import where the schemaLocation is Internet (ex: http://www.w3.org/2005/05/xmlmime), the following error occurs:

    [Petals.Container.Components.ged-bc-2]-INFO 2010-08-30 14:31:57,747 Start Component
    [Petals.Container.Installer.ged-bc-2]-WARNING 2010-08-30 14:32:19,342 org.ow2.easywsdl.extensions.wsdl4complexwsdl.api.WSDL4ComplexWsdlException: org.ow2.easywsdl.wsdl.api.WSDLException: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: http://www.w3.org/2005/05/xmlmime: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.net.ConnectException: Connection timed out: connect: java.net.ConnectException: Connection timed out: connect
    [Petals.Container.ComponentLifeCycle.ged-bc-2]-SEVERE 2010-08-30 14:32:19,342 Life cycle exception on START
    javax.jbi.JBIException: Life cycle exception on START
    at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:117)
    at org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.java:110)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at org.ow2.petals.jbi.messaging.registry.BaseEndpointRegistry.registerEndpoint(BaseEndpointRegistry.java:129)
    at org.ow2.petals.jbi.messaging.registry.BaseEndpointRegistry.activateEndpoint(BaseEndpointRegistry.java:93)
    at org.objectweb.fractal.julia.generated.C2304ecde_0.activateEndpoint(INTERCEPTOR[EndpointRegistry])
    at org.objectweb.fractal.julia.generated.C2eb804c9_0.activateEndpoint(INTERFACE[EndpointRegistry])
    at org.ow2.petals.jbi.component.context.ComponentContextImpl.activateEndpoint(ComponentContextImpl.java:187)
    at fr.acoss.esb.components.binding.ged.GedBC.doStart(GedBC.java:226)
    at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:469)
    at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:103)
    ... 1 more
    [Petals.AutoLoaderServiceImpl]SEVERE 2010-08-30 14:32:19,342 Error during the auto installation of a component
    javax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation start
    at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1101)
    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:479)
    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: javax.jbi.JBIException: An exception occured while starting the Component 'ged-bc-2' : Life cycle exception on START
    at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:196)
    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.GeneratedMethodAccessor48.invoke(Unknown Source)
    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

    Show
    When deploying a service with a WSDL containing import where the schemaLocation is Internet (ex: http://www.w3.org/2005/05/xmlmime), the following error occurs: [Petals.Container.Components.ged-bc-2]-INFO 2010-08-30 14:31:57,747 Start Component [Petals.Container.Installer.ged-bc-2]-WARNING 2010-08-30 14:32:19,342 org.ow2.easywsdl.extensions.wsdl4complexwsdl.api.WSDL4ComplexWsdlException: org.ow2.easywsdl.wsdl.api.WSDLException: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: the imported document cannot be import at: http://www.w3.org/2005/05/xmlmime: org.ow2.easywsdl.schema.api.SchemaException: SchemaException: java.net.ConnectException: Connection timed out: connect: java.net.ConnectException: Connection timed out: connect [Petals.Container.ComponentLifeCycle.ged-bc-2]-SEVERE 2010-08-30 14:32:19,342 Life cycle exception on START javax.jbi.JBIException: Life cycle exception on START at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:117) at org.ow2.petals.container.thread.AbstractThread.run(AbstractThread.java:110) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at org.ow2.petals.jbi.messaging.registry.BaseEndpointRegistry.registerEndpoint(BaseEndpointRegistry.java:129) at org.ow2.petals.jbi.messaging.registry.BaseEndpointRegistry.activateEndpoint(BaseEndpointRegistry.java:93) at org.objectweb.fractal.julia.generated.C2304ecde_0.activateEndpoint(INTERCEPTOR[EndpointRegistry]) at org.objectweb.fractal.julia.generated.C2eb804c9_0.activateEndpoint(INTERFACE[EndpointRegistry]) at org.ow2.petals.jbi.component.context.ComponentContextImpl.activateEndpoint(ComponentContextImpl.java:187) at fr.acoss.esb.components.binding.ged.GedBC.doStart(GedBC.java:226) at org.ow2.petals.component.framework.AbstractComponent.start(AbstractComponent.java:469) at org.ow2.petals.container.thread.ComponentLifeCycleThread.doTask(ComponentLifeCycleThread.java:103) ... 1 more [Petals.AutoLoaderServiceImpl]SEVERE 2010-08-30 14:32:19,342 Error during the auto installation of a component javax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation start at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1101) 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:479) 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: javax.jbi.JBIException: An exception occured while starting the Component 'ged-bc-2' : Life cycle exception on START at org.ow2.petals.container.lifecycle.LifeCycleAbstract.start(LifeCycleAbstract.java:196) 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.GeneratedMethodAccessor48.invoke(Unknown Source) 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
  • Environment:
    No Internet connection, or Internet through HTTP proxy

Issue Links

People

Dates

  • Created:
    Mon, 30 Aug 2010 - 15:05:50 +0200
    Updated:
    Fri, 15 Apr 2011 - 16:39:10 +0200