Problem during startup of PEtALS-Platform 2.1.2 (JORAM Transporte r)

View: New views
5 Messages — Rating Filter:   Alert me  

Problem during startup of PEtALS-Platform 2.1.2 (JORAM Transporte r)

by julien.mullet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I've just downloaded the new PEtALS-Platform 2.1.2. And I'm facing
problems during the start-up...
I am using Windows XP SP2, I have been using PEtALS-Platform v2.1.1beta1 for
2 months and never had a problem with it.

Here is a dump of my topology.xml file for my platform 2.1.2 (I wanted to
start that distribution one container configured in static mode, started in
a machine connected on an isolated TCP/IP LAN network without any flow
restrictions, or FW...) :

<?xml version="1.0" encoding="UTF-8"?>
<tns:topology xmlns:tns="http://petals.ow2.org/topology"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://petals.ow2.org/topology
petalsTopology.xsd">
        <tns:description>
                sample of a static topology with unicast network
        </tns:description>
        <tns:domain mode="static" name="PEtALS">
                <tns:multicast>
                        <tns:ip>224.7.65.50</tns:ip>
                        <tns:port>8000</tns:port>
                </tns:multicast>
                <!-- the internal jndi server is used by default
                <tns:jndi>
       
<tns:factory>org.ow2.petals.communication.jndi.client.naming.NamingContextFa
ctory</tns:factory>
                        <tns:host>host</tns:host>
                        <tns:port>0</tns:port>
                </tns:jndi>
                -->
                <tns:sub-domain name="subdomain1">
                        <tns:container name="Container2">
                                <tns:host>192.168.56.177</tns:host>
                                <tns:description>description of the features
of Container 2</tns:description>
                                <tns:configuration>
                                        <tns:user>petals</tns:user>
                                        <tns:password>petals</tns:password>
                                        <tns:networkservice>
                                                <tns:port>7722</tns:port>
                                        </tns:networkservice>
                                        <tns:jmxservice>
       
<tns:rmiport>7702</tns:rmiport>
                                        </tns:jmxservice>
                                        <tns:joramservice>
       
<tns:domainPort>7742</tns:domainPort>
                                        </tns:joramservice>
                                        <tns:dreamservice>
                                                <tns:port>7802</tns:port>
                                        </tns:dreamservice>
                                </tns:configuration>
                        </tns:container>
                </tns:sub-domain>
        </tns:domain>
</tns:topology>

In the server properties file, I changed those variables:
petals.container.name=Container2
petals.transport.qos=reliable
petals.routing.strategy = random,4,2,1


When I started the server, there is a problem (I think) during the start of
the JORAM transporter. I got on my console :

C:\petals-platform-2.1.2\bin>startup.bat
PEtALS is starting...
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.start()
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.createConfiguration()
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.validateTopology()
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.validateStaticTopology()
[Petals.ConfigurationServiceConsole] - END -
ConfigurationServiceImpl.validateStaticTopology()
[Petals.ConfigurationServiceConsole] - END -
ConfigurationServiceImpl.validateTopology()
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.fillGlobalTopology()
[Petals.ConfigurationServiceConsole] - END -
ConfigurationServiceImpl.fillGlobalTopology()
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.fillLocalTopology()
[Petals.ConfigurationServiceConsole] - END -
ConfigurationServiceImpl.fillLocalTopology()
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.fillGlobalProperties()
[Petals.ConfigurationServiceConsole] - END -
ConfigurationServiceImpl.fillGlobalProperties()
[Petals.ConfigurationServiceConsole]
ConfigurationServiceImpl.createConfiguration() Configuration used :
[Petals.ConfigurationServiceConsole]
ConfigurationServiceImpl.createConfiguration() Container Container2 on
192.168.56.177 in sub-domain subdomain1
                          Configuration :
                          ---------------
                          - InstallDirectory:C:\petals-platform-2.1.2
                          -
RepositoryDirectory:C:\petals-platform-2.1.2\repository
                          - ExchangeValidation:false
                          - TransportQOS:reliable
                          - RoutingStrategy:random,4,2,1
                          - TaskTimeout:5000
                          - User:petals
                          - Password:petals
                          - NetworkBindingPort:7722
                          - JMXRMIConnectionPort:7702
                          - JoramDomainPort:7742
                          - JoramTCPPort:none
                          - DreamTCPPort:7802
                          - State:UNKNOWN
