Date: Mon, 08 Aug 2005 19:13:49 +0300 From: Panagiotis Astithas <past@ebs.gr> To: Bryan Maynard <bryan.maynard@reallm.com> Cc: freebsd-java@freebsd.org Subject: Re: Tmocat .ear question Message-ID: <42F784BD.5020406@ebs.gr> In-Reply-To: <200508071716.18303.bryan.maynard@reallm.com> References: <200508071716.18303.bryan.maynard@reallm.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Bryan Maynard wrote: > Hello all! I ahve a simple question: how do I deploy an EAR in Tomcat > 5.0? I read through Tapestry in action and would like to give the > Virtual Library application a spin. I ran the Ant build spript and > a .ear file was created. I then dropped the .ear file into my > ${CATALINA_BASE}/webapps directory. This is different from my > ${CATALINA_HOME}/webapps directory. Jan Grant gave me the following > script: > > [[ > #!/bin/sh > > CATALINA_HOME=/usr/local/jakarta-tomcat5.0 > CATALINA_BASE=/home/Bryan/tomcat50 > JAVA_OPTS="-Xss4m -Djava.awt.headless=true" > JAVA_HOME=/usr/local/jdk1.4.2 > > export CATALINA_HOME CATALINA_BASE > export JAVA_OPTS JAVA_HOME > > cd "$CATALINA_BASE" > exec "$CATALINA_HOME"/bin/catalina.sh $1 > ]] > > This is what I use to start Tomcat. > > Thanks in advance for your help. I've learned a lot from these lists > already :-) > > Bryan I don't know about this particular application, but you deploy war files on servlet containers, not ear files. Perhaps your build script has another target just for creating a war. Otherwise you could install an application server, like jboss and deploy your ear there. Cheers, Panagiotis
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42F784BD.5020406>