Petals ESB Container

Fatal error when installing a new component

Details

  • Type: Bug Bug
  • Status: New New
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 3.1.3
  • Fix Version/s: 5.4.0
  • Security Level: Public
  • Description:
    Hide

    This error was encountered several times on several Linux stations.
    Every machine had a topology with a single node. This error seems to occur randomly. :\
    In the stack below, it occurred after the following scenario:

    • Install several components and SU.
    • Install a SU whose target component is not deployed. => failure
    • Install the target component. The installation fails due to an error with JNDI.


    Note that other scenarios led to the same issue (but always following a new deployement in the topology).
    Among the components which were deployed, there were XSLT, SOAP, File Transfer, EIP and EJB.
    The EJB communicates with EasyBeans through JNDI.

    <ejb:ejb.jndi.name>AddOrderService</ejb:ejb.jndi.name>
    <ejb:java.naming.factory.initial>org.ow2.easybeans.component.smartclient.spi.SmartContextFactory</ejb:java.naming.factory.initial>
    <ejb:java.naming.provider.url>smart://localhost:2503</ejb:java.naming.provider.url>
    <ejb:ejb.version>3.0</ejb:ejb.version>
    <ejb:ejb.home.interface>org.ow2.petals.examples.ejb.addorder.AddOrderRemote</ejb:ejb.home.interface>
    <ejb:marshalling.engine>jaxb</ejb:marshalling.engine>


    Here is the stack trace.

    javax.jbi.management.DeploymentException: The deployment of the Service Assembly 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/sa-XSLT-OrderTransfo-provide.zip' failed.
    	at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:189)
    	at org.objectweb.fractal.julia.generated.C9ae71627_0.deploy(INTERCEPTOR[DeploymentService])
    	at org.objectweb.fractal.julia.generated.C59d5ff32_0.deploy(INTERFACE[DeploymentService])
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:442)
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169)
    	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: org.ow2.petals.kernel.api.server.PetalsException: You are trying to deploy a SU 'su-XSLT-OrderTransfo-provide' which need that the target component 'petals-se-xslt' is started or stopped
    	at org.ow2.petals.jbi.management.task.deployment.deploy.SACheckPackageTask.checkServiceUnits(SACheckPackageTask.java:186)
    	at org.ow2.petals.jbi.management.task.deployment.deploy.SACheckPackageTask.checkPackage(SACheckPackageTask.java:95)
    	at org.ow2.petals.jbi.management.task.AbstractCheckPackageTask.execute(AbstractCheckPackageTask.java:56)
    	at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
    	at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:185)
    	... 7 more
    SEVERE 2011-10-13 16:36:10,189 [Petals.AutoLoaderServiceImpl]
        Error during the deployment of a service assembly: 
    java.lang.Exception: The deployment of the Service Assembly 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/sa-XSLT-OrderTransfo-provide.zip' failed.
    Caused by: You are trying to deploy a SU 'su-XSLT-OrderTransfo-provide' which need that the target component 'petals-se-xslt' is started or stopped
    	at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:205)
    	at org.objectweb.fractal.julia.generated.C9ae71627_0.deploy(INTERCEPTOR[DeploymentService])
    	at org.objectweb.fractal.julia.generated.C59d5ff32_0.deploy(INTERFACE[DeploymentService])
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:442)
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169)
    	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)
    SEVERE 2011-10-13 16:36:34,504 [Petals.JBI-Management.InstallationServiceImpl]
        Unable to load a new installer at location 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/petals-se-xslt-2.4.1.zip'
    java.lang.Exception: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
    	at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:322)
    	at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
    	at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
    	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: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
    	at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:130)
    	at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.execute(CreateAndRegisterInstallerMBeanTask.java:86)
    	at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
    	at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:319)
    	... 7 more
    Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory]
    	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
    	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    	at javax.naming.InitialContext.init(InitialContext.java:223)
    	at javax.naming.InitialContext.<init>(InitialContext.java:175)
    	at org.ow2.petals.jbi.component.context.ComponentInitialContext.<init>(ComponentInitialContext.java:45)
    	at org.ow2.petals.container.lifecycle.Installer.createComponentInitialContext(Installer.java:796)
    	at org.ow2.petals.container.lifecycle.Installer.init(Installer.java:259)
    	at org.objectweb.fractal.julia.generated.C94bce4b2_0.init(INTERCEPTOR[InstallerInterface])
    	at org.objectweb.fractal.julia.generated.C7311171d_0.init(INTERFACE[InstallerInterface])
    	at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:114)
    	... 10 more
    Caused by: java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
    	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 java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:247)
    	at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
    	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
    	... 19 more
    SEVERE 2011-10-13 16:36:34,505 [Petals.AutoLoaderServiceImpl]
        Error during the auto- installation of a component
    java.lang.RuntimeException: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
    Caused by: Error creating or registring installer MBean
    Caused by: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
    Caused by: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
    	at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:326)
    	at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
    	at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
    	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)
    SEVERE 2011-10-13 16:37:14,505 [Petals.JBI-Management.InstallationServiceImpl]
        Unable to load a new installer at location 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/petals-se-xslt-2.4.1.zip'
    java.lang.Exception: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
    	at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:322)
    	at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
    	at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
    	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: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
    	at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:130)
    	at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.execute(CreateAndRegisterInstallerMBeanTask.java:86)
    	at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
    	at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:319)
    	... 7 more
    Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory]
    	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
    	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    	at javax.naming.InitialContext.init(InitialContext.java:223)
    	at javax.naming.InitialContext.<init>(InitialContext.java:175)
    	at org.ow2.petals.jbi.component.context.ComponentInitialContext.<init>(ComponentInitialContext.java:45)
    	at org.ow2.petals.container.lifecycle.Installer.createComponentInitialContext(Installer.java:796)
    	at org.ow2.petals.container.lifecycle.Installer.init(Installer.java:259)
    	at org.objectweb.fractal.julia.generated.C94bce4b2_0.init(INTERCEPTOR[InstallerInterface])
    	at org.objectweb.fractal.julia.generated.C7311171d_0.init(INTERFACE[InstallerInterface])
    	at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:114)
    	... 10 more
    Caused by: java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
    	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 java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:247)
    	at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
    	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
    	... 19 more
    SEVERE 2011-10-13 16:37:14,506 [Petals.AutoLoaderServiceImpl]
        Error during the auto- installation of a component
    java.lang.RuntimeException: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
    Caused by: Error creating or registring installer MBean
    Caused by: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
    Caused by: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
    	at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:326)
    	at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
    	at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
    	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)


    Any information about what may cause this problem?

    Show
    This error was encountered several times on several Linux stations. Every machine had a topology with a single node. This error seems to occur randomly. :\ In the stack below, it occurred after the following scenario:
    • Install several components and SU.
    • Install a SU whose target component is not deployed. => failure
    • Install the target component. The installation fails due to an error with JNDI.

    Note that other scenarios led to the same issue (but always following a new deployement in the topology). Among the components which were deployed, there were XSLT, SOAP, File Transfer, EIP and EJB. The EJB communicates with EasyBeans through JNDI.
    <ejb:ejb.jndi.name>AddOrderService</ejb:ejb.jndi.name>
    <ejb:java.naming.factory.initial>org.ow2.easybeans.component.smartclient.spi.SmartContextFactory</ejb:java.naming.factory.initial>
    <ejb:java.naming.provider.url>smart://localhost:2503</ejb:java.naming.provider.url>
    <ejb:ejb.version>3.0</ejb:ejb.version>
    <ejb:ejb.home.interface>org.ow2.petals.examples.ejb.addorder.AddOrderRemote</ejb:ejb.home.interface>
    <ejb:marshalling.engine>jaxb</ejb:marshalling.engine>

    Here is the stack trace.
    javax.jbi.management.DeploymentException: The deployment of the Service Assembly 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/sa-XSLT-OrderTransfo-provide.zip' failed.
    	at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:189)
    	at org.objectweb.fractal.julia.generated.C9ae71627_0.deploy(INTERCEPTOR[DeploymentService])
    	at org.objectweb.fractal.julia.generated.C59d5ff32_0.deploy(INTERFACE[DeploymentService])
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:442)
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169)
    	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: org.ow2.petals.kernel.api.server.PetalsException: You are trying to deploy a SU 'su-XSLT-OrderTransfo-provide' which need that the target component 'petals-se-xslt' is started or stopped
    	at org.ow2.petals.jbi.management.task.deployment.deploy.SACheckPackageTask.checkServiceUnits(SACheckPackageTask.java:186)
    	at org.ow2.petals.jbi.management.task.deployment.deploy.SACheckPackageTask.checkPackage(SACheckPackageTask.java:95)
    	at org.ow2.petals.jbi.management.task.AbstractCheckPackageTask.execute(AbstractCheckPackageTask.java:56)
    	at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
    	at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:185)
    	... 7 more
    SEVERE 2011-10-13 16:36:10,189 [Petals.AutoLoaderServiceImpl]
        Error during the deployment of a service assembly: 
    java.lang.Exception: The deployment of the Service Assembly 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/sa-XSLT-OrderTransfo-provide.zip' failed.
    Caused by: You are trying to deploy a SU 'su-XSLT-OrderTransfo-provide' which need that the target component 'petals-se-xslt' is started or stopped
    	at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:205)
    	at org.objectweb.fractal.julia.generated.C9ae71627_0.deploy(INTERCEPTOR[DeploymentService])
    	at org.objectweb.fractal.julia.generated.C59d5ff32_0.deploy(INTERFACE[DeploymentService])
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:442)
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169)
    	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)
    SEVERE 2011-10-13 16:36:34,504 [Petals.JBI-Management.InstallationServiceImpl]
        Unable to load a new installer at location 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/petals-se-xslt-2.4.1.zip'
    java.lang.Exception: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
    	at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:322)
    	at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
    	at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
    	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: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
    	at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:130)
    	at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.execute(CreateAndRegisterInstallerMBeanTask.java:86)
    	at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
    	at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:319)
    	... 7 more
    Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory]
    	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
    	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    	at javax.naming.InitialContext.init(InitialContext.java:223)
    	at javax.naming.InitialContext.<init>(InitialContext.java:175)
    	at org.ow2.petals.jbi.component.context.ComponentInitialContext.<init>(ComponentInitialContext.java:45)
    	at org.ow2.petals.container.lifecycle.Installer.createComponentInitialContext(Installer.java:796)
    	at org.ow2.petals.container.lifecycle.Installer.init(Installer.java:259)
    	at org.objectweb.fractal.julia.generated.C94bce4b2_0.init(INTERCEPTOR[InstallerInterface])
    	at org.objectweb.fractal.julia.generated.C7311171d_0.init(INTERFACE[InstallerInterface])
    	at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:114)
    	... 10 more
    Caused by: java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
    	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 java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:247)
    	at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
    	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
    	... 19 more
    SEVERE 2011-10-13 16:36:34,505 [Petals.AutoLoaderServiceImpl]
        Error during the auto- installation of a component
    java.lang.RuntimeException: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
    Caused by: Error creating or registring installer MBean
    Caused by: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
    Caused by: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
    	at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:326)
    	at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
    	at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
    	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)
    SEVERE 2011-10-13 16:37:14,505 [Petals.JBI-Management.InstallationServiceImpl]
        Unable to load a new installer at location 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/petals-se-xslt-2.4.1.zip'
    java.lang.Exception: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
    	at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:322)
    	at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
    	at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
    	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: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
    	at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:130)
    	at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.execute(CreateAndRegisterInstallerMBeanTask.java:86)
    	at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
    	at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:319)
    	... 7 more
    Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory]
    	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
    	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    	at javax.naming.InitialContext.init(InitialContext.java:223)
    	at javax.naming.InitialContext.<init>(InitialContext.java:175)
    	at org.ow2.petals.jbi.component.context.ComponentInitialContext.<init>(ComponentInitialContext.java:45)
    	at org.ow2.petals.container.lifecycle.Installer.createComponentInitialContext(Installer.java:796)
    	at org.ow2.petals.container.lifecycle.Installer.init(Installer.java:259)
    	at org.objectweb.fractal.julia.generated.C94bce4b2_0.init(INTERCEPTOR[InstallerInterface])
    	at org.objectweb.fractal.julia.generated.C7311171d_0.init(INTERFACE[InstallerInterface])
    	at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:114)
    	... 10 more
    Caused by: java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
    	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 java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:247)
    	at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
    	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
    	... 19 more
    SEVERE 2011-10-13 16:37:14,506 [Petals.AutoLoaderServiceImpl]
        Error during the auto- installation of a component
    java.lang.RuntimeException: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
    Caused by: Error creating or registring installer MBean
    Caused by: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
    Caused by: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
    	at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:326)
    	at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
    	at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
    	at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
    	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)

    Any information about what may cause this problem?
  • Environment:
    Linux Ubuntu
  1. All-SAs.zip
    (12 kB)
    Vincent Zurczak
    Mon, 17 Oct 2011 - 17:08:07 +0200

