[JBoss-user] [Beginners Corner] - Re: autostart a timer when JBoss start?

2004-08-09 Thread bayuehua
Thanks Sacha
  it works!
  I added 
  depends: jboss.j2ee:service=EJB, jndiName=TimerManagerBean

  Now quite a familiar question. The timer also need to call a webservice, which is 
deployed via the AXIS.
  Maybe you know the AXIS is a .war file, and then the same question, how should I 
write the 'depends' tag?

thanks again
chens

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: a personal service that calls an EJB

2004-08-09 Thread bayuehua
Thanks 
  it works! 
  I added 
  depends: jboss.j2ee:service=EJB, jndiName=TimerManagerBean 

  Now quite a familiar question. The timer also need to call a webservice, which is 
deployed via the AXIS. 
  Maybe you know the AXIS is a .war file, and then the same question, how should I 
write the 'depends' tag? 

thanks again 
chens

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - autostart a timer when JBoss start?

2004-08-05 Thread bayuehua
Hello all
  I have a timerEJB, and it is deployed correctly, but every time I started JBoss, I 
have to call a TimerManager.start to start the timer.
  Any method can make it autostart when JBoss started?
  I have tried a MBean, and using a timer-service.xml.
  But it is impossible to call a 
EJB?in?it,?as?all?.jar?are?deployed?after?the?*-service.xml?are deployed.
  How can I do about this?


thnks 

bayue


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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - a personal service that calls an EJB

2004-08-04 Thread bayuehua
Hello everyone,
  I write one custom service, which calls an EJB creation.
  [JBoss 3.2.3]

  I put the custom.jar and test-service.xml in $JBoss/server/all/deploy, and all runs 
OK.
  But when I restart the JBoss Server, it has a problem.
  It seems the test-service.xml is being deployed before that EJB, so it throws a 
javax.naming.NameNotFoundException: TimerManagerBean not bound.

  the test-service.xml is like user-service,


  
  


  and the class com.test.JNDIMap has start() and stop() methods.

  What can i do to solve this problem?

thanks in advance
bayuehua

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

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


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user