On 2002.08.31 12:30:06 -0400 Dain Sundstrom wrote: > David Jencks wrote: > > 4. The ejb deployment system appears to parse the entire > jbosscmp-jdbc.xml > > file for each ejb, and match up the listed fields with those declared > in > > ejb-jar.xml for the entire file each time. Therefore, if there is an > error > > in one ejb config, all ejb's can't be processed. I don't think this is > a > > very desirable situation. > > As soon as you get the first error, the deployment should stop and > unroll. Correct?
I don't think so. This tends to produce behavior like stopping the server when your ejb doesn't deploy on server startup. I really think it is more useful to deploy everything possible and record errors for each object. In my experience this provides much more information and lets you fix several problems at once. This is the point of the IncompleteDeploymentException, it lists everything that went wrong. You may be able to fix stuff and start your mbeans or whatever without redeploying. The repeated exceptions here IMO are due to bad design of the xml parsing and are not a reason to change the behavior of the deployment system. So you should end up with on exception trace and an > undeployment messages. I find undeploying on error removes most of the information I use to find out what is wrong. david > > -dain > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development