Activity

Hide
Vincent Zurczak added a comment - Thu, 13 Oct 2011 - 18:19:30 +0200

Once occuring, Petals does respond anymore and cannot be restarted.
You have to clean up the entire repository and start it fresh.

Show
Vincent Zurczak added a comment - Thu, 13 Oct 2011 - 18:19:30 +0200 Once occuring, Petals does respond anymore and cannot be restarted. You have to clean up the entire repository and start it fresh.
Christophe DENEUX made changes - Fri, 14 Oct 2011 - 09:13:29 +0200
Field Original Value New Value
Priority Blocker [ 1 ]
Description This error was encountered several times on several Linux stations.
Every machine had a topology with a single node. This error seems to occur randomly. :\
In the stack below, it occurred after the following scenario:
* Install several components and SU.
* Install a SU whose target component is not deployed. => failure
* Install the target component. The installation fails due to an error with JNDI.

\\
Note that other scenarios led to the same issue (but always following a new deployement in the topology).
Among the components which were deployed, there were XSLT, SOAP, File Transfer, EIP and EJB.
The EJB communicates with EasyBeans through JNDI.

{code:lang=xml}<ejb:ejb.jndi.name>AddOrderService</ejb:ejb.jndi.name>
<ejb:java.naming.factory.initial>org.ow2.easybeans.component.smartclient.spi.SmartContextFactory</ejb:java.naming.factory.initial>
<ejb:java.naming.provider.url>smart://localhost:2503&lt;/ejb:java.naming.provider.url>
<ejb:ejb.version>3.0</ejb:ejb.version>
<ejb:ejb.home.interface>org.ow2.petals.examples.ejb.addorder.AddOrderRemote</ejb:ejb.home.interface>
<ejb:marshalling.engine>jaxb</ejb:marshalling.engine>
{code}

