You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brian Baxter <bb...@graffitiworkz.com> on 2001/11/30 23:44:35 UTC

Re: Webapp configuration

>Also, I had to update the tomcat startup script to include the
>classpath of the webapps. I thought this was done automatically.. This
>is the code I added to tomcat.sh to set the classpaths, maybe it will
>be useful to someone: 
>
># Set classpath for webapps
># add this after the section:
># 'Backdoor classpath setting for development purposes'
># and before: 
># export CLASSPATH
>for app in ${TOMCAT_HOME}/webapps/* ; do
>  if [ -d ${app}/WEB-INF/lib/ ]; then
>  for i in ${app}/WEB-INF/lib/* ; do
>    if [ "$CLASSPATH" != "" ]; then
>        CLASSPATH=${CLASSPATH}:$i
>    else
>        CLASSPATH=$i
>    fi
>  done
>  fi
>done


Did you install this using the SC JDK, or was it a manual install of the
component applications?


~Brian


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Webapp configuration

Posted by August Detlefsen <au...@yahoo.com>.
Manual. I copied the .war file into the webapps folder, added entries
to server.xml, httpd.conf and restarted. 

There is an installer?!


--- Brian Baxter <bb...@graffitiworkz.com> wrote:
> >Also, I had to update the tomcat startup script to include the
> >classpath of the webapps. I thought this was done automatically..
> This
> >is the code I added to tomcat.sh to set the classpaths, maybe it
> will
> >be useful to someone: 
> >
> ># Set classpath for webapps
> ># add this after the section:
> ># 'Backdoor classpath setting for development purposes'
> ># and before: 
> ># export CLASSPATH
> >for app in ${TOMCAT_HOME}/webapps/* ; do
> >  if [ -d ${app}/WEB-INF/lib/ ]; then
> >  for i in ${app}/WEB-INF/lib/* ; do
> >    if [ "$CLASSPATH" != "" ]; then
> >        CLASSPATH=${CLASSPATH}:$i
> >    else
> >        CLASSPATH=$i
> >    fi
> >  done
> >  fi
> >done
> 
> 
> Did you install this using the SC JDK, or was it a manual install of
> the
> component applications?
> 
> 
> ~Brian
> 
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>