Rickard - 
Never heard back if you figured anything out on this one.  Failure of
deployment seems to really screw up the server - subsequent deployments
keep failing or trying to deploy other, previously deployed beans. 
Seems pretty serious, unless the recommendation is to shutdown the
server after a failed deployment.

Hey! Just had an inspiration - a "deployment debugger" tool that would
tell you if your bean is deployable in jboss without actually deploying
it.  Just a thought...

jeff

Jeffrey Bonevich wrote:
> 
> I have just experience this one again, so I captured the output for your
> review below:
> 
> Jeffrey Bonevich wrote:
> >
> [snip]
> >
> > On an (un)related note, as I would try to deploy this app after making
> > changes, I would cp the new jar into $JBOSS_HOME/deploy over-writing the
> > old one, the auto-deployer would fire up, and then it would either try
> > to deploy the original jar, or it would try to deploy other jars that I
> > could not sucessfully deploy (not as sure about the second pattern).  I
> > have consistently seen this happen every time after the first deploy
> > fails.  I would only be able to get the new version to attempt to be
> > deployed by restarting the server.  Another bug?  I know I haven't given
> > you too much detail on this one, so feel free to ask for more info if
> > necessary.
> >
> [snip]
> 
> So, I just tried to deploy my simplecmp.jar app again, and instead it
> looks like jboss is trying to deploy chartest.jar (look at the first six
> lines - all about simplecmp, then look at line 7 - CHarTest??):
> 
> [Auto deploy] Auto deploy of file:/usr/local/jboss2/deploy/simplecmp.jar
> [Container factory]
> Undeploying:file:/usr/local/jboss2/deploy/simplecmp.jar
> [Container factory] Undeployed application:
> file:/usr/local/jboss2/deploy/simplecmp.jar
> [Container factory]
> Deploying:file:/usr/local/jboss2/deploy/simplecmp.jar
> [Container factory] Loading ejb-jar.xml :
> jar:file:/tmp/tmpejbjar20438.jar!/META-INF/ejb-jar.xml
> [Container factory] Loading standardjboss.xml :
> jar:file:/usr/local/jboss2/lib/ext/jboss.jar!/org/jboss/metadata/standardjboss.xml
> [Container factory] Deploying CharTest
> [Container factory] Using default DataSource:InstantDB
> [JAWS] Initializing JAWS plugin for CharTest
> [Container factory] Caught SQL NPE on JawsCMPField!
> [Container factory] Caught JDBC NPE on JawsCMPField!
> [JAWS] Init SQL: CREATE TABLE CharTest (chr VARCHAR(1))
> [JAWS] Destroy SQL: DROP TABLE CharTest
> [JAWS] Exists SQL: SELECT COUNT(*) AS Total FROM CharTest WHERE chr=?
> [JAWS] Create SQL: INSERT INTO CharTest (chr) VALUES (?)
> [JAWS] Remove SQL: DELETE FROM CharTest WHERE chr=?
> [JAWS] Load SQL: SELECT chr FROM CharTest WHERE chr=?
> [JAWS] Init command executing: CREATE TABLE CharTest (chr VARCHAR(1))
> [JAWS] Table CharTest exists
> 
> --
> Jeffrey Bonevich
> Ann Arbor, Michigan
> [EMAIL PROTECTED]
> http://www.bonevich.com
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]

-- 
Jeffrey Bonevich
Ann Arbor, Michigan
[EMAIL PROTECTED]
http://www.bonevich.com


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to