\\
Here is the stack trace.

{quote}javax.jbi.management.DeploymentException: The deployment of the Service Assembly 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/sa-XSLT-OrderTransfo-provide.zip' failed.
at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:189)
at org.objectweb.fractal.julia.generated.C9ae71627_0.deploy(INTERCEPTOR[DeploymentService])
at org.objectweb.fractal.julia.generated.C59d5ff32_0.deploy(INTERFACE[DeploymentService])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:442)
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169)
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: org.ow2.petals.kernel.api.server.PetalsException: You are trying to deploy a SU 'su-XSLT-OrderTransfo-provide' which need that the target component 'petals-se-xslt' is started or stopped
at org.ow2.petals.jbi.management.task.deployment.deploy.SACheckPackageTask.checkServiceUnits(SACheckPackageTask.java:186)
at org.ow2.petals.jbi.management.task.deployment.deploy.SACheckPackageTask.checkPackage(SACheckPackageTask.java:95)
at org.ow2.petals.jbi.management.task.AbstractCheckPackageTask.execute(AbstractCheckPackageTask.java:56)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:185)
... 7 more
SEVERE 2011-10-13 16:36:10,189 [Petals.AutoLoaderServiceImpl]
    Error during the deployment of a service assembly:
java.lang.Exception: The deployment of the Service Assembly 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/sa-XSLT-OrderTransfo-provide.zip' failed.
Caused by: You are trying to deploy a SU 'su-XSLT-OrderTransfo-provide' which need that the target component 'petals-se-xslt' is started or stopped
at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:205)
at org.objectweb.fractal.julia.generated.C9ae71627_0.deploy(INTERCEPTOR[DeploymentService])
at org.objectweb.fractal.julia.generated.C59d5ff32_0.deploy(INTERFACE[DeploymentService])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:442)
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169)
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)
SEVERE 2011-10-13 16:36:34,504 [Petals.JBI-Management.InstallationServiceImpl]
    Unable to load a new installer at location 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/petals-se-xslt-2.4.1.zip'
