users@glassfish.java.net

Re: NoClassDefFoundError when using STOMP bridge in OpenMQ on one cluster node

From: Nigel Deakin <nigel.deakin_at_oracle.com>
Date: Fri, 05 Jul 2013 17:17:51 +0100

Manuel,

Interesting :-)

> The class UnifiedConnectionImpl is available in the VM but the Recovery Helper Thread can't use it.

Yes, when I started reading your first message I thought that the problem was with the class loader that is available to
the code that is performing transaction recovery. Different components have different class loaders available to them so
this is a possibility.

However the same message shows the same class-not-found problem occurring in a thread that is creating a connection for
the STOMP service, and now your second email shows it occurring in a thread that is initialising a MDB application.

Can you say a bit more about why you think the issue is particularly related to the recovery helper thread?

Looking at your stack trace:

java.lang.NoClassDefFoundError: com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl
at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:97)
at com.sun.messaging.jms.ra.ManagedConnection.<init>(ManagedConnection.java:196)

This shows that the thread has managed to load the class com.sun.messaging.jms.ra.ManagedConnection successfully. This
class is part of the JMSRA resource adapter which is pre-installed under
glassfish3/glassfish/lib/install/applications/jmsra in the jar imqjmsra.jar. However the class that it can't find,
com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl, is in the same jar, which makes it rather mysterious as to why it
can't be found.

com.sun.messaging.jmq.jmsclient.XAConnection.UnifiedConnectionImpl is the superclass of
com.sun.messaging.jmq.jmsclient.XAConnectionImpl, which is the connection implementation for connection factories that
are configured to connect via TCP (rather than to an embedded broker).

I configured a non-clustered GlassFish instance so that the recovery thread performed recovery on such a connection
factory, and it managed to instantiate the UnifiedConnectionImpl just fine (I was using the latest 3.1.2.2, and the
latest Java 1.7.0_25). So there's something subtle going on here. One approach may be to review exactly what was changed
between when this last worked and now.

Another approach is for you to try to reproduce the issue using a self-contained test case (using a cluster or not as
required) and log it as a JIRA issue with full details to reproduce it.

Nigel



