[jboss-user] [EJB 3.0] - ejb3.0 problem, container not yet available??

moksha2007 do-not-reply at jboss.com
Sat Apr 5 05:37:42 EDT 2008


Hi,

Brief situation:

A -> B (remote ejb lookup + invocation -> success)

B performs some ejbTimer logic, in the timeout I proceed

B -> A (remote ejb lookup + reflection/invocation -> fails due container not yet available)

I'm using Jboss 4.2.2.GA and pass the JNDI properties, as well as the interface (name) and method from A to B. From there I do some reflection to invoke a method. A and B are seperate Jboss instances on a single machine, using virtual ip's.

In a single JVM this works.

At first I discovered I had to set a RMISecurityManager at both machines, and so I did. Both sides have all permissions/grant. Based on the fact I succeed from A to B I get the feeling this is done ok, but perhaps I forgot something?

A snippet of the log/stacktrace:

2008-04-04 18:38:42,497 DEBUG [org.jboss.ejb.txtimer.TimerImpl] setTimerState: in_timeout
2008-04-04 18:38:42,531 WARN [org.jboss.ejb3.LocalProxy] Container jboss.j2ee:ear=phonemessage-1.0.0.ear,jar=phonemessage-engine-1.0.0.jar,name=CallHandlerServiceBean,service=EJB3,VMID=ff2143713a7260c3:-350bd643:1191a4ce5d2:-7ffd is not yet available
2008-04-04 18:38:42,531 DEBUG [com.thespeechcorporation.service.timer.ScheduleBean] Lookup result (using: 127.0.0.106:1099): CallHandlerServiceBean
2008-04-04 18:38:42,531 INFO [com.thespeechcorporation.service.timer.ScheduleBean] About to invoke a callback on: 'com.phonemessage.service.CallHandlerService'
2008-04-04 18:38:42,531 WARN [org.jboss.ejb3.LocalProxy] Container jboss.j2ee:ear=phonemessage-1.0.0.ear,jar=phonemessage-engine-1.0.0.jar,name=CallHandlerServiceBean,service=EJB3,VMID=ff2143713a7260c3:-350bd643:1191a4ce5d2:-7ffd is not yet available

and from there it breaks...

Any suggestions? If more information is required, let me know.

PS> I did a cross post, not sure where the post should go to:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133106

Thanks in advance,
Mike Ahlers

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141820#4141820

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141820



More information about the jboss-user mailing list