java.lang.Exception: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:322)
at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
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: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:130)
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.execute(CreateAndRegisterInstallerMBeanTask.java:86)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:319)
... 7 more
Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:175)
at org.ow2.petals.jbi.component.context.ComponentInitialContext.<init>(ComponentInitialContext.java:45)
at org.ow2.petals.container.lifecycle.Installer.createComponentInitialContext(Installer.java:796)
at org.ow2.petals.container.lifecycle.Installer.init(Installer.java:259)
at org.objectweb.fractal.julia.generated.C94bce4b2_0.init(INTERCEPTOR[InstallerInterface])
at org.objectweb.fractal.julia.generated.C7311171d_0.init(INTERFACE[InstallerInterface])
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:114)
... 10 more
Caused by: java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
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 java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
... 19 more
SEVERE 2011-10-13 16:36:34,505 [Petals.AutoLoaderServiceImpl]
    Error during the auto- installation of a component
java.lang.RuntimeException: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
Caused by: Error creating or registring installer MBean
Caused by: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
Caused by: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:326)
at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
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)
SEVERE 2011-10-13 16:37:14,505 [Petals.JBI-Management.InstallationServiceImpl]
    Unable to load a new installer at location 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/petals-se-xslt-2.4.1.zip'
java.lang.Exception: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:322)
at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
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: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:130)
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.execute(CreateAndRegisterInstallerMBeanTask.java:86)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:319)
... 7 more
Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:175)
at org.ow2.petals.jbi.component.context.ComponentInitialContext.<init>(ComponentInitialContext.java:45)
at org.ow2.petals.container.lifecycle.Installer.createComponentInitialContext(Installer.java:796)
at org.ow2.petals.container.lifecycle.Installer.init(Installer.java:259)
at org.objectweb.fractal.julia.generated.C94bce4b2_0.init(INTERCEPTOR[InstallerInterface])
at org.objectweb.fractal.julia.generated.C7311171d_0.init(INTERFACE[InstallerInterface])
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:114)
... 10 more
Caused by: java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
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 java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
... 19 more
SEVERE 2011-10-13 16:37:14,506 [Petals.AutoLoaderServiceImpl]
    Error during the auto- installation of a component
