Re: [Fwd: Re: unable to run JMS WS client sample]
Hi All,
> I tried to ping the forum (jms-ws-transport) for this nobody
> responded. Can you suggest whom I can ping on this?
>
> Regards,
> Narayanaa
>
>
> -------- Original Message --------
> Subject: Re: unable to run JMS WS client sample
> Date: Tue, 23 Dec 2008 00:19:47 +0530
> From: Narayana Rallabandi <Narayana.Rallabandi_at_Sun.Com>
> To: users_at_jms-ws-transport.dev.java.net,
> dev_at_jms-ws-transport.dev.java.net
> References: <494FDEE1.3050702_at_Sun.Com>
>
>
>
> One more update.
>
> I checked the Glassfish JDK as well as the client, both are running on
> the same JVM.
>
> Thanks,
> Narayanaa
>
> *D:\temp\sources\jms-ws-transport\samples\fromwsdl>java -version
> java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)*
>
> *Dec 22, 2008 11:10:21 PM
> com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
> INFO:
> D:/cygwin/Java/jdk1.5.0_14/jre/..\bin\java
> -Dcom.sun.aas.instanceRoot=D:/EAITools/sailfin/domains/domain1*
> -DLifecycleModuleService.submitType=sync
> -Dcom.sun.aas.ClassPathPrefix=d:/EAITools/sailfin/lib/comms-appserv-rt.jar
> -Dcom.sun.aas.ClassPathSuffix=
> -Dcom.sun.aas.ServerClassPath=
>
>
> Narayana Rallabandi wrote:
>> Hi,
>>
>> I tried running the sample in the site.
>>
>> Since the client is failing and I could not find the
>> com.sun.xml.ws.api.pipe.TransportPipeFactory and could only find
>> com.sun.xml.ws.api.pipe.TransportTubeFactory. I changed it to
>> com.sun.xml.ws.api.pipe.TransportTubeFactory. After doing this I am
>> getting the following exception while running client.
>>
>> Can somebody point me where I am going wrong?
>>
>> Thanks,
>> Narayanaa
>>
>>
>> D:\temp\sources\jms-ws-transport\samples\fromwsdl>ant run-client
>> Buildfile: build.xml
>>
>> run-client:
>> [java] Invoking one-way operation. Nothing is returned from service.
>> [java]
>> * [java] Dec 23, 2008 12:02:34 AM
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0 rea
>> dRMIIIOPValueType
>> [java] WARNING: "IOP00810211: (MARSHAL) Exception from readValue
>> on ValueHandler in C
>> DRInputStream"
>> [java] org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211
>> completed: Maybe
>> [java] at
>> com.sun.corba.ee.impl.logging.ORBUtilSystemException.valuehandlerReadEx
>> ception(ORBUtilSystemException.java:8428)*
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(
>> CDRInputStream_1_0.java:973)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputSt
>> ream_1_0.java:1052)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream
>> .java:475)
>> [java] at
>> com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputStre
>> am.java:1974)
>> [java] at
>> com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputStre
>> am.java:2199)
>> [java] at
>> com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.ja
>> va:1211)
>> [java] at
>> com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStre
>> am.java:422)
>> [java] at
>> com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandle
>> rImpl.java:362)
>> [java] at
>> com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.ja
>> va:328)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(
>> CDRInputStream_1_0.java:966)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputSt
>> ream_1_0.java:1052)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputSt
>> ream_1_0.java:896)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream
>> .java:466)
>> [java] at
>> com.sun.corba.ee.impl.corba.TCUtility.unmarshalIn(TCUtility.java:296)
>> [java] at
>> com.sun.corba.ee.impl.corba.AnyImpl.read_value(AnyImpl.java:610)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_any(CDRInputStre
>> am_1_0.java:748)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream.read_any(CDRInputStream.j
>> ava:406)
>> [java] at
>> com.sun.corba.ee.impl.javax.rmi.CORBA.Util.readAny(Util.java:504)
>> [java] at
>> com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$10.r
>> ead(DynamicMethodMarshallerImpl.java:286)
>> [java] at
>> com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.read
>> Result(DynamicMethodMarshallerImpl.java:466)
>> [java] at
>> com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privat
>> eInvoke(StubInvocationHandlerImpl.java:195)
>> [java] at
>> com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke
>> (StubInvocationHandlerImpl.java:152)
>> [java] at
>> com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStu
>> bBase.java:225)
>> [java] at
>> com.sun.enterprise.naming._SerialContextProvider_DynamicStub.lookup(com
>> /sun/enterprise/naming/_SerialContextProvider_DynamicStub.java)
>> [java] at
>> com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:398)
>> [java] at
>> javax.naming.InitialContext.lookup(InitialContext.java:351)
>> [java] at
>> com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInsta
>> nce(ConnectorObjectFactory.java:92)
>> [java] at
>> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304
>> )
>> [java] at
>> com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:403)
>> [java] at
>> javax.naming.InitialContext.lookup(InitialContext.java:351)
>> [java] at
>> com.sun.xml.ws.transport.jms.client.JMSClientTransport.sendMessage(JMSC
>> lientTransport.java:94)
>> [java] at
>> com.sun.xml.ws.transport.jms.client.JMSTransportTube.processRequest(JMS
>> TransportTube.java:90)
>> [java] at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:507)
>> [java] at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:472)
>> [java] at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:370)
>> [java] at com.sun.xml.ws.client.Stub.process(Stub.java:198)
>> [java] at
>> com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:118)
>> [java] at
>> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.ja
>> va:238)
>> [java] at
>> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.ja
>> va:212)
>> [java] at
>> com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:101)
>> [java] at $Proxy31.oneWayInt(Unknown Source)
>> [java] at fromwsdl.client.AddNumbersClient.main(Unknown Source)
>> [java] Caused by: java.io.IOException: Mismatched serialization
>> UIDs : Source (Rep. I
>> DRMI:com.sun.enterprise.deployment.OrderedSet:B90A5B5267765469:A24145634121AEA9)
>> = A241456
>> 34121AEA9 whereas Target (Rep. ID
>> RMI:com.sun.enterprise.deployment.OrderedSet:B90A5B52677
>> 65469:05208D7E42793708) = 05208D7E42793708
>> [java] at
>> com.sun.corba.ee.impl.util.RepositoryId.useFullValueDescription(Reposit
>> oryId.java:650)
>> [java] at
>> com.sun.corba.ee.impl.io.ValueHandlerImpl.useFullValueDescription(Value
>> HandlerImpl.java:420)
>> [java] at
>> com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStre
>> am.java:419)
>> [java] at
>> com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandle
>> rImpl.java:362)
>> [java] at
>> com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.ja
>> va:328)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(
>> CDRInputStream_1_0.java:966)
>> [java] ... 41 more
>> [java] Dec 23, 2008 12:02:34 AM
>> com.sun.enterprise.naming.SerialContext lookup
>> [java] SEVERE: NAM0004: Exception during name lookup : {0}
>> [java] java.rmi.MarshalException: CORBA MARSHAL 1398079699
>> Maybe; nested exception is
>> :
>> [java] org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 211
>> completed: Maybe
>> [java] at
>> com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java
>> :279)
>> [java] at
>> com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privat
>> eInvoke(StubInvocationHandlerImpl.java:205)
>> [java] at
>> com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke
>> (StubInvocationHandlerImpl.java:152)
>> [java] at
>> com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStu
>> bBase.java:225)
>> [java] at
>> com.sun.enterprise.naming._SerialContextProvider_DynamicStub.lookup(com
>> /sun/enterprise/naming/_SerialContextProvider_DynamicStub.java)
>> [java] at
>> com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:398)
>> [java] at
>> javax.naming.InitialContext.lookup(InitialContext.java:351)
>> [java] at
>> com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInsta
>> nce(ConnectorObjectFactory.java:92)
>> [java] at
>> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304
>> )
>> [java] at
>> com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:403)
>> [java] at
>> javax.naming.InitialContext.lookup(InitialContext.java:351)
>> [java] at
>> com.sun.xml.ws.transport.jms.client.JMSClientTransport.sendMessage(JMSC
>> lientTransport.java:94)
>> [java] at
>> com.sun.xml.ws.transport.jms.client.JMSTransportTube.processRequest(JMS
>> TransportTube.java:90)
>> [java] at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:507)
>> [java] at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:472)
>> [java] at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:370)
>> [java] at com.sun.xml.ws.client.Stub.process(Stub.java:198)
>> [java] at
>> com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:118)
>> [java] at
>> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.ja
>> va:238)
>> [java] at
>> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.ja
>> va:212)
>> [java] at
>> com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:101)
>> [java] at $Proxy31.oneWayInt(Unknown Source)
>> [java] at fromwsdl.client.AddNumbersClient.main(Unknown Source)
>> [java] Caused by: org.omg.CORBA.MARSHAL: vmcid: SUN minor
>> code: 211 completed: May
>> be
>> [java] at
>> com.sun.corba.ee.impl.logging.ORBUtilSystemException.valuehandlerReadEx
>> ception(ORBUtilSystemException.java:8428)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(
>> CDRInputStream_1_0.java:973)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputSt
>> ream_1_0.java:1052)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream
>> .java:475)
>> [java] at
>> com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputStre
>> am.java:1974)
>> [java] at
>> com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputStre
>> am.java:2199)
>> [java] at
>> com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.ja
>> va:1211)
>> [java] at
>> com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStre
>> am.java:422)
>> [java] at
>> com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandle
>> rImpl.java:362)
>> [java] at
>> com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.ja
>> va:328)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(
>> CDRInputStream_1_0.java:966)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputSt
>> ream_1_0.java:1052)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputSt
>> ream_1_0.java:896)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream
>> .java:466)
>> [java] at
>> com.sun.corba.ee.impl.corba.TCUtility.unmarshalIn(TCUtility.java:296)
>> [java] at
>> com.sun.corba.ee.impl.corba.AnyImpl.read_value(AnyImpl.java:610)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_any(CDRInputStre
>> am_1_0.java:748)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream.read_any(CDRInputStream.j
>> ava:406)
>> [java] at
>> com.sun.corba.ee.impl.javax.rmi.CORBA.Util.readAny(Util.java:504)
>> [java] at
>> com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$10.r
>> ead(DynamicMethodMarshallerImpl.java:286)
>> [java] at
>> com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.read
>> Result(DynamicMethodMarshallerImpl.java:466)
>> [java] at
>> com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privat
>> eInvoke(StubInvocationHandlerImpl.java:195)
>> [java] ... 21 more
>> [java] Caused by: java.io.IOException: Mismatched serialization
>> UIDs : Source (Rep. I
>> DRMI:com.sun.enterprise.deployment.OrderedSet:B90A5B5267765469:A24145634121AEA9)
>> = A241456
>> 34121AEA9 whereas Target (Rep. ID
>> RMI:com.sun.enterprise.deployment.OrderedSet:B90A5B52677
>> 65469:05208D7E42793708) = 05208D7E42793708
>> [java] at
>> com.sun.corba.ee.impl.util.RepositoryId.useFullValueDescription(Reposit
>> oryId.java:650)
>> [java] at
>> com.sun.corba.ee.impl.io.ValueHandlerImpl.useFullValueDescription(Value
>> HandlerImpl.java:420)
>> [java] at
>> com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStre
>> am.java:419)
>> [java] at
>> com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandle
>> rImpl.java:362)
>> [java] at
>> com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.ja
>> va:328)
>> [java] at
>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.readRMIIIOPValueType(
>> CDRInputStream_1_0.java:966)
>> [java] ... 41 more
>> [java] Dec 23, 2008 12:02:34 AM
>> com.sun.enterprise.naming.SerialContext lookup
>> [java] SEVERE: NAM0004: Exception during name lookup : {0}
>> [java] com.sun.enterprise.connectors.ConnectorRuntimeException:
>> Failed to look up Con
>> nectorDescriptor from JNDI
>> [java] at
>> com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInsta
>> nce(ConnectorObjectFactory.java:98)
>> [java] at
>> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304
>> )
>> [java] at
>> com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:403)
>> [java] at
>> javax.naming.InitialContext.lookup(InitialContext.java:351)
>> [java] at
>> com.sun.xml.ws.transport.jms.client.JMSClientTransport.sendMessage(JMSC
>> lientTransport.java:94)
>> [java] at
>> com.sun.xml.ws.transport.jms.client.JMSTransportTube.processRequest(JMS
>> TransportTube.java:90)
>> [java] at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:507)
>> [java] at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:472)
>> [java] at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:370)
>> [java] at com.sun.xml.ws.client.Stub.process(Stub.java:198)
>> [java] at
>> com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:118)
>> [java] at
>> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.ja
>> va:238)
>> [java] at
>> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.ja
>> va:212)
>> [java] at
>> com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:101)
>> [java] at $Proxy31.oneWayInt(Unknown Source)
>> [java] at fromwsdl.client.AddNumbersClient.main(Unknown Source)
>> [java] Exception in thread "main"
>> com.sun.xml.ws.transport.jms.client.JMSTransportExc
>> eption: Failed to obtain queue
>> x-jms://localhost:3700/jaxwsfactory/fromwsdlQ?path=addnumbe
>> rs
>> [java] at
>> com.sun.xml.ws.transport.jms.client.JMSClientTransport.sendMessage(JMSC
>> lientTransport.java:105)
>> [java] at
>> com.sun.xml.ws.transport.jms.client.JMSTransportTube.processRequest(JMS
>> TransportTube.java:90)
>> [java] at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:507)
>> [java] at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:472)
>> [java] at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:370)
>> [java] at com.sun.xml.ws.client.Stub.process(Stub.java:198)
>> [java] at
>> com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:118)
>> [java] at
>> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.ja
>> va:238)
>> [java] at
>> com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.ja
>> va:212)
>> [java] at
>> com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:101)
>> [java] at $Proxy31.oneWayInt(Unknown Source)
>> [java] at fromwsdl.client.AddNumbersClient.main(Unknown Source)
>> [java] Caused by: javax.naming.CommunicationException: serial
>> context communication e
>> x [Root exception is
>> com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to lo
>> ok up ConnectorDescriptor from JNDI]
>> [java] at
>> com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:427)
>> [java] at
>> javax.naming.InitialContext.lookup(InitialContext.java:351)
>> [java] at
>> com.sun.xml.ws.transport.jms.client.JMSClientTransport.sendMessage(JMSC
>> lientTransport.java:94)
>> [java] ... 11 more
>> [java] Caused by:
>> com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to
>> look up ConnectorDescriptor from JNDI
>> [java] at
>> com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInsta
>> nce(ConnectorObjectFactory.java:98)
>> [java] at
>> javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304
>> )
>> [java] at
>> com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:403)
>> [java] ... 13 more
>> [java] Java Result: 1
>>
>> BUILD SUCCESSFUL
>> Total time: 4 seconds
>> D:\temp\sources\jms-ws-transport\samples\fromwsdl>