Bugs item #526465, was opened at 2002-03-06 16:28
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=526465&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Thomas Hamann (thomash76)
Assigned to: David Jencks (d_jencks)
Summary: bad deploy order + incomplete clean-up

Initial Comment:
win2kpro, jdk1.3.1_01, jboss3.0.0-beta2 (2002-03-05, 8:40)

Hi,

when i start JBoss and the deploy directory contains a JAR file JBoss tries 
immediately to deploy 
the contained application. Unfortunately it does so before the deployment of the 
necessary 
datasource which is also declared in der deploy directory in a mysql-service.xml. Of 
course this 
action has to fail, but JBoss does not manage to clean-up the remains of the crashed 
deployment. 
That's why a second try to (re-)deploy the application (after the datasource has been 
started) 
also fails - now with a lot of "instance already exists" messages which are probably 
caused by the 
remnants of the first (crashed) deployment.

Thomas

----------------------------------------------------------------------

>Comment By: David Jencks (d_jencks)
Date: 2002-03-08 21:04

Message:
Logged In: YES 
user_id=60525

Fixed so failed deployments of at least ejbs clean up after
themselves.

For now, if you need a datasource, you will probably need to
put <classpath codebase="." archives="jbosscx.sar"/> into
your jboss-service.xml in your .sar packed in your .ear.

----------------------------------------------------------------------

Comment By: Markus Menner (morphace)
Date: 2002-03-08 06:37

Message:
Logged In: YES 
user_id=472900

Hi, I had the same problem.

You can bypass it (until david solves this issue), if you 
use another deployment directory for your app as for 
datasource definition:

put your datasource def here:
<jboss-home>/server/default/deploy

put your app here (you have to create the directory)
<jboss-home>/deploy

The deployment directories are defined in jboss-service.xml



----------------------------------------------------------------------

Comment By: David Jencks (d_jencks)
Date: 2002-03-06 16:51

Message:
Logged In: YES 
user_id=60525

I'm working on the redeploy problem.  To make the datasource
be there for sure, rename mysql-service.xml to
jboss-service.xml and put it in a .sar in a .ear with your
ejb jars.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=526465&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to