java.lang.RuntimeException: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
Caused by: Error creating or registring installer MBean
Caused by: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
Caused by: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:326)
at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
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){quote}

\\
Any information about what may cause this problem?
This error was encountered several times on several Linux stations.
Every machine had a topology with a single node. This error seems to occur randomly. :\
In the stack below, it occurred after the following scenario:
* Install several components and SU.
* Install a SU whose target component is not deployed. => failure
* Install the target component. The installation fails due to an error with JNDI.

\\
Note that other scenarios led to the same issue (but always following a new deployement in the topology).
Among the components which were deployed, there were XSLT, SOAP, File Transfer, EIP and EJB.
The EJB communicates with EasyBeans through JNDI.

{code:lang=xml}<ejb:ejb.jndi.name>AddOrderService</ejb:ejb.jndi.name>
<ejb:java.naming.factory.initial>org.ow2.easybeans.component.smartclient.spi.SmartContextFactory</ejb:java.naming.factory.initial>
<ejb:java.naming.provider.url>smart://localhost:2503&lt;/ejb:java.naming.provider.url>
<ejb:ejb.version>3.0</ejb:ejb.version>
<ejb:ejb.home.interface>org.ow2.petals.examples.ejb.addorder.AddOrderRemote</ejb:ejb.home.interface>
<ejb:marshalling.engine>jaxb</ejb:marshalling.engine>
{code}

