Title: Re: [JBoss-user] JBoss/Jetty: Realm Not Configured
hello,
you
could put your SAR inside the EAR instead of the opposite. Otherwise, you can
define <depends> tag inside jboss.xml so that EJB can wait for some
services to start. For an example, take a look at
server/all/deploy/jbossha-httpsession.sar: it uses such a
trick.
Cheers,
Sacha
Guys - I have battled thru a few dependency issues regarding
ears and jars and sars, though this one I have left for a while but now is the
time for me to resolve it.
If I deploy my two ears and a sar (man what language is this
anyway :-)) once JBoss 3.0.2 is running everything is ok.
However, if I restart JBoss with them in the deploy
directory then I get a problem with the sar file. The sar file
includes an entity bean that persists some data associated with a timer
that is also in the sar file.
The entity bean persists to a mySQL database using CMP 2.0
and the problem I get is that the entity bean fails to deploy because it
cannot find the data source java:/MySqlDS. I suspect that this is
getting loaded later and that I may be able to use some form of dependency
tags to sort this out. I just don't know if or where these tags should
exist. Or if there is some other standard way of resolving the
problem.
I have started reading the paid for documentation but it
looks like I have a lot of reading and I figured somebody in this group may be
able to point me in the right direction.
Any help out there?
Regards and thanks in advance
Alan.
|
<<attachment: winmail.dat>>