I am not sure I understand your question. If you are asking if there is a way to deploy without having to make huge jar files, the answer is yes. Taking my example file as a starting point, make a directory structure inside of deploy that mimics exactly what is inside of the jar files. So, remove app.ear from deploy and make a directory called app.ear, inside of that make directories called foo.war and roo.war and Meta-inf, and so on.
---- Christopher Watson wrote: > Greg, > > Many thanks, your app.ear works a treat. I'll now try getting my own wars > into it. > > One further question you may be able to help with, or point me to docs. > > The cocoon war is huge, so I'd rather it didn't get expanded every time. > Is there any way to keep it deployed, but not have it re-deployed on > restart. > > Please point me to a place in any documentation about this. > > Christopher > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Greg Turner > > Sent: 12 June 2002 01:52 > > To: [EMAIL PROTECTED] > > Subject: Re: [JBoss-user] JBoss-3.0.0_Tomcat-4.0.3 Tomcat newbie > > question > > > > > > I have not worked with the JBoss3.0/Tomcat combo, but I have > > worked with the > > JBoss3.0/Jetty combo and here is the way you do it. It should be > > the same for > > you. > > > > You need to deploy an *.ear file that contains an application.xml > > file that maps > > the context to a *.war file. In the war file you put your html, > > servlet classes, > > etc. > > > > I've attached an ear file which provides 2 such mappings, one for > > the root "/", > > and one for a context called "foo". Thus, deploying this ear > > file allows you to > > browse http://localhost:8080 and http://localhost:8080/foo. Drop > > this into the > > deploy directory and see if it works. Assuming that it does, you > > should be able > > to take it from there to add servlets, etc. > > > > Greg Turner > > > > > > Christopher Watson wrote: > > > > > Hello group, > > > > > > This is my first posting, so please be gentle with me. > > > > > > I've just downloaded the JBoss-3.0.0_Tomcat-4.0.3 bundle. > > > > > > I've managed to get the template project compiled and deployed > > as per the > > > quick start guide, > > > the command line client works just fine. > > > > > > However, I'm not sure how to use the tomcat bit. > > > I want to deploy my own non-EJB stuff in there too, > > specifically the Apache > > > Cocoon XML-XSL offering. > > > > > > But try as I might all I get from the embedded catalina service is 'No > > > Context configured to process this request' in the browser > > > and a 'MAPPING configuration error for request URI ' in the > > > server/default/log/server.log > > > > > > I've noticed the file server/default/deploy/tomcat4-service.xml > > > If I try editing that, I can effective change the location of the server > > > log, so I thought I was on the scent > > > but I can't get it to take any notice of any <context> entries > > I put there. > > > > > > Should I be editing this file? > > > To deploy a war, what do I need to do? > > > I tried putting the tomcat examples.war file into > > /server/default/deploy. It > > > says it's deploying it, but I can't get to it from the browser. > > > > > > Can anyone help me get started with this. > > > > > > Thanks, > > > > > > Christopher > > > > > > PS > > > > > > By the way ... > > > > > > I've also done much the same with JBoss-2.4.1_Tomcat-3.2.3 and the > > > documentation-example sample works fine. > > > It's web client work s fine too. > > > If I put a war into it's deploy directory, it deployes it just fine. > > > Also, the contexts in the webapps directory work fine too. > > > > > > It's just 3.0.0 that's beyond me. > > > > > > _______________________________________________________________ > > > > > > Multimillion Dollar Computer Inventory > > > Live Webcast Auctions Thru Aug. 2002 - > > http://www.cowanalexander.com/calendar > > > > > > _______________________________________________ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > -- > > Greg Turner > > > > Tiburon Enterprise Systems > > http://www.tiburon-e-systems.com > > Box 1171 > > Tiburon, CA 94920 > > 415-332-3363 > > > > > > _______________________________________________________________ > > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Greg Turner Tiburon Enterprise Systems http://www.tiburon-e-systems.com Box 1171 Tiburon, CA 94920 415-332-3363 _______________________________________________________________ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
