Hi

You can do it the way you describe, just replace
jboss:service=Naming
with the name of each of your EJBs in the ear file..
you can see the correct name in the jndi view in the
jmx-console under the jboss.j2ee section

example:

<depends-list>
<depends-list-element>jboss.j2ee:jndiName=ejb/xxx/yyy,service=EJB</depends-l
ist-element>
...
</depends-list>

I dont know if its possible to just spaeciy the ear file
instead, that would be easier?!?!

BR
Terp


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brian McSweeney
Sent: 25. februar 2003 12:46
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Service starts after my app is deployed


Hi all,
it has probably been answered many times before, but I couldn't find it.
I want a service to start once my ear is deployed. In the paydocs examples
I know you can run a service based on whether a different jboss service is
up
and running by using:
    <depends>jboss:service=Naming</depends>
in the -service.xml file. So here the service wont start until the
jboss:service
"Naming" is up and running. I want to start my service once an application
ear
is deployed. Is this possible?
thanks,
Brian




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to