Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: Moving Tomcat

Peter Crowther

2007-01-03


> From: Steve Ingraham [mailto:singraham@(protected)]
> So far I have not been able to see where anything associated with our
> website resides outside the /src directory. So, if that
> turns out to be
> the case could I be confident that everything for the website resides
> inside the /usr/local/src directory?

Yes - if that turns out to be the case :-). However, it looks like the
version of Tomcat that's running is in /usr/local/tomcat, not
/usr/local/src - so something odd is going on.

You may want to run a 'find /usr/local/src/jakarta-tomcat-5.5.9 -type l
-print' (check that l is the correct type for symlinks, I'm working from
very old memory) to be certain there are no unexpected symbolic links
under the Tomcat directories if you've not already checked. You may
want to do the same with /usr/local/tomcat, as that may be linked to the
source tree or something more complex may be happening.

> What and where is the JRE/JDK?

This is your Java installation - Java Runtime Environment / Java
Development Kit. Looks like it's in /usr/local/java from the output
below.

> What is
> the "/usr/local/java/. . ." referring to? Is this needed for the
> website?

Yep :-). Without that, or its equivalent somewhere on the new server,
you won't be starting Tomcat any time soon.

> root   13104 0.0 3.6 293716 37904 pts/2 S   2006  8:45
> /usr/local/java/bin/java
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.endorsed.dirs=/usr/local/tomcat/common/endorsed -classpath
> :/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/com
> mons-loggi ng-api.jar -Dcatalina.base=/usr/local/tomcat
> -Dcatalina.home=/usr/local/tomcat
> -Djava.io.tmpdir=/usr/local/tomcat/temp
> org.apache.catalina.startup.Bootstrap start

So that's the Tomcat that's running...

> root   18753 0.0 0.1 26836 1756 ?     S   2006  0:11 gedit
> file:///usr/local/src/jakarta-tomcat-5.5.9/webapps/online/calendar.jsp

... that's someone editing a JSP...

> root   10820 1.0 0.0 3700 668 pts/2   S   09:43  0:00 grep
> tomcat

... and that's your grep.

   - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.