[jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once
Fuchs
do-not-reply at jboss.com
Tue Oct 20 11:06:12 EDT 2009
Thanks! thats correct, I used the old example.
This explains why I had to change so much things. :-).
But now, if I use the timer-example for jboss 5, the result is the same:
| 16:52:33,365 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFS
| DeploymentContext at 5005412{vfszip:/D:/server/exp-server/jboss-5.1.0.GA/server/def
| ault/deploy/jboss-ejb3-tutorial-timer.jar/}
| 16:52:33,381 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFS
| DeploymentContext at 5005412{vfszip:/D:/server/exp-server/jboss-5.1.0.GA/server/def
| ault/deploy/jboss-ejb3-tutorial-timer.jar/}
| 16:52:33,725 INFO [JBossASKernel] Created KernelDeployment for: jboss-ejb3-tuto
| rial-timer.jar
| 16:52:33,725 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=jboss-ejb3-tu
| torial-timer.jar,name=ExampleTimerBean,service=EJB3
| 16:52:33,725 INFO [JBossASKernel] with dependencies:
| 16:52:33,725 INFO [JBossASKernel] and demands:
| 16:52:33,725 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
| 16:52:33,725 INFO [JBossASKernel] and supplies:
| 16:52:33,725 INFO [JBossASKernel] Class:jboss5ejb3.timer.bean.ExampleTimer
|
| 16:52:33,725 INFO [JBossASKernel] jndi:ExampleTimerBean/remote-jboss5ejb3.
| timer.bean.ExampleTimer
| 16:52:33,725 INFO [JBossASKernel] jndi:ExampleTimerBean/remote
| 16:52:33,725 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=jboss-ejb3-tutorial
| -timer.jar,name=ExampleTimerBean,service=EJB3) to KernelDeployment of: jboss-ejb
| 3-tutorial-timer.jar
| 16:52:33,725 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at 1d3da65{na
| me=jboss.j2ee:jar=jboss-ejb3-tutorial-timer.jar,name=ExampleTimerBean,service=EJ
| B3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=
| [container] constructor=null autowireCandidate=true}
| 16:52:33,787 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=jboss-ejb3-tut
| orial-timer.jar,name=ExampleTimerBean,service=EJB3
| 16:52:33,803 INFO [EJBContainer] STARTED EJB: jboss5ejb3.timer.bean.ExampleTime
| rBean ejbName: ExampleTimerBean
| 16:52:33,803 INFO [JndiSessionRegistrarBase] Binding the following Entries in G
| lobal JNDI:
|
| ExampleTimerBean/remote - EJB3.x Default Remote Business Interface
| ExampleTimerBean/remote-jboss5ejb3.timer.bean.ExampleTimer - EJB3.x Remo
| te Business Interface
|
| 16:52:40,068 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsF
| actory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the b
| ean container
| 16:52:40,068 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsF
| actory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the b
| ean container
| 16:52:40,381 INFO [STDOUT] ---------------------
| 16:52:40,381 INFO [STDOUT] Created a timer event to be triggered after 5000 mil
| li seconds
| 16:52:40,381 INFO [STDOUT] ---------------------
| 16:52:45,115 INFO [STDOUT] ---------------------
| 16:52:45,115 INFO [STDOUT] * Received Timer event: Hello World
| 16:52:45,115 INFO [STDOUT] ---------------------
|
Do I have to add additional things to the Jboss, like special libraries ?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261294#4261294
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261294
More information about the jboss-user
mailing list