\\
Here is the stack trace.

{code}javax.jbi.management.DeploymentException: The deployment of the Service Assembly 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/sa-XSLT-OrderTransfo-provide.zip' failed.
at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:189)
at org.objectweb.fractal.julia.generated.C9ae71627_0.deploy(INTERCEPTOR[DeploymentService])
at org.objectweb.fractal.julia.generated.C59d5ff32_0.deploy(INTERFACE[DeploymentService])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:442)
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169)
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: org.ow2.petals.kernel.api.server.PetalsException: You are trying to deploy a SU 'su-XSLT-OrderTransfo-provide' which need that the target component 'petals-se-xslt' is started or stopped
at org.ow2.petals.jbi.management.task.deployment.deploy.SACheckPackageTask.checkServiceUnits(SACheckPackageTask.java:186)
at org.ow2.petals.jbi.management.task.deployment.deploy.SACheckPackageTask.checkPackage(SACheckPackageTask.java:95)
at org.ow2.petals.jbi.management.task.AbstractCheckPackageTask.execute(AbstractCheckPackageTask.java:56)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:185)
... 7 more
SEVERE 2011-10-13 16:36:10,189 [Petals.AutoLoaderServiceImpl]
    Error during the deployment of a service assembly:
java.lang.Exception: The deployment of the Service Assembly 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/sa-XSLT-OrderTransfo-provide.zip' failed.
Caused by: You are trying to deploy a SU 'su-XSLT-OrderTransfo-provide' which need that the target component 'petals-se-xslt' is started or stopped
at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy(DeploymentServiceImpl.java:205)
at org.objectweb.fractal.julia.generated.C9ae71627_0.deploy(INTERCEPTOR[DeploymentService])
at org.objectweb.fractal.julia.generated.C59d5ff32_0.deploy(INTERFACE[DeploymentService])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performDeploySA(AutoLoaderServiceImpl.java:442)
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(AutoLoaderServiceImpl.java:169)
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)
SEVERE 2011-10-13 16:36:34,504 [Petals.JBI-Management.InstallationServiceImpl]
    Unable to load a new installer at location 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/petals-se-xslt-2.4.1.zip'
java.lang.Exception: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:322)
at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
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: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:130)
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.execute(CreateAndRegisterInstallerMBeanTask.java:86)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:319)
... 7 more
Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:175)
at org.ow2.petals.jbi.component.context.ComponentInitialContext.<init>(ComponentInitialContext.java:45)
at org.ow2.petals.container.lifecycle.Installer.createComponentInitialContext(Installer.java:796)
at org.ow2.petals.container.lifecycle.Installer.init(Installer.java:259)
at org.objectweb.fractal.julia.generated.C94bce4b2_0.init(INTERCEPTOR[InstallerInterface])
at org.objectweb.fractal.julia.generated.C7311171d_0.init(INTERFACE[InstallerInterface])
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:114)
... 10 more
Caused by: java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
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 java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
... 19 more
SEVERE 2011-10-13 16:36:34,505 [Petals.AutoLoaderServiceImpl]
    Error during the auto- installation of a component
java.lang.RuntimeException: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
Caused by: Error creating or registring installer MBean
Caused by: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
Caused by: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:326)
at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
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)
SEVERE 2011-10-13 16:37:14,505 [Petals.JBI-Management.InstallationServiceImpl]
    Unable to load a new installer at location 'file:/home/petals/PetalsESB/petals-platform-3.1.3/install/petals-se-xslt-2.4.1.zip'
