Hi
I am having my own service archive which starts a RMI service and when it registers with the Naming i get a timeout from Naming context? The exact exception is
11:24:48,898 ERROR [STDERR] javax.naming.CommunicationException: Receive timed o
ut. Root exception is
11:24:48,928 ERROR [STDERR] java.io.InterruptedIOException: Receive timed out
11:24:48,938 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.receive(Nati
ve Method)
11:24:48,948 ERROR [STDERR] at java.net.DatagramSocket.receive(DatagramSocke
t.java:392)
11:24:48,978 ERROR [STDERR] at org.jnp.interfaces.NamingContext.discoverServ
er(NamingContext.java:919)
11:24:49,008 ERROR [STDERR] at org.jnp.interfaces.NamingContext.checkRef(Nam
ingContext.java:997)
11:24:49,018 ERROR [STDERR] at org.jnp.interfaces.NamingContext.rebind(Namin
gContext.java:341)
11:24:49,048 ERROR [STDERR] at org.jnp.interfaces.NamingContext.rebind(Namin
gContext.java:334)
11:24:49,068 ERROR [STDERR] at javax.naming.InitialContext.rebind(InitialCon
text.java:366)
11:24:49,088 ERROR [STDERR] at com.eidea.util.naming.NamingUtil.put(NamingUt
il.java:339)
11:24:49,118 ERROR [STDERR] at com.eidea.svc.jmx.reminder.ReminderServer.sta
rtReminderServer(ReminderServer.java:38)
11:24:49,148 ERROR [STDERR] at com.eidea.svc.jmx.reminder.ReminderServer.sta
rt(ReminderServer.java:32)
11:24:49,158 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method
)
11:24:49,188 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatc
her.invoke(ReflectedMBeanDispatcher.java:284)
11:24:49,218 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB
eanServerImpl.java:491)
11:24:49,248 ERROR [STDERR] at org.jboss.system.ServiceController$ServicePro
xy.invoke(ServiceController.java:894)
11:24:49,268 ERROR [STDERR] at $Proxy6.start(Unknown Source)
If anyone has clue please help
UDAY
I got it working
jndi properties set to get Intial context were
java.local.provider.url and when changed to
java.naming.provider.url=localhost it worked. Moving from 2.2.2 to 3.0 , a big jump ..:-)
Hope this helps someone...