users@glassfish.java.net

Re: [Fwd: Re: unable to run JMS WS client sample]

From: 386 <yo386_at_hotmail.com>
Date: Fri, 12 Mar 2010 01:08:11 -0800 (PST)

Hi,
   thanks for your help.

 I'm trying but I though that the main problem in that the service task
run-service.


 I don't know what happen, maybe is necessary execute the task in a
different order, but I'm lost.
Any comments or ideas would be appreciated.

I've the following exception: (I've attached the project withour the build
directory - to reduce the size)
-----
run-service:
Exception in thread "main"
com.sun.xml.ws.transport.jms.server.WSJMSException: listener.parsingFailed
        at
com.sun.xml.ws.transport.jms.server.WSJMS.initialize(WSJMS.java:112)
        at com.sun.xml.ws.transport.jms.server.WSJMS.process(WSJMS.java:118)
        at com.sun.xml.ws.transport.jms.server.WSJMS.main(WSJMS.java:151)
Caused by: javax.naming.CommunicationException: Can't find
SerialContextProvider [Root exception is java.lang.ClassCastException]
        at
com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:164)
        at
com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:409)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at
com.sun.xml.ws.transport.jms.server.WSJMS.initializeJMSConnection(WSJMS.java:77)
        at
com.sun.xml.ws.transport.jms.server.WSJMS.initialize(WSJMS.java:110)
        ... 2 more
Caused by: java.lang.ClassCastException
        at
com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:258)
        at
javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
        at
com.sun.enterprise.naming.SerialContext.narrowProvider(SerialContext.java:136)
        at
com.sun.enterprise.naming.SerialContext.getRemoteProvider(SerialContext.java:220)
        at
com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:159)
        ... 6 more
Caused by: java.lang.ClassCastException: Object is not of remote type
com.sun.enterprise.naming.SerialContextProvider
        at
com.sun.corba.ee.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:250)
        ... 10 more
Java Result: 1
BUILD SUCCESSFUL (total time: 8 seconds)
http://old.nabble.com/file/p27874100/nb_jms_example.zip nb_jms_example.zip
-- 
View this message in context: http://old.nabble.com/Re%3A--Fwd%3A-Re%3A-unable-to-run-JMS-WS-client-sample--tp21141158p27874100.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.