I add that jbossall-client.jar file to my project but I get another error: | javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 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 connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]] | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1399) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) | at javax.naming.InitialContext.lookup(Unknown Source) | at tutorial.client.ClientTest.go(ClientTest.java:30) | at tutorial.client.ClientTest.main(ClientTest.java:39) | Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]] | at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:254) | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1370) | ... 5 more | Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect] | at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:228) | ... 6 more | Caused by: java.net.ConnectException: Connection refused: connect | at java.net.PlainSocketImpl.socketConnect(Native Method) | at java.net.PlainSocketImpl.doConnect(Unknown Source) | at java.net.PlainSocketImpl.connectToAddress(Unknown Source) | at java.net.PlainSocketImpl.connect(Unknown Source) | at java.net.Socket.connect(Unknown Source) | at java.net.Socket.connect(Unknown Source) | at java.net.Socket.<init>(Unknown Source) | at java.net.Socket.<init>(Unknown Source) | at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69) | at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62) | at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:224) | ... 6 more | I use the latest one: jboss-4.0.3RC2 and Our production App server is Jboss 3.0 I , I wish my EJB2 work there too.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894434#3894434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894434 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