[Petals.ConfigurationServiceConsole] - END -
ConfigurationServiceImpl.createConfiguration()
[Petals.ConfigurationServiceConsole] - END -
ConfigurationServiceImpl.start()
[petals.NetworkService] -START- NetworkServiceImpl.start()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getContainerConfiguration()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getDomainConfiguration()
[petals.NetworkService] -START- NetworkServiceImpl.createChannels()
[petals.NetworkService] - END - NetworkServiceImpl.createChannels()
[petals.NetworkService] -START- NetworkServiceImpl.startChannels()
[petals.NetworkService] -START- NetworkServiceImpl.viewAccepted()
[petals.NetworkService] - END - NetworkServiceImpl.viewAccepted()
[petals.NetworkService] - END - NetworkServiceImpl.startChannels()
[petals.NetworkService] - END - NetworkServiceImpl.start()
[petals.JNDIAgentService] -START- JNDIAgentServiceImpl.start()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getDomainConfiguration()
[petals.JNDIAgentService] -START- JNDIAgentServiceImpl.initData()
[petals.NetworkService] -START- NetworkServiceImpl.getReplicatedHashMap()
[petals.NetworkService] - END - NetworkServiceImpl.getReplicatedHashMap()
[petals.JNDIAgentService] - END - JNDIAgentServiceImpl.initData()
[petals.JNDIAgentService] - END - JNDIAgentServiceImpl.start()
[petals.JNDIServiceImpl] -START- JNDIServiceImpl.start()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getDomainConfiguration()
[petals.JNDIServiceImpl] - END - JNDIServiceImpl.start()
[petals.TopologyService] -START- TopologyServiceImpl.start()
[petals.NetworkService] -START- NetworkServiceImpl.joinNetwork()
[petals.NetworkService] - END - NetworkServiceImpl.joinNetwork()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getContainerConfiguration()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getDomainConfiguration()
[petals.TopologyService] -START-
TopologyServiceImpl.getOrCreateTopologyContext()
[petals.JNDIServiceImpl] -START- JNDIServiceImpl.getInitialContext()
[petals.JNDIServiceImpl] JNDIServiceImpl.getInitialContext() Create a new
InitialContext decorator
[petals.JNDIServiceImpl] JNDIServiceImpl.getInitialContext() JNDI properties
used :
{java.naming.factory.initial=org.ow2.petals.communication.jndi.client.naming
.NamingContextFactory, org.ow2
.petals.communication.jndi.agent.local=true}
[petals.JNDIServiceImpl] - END - JNDIServiceImpl.getInitialContext()
[petals.JNDIServiceImpl] -START- InitialContextDecorator.list() String = /
[petals.JNDIAgentService] -START- RegistryUtil.list()
[petals.JNDIAgentService] - END - RegistryUtil.list()
[petals.JNDIServiceImpl] - END - InitialContextDecorator.list()
[petals.JNDIAgentService] -START- RegistryUtil.createSubcontext()
[petals.JNDIAgentService] -START- RegistryUtil.bind()
[petals.JNDIAgentService] - END - RegistryUtil.bind()
[petals.JNDIAgentService] - END - RegistryUtil.createSubcontext()
[petals.JNDIAgentService] -START- RegistryUtil.bind()
[petals.JNDIAgentService] - END - RegistryUtil.bind()
[petals.TopologyService] - END -
TopologyServiceImpl.getOrCreateTopologyContext()
[petals.TopologyService] -START-
TopologyServiceImpl.registerLocalContainer()
[petals.JNDIServiceImpl] -START- JNDIServiceImpl.getInitialContext()
[petals.JNDIServiceImpl] - END - JNDIServiceImpl.getInitialContext()
[petals.JNDIServiceImpl] -START- InitialContextDecorator.list() String =
topology
[petals.JNDIAgentService] -START- RegistryUtil.list()
[petals.JNDIAgentService] - END - RegistryUtil.list()
[petals.JNDIServiceImpl] - END - InitialContextDecorator.list()
[petals.JNDIAgentService] -START- RegistryUtil.bind()
[petals.JNDIAgentService] - END - RegistryUtil.bind()
[petals.TopologyService] - END - TopologyServiceImpl.start()
[petals.JMXService] -CALL - JMXServiceImpl.start()
[petals.RMI] -START- RMIConnector.start()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getContainerConfiguration()
[petals.RMI] RMIConnector.start() JMX RMI server started at :
service:jmx:rmi:///jndi/rmi://192.168.56.177:7702/jmxRmiConnector
[petals.RMI] - END - RMIConnector.start()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getContainerConfiguration()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getDomainConfiguration()
[petals.RepositoryService] -START- RepositoryServiceImpl.start()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getContainerConfiguration()
[petals.RepositoryService] - END - RepositoryServiceImpl.start()
[petals.SystemStateService] -START- SystemStateServiceImpl.start()
[petals.SystemStateService] - END - SystemStateServiceImpl.start()
[petals.Autoloader] -CALL - AutoLoaderServiceImpl.start()
[petals.AdminService] -START- AdminServiceImpl.start()
[petals.AdminService] - END - AdminServiceImpl.start()
[petals.InstallationService] -START- InstallationServiceImpl.start()
[petals.InstallationService] - END - InstallationServiceImpl.start()
[petals.SystemRecoveryService] -START- SystemRecoveryServiceImpl.start()
[petals.SystemRecoveryService] - END - SystemRecoveryServiceImpl.start()
[petals.DeploymentService] -START- DeploymentServiceImpl.start()
[petals.DeploymentService] - END - DeploymentServiceImpl.start()
[petals.PetalsAdminService] -START- PetalsAdminServiceImpl.start()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getContainerConfiguration()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getDomainConfiguration()
[petals.PetalsAdminService] - END - PetalsAdminServiceImpl.start()
[petals.EndpointRegistry] -CALL - EndpointRegistryImpl.start()
[petals.EndpointRegistry] -START- JNDIRegistry.initContexts()
[petals.JNDIServiceImpl] -START- JNDIServiceImpl.getInitialContext()
[petals.JNDIServiceImpl] - END - JNDIServiceImpl.getInitialContext()
[petals.JNDIServiceImpl] -START- InitialContextDecorator.list() String = /
[petals.JNDIAgentService] -START- RegistryUtil.list()
[petals.JNDIAgentService] - END - RegistryUtil.list()
[petals.JNDIServiceImpl] - END - InitialContextDecorator.list()
[petals.JNDIAgentService] -START- RegistryUtil.createSubcontext()
[petals.JNDIAgentService] -START- RegistryUtil.bind()
[petals.JNDIAgentService] - END - RegistryUtil.bind()
[petals.JNDIAgentService] - END - RegistryUtil.createSubcontext()
[petals.JNDIServiceImpl] -START- InitialContextDecorator.list() String = /
[petals.JNDIAgentService] -START- RegistryUtil.list()
[petals.JNDIAgentService] - END - RegistryUtil.list()
[petals.JNDIServiceImpl] - END - InitialContextDecorator.list()
[petals.JNDIAgentService] -START- RegistryUtil.createSubcontext()
[petals.JNDIAgentService] -START- RegistryUtil.bind()
[petals.JNDIAgentService] - END - RegistryUtil.bind()
[petals.JNDIAgentService] - END - RegistryUtil.createSubcontext()
[petals.JNDIServiceImpl] -START- InitialContextDecorator.list() String = /
[petals.JNDIAgentService] -START- RegistryUtil.list()
[petals.JNDIAgentService] - END - RegistryUtil.list()
[petals.JNDIServiceImpl] - END - InitialContextDecorator.list()
[petals.JNDIAgentService] -START- RegistryUtil.createSubcontext()
[petals.JNDIAgentService] -START- RegistryUtil.bind()
[petals.JNDIAgentService] - END - RegistryUtil.bind()
[petals.JNDIAgentService] - END - RegistryUtil.createSubcontext()
[petals.JNDIServiceImpl] -START- InitialContextDecorator.list() String = /
[petals.JNDIAgentService] -START- RegistryUtil.list()
[petals.JNDIAgentService] - END - RegistryUtil.list()
[petals.JNDIServiceImpl] - END - InitialContextDecorator.list()
[petals.JNDIAgentService] -START- RegistryUtil.createSubcontext()
[petals.JNDIAgentService] -START- RegistryUtil.bind()
[petals.JNDIAgentService] - END - RegistryUtil.bind()
[petals.JNDIAgentService] - END - RegistryUtil.createSubcontext()
[petals.EndpointRegistry] - END - JNDIRegistry.initContexts()
[petals.Router] -START- RouterServiceImpl.start()
[petals.Router] RouterServiceImpl.getRouter() Creating router...
[petals.Router] - END - RouterServiceImpl.start()
[petals.Container] Component started
[petals.Container] -START- ContainerServiceImpl.start()
[petals.Container] - END - ContainerServiceImpl.start()
[petals.transporter.Dispatcher] -START- DispatcherImpl.start()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getContainerConfiguration()
[petals.transporter.Dispatcher] - END - DispatcherImpl.start()
[petals.transporter.JoramTransporter] -START- JoramTransporter.start()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getContainerConfiguration()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getDomainConfiguration()
[petals.transporter.JoramTransporter] -START-
JoramTransporter.buildJoramTopology()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getStaticTopology()
[petals.transporter.JoramTransporter] - END -
JoramTransporter.buildJoramTopology()
/**************** HERE *****************/
[petals.transporter.JoramTransporter] -START-
JoramTransporter.startJoramAgent()
Problem while starting PEtALS, try to stop PEtALS cleanly...
[petals.Container] Stopping component
[petals.Container] Component inactivated
[Petals.ConfigurationServiceConsole] -CALL - ConfigurationServiceImpl.stop()
[petals.NetworkService] -CALL - NetworkServiceImpl.stop()
[petals.NetworkService] -START- NetworkServiceImpl.leaveNetwork()
[petals.NetworkService] - END - NetworkServiceImpl.leaveNetwork()
[petals.JNDIAgentService] -START- JNDIAgentServiceImpl.stop()
[petals.JNDIAgentService] - END - JNDIAgentServiceImpl.stop()
[petals.JNDIServiceImpl] -START- JNDIServiceImpl.stop()
[petals.JNDIServiceImpl] - END - JNDIServiceImpl.stop()
[petals.TopologyService] -CALL - TopologyServiceImpl.stop()
[petals.JMXService] -CALL - JMXServiceImpl.stop()
[petals.RMI] -START- RMIConnector.stop()
[petals.RMI] - END - RMIConnector.stop()
[petals.RepositoryService] -START- RepositoryServiceImpl.stop()
[petals.RepositoryService] - END - RepositoryServiceImpl.stop()
[petals.Autoloader] -CALL - AutoLoaderServiceImpl.stop()
[petals.InstallationService] -CALL - InstallationServiceImpl.stop()
[petals.SystemRecoveryService] -CALL - SystemRecoveryServiceImpl.stop()
[petals.DeploymentService] -CALL - DeploymentServiceImpl.stop()
[petals.EndpointRegistry] -CALL - EndpointRegistryImpl.stop()
[petals.Router] -CALL - RouterServiceImpl.stop()
[petals.Container] Component stopped
[petals.Container] - END - ContainerServiceImpl.stop()
[petals.transporter.Dispatcher] -CALL - DispatcherImpl.stop()
[petals.transporter.JoramTransporter] -START- JoramTransporter.stop()
[petals.transporter.JoramTransporter] Can not stop the Joram Transporter
java.lang.NullPointerException
        at
