Hi Guys,

 

I’m trying to lookup connectionfactory which is usually bound to java:/JmsXA in remote standalone client & here is the stack I’m getting…

 

 

javax.naming.NamingException: Failed to lookup [Root exception is java.io.NotSerializableException: org.jboss.jca.core.connectionmanager.ccm.CachedConnectionManagerImpl]

       at org.jboss.naming.remote.client.ClientUtil.namingException(ClientUtil.java:36)

       at org.jboss.naming.remote.protocol.v1.Protocol$1.execute(Protocol.java:101)

       at org.jboss.naming.remote.protocol.v1.RemoteNamingStoreV1.lookup(RemoteNamingStoreV1.java:73)

       at org.jboss.naming.remote.client.RemoteContext.lookup(RemoteContext.java:61)

       at org.jboss.naming.remote.client.RemoteContext.lookup(RemoteContext.java:65)

       at javax.naming.InitialContext.lookup(InitialContext.java:392)

       at com.banctec.process.client.logviewer.helpers.JMSSubscription.setupSubscription(JMSSubscription.java:100)

       at com.banctec.process.client.logviewer.LogViewerController.setupJMS(LogViewerController.java:195)

       at com.banctec.process.client.logviewer.LogViewerController.loginProcess(LogViewerController.java:176)

       at com.banctec.process.client.logviewer.processroot.LoginDialog.okPressed(LoginDialog.java:211)

       at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:365)

       at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)

       at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)

       at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)

       at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)

       at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)

       at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

       at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)

       at org.eclipse.jface.window.Window.open(Window.java:648)

       at com.banctec.process.client.logviewer.LogViewerController.login(LogViewerController.java:112)

       at com.banctec.process.client.logviewer.processroot.ProcessRoot.initNode(ProcessRoot.java:71)

       at com.banctec.process.client.logviewer.MainFrame$TreeChangedListener.selectionChanged(MainFrame.java:407)

       at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:159)

       at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)

       at org.eclipse.core.runtime.Platform.run(Platform.java:747)

       at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:157)

       at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1394)

       at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:693)

       at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:718)

       at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:180)

       at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:175)

       at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:324)

       at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)

       at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)

       at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)

       at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

       at com.banctec.process.client.logviewer.MainFrame.run(MainFrame.java:323)

       at com.banctec.process.client.logviewer.LogViewerController.start(LogViewerController.java:93)

       at com.banctec.process.client.logviewer.LogViewerMain.<init>(LogViewerMain.java:95)

       at com.banctec.process.client.logviewer.LogViewerMain.main(LogViewerMain.java:112)

Caused by: java.io.NotSerializableException: org.jboss.jca.core.connectionmanager.ccm.CachedConnectionManagerImpl

       at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:885)

       at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1057)

       at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1013)

       at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:992)

       at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)

       at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1057)

       at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1013)

       at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:879)

       at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)

       at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:119)

       at org.jboss.naming.remote.protocol.v1.Protocol$1$2.write(Protocol.java:135)

       at org.jboss.naming.remote.protocol.v1.WriteUtil.write(WriteUtil.java:61)

       at org.jboss.naming.remote.protocol.v1.Protocol$1.handleServerMessage(Protocol.java:125)

       at org.jboss.naming.remote.protocol.v1.RemoteNamingServerV1$MessageReciever$1.run(RemoteNamingServerV1.java:70)

       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

       at java.lang.Thread.run(Thread.java:662)

Caused by: an exception which occurred:

       in field cachedConnectionManager

       in field cm

       in object org.hornetq.ra.HornetQRAConnectionFactoryImpl@5126db0

 




BancTec Limited.
Registered Office: Jarman House, Mathisen Way, Poyle Road, Colnbrook, Berkshire SL3 0HF. Incorporated in England & Wales : 1283512. VAT : GB 228 4783 38.