[jboss-dev-forums] [Design of POJO Server] - EJBs won't undeploy

bcr666 do-not-reply at jboss.com
Thu Jul 19 16:48:28 EDT 2007


I deployed some EJBs yesterday by copying the .jar file into the C:\jboss-4.2.1.GA\server\default\deploy folder.  I had also created a -ds.xml file for my mySQL database.  All was working yesterday.  Today I have been working on trying to deploy a web application (.war). I've had several problems deploying it.  I stopped and restarted the JBoss AS several times, and I undeployed my -ds.xml and EJB.jar file.  Now when I start the server, it is still loading my EJB.jar file even though it isn't in the deploy folder.  It gives me an error because it can't find the datasource.  I've tried redeploying the EJB.jar, but the server just gives me an error that the EJB.jar is already deployed.  I've tried shutting down the AS, copying the EJB.jar into the deploy folder, then restarting the AS so I can hot undeploy, but the AS just gives an error that the instance already exists.

I did a search on my EJB.jar and found an instance of it in the default/tmp/deploy folder packaged inside a .rar file.  I renamed the default/tmp/deploy folder to default/tmp/deploy.zzz and restarted the AS, it is still loading my EJB.jar file from somewhere.

Can anyone tell me how to remove the EJB.jar from deployment.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065960#4065960

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065960



More information about the jboss-dev-forums mailing list