org.ow2.petals.transport.platform.joram.JoramTransporter.stop(JoramTransport
er.java:450)
        at
org.ow2.petals.transport.platform.joram.JoramTransporter.stopFc(JoramTranspo
rter.java)
        at
org.objectweb.fractal.julia.generated.Ca0f0ae37_0.setFcContentState(BasicCon
trollerMixin.java:8130)
        at
org.objectweb.fractal.julia.generated.Ca0f0ae37_0.setFcStopped(BasicControll
erMixin.java:8087)
        at
org.objectweb.fractal.julia.generated.C18c4c884_0.setFcStopped(INTERFACE[Lif
eCycleCoordinator])
        at
org.objectweb.fractal.julia.generated.C3d33f71e_0.stopFc(BasicControllerMixi
n.java:3187)
        at
org.objectweb.fractal.julia.generated.C3d33f71e_0.stopFc(BasicControllerMixi
n.java:9071)
        at
org.objectweb.fractal.julia.generated.C18c4c884_0.stopFc(INTERFACE[LifeCycle
Coordinator])
        at
org.ow2.petals.kernel.server.FractalHelper.stopComponent(FractalHelper.java:
356)
        at
org.ow2.petals.kernel.server.PetalsServer.start(PetalsServer.java:587)
        at
org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:151)
        at org.ow2.petals.distribution.platform.Main.main(Main.java:42)
