Integrate OpenJMS into WAS 5

chic lets <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
Hi,

I'm currently trying to integrated OpenJMS into WAS 5 as generic jms
provider. Is there a message displayed on the WAS console if
successful integrated?

Currently when I run my class I get the error below:

javax.naming.CommunicationException: Failed to lookup JNDI provider
for URL: rmi://127.0.0.1:1099/JndiServer.  Root exception is
java.rmi.MarshalException: Error marshaling transport header; nested
exception is:
	java.io.InterruptedIOException: Read timed out
java.io.InterruptedIOException: Read timed out
	at java.net.SocketInputStream.socketRead(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:113)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:202)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:220)
	at java.io.DataInputStream.readByte(DataInputStream.java:241)
	at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:244)
	at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:201)
	at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:331)
	at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:89)
	at java.rmi.Naming.lookup(Naming.java:93)
	at org.exolab.jms.jndi.rmi.RmiJndiInitialContextFactory.getInitialContext(RmiJndiInitialContextFactory.java:135)

The following are the settings in WAS 5:

Classpath : ../lib/openjms-0.7.6.1.jar
                 ../lib/exolabcore-0.3.7.jar
External Initial Context Factory : org.exolab.jms.jndi.InitialContextFactory
External Provider Url : rmi://127.0.0.1:1099/

Generic JMS Destinations
JNDI Name : jms/Queue1
External JNDI Name : Queue1

Generic JMS Connection Factories
JNDI Name :  jms/QueueConnectionFactory
External JNDI Name : QueueConnectionFactory

Thanks in advance.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.