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

There aren't workflow transitions executed yet.

People

Dates

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