Command processing error : start
org.ow2.petals.PetalsException: Problem while starting PEtALS
        at
org.ow2.petals.kernel.server.PetalsServer.start(PetalsServer.java:592)
        at
org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:151)
        at org.ow2.petals.distribution.platform.Main.main(Main.java:42)
Caused by: org.objectweb.fractal.api.control.IllegalLifeCycleException: For
input string: "Container2"
        at
org.ow2.petals.transport.platform.joram.JoramTransporter.startFc(JoramTransp
orter.java:0)
        at
org.objectweb.fractal.julia.generated.Ca0f0ae37_0.setFcContentState(BasicCon
trollerMixin.java:8128)
        at
org.objectweb.fractal.julia.generated.Ca0f0ae37_0.setFcStarted(BasicControll
erMixin.java:8068)
        at
org.objectweb.fractal.julia.generated.C18c4c884_0.setFcStarted(INTERFACE[Lif
eCycleCoordinator])
        at
org.objectweb.fractal.julia.generated.C3d33f71e_0.setFcState(BasicController
Mixin.java:4132)
        at
org.objectweb.fractal.julia.generated.C3d33f71e_0.startFc$$0(BasicController
Mixin.java:7117)
        at
org.objectweb.fractal.julia.generated.C3d33f71e_0.startFc(BasicControllerMix
in.java:10095)
        at
