[Remoting] - Re: Socket Invoker timeout
by ron.sigal@jboss.com
"mohitanchlia" wrote :
| anonymous wrote :
| | The call to java.net.Socket.connect(SocketAddress endpoint), which is the overloaded version of connect() used in org.jboss.remoting.transport.socket.MicroSocketClientInvoker, does not time out.
| |
|
| I didn't understand the above "does not timeout". With what you described then I shouldn't be seeing this:
|
| 2008-12-31 17:20:14,297 DEBUG [transport.socket.MicroSocketClientInvoker:ajp-0.0.0.0-8009-99] - SocketClientInvoker[18b118, socket://10.10.8.77:3873] got Exception java.net.NoRouteToHostException: No route to host, creation attempt took 5001 ms
|
The java.net.NoRouteToHostException doesn't represent a timeout. The "creation attempt took 5001 ms" message is just extra information provided by the invoker.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199316#4199316
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199316
17 years, 3 months
[EJB 3.0] - Re: How to inject sessionbean from sessionbean
by NSchweig
Hi,
the only thing I see in the server.log that belongs to that error is:
| ...
| 2009-01-03 10:27:14,656 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
|
| jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=CourseHandler,service=EJB3
| -> <UNKNOWN jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=CourseHandler,service=EJB3>{Described:** UNRESOLVED Demands 'jndi:CMT_ejb/de.cmt.beans.groupAdministration.GroupHandlerRemote' **}
|
| jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=GroupHandler,service=EJB3
| -> <UNKNOWN jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=GroupHandler,service=EJB3>{Described:** UNRESOLVED Demands 'Class:de.cmt.beans.courseAdministration.CourseHandlerRemote' **}
|
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| <UNKNOWN jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=GroupHandler,service=EJB3> -> ** UNRESOLVED Demands 'Class:de.cmt.beans.courseAdministration.CourseHandlerRemote' **
|
| <UNKNOWN jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=CourseHandler,service=EJB3> -> ** UNRESOLVED Demands 'jndi:CMT_ejb/de.cmt.beans.groupAdministration.GroupHandlerRemote' **
|
|
| 2009-01-03 10:27:14,656 DEBUG [org.jboss.bootstrap.microcontainer.ServerImpl] (main) Installing life thread Thread[JBossLifeThread,5,jboss]
| ...
|
(CourseHandler tries to inject groupHandler and vice versa)
In the console it is the following:
10:27:14,656 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
|
| jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=CourseHandler,service=EJB3
| -> <UNKNOWN jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=CourseHandler,service=EJB3>{Described:** UNRESOLVED Demands 'jndi:CMT_ejb/de.cmt.beans.groupAdministration.GroupHandlerRemote' **}
|
| jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=GroupHandler,service=EJB3
| -> <UNKNOWN jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=GroupHandler,service=EJB3>{Described:** UNRESOLVED Demands 'Class:de.cmt.beans.courseAdministration.CourseHandlerRemote' **}
|
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| <UNKNOWN jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=GroupHandler,service=EJB3> -> ** UNRESOLVED Demands 'Class:de.cmt.beans.courseAdministration.CourseHandlerRemote' **
|
| <UNKNOWN jboss.j2ee:ear=CMT_ejb.jar,jar=CMT_ejb.jar,name=CourseHandler,service=EJB3> -> ** UNRESOLVED Demands 'jndi:CMT_ejb/de.cmt.beans.groupAdministration.GroupHandlerRemote' **
|
|
I use JBoss 5.0.0 CR2 and jdk1.5.0_14
The EJBs are part of the same application; they are only in separat packages:
| CMT_ejb.jar\de\cmt\beans\groupAdministration
| CMT_ejb.jar\de\cmt\beans\courseAdministration
Thanks, NSchweig
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199313#4199313
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199313
17 years, 3 months