Hi [email protected]

I'm trying to run the "WS-Notification Clustered example" ( http://servicemix.apache.org/ws-notification-clustered.html ) but have only failed so far and would be very happy if someone could help me.

I run upon "javax.naming.NameAlreadyBoundException". As far as I can see there's no current reports on this kind of problem. Last year the was a similar problem with the 'basic' example (http://cwiki.apache.org/SM/discussion-forums.html#nabble-td15306536|a15578363).

It takes a little time before the warning comes. I don't have any services running on port 1099. I've tried both with 'IcedTea' and the sun jdk, but with same outcome.

Here's an example of what i get i my concole windows

$ ../../../bin/servicemix ./servicemix1.xml
servicemix: JAVA_HOME not set; results may vary
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6) (fedora-21.b16.fc10-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

Starting Apache ServiceMix ESB: 3.3.1

Loading Apache ServiceMix from file: ./servicemix1.xml
INFO - JBIContainer - ServiceMix 3.3.1 JBI Container (wsn1) is starting INFO - JBIContainer - For help or more information please see: http://servicemix.apache.org/ INFO - ComponentMBeanImpl - Initializing component: #SubscriptionManager#
INFO  - DeploymentService              - Restoring service assemblies
INFO - JBIContainer - ServiceMix JBI Container (wsn1) started INFO - ConnectorServerFactoryBean - JMX connector available at: service:jmx:rmi:///jndi/rmi://localhost:1091/jmxrmi WARN - ManagementContext - Failed to start jmx connector: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi]




$ ../../../bin/servicemix ./servicemix2.xml
servicemix: JAVA_HOME not set; results may vary
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6) (fedora-21.b16.fc10-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

Starting Apache ServiceMix ESB: 3.3.1

Loading Apache ServiceMix from file: ./servicemix2.xml
INFO - JBIContainer - ServiceMix 3.3.1 JBI Container (wsn2) is starting INFO - JBIContainer - For help or more information please see: http://servicemix.apache.org/ INFO - ComponentMBeanImpl - Initializing component: #SubscriptionManager#
INFO  - DeploymentService              - Restoring service assemblies
INFO  - ComponentMBeanImpl             - Initializing component: trace
INFO - ComponentMBeanImpl - Initializing component: servicemix-wsn2005 INFO - JBIContainer - ServiceMix JBI Container (wsn2) started INFO - ConnectorServerFactoryBean - JMX connector available at: service:jmx:rmi:///jndi/rmi://localhost:1092/jmxrmi WARN - ManagementContext - Failed to start jmx connector: Cannot bind to URL [rmi://localhost:1099/jmxrmi]: javax.naming.NameAlreadyBoundException: jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi]



../../../bin/servicemix ./servicemix3.xml
servicemix: JAVA_HOME not set; results may vary
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6) (fedora-21.b16.fc10-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

Starting Apache ServiceMix ESB: 3.3.1

Loading Apache ServiceMix from file: ./servicemix3.xml
INFO - JBIContainer - ServiceMix 3.3.1 JBI Container (wsn3) is starting INFO - JBIContainer - For help or more information please see: http://servicemix.apache.org/ INFO - ComponentMBeanImpl - Initializing component: #SubscriptionManager#
INFO  - DeploymentService              - Restoring service assemblies
INFO - ComponentMBeanImpl - Initializing component: servicemix-wsn2005 INFO - ComponentMBeanImpl - Initializing component: publisher-proxy INFO - ComponentMBeanImpl - Initializing component: quartz-publisher INFO - SimpleThreadPool - Job execution threads will use class loader of thread: main
INFO  - QuartzScheduler                - Quartz Scheduler v.1.5.1 created.
INFO  - RAMJobStore                    - RAMJobStore initialized.
INFO - StdSchedulerFactory - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
INFO  - StdSchedulerFactory            - Quartz scheduler version: 1.5.1
INFO - DeliveryChannelImpl - Set default destination endpoint for quartz-publisher to ServiceEndpoint[service={http://servicemix.org/test}publisher,endpoint=endpoint] INFO - QuartzScheduler - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. INFO - JBIContainer - ServiceMix JBI Container (wsn3) started INFO - ConnectorServerFactoryBean - JMX connector available at: service:jmx:rmi:///jndi/rmi://localhost:1093/jmxrmi

Best regards
Brian




Reply via email to