RE: [JBoss-user] Deploying Multiple applications?
Yes you can do this. You should be able to deploy them by copying the jar file (or war or ear) to the jboss/deploy directory. Jboss will then autodeploy the application. Al -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stephen Oakes Sent: Tuesday, June 12, 2001 7:30 PM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] Deploying Multiple applications? Please excuse the naive questions - I'm still pretty new to all this EJB stuff. Is it actually possible to deloy more than one application (or, to be more precise, more than one package), each with its own META-INF directory and xml files? The reason I am asking is that whenever I try to deploy a package, JBoss says it is deploying it, but it actually re-deploys an existing package. I'll try to be clearer. I deploy A.jar. No problems. Then I try to deploy B.jar. JBoss says "deploying B.jar", but subsequent messages reveal that it is deploying all the EJBs from A.jar. Any ideas? Stephen Oakes senior developer - [EMAIL PROTECTED] - a t o m i c m e d i a Leading Partners Online Level 1 / 216 City Road Southbank, Melbourne, Vic 3006 Australia. +61 3 9695 5777 phone +61 3 9695 5700 fax - www.atomicmedia.com - ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Deploying Multiple applications?
> JBoss should not be using the classpath as of JBoss2.2.1 > unless you have > changed the start script. What version are you using? I am using 2.2.2. It seems to be using the classpath. We're having a lot of trouble getting anything to work reliably and consistently. -- Stephen Oakes ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Deploying Multiple applications?
JBoss should not be using the classpath as of JBoss2.2.1 unless you have changed the start script. What version are you using? - Original Message - From: "Stephen Oakes" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 12, 2001 5:39 PM Subject: RE: [JBoss-user] Deploying Multiple applications? > > Check to make sure you don't have any of your packages on your > > classpath. If you do, then JBoss finds the XML files from > > that package > > instead of from the one you are trying to deploy. > > Yes, that turned out to be the reason. It was a very annoying and puzzling > problem. I don't understand why JBoss would search the classpath for > deployment descriptors, when they can always be found at a particular > location in a JAR file? > > -- > Stephen Oakes > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Deploying Multiple applications?
> Check to make sure you don't have any of your packages on your > classpath. If you do, then JBoss finds the XML files from > that package > instead of from the one you are trying to deploy. Yes, that turned out to be the reason. It was a very annoying and puzzling problem. I don't understand why JBoss would search the classpath for deployment descriptors, when they can always be found at a particular location in a JAR file? -- Stephen Oakes ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Deploying Multiple applications?
Check to make sure you don't have any of your packages on your classpath. If you do, then JBoss finds the XML files from that package instead of from the one you are trying to deploy. Tom Stephen Oakes wrote: > > Please excuse the naive questions - I'm still pretty new to all this EJB > stuff. > > Is it actually possible to deloy more than one application (or, to be more > precise, more than one package), each with its own META-INF directory and > xml files? The reason I am asking is that whenever I try to deploy a > package, JBoss says it is deploying it, but it actually re-deploys an > existing package. > > I'll try to be clearer. I deploy A.jar. No problems. Then I try to deploy > B.jar. JBoss says "deploying B.jar", but subsequent messages reveal that it > is deploying all the EJBs from A.jar. > > Any ideas? > > Stephen Oakes > senior developer > - > [EMAIL PROTECTED] > - > a t o m i c m e d i a > Leading Partners Online > > Level 1 / 216 City Road > Southbank, Melbourne, Vic 3006 > Australia. > > +61 3 9695 5777 phone > +61 3 9695 5700 fax > - > www.atomicmedia.com > - > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Deploying Multiple applications?
Please excuse the naive questions - I'm still pretty new to all this EJB stuff. Is it actually possible to deloy more than one application (or, to be more precise, more than one package), each with its own META-INF directory and xml files? The reason I am asking is that whenever I try to deploy a package, JBoss says it is deploying it, but it actually re-deploys an existing package. I'll try to be clearer. I deploy A.jar. No problems. Then I try to deploy B.jar. JBoss says "deploying B.jar", but subsequent messages reveal that it is deploying all the EJBs from A.jar. Any ideas? Stephen Oakes senior developer - [EMAIL PROTECTED] - a t o m i c m e d i a Leading Partners Online Level 1 / 216 City Road Southbank, Melbourne, Vic 3006 Australia. +61 3 9695 5777 phone +61 3 9695 5700 fax - www.atomicmedia.com - ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user