Hi,
I am migrating the application from Jboss 3.2.8 to Jboss4.0.5GA.
I can deploy the ear file successfully in Jboss4.0.5 and all beans deployed
correctly. Global JNDI Names space looks like this. I can run the application
in Jboss 3.2.8, but not in jboss 4.0.5 getting error,while looking up session
bean.
----------------------------
javax.naming.NamingException: Could not dereference object [Root exception is
javax.naming.CommunicationException: Receive timed out [Root exception is
java.net.SocketTimeoutException: Receive timed out]]
----------------------------------------------
the lookup code is, below worked in jboss 3.2 but getting above error in jboss
4.0.5GA, Can you please help me with the problem.?
--------------------------
InitialContext ictx = new InitialContext();
ictx.lookup("java:comp/env/ejb/SessionMaterial")
-------------------------------------------
--------------------------
Global JNDI Namespace
+- MaterialLocal (proxy: $Proxy63 implements interface
com.skandia.model.entity.material.MaterialLocalHome)
+- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair)
+- jmx (class: org.jnp.interfaces.NamingContext)
| +- invoker (class: org.jnp.interfaces.NamingContext)
| | +- RMIAdaptor (proxy: $Proxy42 implements interface
org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface
org.jboss.jmx.adaptor.rmi.RMIAdaptorExt)
| +- rmi (class: org.jnp.interfaces.NamingContext)
| | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class:
javax.naming.LinkRef)
+- ZugangLocal (proxy: $Proxy62 implements interface
com.skandia.model.entity.zugang.ZugangLocalHome)
+- BestellungLocal (proxy: $Proxy65 implements interface
com.skandia.model.entity.bestellung.BestellungLocalHome)
+- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
+- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
+- MaterialversionLocal (proxy: $Proxy66 implements interface
com.skandia.model.entity.materialversion.MaterialversionLocalHome)
+- UserTransactionSessionFactory (proxy: $Proxy12 implements interface
org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
+- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
+- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
+- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
+- UILXAConnectionFactory[link -> XAConnectionFactory] (class:
javax.naming.LinkRef)
+- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class:
javax.naming.LinkRef)
+- queue (class: org.jnp.interfaces.NamingContext)
| +- A (class: org.jboss.mq.SpyQueue)
| +- testQueue (class: org.jboss.mq.SpyQueue)
| +- ex (class: org.jboss.mq.SpyQueue)
| +- DLQ (class: org.jboss.mq.SpyQueue)
| +- D (class: org.jboss.mq.SpyQueue)
| +- C (class: org.jboss.mq.SpyQueue)
| +- B (class: org.jboss.mq.SpyQueue)
+- topic (class: org.jnp.interfaces.NamingContext)
| +- testDurableTopic (class: org.jboss.mq.SpyTopic)
| +- testTopic (class: org.jboss.mq.SpyTopic)
| +- securedTopic (class: org.jboss.mq.SpyTopic)
+- console (class: org.jnp.interfaces.NamingContext)
| +- PluginManager (proxy: $Proxy43 implements interface
org.jboss.console.manager.PluginManagerMBean)
+- LagerbestandLocal (proxy: $Proxy64 implements interface
com.skandia.model.entity.lagerbestand.LagerbestandLocalHome)
+- UIL2ConnectionFactory[link -> ConnectionFactory] (class:
javax.naming.LinkRef)
+- HiLoKeyGeneratorFactory (class:
org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory)
+- UILConnectionFactory[link -> ConnectionFactory] (class:
javax.naming.LinkRef)
+- ejb (class: org.jnp.interfaces.NamingContext)
| +- SessionMaterial (proxy: $Proxy76 implements interface
com.skandia.model.session.material.SessionMaterialHome,interface
javax.ejb.Handle)
| +- SessionCodes (proxy: $Proxy74 implements interface
com.skandia.model.session.codes.SessionCodesHome,interface javax.ejb.Handle)
+- AbgangLocal (proxy: $Proxy67 implements interface
com.skandia.model.entity.abgang.AbgangLocalHome)
+- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair)
+- UUIDKeyGeneratorFactory (class:
org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
------------------------------------------
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057727#4057727
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057727
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user