You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Csanyi Pal <cs...@gmail.com> on 2008/11/24 23:15:52 UTC
Shutting down Tomcat6 server - error
Hi,
I have Debian GNU/Linux Etch system.
I have downloaded binary apache-tomcat-6.0.18.tar.gz and unpacked it
in the /usr/locale/ directory.
I have changed permissions of the /usr/local/apache-tomcat-6.0.18/
directory so I can access it as a normal user.
I have installed debian package sun-java6-jdk.
I edited .bash_profile:
#
# JAVA
#
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.07/lib/visualvm/\
profiler2/lib/deployed/jdk16
export PATH=$PATH:/usr/lib/jvm/java-6-sun-1.6.0.07/lib/visualvm/\
profiler2/lib/deployed/jdk16
logging out and logging in back.
I can to start Tomcat6 with startup.sh in the
/usr/local/apache-tomcat-6.0.18/bin/ directory with the
./startup.sh command.
but I can't to shut down it with the
./shutdown.sh
command, I get error:
Using CATALINA_BASE: /usr/local/apache-tomcat-6.0.18
Using CATALINA_HOME: /usr/local/apache-tomcat-6.0.18
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-6.0.18/temp
Using JRE_HOME: /usr/lib/jvm/java-6-sun-1.6.0.07/lib/\
visualvm/profiler2/lib/deployed/jdk16\
/usr/local/apache-tomcat-6.0.18/bin/catalina.sh: line 314: \
/usr/lib/jvm/java-6-sun-1.6.0.07/lib/visualvm/profiler2/lib/\
deployed/jdk16/bin/java: No such file or directory
What can I to do?
Any advices will be appreciated!
--
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Shutting down Tomcat6 server - error - Solved :)
Posted by Csanyi Pal <cs...@gmail.com>.
"Caldarale, Charles R" <Ch...@unisys.com> writes:
>> From: news [mailto:news@ger.gmane.org] On Behalf Of Csanyi Pal
>> Subject: Shutting down Tomcat6 server - error
>>
>> I have downloaded binary apache-tomcat-6.0.18.tar.gz and unpacked it
>> in the /usr/locale/ directory.
>
> Thank you for using a real Tomcat.
>
>> I edited .bash_profile:
>> #
>> # JAVA
>> #
>> export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.07/lib/visualvm/\
>> profiler2/lib/deployed/jdk16
>> export PATH=$PATH:/usr/lib/jvm/java-6-sun-1.6.0.07/lib/visualvm/\
>> profiler2/lib/deployed/jdk16
>
> That's not right. JAVA_HOME should be set to just:
> /usr/lib/jvm/java-6-sun-1.6.0.07
>
> PATH should be extended with just:
> /usr/lib/jvm/java-6-sun-1.6.0.07/bin
That is right, Sir!
It works now! :)
--
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Shutting down Tomcat6 server - error
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: news [mailto:news@ger.gmane.org] On Behalf Of Csanyi Pal
> Subject: Shutting down Tomcat6 server - error
>
> I have downloaded binary apache-tomcat-6.0.18.tar.gz and unpacked it
> in the /usr/locale/ directory.
Thank you for using a real Tomcat.
> I edited .bash_profile:
> #
> # JAVA
> #
> export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.07/lib/visualvm/\
> profiler2/lib/deployed/jdk16
> export PATH=$PATH:/usr/lib/jvm/java-6-sun-1.6.0.07/lib/visualvm/\
> profiler2/lib/deployed/jdk16
That's not right. JAVA_HOME should be set to just:
/usr/lib/jvm/java-6-sun-1.6.0.07
PATH should be extended with just:
/usr/lib/jvm/java-6-sun-1.6.0.07/bin
> I can to start Tomcat6 with startup.sh
That's pretty amazing, considering how badly the JAVA_HOME variable is mangled.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org