org.objectweb.fractal.julia.generated.C18c4c884_0.startFc(INTERFACE[LifeCycl
eCoordinator])
        at
org.ow2.petals.kernel.server.FractalHelper.startComponent(FractalHelper.java
:330)
        at
org.ow2.petals.kernel.server.PetalsServer.startPetalsComposite(PetalsServer.
java:280)
        at
org.ow2.petals.kernel.server.PetalsServer.start(PetalsServer.java:564)
        ... 2 more


Even after closing the win console, there is a java.exe jobs that are still
running and I have to kill it manually.

I tried to comment the <multicast> tag in the topology file and then tried
to start again => got the same error.

I also tested dynamic mode (from topology-sample-dynamic) configuration and
I got the same error (error while starting Joram transporter):

C:\petals-platform-2.1.2\bin>startup.bat
PEtALS is starting...
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.start()
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.createConfiguration()
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.validateTopology()
[Petals.ConfigurationServiceConsole] - END -
ConfigurationServiceImpl.validateTopology()
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.fillGlobalTopology()
[Petals.ConfigurationServiceConsole] - END -
ConfigurationServiceImpl.fillGlobalTopology()
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.fillLocalTopology()
[Petals.ConfigurationServiceConsole] - END -
ConfigurationServiceImpl.fillLocalTopology()
[Petals.ConfigurationServiceConsole] -START-
ConfigurationServiceImpl.fillGlobalProperties()
[Petals.ConfigurationServiceConsole] - END -
ConfigurationServiceImpl.fillGlobalProperties()
[Petals.ConfigurationServiceConsole]
ConfigurationServiceImpl.createConfiguration() Configuration used :
[Petals.ConfigurationServiceConsole]
ConfigurationServiceImpl.createConfiguration() Container Container2 on
localhost in sub-domain subdomain
                          Configuration :
                          ---------------
                          - InstallDirectory:C:\petals-platform-2.1.2
                          -
RepositoryDirectory:C:\petals-platform-2.1.2\repository
                          - ExchangeValidation:false
                          - TransportQOS:reliable
                          - RoutingStrategy:random,4,2,1
                          - TaskTimeout:5000
                          - User:petals
                          - Password:petals
                          - NetworkBindingPort:7720
                          - JMXRMIConnectionPort:7700
                          - JoramDomainPort:7740
                          - JoramTCPPort:7760
                          - DreamTCPPort:7800
                          - State:UNKNOWN

[...]