java.lang.Exception: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:322)
at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
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: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:130)
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.execute(CreateAndRegisterInstallerMBeanTask.java:86)
at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:319)
... 7 more
Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:175)
at org.ow2.petals.jbi.component.context.ComponentInitialContext.<init>(ComponentInitialContext.java:45)
at org.ow2.petals.container.lifecycle.Installer.createComponentInitialContext(Installer.java:796)
at org.ow2.petals.container.lifecycle.Installer.init(Installer.java:259)
at org.objectweb.fractal.julia.generated.C94bce4b2_0.init(INTERCEPTOR[InstallerInterface])
at org.objectweb.fractal.julia.generated.C7311171d_0.init(INTERFACE[InstallerInterface])
at org.ow2.petals.jbi.management.task.installation.install.component.CreateAndRegisterInstallerMBeanTask.createAndRegisterInstallerMBean(CreateAndRegisterInstallerMBeanTask.java:114)
... 10 more
Caused by: java.lang.ClassNotFoundException: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
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 java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
... 19 more
SEVERE 2011-10-13 16:37:14,506 [Petals.AutoLoaderServiceImpl]
    Error during the auto- installation of a component
java.lang.RuntimeException: org.ow2.petals.kernel.api.server.PetalsException: Error creating or registring installer MBean
Caused by: Error creating or registring installer MBean
Caused by: Cannot instantiate class: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
Caused by: org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory
at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.loadNewInstaller(InstallationServiceImpl.java:326)
at org.objectweb.fractal.julia.generated.C126740c7_0.loadNewInstaller(INTERCEPTOR[InstallationService])
at org.objectweb.fractal.julia.generated.C164c7dd2_0.loadNewInstaller(INTERFACE[InstallationService])
at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performInstallComponent(AutoLoaderServiceImpl.java:470)
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)
{code}

\\
Any information about what may cause this problem?
Hide
Christophe DENEUX added a comment - Fri, 14 Oct 2011 - 09:17:07 +0200

Is it strange that the installation of the Petals SE XSLT needs the class org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory. Perhaps it is due a classloader issue ?

Can you join or reference to the issue:

  • the version of components you are using (SE XSLT, BC EJB),
  • SL configured at component level
  • SA deployed on these components
Show
Christophe DENEUX added a comment - Fri, 14 Oct 2011 - 09:17:07 +0200 Is it strange that the installation of the Petals SE XSLT needs the class org.ow2.carol.jndi.spi.MultiOrbInitialContextFactory. Perhaps it is due a classloader issue ? Can you join or reference to the issue:
  • the version of components you are using (SE XSLT, BC EJB),
  • SL configured at component level
  • SA deployed on these components
Hide
Vincent Zurczak added a comment - Mon, 17 Oct 2011 - 17:06:23 +0200

Versions:

  • XSLT: 2.4.1
  • EJB: 1.3
  • File Transfer: 2.4.4
  • EIP: 2.5
  • SL EasyBeans: 1.0.2
Show
Vincent Zurczak added a comment - Mon, 17 Oct 2011 - 17:06:23 +0200 Versions:
  • XSLT: 2.4.1
  • EJB: 1.3
  • File Transfer: 2.4.4
  • EIP: 2.5
  • SL EasyBeans: 1.0.2
Hide
Vincent Zurczak added a comment - Mon, 17 Oct 2011 - 17:08:07 +0200 - edited

All the involved SAs.
The used EasyBeans version will be available on the company's FTP.

Show
Vincent Zurczak added a comment - Mon, 17 Oct 2011 - 17:08:07 +0200 - edited All the involved SAs. The used EasyBeans version will be available on the company's FTP.
Vincent Zurczak made changes - Mon, 17 Oct 2011 - 17:08:07 +0200
Attachment All-SAs.zip [ 10641 ]
Hide
Vincent Zurczak added a comment - Thu, 8 Dec 2011 - 16:07:10 +0100

