#1 2008-05-20 02:31:29

Jon
Guest

tMOM problems

Tags: [java, jboss, tmom, tos2.3.2]

If anyone has had success using the tMOMoutput please help.

TOS2.3.2
JDK1.6
JBOSS4.2.2

I am simply trying to output a single message to the JBOSS queue (queue/A).  I am using a row generator connected to a tMOMoutput.

This is the error I get…

Starting job Test1 at 20:45 15/05/2008.
[statistics] connecting to socket on port 3366
[statistics] connected
Exception in component tMomOutput_1
javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:8093 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to retrieve stub from server localhost:8093 [Root exception is java.io.EOFException]]
    at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
    at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at christian_book.test1.Test1.tRowGenerator_1Process(Test1.java:253)
    at christian_book.test1.Test1.runJobInTOS(Test1.java:1595)
    at christian_book.test1.Test1.main(Test1.java:1506)
Caused by: javax.naming.CommunicationException: Failed to retrieve stub from server localhost:8093 [Root exception is java.io.EOFException]
    at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:263)
    at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
    ... 6 more
Caused by: java.io.EOFException
    at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:251)
    ... 7 more
126044 milliseconds
[statistics] disconnected
Job Test1 ended at 20:47 15/05/2008. [exit code=1]

…Could this be a problem with JBOSS.  I tried connecting via 8093 which seems to be the right port.  I also tried connecting on different ports but it provides a slightly different error.  When I start JBOSS I use the run.bat executable and that is it.  Is there anything else that I should be doing when I start JBOSS?

#2 2008-07-22 07:11:42

malay
Guest

Re: tMOM problems

I've got the same issue. have tried different versions of the jre on the client, different IDEs too!! the connection just times out with this error.

Board footer

Powered by FluxBB