[petals.EndpointRegistry] - END - JNDIRegistry.initContexts()
[petals.Router] -START- RouterServiceImpl.start()
[petals.Router] RouterServiceImpl.getRouter() Creating router...
[petals.Router] - END - RouterServiceImpl.start()
[petals.Container] Component started
[petals.Container] -START- ContainerServiceImpl.start()
[petals.Container] - END - ContainerServiceImpl.start()
[petals.transporter.Dispatcher] -START- DispatcherImpl.start()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getContainerConfiguration()
[petals.transporter.Dispatcher] - END - DispatcherImpl.start()
[petals.transporter.JoramTransporter] -START- JoramTransporter.start()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getContainerConfiguration()
[Petals.ConfigurationServiceConsole] -CALL -
ConfigurationServiceImpl.getDomainConfiguration()
[petals.transporter.JoramTransporter] -START-
JoramTransporter.buildJoramTopology()
[petals.TopologyService] -START- TopologyServiceImpl.getDynamicTopology()
[petals.TopologyService] -START-
TopologyServiceImpl.getAllContainersConfiguration() Retrieve containers
configuration with state null
[petals.JNDIServiceImpl] -START- JNDIServiceImpl.getInitialContext()
[petals.JNDIServiceImpl] - END - JNDIServiceImpl.getInitialContext()
[petals.JNDIServiceImpl] -START- InitialContextDecorator.listBindings()
String = topology
[petals.JNDIAgentService] -START- RegistryUtil.listBindings()
[petals.JNDIAgentService] - END - RegistryUtil.listBindings()
[petals.JNDIServiceImpl] - END - InitialContextDecorator.listBindings()
[petals.TopologyService] - END -
TopologyServiceImpl.getAllContainersConfiguration() Returns 1 containers
[petals.TopologyService] - END - TopologyServiceImpl.getDynamicTopology()
[petals.transporter.JoramTransporter] - END -
JoramTransporter.buildJoramTopology()
[petals.transporter.JoramTransporter] -START-
JoramTransporter.startJoramAgent()
Problem while starting PEtALS, try to stop PEtALS cleanly...
[petals.Container] Stopping component
[petals.Container] Component inactivated
[Petals.ConfigurationServiceConsole] -CALL - ConfigurationServiceImpl.stop()
[petals.NetworkService] -CALL - NetworkServiceImpl.stop()
[petals.NetworkService] -START- NetworkServiceImpl.leaveNetwork()
[petals.NetworkService] - END - NetworkServiceImpl.leaveNetwork()
[petals.JNDIAgentService] -START- JNDIAgentServiceImpl.stop()
[petals.JNDIAgentService] - END - JNDIAgentServiceImpl.stop()
[petals.JNDIServiceImpl] -START- JNDIServiceImpl.stop()
[petals.JNDIServiceImpl] - END - JNDIServiceImpl.stop()
[petals.TopologyService] -CALL - TopologyServiceImpl.stop()
[petals.JMXService] -CALL - JMXServiceImpl.stop()
[petals.RMI] -START- RMIConnector.stop()
[petals.RMI] - END - RMIConnector.stop()
[petals.RepositoryService] -START- RepositoryServiceImpl.stop()
[petals.RepositoryService] - END - RepositoryServiceImpl.stop()
[petals.Autoloader] -CALL - AutoLoaderServiceImpl.stop()
[petals.InstallationService] -CALL - InstallationServiceImpl.stop()
[petals.SystemRecoveryService] -CALL - SystemRecoveryServiceImpl.stop()
[petals.DeploymentService] -CALL - DeploymentServiceImpl.stop()
[petals.EndpointRegistry] -CALL - EndpointRegistryImpl.stop()
[petals.Router] -CALL - RouterServiceImpl.stop()
[petals.Container] Component stopped
[petals.Container] - END - ContainerServiceImpl.stop()
[petals.transporter.Dispatcher] -CALL - DispatcherImpl.stop()
[petals.transporter.JoramTransporter] -START- JoramTransporter.stop()
[petals.transporter.JoramTransporter] Can not stop the Joram Transporter
java.lang.NullPointerException
        at
org.ow2.petals.transport.platform.joram.JoramTransporter.stop(JoramTransport
er.java:450)
        at
org.ow2.petals.transport.platform.joram.JoramTransporter.stopFc(JoramTranspo
rter.java)
        at
org.objectweb.fractal.julia.generated.Ca0f0ae37_0.setFcContentState(BasicCon
trollerMixin.java:8130)
        at
org.objectweb.fractal.julia.generated.Ca0f0ae37_0.setFcStopped(BasicControll
erMixin.java:8087)
        at
org.objectweb.fractal.julia.generated.C18c4c884_0.setFcStopped(INTERFACE[Lif
eCycleCoordinator])
        at
org.objectweb.fractal.julia.generated.C3d33f71e_0.stopFc(BasicControllerMixi
n.java:3187)
        at
org.objectweb.fractal.julia.generated.C3d33f71e_0.stopFc(BasicControllerMixi
n.java:9071)
        at
org.objectweb.fractal.julia.generated.C18c4c884_0.stopFc(INTERFACE[LifeCycle
Coordinator])
        at
org.ow2.petals.kernel.server.FractalHelper.stopComponent(FractalHelper.java:
356)
        at
org.ow2.petals.kernel.server.PetalsServer.start(PetalsServer.java:587)
        at
org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:151)
        at org.ow2.petals.distribution.platform.Main.main(Main.java:42)
Command processing error : start
org.ow2.petals.PetalsException: Problem while starting PEtALS
        at
org.ow2.petals.kernel.server.PetalsServer.start(PetalsServer.java:592)
        at
org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:151)
        at org.ow2.petals.distribution.platform.Main.main(Main.java:42)
Caused by: org.objectweb.fractal.api.control.IllegalLifeCycleException: For
input string: "Container2"
        at
org.ow2.petals.transport.platform.joram.JoramTransporter.startFc(JoramTransp
orter.java:0)
        at
org.objectweb.fractal.julia.generated.Ca0f0ae37_0.setFcContentState(BasicCon
trollerMixin.java:8128)
        at
org.objectweb.fractal.julia.generated.Ca0f0ae37_0.setFcStarted(BasicControll
erMixin.java:8068)
        at
org.objectweb.fractal.julia.generated.C18c4c884_0.setFcStarted(INTERFACE[Lif
eCycleCoordinator])
        at
org.objectweb.fractal.julia.generated.C3d33f71e_0.setFcState(BasicController
Mixin.java:4132)
        at