Something weird, though, is the fact that I had never had this error before. Neither with the version 3.1.2 (that I heavily used with the EJB component in July), nor with the previous versions of Petals in training sessions. Would it be possible that a change between versions 3.1.2 and 3.1.3 could cause that?

Show
Vincent Zurczak added a comment - Thu, 8 Dec 2011 - 16:07:10 +0100 Something weird, though, is the fact that I had never had this error before. Neither with the version 3.1.2 (that I heavily used with the EJB component in July), nor with the previous versions of Petals in training sessions. Would it be possible that a change between versions 3.1.2 and 3.1.3 could cause that?
Christophe DENEUX made changes - Wed, 21 Mar 2012 - 15:47:59 +0100
Fix Version/s 3.3.0 [ 10334 ]
Priority Blocker [ 1 ] Major [ 3 ]
Christophe DENEUX made changes - Tue, 26 Jun 2012 - 11:18:26 +0200
Fix Version/s 4.1.1 [ 10356 ]
Fix Version/s 4.1.0 [ 10334 ]
Christophe DENEUX made changes - Tue, 24 Sep 2013 - 09:48:14 +0200
Fix Version/s VNext [ 10413 ]
Fix Version/s 4.2.0 [ 10356 ]
Hide
Christophe DENEUX added a comment - Mon, 5 Oct 2015 - 15:49:57 +0200

Postponed to 5.0.1 or upper

Show
Christophe DENEUX added a comment - Mon, 5 Oct 2015 - 15:49:57 +0200 Postponed to 5.0.1 or upper
Christophe DENEUX made changes - Mon, 5 Oct 2015 - 15:49:57 +0200
Fix Version/s 5.0.1 [ 10579 ]
Fix Version/s 5.0.0 [ 10413 ]
Hide
Victor NOËL added a comment - Tue, 6 Oct 2015 - 11:17:46 +0200

It would be great to know if this still happens… not sure how to do that personally.

Because I think this may be fixed because of classloader fixes (there was strange stuffs w.r.t. to SLs so maybe that's why…) in latest release…

Show
Victor NOËL added a comment - Tue, 6 Oct 2015 - 11:17:46 +0200 It would be great to know if this still happens… not sure how to do that personally. Because I think this may be fixed because of classloader fixes (there was strange stuffs w.r.t. to SLs so maybe that's why…) in latest release…
Christophe DENEUX made changes - Mon, 23 May 2016 - 15:04:18 +0200
Fix Version/s 5.0.2 [ 10661 ]
Fix Version/s 5.0.1 [ 10579 ]
Hide
Christophe DENEUX added a comment - Mon, 23 May 2016 - 15:04:35 +0200 - edited

Postponed to 5.0.3 or upper

Show
Christophe DENEUX added a comment - Mon, 23 May 2016 - 15:04:35 +0200 - edited Postponed to 5.0.3 or upper
Christophe DENEUX made changes - Wed, 21 Sep 2016 - 09:48:40 +0200
Fix Version/s 5.0.3 [ 10670 ]
Fix Version/s 5.0.2 [ 10661 ]
Christophe DENEUX made changes - Thu, 4 Jan 2018 - 10:57:31 +0100
Fix Version/s 5.1.1 [ 10764 ]
Fix Version/s 5.1.0 [ 10670 ]
Christophe DENEUX made changes - Thu, 26 Jul 2018 - 17:22:35 +0200
Fix Version/s 5.2.1 [ 10877 ]
Fix Version/s 5.2.0 [ 10764 ]
Christophe DENEUX made changes - Thu, 13 Apr 2023 - 17:05:48 +0200
Fix Version/s 5.4.0 [ 11131 ]
Fix Version/s 5.3.0 [ 10877 ]



People

Dates

  • Created:
    Thu, 13 Oct 2011 - 18:18:40 +0200
    Updated:
    Thu, 13 Apr 2023 - 17:05:48 +0200