On 1/13/11 4:34 PM, James Chase wrote:
>
>> Tomcat version?
>>
>> Did you know there's some memory leak detection and prevention in
>> recent versions of 6.0?
> Apache Tomcat Version 6.0.18
That's old. Consider updating to the recently released 6.0.30.
>> If you have a memory leak, why not fix
Obviously there is something about the SSH shell I don't fully
understand in terms of why the tomcat server doesn't background itself
over SSH but does when executed from the bash shell. Perhaps
backgrounding isn't the right term for what is happening.
Actually, my mistake was using the '
man nohup?
You were right -- nohup solved the issue. I did also notice that the
environment variables were quite different so thanks to the user who
suggested I try doing a "ssh user@server env" command. I experimented
with doing "source /etc/profile" as the first ssh command, but the re
Have you compared the output from the 'env' command
run on the Tomcat server and run remotely from the system
you're ssh'ing from ( ssh [tomcat server] env )?
On 1/13/2011 2:01 PM, George Sexton wrote:
You can troubleshoot scripts by adding -x to the first line.
For example, the first line in
You can troubleshoot scripts by adding -x to the first line.
For example, the first line in unix shell scripts is usually:
#/bin/sh
Change that to
#/bin/sh -x
That turns on echo so you can see each statement executed.
You may have to edit multiple scripts if one calls another.
George Sexton
Using JRE_HOME: /usr
Looks like you haven't set JAVA_HOME or JRE_HOME properly. At least one of
those must be set to a JDK or JRE (respectively) location.
However it starts on the local host with the save java environment
variables and uses the same JRE_HOME. This was one of the things
Tomcat version?
Did you know there's some memory leak detection and prevention in
recent versions of 6.0?
Apache Tomcat Version 6.0.18
If you have a memory leak, why not fix it rather than ignoring it?
I'm not the programmer, just the administrator. Others have chosen to
ignore it for whatev
On 13 Jan 2011, at 02:42, "james" wrote:
> I created a simple (i thought) script to restart a tomcat server when our
> alerting system sees the site as down (almost always a memory issue that a
> reboot of the tomcat server fixes).
Tomcat version?
Did you know there's some memory leak detection
2011/1/13 james :
> Connection to tomcatserver.domain.com closed.
man nohup?
> Any help would be very much appreciated if you have experience with this.
Anything in the logs?
Best regards,
Konstantin Kolinko
-
To unsubscri
> From: james [mailto:ja...@wintercastle.net]
> Subject: tomcat won't start via remote ssh command
> Using JRE_HOME: /usr
Looks like you haven't set JAVA_HOME or JRE_HOME properly. At least one of
those must be set to a JDK or JRE (respectively) location.
- Chuck
THIS COMMUNICATION M
10 matches
Mail list logo