-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andy,
On 7/15/2010 2:52 PM, testwreq wreq wrote: > Alternatives is defaulting to /usr/local/jdk1.6.0_20/bin/java (jdk from > sun) > > /usr/bin/java has a symlink to -> /usr/local/jdk1.6.0_20/bin/java > > We launch Tomcat by http://localhost:8080 That's how you access it. I want to know the command you use to start up the server. > We start it by running tomcat5 from /etc/init.d folder; This file calls > /usr/bin/dtomcat, which sets some env variables. That's it: you have a non-standard Tomcat startup script, then. It's likely that the Tomcat startup script in /etc/init.d re-configures the Java environment so that it's not the same as when you run 'java' directly from the shell. > $CATALINA_HOME is /usr/share/tomcat5 version.sh file is not there in the > /bin folder. What files /are/ there? catalina.sh ought to be in there. Try this: $ /usr/share/tomcat5/bin/catalina.sh version - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxAta0ACgkQ9CaO5/Lv0PCozgCghZv+RBiLE2FuHMc3xxBmGy3/ jhoAn0yL3l5WgdYuIj4Q1lPB7C6tpxt+ =she1 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org