Help, My Tomcat always down everyday!

2001-09-20 Thread akilus

Hello, Everybody!
My Tomcat always down everyday, I don't know why, and I don't find anything useful in 
my log files.
and when I restart Tomcat, everything will go correctly, but after some time, normally 
in noon, the tomcat will down again.
And another thing is :The memory that jdk occupy increase with time, I don't know 
whether it is normal or abnormal.
Who can tell me several possible reasons about this? I use redhat 6.2,Apache1.3.12, 
Tomcat3.2.2 and j2sdk1.3.0.04 for linux.
The below is my configuration for tomcat, other files is not modified:
Tomcat.conf:
///


###
# Apache JServ Configuration File #
###

# Note: this file should be appended or included into your httpd.conf

# Tell Apache on win32 to load the Apache JServ communication module
# LoadModule jserv_module modules/ApacheModuleJServ.dll

# Tell Apache on Unix to load the Apache JServ communication module
# For shared object builds only!!!
# @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
LoadModule jserv_module libexec/mod_jserv.so


# Do not edit!
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice


### Change if you run tomcat on a different host
#ApJServDefaultHost localhost
ApJServDefaultPort 8007


 All jsp files will go to tomcat 
ApJServMount default /root

AddType text/jsp .jsp
AddHandler jserv-servlet .jsp

Alias /app /home/httpd/html


Options  FollowSymLinks



AllowOverride None
deny from all



setHandler jserv-servlet


## Context mapping - all requests go to tomcat

ApJServMount /examples /root

## Context mapping - you need to "deploy"
# ( copy or ln -s ) the context into htdocs
##

# ApJservMount /CONTEXT/servlet  /root
# 
#  AllowOverride None
#  deny from all
# 

ApJServMount /app/servlet /app

ApJServMount /servlet /ROOT


///
server.xml
//




















  



































   





  
















 








//



akilus
[EMAIL PROTECTED]




RE: Help, My Tomcat always down everyday!

2001-09-20 Thread Dinu Jose

Hello All,
I am also facing a similar scenario and the situation is still more worse,i.
e.,tomcat is down every two hours.If restarted,it works fine and will be
down after two hours.Please help .
Thanks in advance
Dinu