org.objectweb.fractal.julia.generated.C3d33f71e_0.startFc$$0(BasicController
Mixin.java:7117)
        at
org.objectweb.fractal.julia.generated.C3d33f71e_0.startFc(BasicControllerMix
in.java:10095)
        at
org.objectweb.fractal.julia.generated.C18c4c884_0.startFc(INTERFACE[LifeCycl
eCoordinator])
        at
org.ow2.petals.kernel.server.FractalHelper.startComponent(FractalHelper.java
:330)
        at
org.ow2.petals.kernel.server.PetalsServer.startPetalsComposite(PetalsServer.
java:280)
        at
org.ow2.petals.kernel.server.PetalsServer.start(PetalsServer.java:564)
        ... 2 more

I must be missing something...
I have to mention that I had already successfully ran a static distribution
of the PEtALS-Platform 2.1.1beta1 on the same environment without
encountering any problem.

Thanks you for helping :)


Julien Mullet
Software Engineer Junior
DLJ/TCF/UCR/JC2
Land & Joint Systems
Tel : +33 (0)1 69 75 32 48
SOA Services everywhere



--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Problem during startup of PEtALS-Platform 2.1.2 (JORAM Transporte r)

by Roland Naudin - EBM WebSourcing :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI Julien,
Can you put JORAM in DEBUG mode and send the traces back?
Can you send the a3server.xml file in $PETALS_HOME/work/joram too?

/Roland

Le lundi 05 mai 2008 à 18:09 +0200, Julien.MULLET@... a
écrit :
> mTransporter.startJoramAgent()
> Problem while starting PEtALS, try to stop PEtALS cleanly...
--
Roland NAUDIN
EBM Websourcing
05 34 32 03 13




--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Re: Problem during startup of PEtALS-Platform 2.1.2 (JORAM Transporte r)

by julien.mullet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Roland,

Joram was already set to DEBUG mode.

Here is the content of a3server.xml file :
<?xml version="1.0"?>
<!-- <!DOCTYPE config SYSTEM "a3config.dtd"> -->
<!--
[...]
-->
<config>
        <domain name="PEtALS" />
        <server id="Container2" name="Container2" hostname="192.168.56.177">
                <network domain="PEtALS" port="7742"/>
                <service
class="org.objectweb.joram.mom.proxies.ConnectionManager" args="petals
petals"/>
        </server>
</config>

That seems to be OK...

In the $PEtALS/logs directory, 3 files are created (petals2008-05-06.log,
dream2008-05-06.log and joram2008-05-06.log). The joram and dream log files are
empty. And I got a error report on the petals one :

INFO 2008-05-06 11:30:07,515 [root0.Petals.Communication.RMIConnector]
RMIConnector.start() JMX RMI server started at :
service:jmx:rmi:///jndi/rmi://192.168.56.177:7702/jmxRmiConnector
INFO 2008-05-06 11:30:07,578 [root0.Petals.JBI-Messaging.RouterServiceImpl]
    RouterServiceImpl.getRouter() Creating router...
SEVERE 2008-05-06 11:30:07,937 [root0.Petals.Transporter.JoramTransporter]
    Can not stop the Joram Transporter
java.lang.NullPointerException
        at
org.ow2.petals.transport.platform.joram.JoramTransporter.stop(JoramTransporter.java:450)
        at
org.ow2.petals.transport.platform.joram.JoramTransporter.stopFc(JoramTransporter.java)
        at
org.objectweb.fractal.julia.generated.Ca0f0ae37_0.setFcContentState(BasicControllerMixin.java:8130)
        at
org.objectweb.fractal.julia.generated.Ca0f0ae37_0.setFcStopped(BasicControllerMixin.java:8087)
        at
org.objectweb.fractal.julia.generated.C18c4c884_0.setFcStopped(INTERFACE[LifeCycleCoordinator])
        at
org.objectweb.fractal.julia.generated.C3d33f71e_0.stopFc(BasicControllerMixin.java:3187)
        at
org.objectweb.fractal.julia.generated.C3d33f71e_0.stopFc(BasicControllerMixin.java:9071)
        at
org.objectweb.fractal.julia.generated.C18c4c884_0.stopFc(INTERFACE[LifeCycleCoordinator])
        at
org.ow2.petals.kernel.server.FractalHelper.stopComponent(FractalHelper.java:356)
        at
org.ow2.petals.kernel.server.PetalsServer.start(PetalsServer.java:587)
        at
org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:151)
        at org.ow2.petals.distribution.platform.Main.main(Main.java:42)


What I got in the PEtALS console is the same as in the initial thread message
(JORAM and ROUTER in DEBUG mode).

Thanks you.

Julien