On 04/07/2013 09:30, Manuel Blechschmidt wrote:
> Hello,
> a short update for this problem. I found the VM option -verbose:class in the following ticket:
>
> https://java.net/jira/browse/GLASSFISH-16192
>
>
>
> Here is the md5sum of the jar located on the server:
> 95b85232ba811dc20805efcb5bf7d2e4 /opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar
>
> It is the same like the sum on my development machine
>
> When I use it I get the following output:
>
> ...
> [#|2013-07-04T08:18:07.600+0000|INFO|glassfish3.1.2|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=72;_ThreadName=Thread-36;|GRIZZLY0001:
> Starting Grizzly Framework 1.9.50 - 04.07.13 08:18|#]
>
> [Loaded com.sun.grizzly.util.AbstractThreadPool$2 from file:/opt/glassfish3/glassfish/modules/grizzly-utils.jar]
> [Loaded com.sun.messaging.jms.Connection from file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded com.sun.messaging.jmq.jmsclient.Traceable from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded com.sun.messaging.jmq.jmsclient.ConnectionImpl from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded javax.jms.ConnectionMetaData from file:/opt/glassfish3/glassfish/modules/javax.jms.jar]
> [Loaded javax.jms.IllegalStateException from file:/opt/glassfish3/glassfish/modules/javax.jms.jar]
> [Loaded com.sun.messaging.jmq.jmsclient.logging.Loggable from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded com.sun.messaging.jms.JMSException from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded javax.jms.ConnectionConsumer from file:/opt/glassfish3/glassfish/modules/javax.jms.jar]
> [Loaded com.sun.messaging.jmq.util.MultiColumnPrinter from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded com.sun.messaging.jmq.util.DebugPrinter from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded javax.jms.InvalidClientIDException from file:/opt/glassfish3/glassfish/modules/javax.jms.jar]
> [Loaded javax.jms.XASession from file:/opt/glassfish3/glassfish/modules/javax.jms.jar]
> [Loaded javax.jms.QueueSession from file:/opt/glassfish3/glassfish/modules/javax.jms.jar]
> [Loaded javax.jms.TopicSession from file:/opt/glassfish3/glassfish/modules/javax.jms.jar]
> [Loaded java.lang.ExceptionInInitializerError from /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/jre/lib/rt.jar]
> [Loaded java.util.Objects from /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/jre/lib/rt.jar]
> [Loaded com.sun.messaging.jmq.jmsservice.BrokerEvent from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded com.sun.messaging.jmq.jmsservice.BrokerEvent$Type from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> ...
> [#|2013-07-04T08:19:21.950+0000|INFO|glassfish3.1.2|javax.enterprise.resource.jms.com.sun.enterprise.connectors.jms.system|_ThreadID=1;_ThreadName=main;|JMS013:
> end point determine destionation name, Res name: javax.jms.Queue, JNDI name: NewsletterMessageProcessorMDBBeanImpl
> descriptor name : {3}|#]
>
> [Loaded com.sun.enterprise.deployment.runtime.MdbConnectionFactoryDescriptor from
> file:/opt/glassfish3/glassfish/modules/dol.jar]
> [Loaded com.sun.messaging.jms.ra.GenericConnectionFactoryProperties from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded com.sun.messaging.jms.ra.ActivationSpec from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded javax.resource.spi.InvalidPropertyException from file:/opt/glassfish3/glassfish/modules/javax.resource.jar]
> [Loaded com.sun.messaging.jmq.DestinationName from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded com.sun.messaging.jmq.jmsclient.XAConnectionImpl from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded javax.rmi.CORBA.Util from /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/jre/lib/rt.jar]
> [Loaded com.sun.corba.ee.impl.presentation.rmi.PresentationManagerImpl$3 from
> file:/opt/glassfish3/glassfish/modules/glassfish-corba-orb.jar]
> [Loaded com.sun.corba.ee.impl.oa.poa.POAImpl$DestroyThread from
> file:/opt/glassfish3/glassfish/modules/glassfish-corba-orb.jar]
> [Loaded java.util.concurrent.ConcurrentHashMap$EntrySet from
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/jre/lib/rt.jar]
> [Loaded java.util.concurrent.ConcurrentHashMap$EntryIterator from
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/jre/lib/rt.jar]
> [#|2013-07-04T08:19:22.144+0000|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=1;_ThreadName=main;|Exception
> while invoking class org.glassfish.ejb.startup.EjbDeployer load method
> java.lang.RuntimeException: EJB Container initialization error
> at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:242)
> at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:305)
> at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:108)
> at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186)
> at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:264)
> at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:460)
> at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:375)
> at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:219)
> at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
> at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
> at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
> at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
> at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
> at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:78)
> at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:253)
> at com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:145)
> at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:136)
> at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
> at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)
> at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishImpl.start(OSGiGlassFishImpl.java:69)
> at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
> at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
> Caused by: java.lang.NoClassDefFoundError: com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl
> at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:97)
> at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:75)
> at com.sun.messaging.jms.ra.ResourceAdapter._getRAUID(ResourceAdapter.java:2081)
> at com.sun.messaging.jms.ra.ActivationSpec.setResourceAdapter(ActivationSpec.java:331)
> at com.sun.enterprise.connectors.inbound.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:214)
> at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:205)
> at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:121)
> at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:230)
> ... 26 more
> |#]
> ...
> [#|2013-07-04T08:19:22.413+0000|INFO|glassfish3.1.2|javax.enterprise.resource.resourceadapter.com.sun.enterprise.resource.recovery|_ThreadID=135;_ThreadName=Recovery
> Helper Thread;|JMS resource recovery has created CFs = 2|#]
>
> [Loaded com.sun.enterprise.v3.server.DynamicReloadService from file:/opt/glassfish3/glassfish/modules/kernel.jar]
> [Loaded com.sun.enterprise.v3.server.DynamicReloadService$1 from file:/opt/glassfish3/glassfish/modules/kernel.jar]
> [Loaded com.sun.enterprise.v3.server.DynamicReloader from file:/opt/glassfish3/glassfish/modules/kernel.jar]
> [Loaded com.sun.enterprise.v3.common.XMLActionReporter from file:/opt/glassfish3/glassfish/modules/kernel.jar]
> [Loaded com.sun.messaging.jms.ra.ManagedConnection from
> file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded javax.resource.spi.EISSystemException from file:/opt/glassfish3/glassfish/modules/javax.resource.jar]
> [Loaded com.sun.messaging.jms.ra.Util from file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded com.sun.messaging.jms.ra.Util$1 from file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded com.sun.messaging.jms.ra.Util$2 from file:/opt/glassfish3/glassfish/lib/install/applications/jmsra/imqjmsra.jar]
> [Loaded com.sun.enterprise.v3.server.DynamicReloader$AppReloadInfo from file:/opt/glassfish3/glassfish/modules/kernel.jar]
> [Loaded sun.reflect.GeneratedMethodAccessor86 from __JVM_DefineClass__]
> [#|2013-07-04T08:19:22.439+0000|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=135;_ThreadName=Recovery
> Helper Thread;|Exception in thread "Recovery Helper Thread" |#]
>
> [Loaded java.lang.Throwable$WrappedPrintStream from /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64/jre/lib/rt.jar]
> [Loaded com.sun.common.util.logging.LoggingOutputStream$StackTraceObjects from
> file:/opt/glassfish3/glassfish/modules/common-util.jar]
> [#|2013-07-04T08:19:22.448+0000|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=135;_ThreadName=Recovery
> Helper Thread;|java.lang.NoClassDefFoundError: com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl
> at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:97)
> at com.sun.messaging.jms.ra.ManagedConnection.<init>(ManagedConnection.java:196)
> at com.sun.messaging.jms.ra.ManagedConnectionFactory.createManagedConnection(ManagedConnectionFactory.java:226)
> at
> com.sun.enterprise.resource.recovery.ConnectorsRecoveryResourceHandler.loadXAResourcesAndItsConnections(ConnectorsRecoveryResourceHandler.java:292)
> at
> com.sun.enterprise.transaction.jts.ResourceRecoveryManagerImpl.getAllRecoverableResources(ResourceRecoveryManagerImpl.java:210)
> at com.sun.enterprise.transaction.jts.ResourceRecoveryManagerImpl.recoverXAResources(ResourceRecoveryManagerImpl.java:234)
> at com.sun.enterprise.transaction.jts.ResourceRecoveryManagerImpl.recoverXAResources(ResourceRecoveryManagerImpl.java:331)
> at com.sun.enterprise.transaction.jts.ResourceRecoveryManagerImpl.postConstruct(ResourceRecoveryManagerImpl.java:106)
> at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
> at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
> at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
> at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
> at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
> at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:78)
> at org.jvnet.hk2.component.Habitat.getByContract(Habitat.java:1050)
> at com.sun.jts.jta.TransactionServiceProperties$RecoveryHelperThread.run(TransactionServiceProperties.java:358)
> |#]
>
> [Loaded com.sun.enterprise.v3.admin.adapter.AdminConsoleStartupService from
> file:/opt/glassfish3/glassfish/modules/kernel.jar]
>
>
> Am 03.07.2013 um 17:41 schrieb Manuel Blechschmidt:
>
>> Hello,
>> we are currently running a 2 node cluster on glassfish 3.1.2.2 with JMS (OpenMQ 4.5.2 Patch 2) running in embedded
>> mode and a shared database (MySQL Percona Cluster). This worked fine until this morning. We restarted both instances
>> because of a kernel update. Further we updated some software packages (java 1.7.0.19 -> 1.7.0.25) and a new minor
>> release of percona.
>>
>> Then when restarting our nodes. One node had the following error:
>> java.lang.NoClassDefFoundError: com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl
>>
>> We found this class in the following file:
>> cd /opt/glassfish3/mq/lib
>> jar -tf imq.jar | grep com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl
>>
>> It turns out when removing the STOMP bridge from the JMS broker the message dissappears but also stomp dissappears
>> which we are heavily using.
>>
>> /opt/glassfish3/glassfish/nodes/node004.apaxo.de/1.004.apaxo.de/imq/instances/SemRecSys1004apaxode/props/config.properties
>> imq.bridge.enabled=true
>> imq.bridge.activelist=stomp
>> imq.bridge.admin.user=admin
>> imq.bridge.admin.password=*****
>>
>> /opt/glassfish3/glassfish/nodes/node004.apaxo.de/1.004.apaxo.de/imq/instances/SemRecSys1004apaxode/props/config.properties
>> [#|2013-07-03T15:16:33.949+0000|INFO|glassfish3.1.2|javax.enterprise.resource.jms.com.sun.enterprise.connectors.jms.system|_ThreadID=140;_ThreadName=Thread-2;|JMS011:
>> Addresslist mq://10.39.51.118:27676/|#] <mq://10.39.51.118:27676/%7C#]>
>>
>> [#|2013-07-03T15:16:33.951+0000|INFO|glassfish3.1.2|javax.enterprise.resource.jms.com.sun.enterprise.connectors.jms.system|_ThreadID=140;_ThreadName=Thread-2;|JMS011:
>> Addresslist mq://10.239.75.9:27676/|#] <mq://10.239.75.9:27676/%7C#]>
>>
>> [#|2013-07-03T15:16:33.961+0000|INFO|glassfish3.1.2|javax.enterprise.resource.resourceadapter.com.sun.enterprise.resource.recovery|_ThreadID=140;_ThreadName=Thread-2;|JMS
>> resource recovery has created CFs = 2|#]
>>
>> [#|2013-07-03T15:16:33.991+0000|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=140;_ThreadName=Thread-2;|Exception
>> in thread "Recovery Helper Thread" |#]
>>
>> [#|2013-07-03T15:16:34.010+0000|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=140;_ThreadName=Thread-2;|java.lang.NoClassDefFoundError:
>> com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl
>> at com.sun.messaging.XAConnectionFactory.createXAConnection(XAConnectionFactory.java:97)
>> at com.sun.messaging.jms.ra.ManagedConnection.<init>(ManagedConnection.java:196)
>> at com.sun.messaging.jms.ra.ManagedConnectionFactory.createManagedConnection(ManagedConnectionFactory.java:226)
>> at
>> com.sun.enterprise.resource.recovery.ConnectorsRecoveryResourceHandler.loadXAResourcesAndItsConnections(ConnectorsRecoveryResourceHandler.java:292)
>> at
>> com.sun.enterprise.transaction.jts.ResourceRecoveryManagerImpl.getAllRecoverableResources(ResourceRecoveryManagerImpl.java:210)
>> at
>> com.sun.enterprise.transaction.jts.ResourceRecoveryManagerImpl.recoverXAResources(ResourceRecoveryManagerImpl.java:234)
>> at
>> com.sun.enterprise.transaction.jts.ResourceRecoveryManagerImpl.recoverXAResources(ResourceRecoveryManagerImpl.java:331)
>> at com.sun.enterprise.transaction.jts.ResourceRecoveryManagerImpl.postConstruct(ResourceRecoveryManagerImpl.java:106)
>> at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
>> at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
>> at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
>> at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
>> at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
>> at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:78)
>> at org.jvnet.hk2.component.Habitat.getByContract(Habitat.java:1050)
>> at com.sun.jts.jta.TransactionServiceProperties$RecoveryHelperThread.run(TransactionServiceProperties.java:358)
>> |#]
>>
>> /opt/glassfish3/glassfish/nodes/node004.apaxo.de/1.004.apaxo.de/imq/instances/SemRecSys1004apaxode/bridges/stomp/stomp0.log
>>
>> Jul 03, 2013 1:52:35 PM
>> INFO: STOMP server log domain: imq.bridge.stomp
>> Jul 03, 2013 1:52:35 PM
>> INFO: STOMP server log file:
>> /opt/glassfish3/glassfish/nodes/node004.apaxo.de/1.004.apaxo.de/imq/instances/SemRecSys1004apaxode/bridges/stomp/stomp%g.log[0,1]
>> Jul 03, 2013 1:52:35 PM
>> INFO: Initialize Grizzly NIO framework 1.9.50
>> Jul 03, 2013 1:52:35 PM
>> INFO: Start STOMP server TCP transport on ip-10-39-51-118.eu-west-1.compute.internal:7672
>> Jul 03, 2013 1:52:35 PM
>> INFO: STOMP server has been successfully started with -1 reader threads
>> Jul 03, 2013 1:55:01 PM
>> INFO: Create JMS connection for user admin
>> Jul 03, 2013 1:55:01 PM
>> SEVERE: Could not initialize class com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl
>> java.lang.NoClassDefFoundError: Could not initialize class com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl
>> at com.sun.messaging.BasicConnectionFactory.createConnection(BasicConnectionFactory.java:153)
>> at com.sun.messaging.bridge.service.stomp.StompConnection.connect(StompConnection.java:106)
>> at com.sun.messaging.bridge.service.stomp.StompProtocolHandler.onCONNECT(StompProtocolHandler.java:148)
>> at com.sun.messaging.bridge.service.stomp.StompProtocolFilter.execute(StompProtocolFilter.java:107)
>> at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>> at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>> at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>> at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>> at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>> at java.lang.Thread.run(Thread.java:724)
>>
>> Jul 03, 2013 1:55:01 PM
>> SEVERE: [BSS3002]: SUBSCRIBE failed: [BSS4009]: Not connected ! on STOMP connection
>> com.sun.messaging.bridge.service.stomp.NotConnectedException: [BSS4009]: Not connected !
>> at com.sun.messaging.bridge.service.stomp.StompConnection.checkConnection(StompConnection.java:425)
>> at com.sun.messaging.bridge.service.stomp.StompConnection.createSubscriberSession(StompConnection.java:312)
>> at com.sun.messaging.bridge.service.stomp.StompProtocolHandler.onSUBSCRIBE(StompProtocolHandler.java:417)
>> at com.sun.messaging.bridge.service.stomp.StompProtocolFilter.execute(StompProtocolFilter.java:118)
>> at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>> at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>> at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>> at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>> at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>> at java.lang.Thread.run(Thread.java:724)
>>
>> Jul 03, 2013 1:55:01 PM
>> SEVERE: [BSS3002]: UNSUBSCRIBE failed: [BSS4009]: Not connected ! on STOMP connection
>> com.sun.messaging.bridge.service.stomp.NotConnectedException: [BSS4009]: Not connected !
>> at com.sun.messaging.bridge.service.stomp.StompConnection.checkConnection(StompConnection.java:425)
>> at com.sun.messaging.bridge.service.stomp.StompConnection.checkConnection(StompConnection.java:413)
>> at com.sun.messaging.bridge.service.stomp.StompConnection.closeSubscriber(StompConnection.java:349)
>> at com.sun.messaging.bridge.service.stomp.StompProtocolHandler.onUNSUBSCRIBE(StompProtocolHandler.java:491)
>> at com.sun.messaging.bridge.service.stomp.StompProtocolFilter.execute(StompProtocolFilter.java:121)
>> at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
>> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
>> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
>> at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
>> at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
>> at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
>> at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
>> at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
>> at java.lang.Thread.run(Thread.java:724)
>>
>> Jul 03, 2013 1:55:01 PM
>> SEVERE: [BSS3002]: DISCONNECT failed: [BSS4009]: Not connected ! on STOMP connection
>> Jul 03, 2013 3:04:40 PM
>> INFO: STOMP server log domain: imq.bridge.stomp
>> Jul 03, 2013 3:04:40 PM
>> INFO: STOMP server log file:
>> /opt/glassfish3/glassfish/nodes/node004.apaxo.de/1.004.apaxo.de/imq/instances/SemRecSys1004apaxode/bridges/stomp/stomp%g.log[0,1]
>> Jul 03, 2013 3:04:40 PM
>> INFO: Initialize Grizzly NIO framework 1.9.50
>> Jul 03, 2013 3:04:41 PM
>> INFO: Start STOMP server TCP transport on ip-10-39-51-118.eu-west-1.compute.internal:7672
>> Jul 03, 2013 3:04:41 PM
>> INFO: STOMP server has been successfully started with -1 reader threads
>> Jul 03, 2013 3:15:20 PM
>> INFO: STOMP server log domain: imq.bridge.stomp
>> Jul 03, 2013 3:15:20 PM
>> INFO: STOMP server log file:
>> /opt/glassfish3/glassfish/nodes/node004.apaxo.de/1.004.apaxo.de/imq/instances/SemRecSys1004apaxode/bridges/stomp/stomp%g.log[0,1]
>> Jul 03, 2013 3:15:20 PM
>> INFO: Initialize Grizzly NIO framework 1.9.50
>> Jul 03, 2013 3:15:20 PM
>> INFO: Start STOMP server TCP transport on ip-10-39-51-118.eu-west-1.compute.internal:7672
>> Jul 03, 2013 3:15:21 PM
>> INFO: STOMP server has been successfully started with -1 reader threads
>>
>> Is there someone who knows what the problem might be?
>>
>> Thanks
>> Manuel
>>
>> --
>> Manuel Blechschmidt
>> M.Sc. IT Systems Engineering
>> CTO - Apaxo GmbH
>> blechschmidt_at_apaxo.de <mailto:blechschmidt_at_apaxo.de>
>> http://www.apaxo.de
>>
>> Weinbergstr. 16
>> 14469 Potsdam
>>
>> Telefon +49 (0)6204 9180 593
>> Fax +49 (0)6204 9180 594
>> Mobil: +49 173/6322621
>>
>> Skype: Manuel_B86
>> Twitter: http://twitter.com/Manuel_B
>>
>> Sitz der Gesellschaft: Viernheim
>> Handelsregister HRB 87159
>> Ust-IdNr. DE261368874
>> Amtsgericht Darmstadt
>> Geschäftsführer Friedhelm Scharhag
>>
>
> --
> Manuel Blechschmidt
> M.Sc. IT Systems Engineering
> CTO - Apaxo GmbH
> blechschmidt_at_apaxo.de <mailto:blechschmidt_at_apaxo.de>
> http://www.apaxo.de
>
> Weinbergstr. 16
> 14469 Potsdam
>
> Telefon +49 (0)6204 9180 593
> Fax +49 (0)6204 9180 594
> Mobil: +49 173/6322621
>
> Skype: Manuel_B86
> Twitter: http://twitter.com/Manuel_B
>
> Sitz der Gesellschaft: Viernheim
> Handelsregister HRB 87159
> Ust-IdNr. DE261368874
> Amtsgericht Darmstadt
> Geschäftsführer Friedhelm Scharhag
>