-Original Message-
From: akilus [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 2:17 PM
To: [EMAIL PROTECTED]
Subject: Help, My Tomcat always down everyday!


Hello, Everybody!
My Tomcat always down everyday, I don't know why, and I don't find anything
useful in my log files.
and when I restart Tomcat, everything will go correctly, but after some
time, normally in noon, the tomcat will down again.
And another thing is :The memory that jdk occupy increase with time, I don't
know whether it is normal or abnormal.
Who can tell me several possible reasons about this? I use redhat
6.2,Apache1.3.12, Tomcat3.2.2 and j2sdk1.3.0.04 for linux.
The below is my configuration for tomcat, other files is not modified:
Tomcat.conf:
///



###
# Apache JServ Configuration File
#

###

# Note: this file should be appended or included into your httpd.conf

# Tell Apache on win32 to load the Apache JServ communication module
# LoadModule jserv_module modules/ApacheModuleJServ.dll

# Tell Apache on Unix to load the Apache JServ communication module
# For shared object builds only!!!
# @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
LoadModule jserv_module libexec/mod_jserv.so


# Do not edit!
ApJServManual on
ApJServDefaultProtocol ajpv12
ApJServSecretKey DISABLED
ApJServMountCopy on
ApJServLogLevel notice


### Change if you run tomcat on a different host
#ApJServDefaultHost localhost
ApJServDefaultPort 8007


 All jsp files will go to tomcat 
ApJServMount default /root

AddType text/jsp .jsp
AddHandler jserv-servlet .jsp

Alias /app /home/httpd/html


Options  FollowSymLinks



AllowOverride None
deny from all



setHandler jserv-servlet


## Context mapping - all requests go to tomcat

ApJServMount /examples /root

## Context mapping - you need to "deploy"
# ( copy or ln -s ) the context into htdocs
##

# ApJservMount /CONTEXT/servlet  /root
# 
#  AllowOverride None
#  deny from all
# 

ApJServMount /app/servlet /app

ApJServMount /servlet /ROOT


///
server.xml
//




















  



































   





  
















 








//



akilus
[EMAIL PROTECTED]



Re: Help, My Tomcat always down everyday!

2001-09-20 Thread simon colston

I've found the Sun JVM 1.3.1 to be unstable on Linux 6.2 and 7.1.  Tomcat kept 
crashing at random intervals (sometime a few days, sometimes a few hours).  I switched 
to the IBM JVM and it started to run OK - no crashing.  Maybe you'd like to give that 
a try.

On Thu, 20 Sep 2001 14:28:39 +0530
Dinu Jose <[EMAIL PROTECTED]> wrote:

DJ> Hello All,
DJ> I am also facing a similar scenario and the situation is still more worse,i.
DJ> e.,tomcat is down every two hours.If restarted,it works fine and will be
DJ> down after two hours.Please help .
DJ> Thanks in advance
DJ> Dinu
DJ> 
DJ> 
DJ> -Original Message-
DJ> From: akilus [mailto:[EMAIL PROTECTED]]
DJ> Sent: Thursday, September 20, 2001 2:17 PM
DJ> To: [EMAIL PROTECTED]
DJ> Subject: Help, My Tomcat always down everyday!
DJ> 
DJ> 
DJ> Hello, Everybody!
DJ> My Tomcat always down everyday, I don't know why, and I don't find anything
DJ> useful in my log files.
DJ> and when I restart Tomcat, everything will go correctly, but after some
DJ> time, normally in noon, the tomcat will down again.
DJ> And another thing is :The memory that jdk occupy increase with time, I don't
DJ> know whether it is normal or abnormal.
DJ> Who can tell me several possible reasons about this? I use redhat
DJ> 6.2,Apache1.3.12, Tomcat3.2.2 and j2sdk1.3.0.04 for linux.
DJ> The below is my configuration for tomcat, other files is not modified:
DJ> Tomcat.conf:
DJ> ///
DJ> 
DJ> 
DJ> 
DJ> ###
DJ> # Apache JServ Configuration File
DJ> #
DJ> 
DJ> ###
DJ> 
DJ> # Note: this file should be appended or included into your httpd.conf
DJ> 
DJ> # Tell Apache on win32 to load the Apache JServ communication module
DJ> # LoadModule jserv_module modules/ApacheModuleJServ.dll
DJ> 
DJ> # Tell Apache on Unix to load the Apache JServ communication module
DJ> # For shared object builds only!!!
DJ> # @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
DJ> LoadModule jserv_module libexec/mod_jserv.so
DJ> 
DJ> 
DJ> # Do not edit!
DJ> ApJServManual on
DJ> ApJServDefaultProtocol ajpv12
DJ> ApJServSecretKey DISABLED
DJ> ApJServMountCopy on
DJ> ApJServLogLevel notice
DJ> 
DJ> 
DJ> ### Change if you run tomcat on a different host
DJ> #ApJServDefaultHost localhost
DJ> ApJServDefaultPort 8007
DJ> 
DJ> 
DJ>  All jsp files will go to tomcat 
DJ> ApJServMount default /root
DJ> 
DJ> AddType text/jsp .jsp
DJ> AddHandler jserv-servlet .jsp
DJ> 
DJ> Alias /app /home/httpd/html
DJ> 
DJ> 
DJ> Options  FollowSymLinks
DJ> 
DJ> 
DJ> 
DJ> AllowOverride None
DJ> deny from all
DJ> 
DJ> 
DJ> 
DJ> setHandler jserv-servlet
DJ> 
DJ> 
DJ> ## Context mapping - all requests go to tomcat
DJ> 
DJ> ApJServMount /examples /root
DJ> 
DJ> ## Context mapping - you need to "deploy"
DJ> # ( copy or ln -s ) the context into htdocs
DJ> ##
DJ> 
DJ> # ApJservMount /CONTEXT/servlet  /root
DJ> # 
DJ> #  AllowOverride None
DJ> #  deny from all
DJ> # 
DJ> 
DJ> ApJServMount /app/servlet /app
DJ> 
DJ> ApJServMount /servlet /ROOT
DJ> 
DJ> 
DJ> ///
DJ> server.xml
DJ> //
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ>  verbosityLevel = "DEBUG" 
DJ> path="logs/tomcat.log" 
DJ> />
DJ> 
DJ>  verbosityLevel = "DEBUG" 
DJ> path="logs/servlet.log"
DJ> />
DJ> 
DJ>  path="logs/jasper.log"
DJ> verbosityLevel = "DEBUG" />
DJ> 
DJ> 
DJ> 
DJ> 
DJ>   
DJ> 
DJ> 
DJ> 
DJ>  />
DJ> 
DJ>  className="org.apache.tomcat.context.WebXmlReader" />
DJ> 
DJ> 
DJ> 
DJ>  className="org.apache.tomcat.context.LoaderInterceptor" />
DJ>  className="org.apache.tomcat.context.DefaultCMSetter" />
DJ>  className="org.apache.tomcat.context.WorkDirInterceptor" />
DJ> 
DJ> 
DJ> 
DJ>  className="org.apache.tomcat.request.SessionInterceptor"
DJ> noCookies="false" />
DJ> 
DJ> 
DJ>   

RE: Help, My Tomcat always down everyday!

2001-09-20 Thread Dinu Jose


Hi Simon,
Thanks for the help.I will try that way.
In my case ,tomcat is going down everytime exactly after two hours.This
happens even if the system is idle.Is there any chance for this to happen
due to issues in configuring the tomcat/application.Otherwise ,why it is
going down exactly after 
some particular period.What all could be the possible reasons behind this .
I am using tomcat3.2.2,sun solaris 5.8,jdk1.3.

Thanks 
Dinu


-Original Message-
From: simon colston [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 2:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Help, My Tomcat always down everyday!


I've found the Sun JVM 1.3.1 to be unstable on Linux 6.2 and 7.1.  Tomcat
kept crashing at random intervals (sometime a few days, sometimes a few
hours).  I switched to the IBM JVM and it started to run OK - no crashing.
Maybe you'd like to give that a try.

On Thu, 20 Sep 2001 14:28:39 +0530
Dinu Jose <[EMAIL PROTECTED]> wrote:

DJ> Hello All,
DJ> I am also facing a similar scenario and the situation is still more
worse,i.
DJ> e.,tomcat is down every two hours.If restarted,it works fine and will be
DJ> down after two hours.Please help .
DJ> Thanks in advance
DJ> Dinu
DJ> 
DJ> 
DJ> -Original Message-
DJ> From: akilus [mailto:[EMAIL PROTECTED]]
DJ> Sent: Thursday, September 20, 2001 2:17 PM
DJ> To: [EMAIL PROTECTED]
DJ> Subject: Help, My Tomcat always down everyday!
DJ> 
DJ> 
DJ> Hello, Everybody!
DJ> My Tomcat always down everyday, I don't know why, and I don't find
anything
DJ> useful in my log files.
DJ> and when I restart Tomcat, everything will go correctly, but after some
DJ> time, normally in noon, the tomcat will down again.
DJ> And another thing is :The memory that jdk occupy increase with time, I
don't
DJ> know whether it is normal or abnormal.
DJ> Who can tell me several possible reasons about this? I use redhat
DJ> 6.2,Apache1.3.12, Tomcat3.2.2 and j2sdk1.3.0.04 for linux.
DJ> The below is my configuration for tomcat, other files is not modified:
DJ> Tomcat.conf:
DJ> ///
DJ> 
DJ> 
DJ>

DJ> ###
DJ> # Apache JServ Configuration File
DJ> #
DJ>

DJ> ###
DJ> 
DJ> # Note: this file should be appended or included into your httpd.conf
DJ> 
DJ> # Tell Apache on win32 to load the Apache JServ communication module
DJ> # LoadModule jserv_module modules/ApacheModuleJServ.dll
DJ> 
DJ> # Tell Apache on Unix to load the Apache JServ communication module
DJ> # For shared object builds only!!!
DJ> # @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
DJ> LoadModule jserv_module libexec/mod_jserv.so
DJ> 
DJ> 
DJ> # Do not edit!
DJ> ApJServManual on
DJ> ApJServDefaultProtocol ajpv12
DJ> ApJServSecretKey DISABLED
DJ> ApJServMountCopy on
DJ> ApJServLogLevel notice
DJ> 
DJ> 
DJ> ### Change if you run tomcat on a different host
DJ> #ApJServDefaultHost localhost
DJ> ApJServDefaultPort 8007
DJ> 
DJ> 
DJ>  All jsp files will go to tomcat

DJ> ApJServMount default /root
DJ> 
DJ> AddType text/jsp .jsp
DJ> AddHandler jserv-servlet .jsp
DJ> 
DJ> Alias /app /home/httpd/html
DJ> 
DJ> 
DJ> Options  FollowSymLinks
DJ> 
DJ> 
DJ> 
DJ> AllowOverride None
DJ> deny from all
DJ> 
DJ> 
DJ> 
DJ> setHandler jserv-servlet
DJ> 
DJ> 
DJ> ## Context mapping - all requests go to
tomcat
DJ> 
DJ> ApJServMount /examples /root
DJ> 
DJ> ## Context mapping - you need to "deploy"
DJ> # ( copy or ln -s ) the context into htdocs
DJ> ##
DJ> 
DJ> # ApJservMount /CONTEXT/servlet  /root
DJ> # 
DJ> #  AllowOverride None
DJ> #  deny from all
DJ> # 
DJ> 
DJ> ApJServMount /app/servlet /app
DJ> 
DJ> ApJServMount /servlet /ROOT
DJ> 
DJ> 
DJ> ///
DJ> server.xml
DJ> //
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ> 
DJ>  verbosityLevel = "DEBUG" 
DJ> path="logs/tomcat.log" 
DJ> />
DJ> 
DJ>  verbosityLevel = "DEBUG" 
DJ> path="logs/servlet.log"
DJ> />
DJ> 
DJ>  path="logs/jasper.log"
DJ> verbosityLevel = "DEBUG" />
DJ> 
DJ> 
DJ> 
DJ> 
DJ>   
DJ> 
DJ> 
DJ> 
DJ>  />
DJ> 
DJ>  

Re: Help, My Tomcat always down everyday!

2001-09-20 Thread simon colston

On Thu, 20 Sep 2001 17:53:42 +0800
akilus <[EMAIL PROTECTED]> wrote:

> > 
> Thanks for your reply, but I use JSDK1.3.0.04, not 1.3.1, and do you found the same 
>problem of my JVM?

Not tried it, sorry.

> Such like this, when I restart tomcat, JAVA occupy 14M memory, after some times, 
>JAVA occupy 23M or more Memory, do you have this problem? The memory of JAVA 
>increased by time!!!

This is normal.  By default the JVM will use up 64M without releasing memory back to 
the OS.  You can set the maximum and minimum amount of memory the JVM uses uses 
command line parameters to the java command (see the documentation for the 'java' 
command)

> I 'm not familiar with IBM JVM,where can I found IBM JVM? 

http://www-106.ibm.com/developerworks/java/jdk/linux130/?dwzone=java

> And will it work good with tomcat? will IBM JVM have all functions of JDK JVM?

I'm using it and "it works for me"  ;o)


--
simon colston
[EMAIL PROTECTED]



Re: Help, My Tomcat always down everyday!

2001-09-20 Thread simon colston

Dinu,

Sorry, can't help you on that one.

Cheers,

simon

On Thu, 20 Sep 2001 15:35:13 +0530
Dinu Jose <[EMAIL PROTECTED]> wrote:

DJ> 
DJ> Hi Simon,
DJ> Thanks for the help.I will try that way.
DJ> In my case ,tomcat is going down everytime exactly after two hours.This
DJ> happens even if the system is idle.Is there any chance for this to happen
DJ> due to issues in configuring the tomcat/application.Otherwise ,why it is
DJ> going down exactly after 
DJ> some particular period.What all could be the possible reasons behind this .
DJ> I am using tomcat3.2.2,sun solaris 5.8,jdk1.3.
DJ> 
DJ> Thanks 
DJ> Dinu
DJ> 
DJ> 
DJ> -Original Message-
DJ> From: simon colston [mailto:[EMAIL PROTECTED]]
DJ> Sent: Thursday, September 20, 2001 2:32 PM
DJ> To: [EMAIL PROTECTED]
DJ> Subject: Re: Help, My Tomcat always down everyday!
DJ> 
DJ> 
DJ> I've found the Sun JVM 1.3.1 to be unstable on Linux 6.2 and 7.1.  Tomcat
DJ> kept crashing at random intervals (sometime a few days, sometimes a few
DJ> hours).  I switched to the IBM JVM and it started to run OK - no crashing.
DJ> Maybe you'd like to give that a try.
DJ> 
DJ> On Thu, 20 Sep 2001 14:28:39 +0530
DJ> Dinu Jose <[EMAIL PROTECTED]> wrote:
DJ> 
DJ> DJ> Hello All,
DJ> DJ> I am also facing a similar scenario and the situation is still more
DJ> worse,i.
DJ> DJ> e.,tomcat is down every two hours.If restarted,it works fine and will be
DJ> DJ> down after two hours.Please help .
DJ> DJ> Thanks in advance
DJ> DJ> Dinu
DJ> DJ> 
DJ> DJ> 
DJ> DJ> -----Original Message-----
DJ> DJ> From: akilus [mailto:[EMAIL PROTECTED]]
DJ> DJ> Sent: Thursday, September 20, 2001 2:17 PM
DJ> DJ> To: [EMAIL PROTECTED]
DJ> DJ> Subject: Help, My Tomcat always down everyday!
DJ> DJ> 
DJ> DJ> 
DJ> DJ> Hello, Everybody!
DJ> DJ> My Tomcat always down everyday, I don't know why, and I don't find
DJ> anything
DJ> DJ> useful in my log files.
DJ> DJ> and when I restart Tomcat, everything will go correctly, but after some
DJ> DJ> time, normally in noon, the tomcat will down again.
DJ> DJ> And another thing is :The memory that jdk occupy increase with time, I
DJ> don't
DJ> DJ> know whether it is normal or abnormal.
DJ> DJ> Who can tell me several possible reasons about this? I use redhat
DJ> DJ> 6.2,Apache1.3.12, Tomcat3.2.2 and j2sdk1.3.0.04 for linux.
DJ> DJ> The below is my configuration for tomcat, other files is not modified:
DJ> DJ> Tomcat.conf:
DJ> DJ> ///
DJ> DJ> 
DJ> DJ> 
DJ> DJ>
DJ> 
DJ> DJ> ###
DJ> DJ> # Apache JServ Configuration File
DJ> DJ> #
DJ> DJ>
DJ> 
DJ> DJ> ###
DJ> DJ> 
DJ> DJ> # Note: this file should be appended or included into your httpd.conf
DJ> DJ> 
DJ> DJ> # Tell Apache on win32 to load the Apache JServ communication module
DJ> DJ> # LoadModule jserv_module modules/ApacheModuleJServ.dll
DJ> DJ> 
DJ> DJ> # Tell Apache on Unix to load the Apache JServ communication module
DJ> DJ> # For shared object builds only!!!
DJ> DJ> # @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
DJ> DJ> LoadModule jserv_module libexec/mod_jserv.so
DJ> DJ> 
DJ> DJ> 
DJ> DJ> # Do not edit!
DJ> DJ> ApJServManual on
DJ> DJ> ApJServDefaultProtocol ajpv12
DJ> DJ> ApJServSecretKey DISABLED
DJ> DJ> ApJServMountCopy on
DJ> DJ> ApJServLogLevel notice
DJ> DJ> 
DJ> DJ> 
DJ> DJ> ### Change if you run tomcat on a different host
DJ> DJ> #ApJServDefaultHost localhost
DJ> DJ> ApJServDefaultPort 8007
DJ> DJ> 
DJ> DJ> 
DJ> DJ>  All jsp files will go to tomcat
DJ> 
DJ> DJ> ApJServMount default /root
DJ> DJ> 
DJ> DJ> AddType text/jsp .jsp
DJ> DJ> AddHandler jserv-servlet .jsp
DJ> DJ> 
DJ> DJ> Alias /app /home/httpd/html
DJ> DJ> 
DJ> DJ> 
DJ> DJ> Options  FollowSymLinks
DJ> DJ> 
DJ> DJ> 
DJ> DJ> 
DJ> DJ> AllowOverride None
DJ> DJ> deny from all
DJ> DJ> 
DJ> DJ> 
DJ> DJ> 
DJ> DJ> setHandler jserv-servlet
DJ> DJ> 
DJ> DJ> 
DJ> DJ> ## Context mapping - all requests go to
DJ> tomcat
DJ> DJ> 
DJ> DJ> ApJServMount /examples /root
DJ> DJ> 
DJ> DJ> ## Context mapping - you need to "deploy"
DJ> DJ> # ( copy or ln -s ) th

Re: Re: Help, My Tomcat always down everyday!

2001-09-20 Thread akilus

simon colston£¬ÄúºÃ£¡

Thanks for your reply, but I use JSDK1.3.0.04, not 1.3.1, and do you found the same 
problem of my JVM?
Such like this, when I restart tomcat, JAVA occupy 14M memory, after some times, JAVA 
occupy 23M or more Memory, do you have this problem? The memory of JAVA increased by 
time!!!
I 'm not familiar with IBM JVM,where can I found IBM JVM?
And will it work good with tomcat? will IBM JVM have all functions of JDK JVM?
Thanks a lot!



ÔÚ 2001-09-20 18:01:00 ÄúдµÀ£º
>I've found the Sun JVM 1.3.1 to be unstable on Linux 6.2 and 7.1.  Tomcat kept 
>crashing at random intervals (sometime a few days, sometimes a few hours).  I 
>switched to the IBM JVM and it started to run OK - no crashing.  Maybe you'd like to 
>give that a try.
>
>On Thu, 20 Sep 2001 14:28:39 +0530
>Dinu Jose <[EMAIL PROTECTED]> wrote:
>
>DJ> Hello All,
>DJ> I am also facing a similar scenario and the situation is still more worse,i.
>DJ> e.,tomcat is down every two hours.If restarted,it works fine and will be
>DJ> down after two hours.Please help .
>DJ> Thanks in advance
>DJ> Dinu
>DJ>
>DJ>
>DJ> -Original Message-
>DJ> From: akilus [mailto:[EMAIL PROTECTED]]
>DJ> Sent: Thursday, September 20, 2001 2:17 PM
>DJ> To: [EMAIL PROTECTED]
>DJ> Subject: Help, My Tomcat always down everyday!
>DJ>
>DJ>
>DJ> Hello, Everybody!
>DJ> My Tomcat always down everyday, I don't know why, and I don't find anything
>DJ> useful in my log files.
>DJ> and when I restart Tomcat, everything will go correctly, but after some
>DJ> time, normally in noon, the tomcat will down again.
>DJ> And another thing is :The memory that jdk occupy increase with time, I don't
>DJ> know whether it is normal or abnormal.
>DJ> Who can tell me several possible reasons about this? I use redhat
>DJ> 6.2,Apache1.3.12, Tomcat3.2.2 and j2sdk1.3.0.04 for linux.
>DJ> The below is my configuration for tomcat, other files is not modified:
>DJ> Tomcat.conf:
>DJ> ///
>DJ>
>DJ>
>DJ> 
>DJ> ###
>DJ> # Apache JServ Configuration File
>DJ> #
>DJ> 
>DJ> ###
>DJ>
>DJ> # Note: this file should be appended or included into your httpd.conf
>DJ>
>DJ> # Tell Apache on win32 to load the Apache JServ communication module
>DJ> # LoadModule jserv_module modules/ApacheModuleJServ.dll
>DJ>
>DJ> # Tell Apache on Unix to load the Apache JServ communication module
>DJ> # For shared object builds only!!!
>DJ> # @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
>DJ> LoadModule jserv_module libexec/mod_jserv.so
>DJ>
>DJ> 
>DJ> # Do not edit!
>DJ> ApJServManual on
>DJ> ApJServDefaultProtocol ajpv12
>DJ> ApJServSecretKey DISABLED
>DJ> ApJServMountCopy on
>DJ> ApJServLogLevel notice
>DJ>
>DJ>
>DJ> ### Change if you run tomcat on a different host
>DJ> #ApJServDefaultHost localhost
>DJ> ApJServDefaultPort 8007
>DJ>
>DJ>
>DJ>  All jsp files will go to tomcat 
>DJ> ApJServMount default /root
>DJ>
>DJ> AddType text/jsp .jsp
>DJ> AddHandler jserv-servlet .jsp
>DJ>
>DJ> Alias /app /home/httpd/html
>DJ>
>DJ> 
>DJ> Options  FollowSymLinks
>DJ> 
>DJ>
>DJ> 
>DJ> AllowOverride None
>DJ> deny from all
>DJ> 
>DJ>
>DJ> 
>DJ> setHandler jserv-servlet
>DJ> 
>DJ>
>DJ> ## Context mapping - all requests go to tomcat
>DJ>
>DJ> ApJServMount /examples /root
>DJ>
>DJ> ## Context mapping - you need to "deploy"
>DJ> # ( copy or ln -s ) the context into htdocs
>DJ> ##
>DJ>
>DJ> # ApJservMount /CONTEXT/servlet  /root
>DJ> # 
>DJ> #  AllowOverride None
>DJ> #  deny from all
>DJ> # 
>DJ>
>DJ> ApJServMount /app/servlet /app
>DJ>
>DJ> ApJServMount /servlet /ROOT
>DJ>
>DJ> 
>DJ> ///
>DJ> server.xml
>DJ> //
>DJ> 
>DJ>
>DJ> 
>DJ> 
>DJ> 
>DJ>
>DJ> 
>DJ>
>DJ> 
>DJ> 
>DJ>
>DJ> DJ> verbosityLevel = "DEBUG"
>DJ> path="logs/tomcat.log"
>DJ> />
>DJ>
>DJ> DJ> verbosityL

Re: RE: Help, My Tomcat always down everyday!

2001-09-20 Thread akilus

Dinu Jose£¬ÄúºÃ£¡

Do u have the same software with me?

ÔÚ 2001-09-20 14:28:00 ÄúдµÀ£º
>Hello All,
>I am also facing a similar scenario and the situation is still more worse,i.
>e.,tomcat is down every two hours.If restarted,it works fine and will be
>down after two hours.Please help .
>Thanks in advance
>Dinu
>
>
>-Original Message-
>From: akilus [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, September 20, 2001 2:17 PM
>To: [EMAIL PROTECTED]
>Subject: Help, My Tomcat always down everyday!
>
>
>Hello, Everybody!
>My Tomcat always down everyday, I don't know why, and I don't find anything
>useful in my log files.
>and when I restart Tomcat, everything will go correctly, but after some
>time, normally in noon, the tomcat will down again.
>And another thing is :The memory that jdk occupy increase with time, I don't
>know whether it is normal or abnormal.
>Who can tell me several possible reasons about this? I use redhat
>6.2,Apache1.3.12, Tomcat3.2.2 and j2sdk1.3.0.04 for linux.
>The below is my configuration for tomcat, other files is not modified:
>Tomcat.conf:
>///
>
>
>
>###
># Apache JServ Configuration File
>#
>
>###
>
># Note: this file should be appended or included into your httpd.conf
>
># Tell Apache on win32 to load the Apache JServ communication module
># LoadModule jserv_module modules/ApacheModuleJServ.dll
>
># Tell Apache on Unix to load the Apache JServ communication module
># For shared object builds only!!!
># @LOAD_OR_NOT@LoadModule jserv_module @LIBEXECDIR@/mod_jserv.so
>LoadModule jserv_module libexec/mod_jserv.so
>
>
># Do not edit!
>ApJServManual on
>ApJServDefaultProtocol ajpv12
>ApJServSecretKey DISABLED
>ApJServMountCopy on
>ApJServLogLevel notice
>
>
>### Change if you run tomcat on a different host
>#ApJServDefaultHost localhost
>ApJServDefaultPort 8007
>
>
> All jsp files will go to tomcat 
>ApJServMount default /root
>
>AddType text/jsp .jsp
>AddHandler jserv-servlet .jsp
>
>Alias /app /home/httpd/html
>
>
>Options  FollowSymLinks
>
>
>
>AllowOverride None
>deny from all
>
>
>
>setHandler jserv-servlet
>
>
>## Context mapping - all requests go to tomcat
>
>ApJServMount /examples /root
>
>## Context mapping - you need to "deploy"
># ( copy or ln -s ) the context into htdocs
>##
>
># ApJservMount /CONTEXT/servlet  /root
># 
>#  AllowOverride None
>#  deny from all
># 
>
>ApJServMount /app/servlet /app
>
>ApJServMount /servlet /ROOT
>
>
>///
>server.xml
>//
>
>
>
>
>
>
>
>
>
>
>
>verbosityLevel = "DEBUG"
>path="logs/tomcat.log"
>/>
>
>verbosityLevel = "DEBUG"
>path="logs/servlet.log"
>/>
>
>   path="logs/jasper.log"
>verbosityLevel = "DEBUG" />
>
>
>
>
>  
>
>
>
>/>
>
>className="org.apache.tomcat.context.WebXmlReader" />
>
>
>
>className="org.apache.tomcat.context.LoaderInterceptor" />
>className="org.apache.tomcat.context.DefaultCMSetter" />
>className="org.apache.tomcat.context.WorkDirInterceptor" />
>
>
>
>className="org.apache.tomcat.request.SessionInterceptor"
>noCookies="false" />
>
>
>className="org.apache.tomcat.request.SimpleMapper1"
>debug="0" />
>
>
>className="org.apache.tomcat.request.InvokerInterceptor"
>debug="0" prefix="/servlet/" />
>
>
>className="org.apache.tomcat.request.StaticInterceptor"
>debug="0" suppress="false" />
>
>
>className="org.apache.tomcat.session.StandardSessionInterceptor"
>/>
>
>
>className="org.apache.tomcat.request.AccessInterceptor"
>debug="0" />
>
>
>className="org.apache.tomcat.request.SimpleRealm"
>debug="0" />
>
>   
>
>
>
>className="org.apache.tomcat.context.LoadOnStartupInterceptor"
>/>
>
>  
>
>
>
>
>
>
>
>   value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
>
>
>
>
>
>
>
>
> 
>
>
>
>
>
>
>
>
>//
>
>
>
>akilus
>[EMAIL PROTECTED]

ÖÂ
Àñ£¡

akilus
[EMAIL PROTECTED]




Re: Re: Help, My Tomcat always down everyday!

2001-09-20 Thread song yantao

>On Thu, 20 Sep 2001 17:53:42 +0800
>akilus <[EMAIL PROTECTED]> wrote:
>
Thanks for your help, I used JDK1.3.1 and JDK1.3.0, the two JDKs have the same 
problem.
I will try JDK1.2.2 now, and see whether it have this problem or not.
If JDK1.2.2 is the same for me, maybe the tomcat have some problem with JDK. 
But I dont want to use IBM JVM now, because I'm not familiar with them, and I don't 
know whether I need to modify my jsp program or not if I change to IBM JVM, because 
our program utilize some functions of JDK and other packages from SUN.
>> > 
>> Thanks for your reply, but I use JSDK1.3.0.04, not 1.3.1, and do you found the same 
>problem of my JVM?
>
>Not tried it, sorry.
>
>> Such like this, when I restart tomcat, JAVA occupy 14M memory, after some times, 
>JAVA occupy 23M or more Memory, do you have this problem? The memory of JAVA 
>increased by time!!!
>
>This is normal.  By default the JVM will use up 64M without releasing memory back to 
>the OS.  You can set the maximum and minimum amount of memory the JVM uses uses 
>command line parameters to the java command (see the documentation for the 'java' 
>command)
>
>> I 'm not familiar with IBM JVM,where can I found IBM JVM? 
>
>http://www-106.ibm.com/developerworks/java/jdk/linux130/?dwzone=java
>
>> And will it work good with tomcat? will IBM JVM have all functions of JDK JVM?
>
>I'm using it and "it works for me"  ;o)
>
>
>--
>simon colston
>[EMAIL PROTECTED]



AW: Re: Help, My Tomcat always down everyday!

2001-09-20 Thread Ralph Einfeldt

As long as you don't have used packages com.sun.* there should be 
no difference between diffent vendors.

If you try IBM's and Sun's JDK this is true to more than 99.99 %
(as far as we know). What differs are the implementation bugs in the VM
or some implementation bugs in the libraries.

We have running our application under both VM's and had to change
nothing for this. (70K lines of java code + several hundred jsp files)

In rare (an unclear) conditions we get core dumps with both of them.
Sun's JDK crashes 2 to 3 times less than IBM's in our environment
with the given application (We don't use tomcat yet), in an other
environments or with other applications the resulty may vary.

> -Urspr¨¹ngliche Nachricht-
> Von: song yantao [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 19. September 2001 20:00
> An: [EMAIL PROTECTED]
> Betreff: Re: Re: Help, My Tomcat always down everyday!
> 
> 
> >On Thu, 20 Sep 2001 17:53:42 +0800
> >akilus <[EMAIL PROTECTED]> wrote:
> >
> Thanks for your help, I used JDK1.3.1 and JDK1.3.0, the two 
> JDKs have the same problem.
> I will try JDK1.2.2 now, and see whether it have this problem or not.
> If JDK1.2.2 is the same for me, maybe the tomcat have some 
> problem with JDK. 
> But I dont want to use IBM JVM now, because I'm not familiar 
> with them, and I don't know whether I need to modify my jsp 
> program or not if I change to IBM JVM, because our program 
> utilize some functions of JDK and other packages from SUN.
> >> > 
> >> Thanks for your reply, but I use JSDK1.3.0.04, not 1.3.1, 
> and do you found the same problem of my JVM?
> >
> >Not tried it, sorry.
> >
> >> Such like this, when I restart tomcat, JAVA occupy 14M 
> memory, after some times, JAVA occupy 23M or more Memory, do 
> you have this problem? The memory of JAVA increased by time!!!
> >
> >This is normal.  By default the JVM will use up 64M without 
> releasing memory back to the OS.  You can set the maximum and 
> minimum amount of memory the JVM uses uses command line 
> parameters to the java command (see the documentation for the 
> 'java' command)
> >
> >> I 'm not familiar with IBM JVM,where can I found IBM JVM? 
> >
> >http://www-106.ibm.com/developerworks/java/jdk/linux130/?dwzone=java
> >
> >> And will it work good with tomcat? will IBM JVM have all 
> functions of JDK JVM?
> >
> >I'm using it and "it works for me"  ;o)
> >
> >
> >--
> >simon colston
> >[EMAIL PROTECTED]
> 



Re: AW: Re: Help, My Tomcat always down everyday!

2001-09-20 Thread song yantao

>As long as you don't have used packages com.sun.* there should be 
>no difference between diffent vendors.
>
>If you try IBM's and Sun's JDK this is true to more than 99.99 
>(as far as we know). What differs are the implementation bugs in the VM
>or some implementation bugs in the libraries.
>
>We have running our application under both VM's and had to change
>nothing for this. (70K lines of java code + several hundred jsp files)
>
>In rare (an unclear) conditions we get core dumps with both of them.
>Sun's JDK crashes 2 to 3 times less than IBM's in our environment
>with the given application (We don't use tomcat yet), in an other
Which software are u using? WebLogic?
>environments or with other applications the resulty may vary.
>
>> -Urspr¨¹ngliche Nachricht-
>> Von: song yantao [mailto:[EMAIL PROTECTED]]
>> Gesendet: Mittwoch, 19. September 2001 20:00
>> An: [EMAIL PROTECTED]
>> Betreff: Re: Re: Help, My Tomcat always down everyday!
>> 
>> 
>> >On Thu, 20 Sep 2001 17:53:42 +0800
>> >akilus <[EMAIL PROTECTED]> wrote:
>> >
>> Thanks for your help, I used JDK1.3.1 and JDK1.3.0, the two 
>> JDKs have the same problem.
>> I will try JDK1.2.2 now, and see whether it have this problem or not.
>> If JDK1.2.2 is the same for me, maybe the tomcat have some 
>> problem with JDK. 
>> But I dont want to use IBM JVM now, because I'm not familiar 
>> with them, and I don't know whether I need to modify my jsp 
>> program or not if I change to IBM JVM, because our program 
>> utilize some functions of JDK and other packages from SUN.
>> >> > 
>> >> Thanks for your reply, but I use JSDK1.3.0.04, not 1.3.1, 
>> and do you found the same problem of my JVM?
>> >
>> >Not tried it, sorry.
>> >
>> >> Such like this, when I restart tomcat, JAVA occupy 14M 
>> memory, after some times, JAVA occupy 23M or more Memory, do 
>> you have this problem? The memory of JAVA increased by time!!!
>> >
>> >This is normal.  By default the JVM will use up 64M without 
>> releasing memory back to the OS.  You can set the maximum and 
>> minimum amount of memory the JVM uses uses command line 
>> parameters to the java command (see the documentation for the 
>> 'java' command)
>> >
>> >> I 'm not familiar with IBM JVM,where can I found IBM JVM? 
>> >
>> >http://www-106.ibm.com/developerworks/java/jdk/linux130/?dwzone=java
>> >
>> >> And will it work good with tomcat? will IBM JVM have all 
>> functions of JDK JVM?
>> >
>> >I'm using it and "it works for me"  ;o)
>> >
>> >
>> >--
>> >simon colston
>> >[EMAIL PROTECTED]
>>