--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Re: Re: Problem during startup of PEtALS-Platform 2.1.2 (JORAM Transporte r)

by Roland Naudin - EBM WebSourcing :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK,
I found the problem!

JORAM Doesn't support yet String names!
You have to define your container name as an Integer, not "Container2"


BTW, I'm not sure you put joram in debug, did you set in the
logger.properties:

logger.fr.dyade.aaa.level DEBUG
logger.org.objectweb.joram.level DEBUG

??

Regards,
/Roland

Le mardi 06 mai 2008 à 11:50 +0200, julien.mullet@... a
écrit :

> Hi Roland,
>
> Joram was already set to DEBUG mode.
>
> Here is the content of a3server.xml file :
> <?xml version="1.0"?>
> <!-- <!DOCTYPE config SYSTEM "a3config.dtd"> -->
> <!--
> [...]
> -->
> <config>
> <domain name="PEtALS" />
> <server id="Container2" name="Container2" hostname="192.168.56.177">
> <network domain="PEtALS" port="7742"/>
> <service
> class="org.objectweb.joram.mom.proxies.ConnectionManager" args="petals
> petals"/>
> </server>
> </config>
>
> That seems to be OK...
>
> In the $PEtALS/logs directory, 3 files are created (petals2008-05-06.log,
> dream2008-05-06.log and joram2008-05-06.log). The joram and dream log files are
> empty. And I got a error report on the petals one :
>
> INFO 2008-05-06 11:30:07,515 [root0.Petals.Communication.RMIConnector]
> RMIConnector.start() JMX RMI server started at :
> service:jmx:rmi:///jndi/rmi://192.168.56.177:7702/jmxRmiConnector
> INFO 2008-05-06 11:30:07,578 [root0.Petals.JBI-Messaging.RouterServiceImpl]
>     RouterServiceImpl.getRouter() Creating router...
> SEVERE 2008-05-06 11:30:07,937 [root0.Petals.Transporter.JoramTransporter]
>     Can not stop the Joram Transporter
> java.lang.NullPointerException
> at
> org.ow2.petals.transport.platform.joram.JoramTransporter.stop(JoramTransporter.java:450)
> at
> org.ow2.petals.transport.platform.joram.JoramTransporter.stopFc(JoramTransporter.java)
> at
> org.objectweb.fractal.julia.generated.Ca0f0ae37_0.setFcContentState(BasicControllerMixin.java:8130)
> at
> org.objectweb.fractal.julia.generated.Ca0f0ae37_0.setFcStopped(BasicControllerMixin.java:8087)
> at
> org.objectweb.fractal.julia.generated.C18c4c884_0.setFcStopped(INTERFACE[LifeCycleCoordinator])
> at
> org.objectweb.fractal.julia.generated.C3d33f71e_0.stopFc(BasicControllerMixin.java:3187)
> at
> org.objectweb.fractal.julia.generated.C3d33f71e_0.stopFc(BasicControllerMixin.java:9071)
> at
> org.objectweb.fractal.julia.generated.C18c4c884_0.stopFc(INTERFACE[LifeCycleCoordinator])
> at
> org.ow2.petals.kernel.server.FractalHelper.stopComponent(FractalHelper.java:356)
> at
> org.ow2.petals.kernel.server.PetalsServer.start(PetalsServer.java:587)
> at
> org.ow2.petals.launcher.AbstractLauncher.launch(AbstractLauncher.java:151)
> at org.ow2.petals.distribution.platform.Main.main(Main.java:42)
>
>
> What I got in the PEtALS console is the same as in the initial thread message
> (JORAM and ROUTER in DEBUG mode).
>
> Thanks you.
>
> Julien
> pièce jointe document plein texte (message-footer.txt)
> --
> You receive this message as a subscriber of the petals-users@... mailing list.
> To unsubscribe: mailto:petals-users-unsubscribe@...
> For general help: mailto:sympa@...?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Roland NAUDIN
EBM Websourcing
05 34 32 03 13




--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Re: Re: Re: Problem during startup of PEtALS-Platform 2.1.2 (JORAM Transporte r)

by julien.mullet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks you Roland :)

Concerning the loggers configuration, yes, I set DEBUG level for all components
:
logger.Petals.level DEBUG
logger.fr.dyade.aaa.level DEBUG
logger.org.objectweb.joram.level DEBUG
logger.Petals.Transporter.DreamTransporter.TransportAgent.level DEBUG

I also tried to uncomment the joram and fr.dyade.aaa logging configuration
variables at the end of the loggers properties file and set them to DEBUG.
Nothing changed.

Best regards,

Julien MULLET


--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
LightInTheBox - Buy quality products at wholesale price