system hangs while lookup of ejb2 deployed in jboss 5.1
pratap_184 Aug 20, 2010 6:42 AMHi ,
I am doing lookup of ejb2 deployed in jboss AS 5.1 . But while doing lookup it is giving me error like :
13:27:07,321 INFO [STDOUT] WARN: Could't call Scheduler Manager Bean. Message :Could not obtain connection to any of these urls: 10.192.18.38:1099and dis
covery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
13:27:07,321 ERROR [STDERR] javax.naming.CommunicationException: Could not obtain connection to any of these urls: 10.192.18.38:1099and discovery failed w
ith 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 /10.192.18.38:1099[Root exception is javax.naming.ServiceUnavailableException: Failed to
connect to server /10.192.18.38:1099[Root exception is java.net.ConnectException: Connection refused: connect]]]
13:27:07,321 ERROR [STDERR] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1763)
13:27:07,321 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:693)
13:27:07,321 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
13:27:07,352 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351)
13:27:07,352 ERROR [STDERR] at com.tfsm.oas.web.util.ServiceLocator.lookupHome(ServiceLocator.java:84)
13:27:07,352 ERROR [STDERR] at com.tfsm.oas.web.util.ServiceLocator.getServiceHome(ServiceLocator.java:124)
13:27:07,352 ERROR [STDERR] at com.tfsm.oas.web.schedule.FlushOverDeliveryJobs$JobScheduleFlushRunner.run(FlushOverDeliveryJobs.java:73)
13:27:07,352 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)
13:27:07,352 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)
13:27:07,352 ERROR [STDERR] Caused by: javax.naming.CommunicationException: Failed to connect to server /10.192.18.38:1099[Root exception is javax.naming.
ServiceUnavailableException: Failed to connect to server /10.192.18.38:1099[Root exception is java.net.ConnectException: Connection refused: connect]]
13:27:07,352 ERROR [STDERR] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:335)
13:27:07,352 ERROR [STDERR] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1734)
13:27:07,352 ERROR [STDERR] ... 8 more
13:27:07,352 ERROR [STDERR] Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server /10.192.18.38:1099[Root exception is java.net
.ConnectException: Connection refused: connect]
13:27:07,352 ERROR [STDERR] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:305)
13:27:07,352 ERROR [STDERR] ... 9 more
13:27:07,352 ERROR [STDERR] Caused by: java.net.ConnectException: Connection refused: connect
13:27:07,352 ERROR [STDERR] at java.net.PlainSocketImpl.socketConnect(Native Method)
13:27:07,352 ERROR [STDERR] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
13:27:07,352 ERROR [STDERR] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
13:27:07,352 ERROR [STDERR] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
13:27:07,352 ERROR [STDERR] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
13:27:07,352 ERROR [STDERR] at java.net.Socket.connect(Socket.java:519)
13:27:07,352 ERROR [STDERR] at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:97)
13:27:07,352 ERROR [STDERR] at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:82)
13:27:07,352 ERROR [STDERR] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:301)
13:27:07,352 ERROR [STDERR] ... 9 more.
Can any one tell me why this problem is there .
The jndi name for search I am using is 'ScheduleManagerBean' and the url is jnp://10.192.18.38:1099.
Please help me . As ,I am stuck with this from last 2 days and yet not get the answer.