Tomcat crash with no error messages!

2005-08-29 Thread Kenneth Litwak
Hi,

  I have an application that is the only application running on a given
tomcat instance (there are multiple tomcat instances on the same box).
The application has been running for weeks, but the code has not been
changed for weeks.  Suddenly, Friday afternoon the application began
failing as soon as it tried to do anything besides check an id in LDAP.
The failure causes the tomcat process to crash.  Unfortunately, nothing
shows up on Catalina.out, or in the log4j logs that the application
generally writes both errors and progress to.  So I'm not sure what to
do to diagnose the problem.  Any suggestions for the first step?  If I
had an error message, that would be good.  Thanks.

Ken


 Kenneth D. Litwak
Software Engineer III
IMT
Azusa Pacific University
901 E. Alosta
Azusa, CA 91702


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat v4.0.3 crash for unknown reasons

2005-06-09 Thread Hertenstein Alain
Hi there,
 
We have our Intranet web site running on a Tomcat 4.0.3 server under
Redhat Linux 7.2.
It's been a week now that Tomcat is crashing every 2-8 hours
unexpectedly without apparent reasons, while it has been working
flawlessly for almost 3 years (except for some OutOfMemory exceptions
here and there). We have to restart it manually every time until it
crashes again.
The symptom just before a crash is that the web pages are not fully
loaded in the browser (some images missing, sometimes the pages don't
even display, then do after clicking Refresh several times, etc.).
Also, only Tomcat crashes, not the OS or anything else.
 
There are 2 webapps running on this server :
- one containing standard JSP files (the main Intranet site)
- another one running through Salmon LLC (jsps, taglibs. An Intranet's
sub-application)
 
We haven't changed anything on the webapps for some weeks now (either
config or JSP pages).
 
The only difference we noticed is that the catalina.out log file is
getting full of java.lang.NullPointerException here and there (sometimes
10 such exceptions in a row, then nothing for some time, then some of
them again), here's the stack trace :
 
java.lang.NullPointerException
 at
org.apache.catalina.connector.http.HttpResponseStream.checkHead(HttpResp
onseStream.java:253)
 at
org.apache.catalina.connector.http.HttpResponseStream.init(HttpRespons
eStream.java:104)
 at
org.apache.catalina.connector.http.HttpResponseImpl.createOutputStream(H
ttpResponseImpl.java:220)
 at
org.apache.catalina.connector.ResponseBase.getOutputStream(ResponseBase.
java:725)
 at
org.apache.catalina.connector.ResponseBase.finishResponse(ResponseBase.j
ava:469)
 at
org.apache.catalina.connector.HttpResponseBase.finishResponse(HttpRespon
seBase.java:236)
 at
org.apache.catalina.connector.http.HttpResponseImpl.finishResponse(HttpR
esponseImpl.java:288)
 at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:1039)
 at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1107)
 at java.lang.Thread.run(Thread.java:536)
 
There's no indication whether these exceptions are caused by specific
pages, or simply by Tomcat itself for some reason. Usually when an
exception is thrown in a JSP page, I get an e-mail with the stack trace,
while in this case I simply get nothing. Also we're even not sure the
crash is due to this exception.
 
We also thought of some network problems causing Tomcat to crash,
because the 1st webapps is accessing a lot of mounted network shares
(running on Windows servers) through the JSP pages, and the company's
network provider has recently changed. Still we are not sure about this
at all either.
 
Does anyone have an idea about this issue ? We are a bit lost here...
(we searched through the archives but didn't find any solution)
 
Thanks a lot,
Alain
 


**
 This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
Eri Bancaire 
**



can tomcat 5.5.9 inc compatibility pack but over jdk1.5 cause a jvm crash?

2005-05-29 Thread Guy Katz
hello;
i have a tomcat 5.5.9 over jdk 1.5 on freeBSD running a web application.
i got the crash below.
note that i noticed that my 5.5.9 was started with the compatibility package 
inside (i forgot to remove it).
but my question is:
can such a jvm crash be caused by this?

thanks in advance.

crash stack trace:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGBUS (0xa) at pc=0x28261710, pid=85917, tid=0x82ec800
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-p1-root_08_apr_2005_11_21 mixed 
mode)
# Problematic frame:
# V  [libjvm.so+0x138710]
#
# An error report file with more information is saved as hs_err_pid85917.log
#
# If you would like to submit a bug report, please write
# a letter to [EMAIL PROTECTED] mailing list
#


Guy Katz
Allot Communications
[EMAIL PROTECTED]
tel: +972 9 7619288
fax: +972 9 7443626



Need your help to troubleshoot a Tomcat crash

2005-04-29 Thread Guillaume Lahitette
Hello gurus,

* SETUP
This is Tomcat 4.1.26 on Win2K running with Tomcat Service Manager from 
http://web.bvu.edu/staff/david/tcservcfg/
JDK 1.4.1_03 with options -Xms512 -Xmx1024 -Xss2048 -showversion -verbose:gc 
-Xloggc:c:\winnt\system32\PRTI-Report.log
Connector config:
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
port=18580   minProcessors=5 maxProcessors=150
   enableLookups=true redirectPort=8443
   acceptCount=100 debug=0 connectionTimeout=2
   useURIValidationHack=false disableUploadTimeout=true /

* PROBLEM
We're facing a problem whereby when we stress test our web application, the 
Tomcat service brutally crashes. Our problem is that it has been impossible to 
identify what made Tomcat (or the JVM?) crash: nothing shows in the logs, no 
JVM crash report in $TOMCAT_HOME/bin nor C:/WINNT/system32.

We don't know why but removing the JVM option -server has enabled the 
performance test to complete successfully.

* QUESTIONS
* can I force Tomcat to give details about why  when it crashes?  
Ideally, we'd need a stack trace...
* is there a negative impact of running Windows as a service?
* is anyone facing issues with JDK 1.4.1_03 running with the -server 
switch?
* any recommendations for improving our setup?

Thanks in advance,
Guillaume

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



My TomCat4 crash frequently

2005-04-05 Thread Unternaehrer Stefano
Hello all.
I need to finally find the cause of this problem.

I have an HP webserver running HP-UX 11, 3GB RAM.
One running Apache2, with 5 TomCat4, one for each
project. Java1.4 (/opt/java1.4/bin/PA_RISC2.0/java).
One of this TomCat is very requested and it crash 
quite every day. I wrote a monitoring process 
which restart it when missing. 
But I need to understand why this arrives.

This single TomCat starts with java param -Xmx576m,
the others four with -Xmx192m.

I also tried following options, but without 
relevant success:

 -Xoptgc -Xincgc -Xconcgc
 -XX:+DisableExplicitGC -XX:-ImplicitNullChecks
 -XX:NewSize=128m -XX:MaxNewSize=128m

In my jsp source files I have following options:

 %@ page
  // ...
  buffer=24kb autoFlush=true
  // ...
 %

In the catalina.out file I found several lines like this:

 Apr 5, 2005 11:38:36 AM 
 org.apache.jk.common.ChannelSocket processConnection
 INFO: server has been restarted or reset this connection

And, when TomCat crashes, I found lines like this:

 Exception in thread CompileThread0 
 java.lang.OutOfMemoryError: requested 60488 bytes 
 for Chunk::new . Possible causes:
  - not enough swap space left, or
  - kernel parameter MAXDSIZ is very small.
 Out of memory while reading in symbol table of 
 /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
 Stack_Trace: error while unwinding stack
 ( 0) 0xc1bfaac0 [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
 ...
 (16) 0xc13a9f60 __pthread_create_system + 0x420 [/usr/lib/libpthread.1]
 Java out of memory messages are marked with pid: 275 
 in /var/adm/syslog/syslog.log.

I cannot add ram, and the maxdsiz kernel parameter is 67108864
(maxdsiz_64bit has value 1073741824).
The swapinfo command says following:

  Kb  Kb  Kb   PCT
 TYPE  AVAILUSEDFREE  USED
 dev 2097152   0 20971520%
 reserve   -  415376 -415376
 memory  2311928  469152 1842776   20%


Thank you for any hint on how to solve my problem.
Best regards,
Stefano
---
Stefano Unternaehrer - 6500 Bellinzona - 091 8141513
- Informatico Sbt - Sistema bibliotecario ticinese -
- [EMAIL PROTECTED]  http://www.sbt.ti.ch -
PGP key available at http://www.sbt.ti.ch/~unter/pgp 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: My TomCat4 crash frequently

2005-04-05 Thread Mark Thomas
Maybe you have a memory leak in your app. Get a profiler and have a 
look. If you search the list archives there is plenty of advice for what 
to look for.

Mark
Unternaehrer Stefano wrote:
Hello all.
I need to finally find the cause of this problem.
I have an HP webserver running HP-UX 11, 3GB RAM.
One running Apache2, with 5 TomCat4, one for each
project. Java1.4 (/opt/java1.4/bin/PA_RISC2.0/java).
One of this TomCat is very requested and it crash 
quite every day. I wrote a monitoring process 
which restart it when missing. 
But I need to understand why this arrives.

This single TomCat starts with java param -Xmx576m,
the others four with -Xmx192m.
I also tried following options, but without 
relevant success:

 -Xoptgc -Xincgc -Xconcgc
 -XX:+DisableExplicitGC -XX:-ImplicitNullChecks
 -XX:NewSize=128m -XX:MaxNewSize=128m
In my jsp source files I have following options:
 %@ page
  // ...
  buffer=24kb autoFlush=true
  // ...
 %
In the catalina.out file I found several lines like this:
 Apr 5, 2005 11:38:36 AM 
 org.apache.jk.common.ChannelSocket processConnection
 INFO: server has been restarted or reset this connection

And, when TomCat crashes, I found lines like this:
 Exception in thread CompileThread0 
 java.lang.OutOfMemoryError: requested 60488 bytes 
 for Chunk::new . Possible causes:
  - not enough swap space left, or
  - kernel parameter MAXDSIZ is very small.
 Out of memory while reading in symbol table of 
 /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
 Stack_Trace: error while unwinding stack
 ( 0) 0xc1bfaac0 [/opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl]
 ...
 (16) 0xc13a9f60 __pthread_create_system + 0x420 [/usr/lib/libpthread.1]
 Java out of memory messages are marked with pid: 275 
 in /var/adm/syslog/syslog.log.

I cannot add ram, and the maxdsiz kernel parameter is 67108864
(maxdsiz_64bit has value 1073741824).
The swapinfo command says following:
  Kb  Kb  Kb   PCT
 TYPE  AVAILUSEDFREE  USED
 dev 2097152   0 20971520%
 reserve   -  415376 -415376
 memory  2311928  469152 1842776   20%
Thank you for any hint on how to solve my problem.
Best regards,
Stefano
---
Stefano Unternaehrer - 6500 Bellinzona - 091 8141513
- Informatico Sbt - Sistema bibliotecario ticinese -
- [EMAIL PROTECTED]  http://www.sbt.ti.ch -
PGP key available at http://www.sbt.ti.ch/~unter/pgp 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: JVM Crash

2004-12-30 Thread Mark
I googled around and here some good(?) news, at least somebody get
around the problem:

http://forum.java.sun.com/thread.jspa?threadID=307252tstart=210

on of solution is :
-- cut --
now I use jdk1.3.1_06 with hospot -server
and it works perfectly (and faster)
-- end cut ---

another one was a hardware problem:
-- cut --
 Some part
of the computer seemed to be not compatible with the
FSB133 standard. So I reduced the system to FSB100.
No signal 11 since that time :-
-- end cut --

and here another issue with java:
-- cut --
In this case, it was happening during the compilation of a reasonably
large JSP. A colleague found out that there was a known issue with
this version of javac compiling large methods (64Kb), which tends to
happen when you have a large JSP getting compiled into a single
service() method.
-- end cut --
--- Amit Gupta [EMAIL PROTECTED] wrote:

 I am facing similar problem on user mode Linux.
 
 Amit Gupta
 Mobile: 91-9818052171
 Yahoo IM: amitguptainn
 MSN IM : amitguptainn
 
 -Original Message-
 From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, December 28, 2004 5:05 PM
 To: Tomcat Users List
 Subject: Re: JVM Crash
 
 Amit, I am using a dedicated server.
 
 Rodrigo
 
 Amit Gupta wrote:
 
 You are using User mode Linux or dedicated server?
 
 Amit Gupta
 Mobile: 91-9818052171
 
 -Original Message-
 From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED] 
 Sent: Monday, December 27, 2004 11:18 PM
 To: tomcat-user@jakarta.apache.org
 Subject: JVM Crash
 
 Hello all,
 
 I deployed Atlassian Jira Enterprise 3.0.3 in Tomcat 5.0.28 and I 
 experienced two random JVM crashes in a period of one month. The
 strange 
 part is that the crashes occured when the application was at a
 very low 
 load, doing almost nothing.
 I searched the archives for this topic, but I still can't figure
 out 
 what could have caused these crashes.
 I have no idea whether they are related to Jira, Tomcat, J2SDK or 
 RedHat. I would like to isolate the problem, so that I can ask the
 
 proper vendor for support.
 Below I will post information about my system and the JVM error
 logs, 
 sorry for the long message.
 Any help is greatly appreciated, thanks a lot.
 
 Rodrigo
 
 System:
 Linux 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386
 GNU/Linux
 Red Hat Enterprise Linux AS release 3 (Taroon)
 Tomcat 5.0.28
 java version 1.4.2_06
 Java(TM) 2 Runtime Environment, Standard Edition (build
 1.4.2_06-b03)
 Java HotSpot(TM) Server VM (build 1.4.2_06-b03, mixed mode)
 JAVA_OPTS=-server -Xmx512m
 1GB RAM
 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09
 
 Error log 1:
 Unexpected Signal : 11 occurred at PC=0xB7289E78
 Function=(null)
 Library=/usr/local/j2sdk1.4.2_06/jre/lib/i386/server/libjvm.so
 
 NOTE: We are unable to locate the function name symbol for the
 error
   just occurred. Please refer to release documentation for
 possible
   reason and solutions.
 
 
 Current Java thread:
 at java.lang.String.intern(Native Method)
 at java.lang.Class.searchMethods(Class.java:1877)
 at java.lang.Class.getDeclaredMethod(Class.java:1262)
 at 

org.apache.commons.logging.impl.LogFactoryImpl.isJdk14Available(LogFactoryImpl.java:489)
 at 

org.apache.commons.logging.impl.LogFactoryImpl.getLogClassName(LogFactoryImpl.java:331)
 at 

org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:368)
 at 

org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
 at 

org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
 at 

org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
 at
 org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
 at 

org.apache.commons.beanutils.ConvertUtilsBean.init(ConvertUtilsBean.java:130)
 at 

org.apache.commons.beanutils.BeanUtilsBean.init(BeanUtilsBean.java:110)
 at 

org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:68)
 at 

org.apache.commons.beanutils.ContextClassLoaderLocal.get(ContextClassLoaderLocal.java:80)
 - locked 0x925030d0 (a 
 org.apache.commons.beanutils.BeanUtilsBean$1)
 at 

org.apache.commons.beanutils.BeanUtilsBean.getInstance(BeanUtilsBean.java:78)
 - locked 0xaeeb91a0 (a java.lang.Class)
 at 

org.apache.commons.beanutils.ConvertUtilsBean.getInstance(ConvertUtilsBean.java:115)
 at 

org.apache.commons.beanutils.ConvertUtils.convert(ConvertUtils.java:217)
 at 

org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:457)
 at org.apache.commons.digester.Rule.end(Rule.java:276)
 at 

org.apache.commons.digester.Digester.endElement(Digester.java:1058)
 at 
 org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
 Source

Re: JVM Crash

2004-12-30 Thread Wade Chandler
Mark wrote:
I googled around and here some good(?) news, at least somebody get
around the problem:
http://forum.java.sun.com/thread.jspa?threadID=307252tstart=210
on of solution is :
-- cut --
now I use jdk1.3.1_06 with hospot -server
and it works perfectly (and faster)
-- end cut ---
another one was a hardware problem:
-- cut --
 Some part
of the computer seemed to be not compatible with the
FSB133 standard. So I reduced the system to FSB100.
No signal 11 since that time :-
-- end cut --
and here another issue with java:
-- cut --
In this case, it was happening during the compilation of a reasonably
large JSP. A colleague found out that there was a known issue with
this version of javac compiling large methods (64Kb), which tends to
happen when you have a large JSP getting compiled into a single
service() method.
-- end cut --
--- Amit Gupta [EMAIL PROTECTED] wrote:

I am facing similar problem on user mode Linux.
Amit Gupta
Mobile: 91-9818052171
Yahoo IM: amitguptainn
MSN IM : amitguptainn
-Original Message-
From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 28, 2004 5:05 PM
To: Tomcat Users List
Subject: Re: JVM Crash

Amit, I am using a dedicated server.
Rodrigo
Amit Gupta wrote:

You are using User mode Linux or dedicated server?
Amit Gupta
Mobile: 91-9818052171
-Original Message-
From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 27, 2004 11:18 PM
To: tomcat-user@jakarta.apache.org
Subject: JVM Crash

Hello all,
I deployed Atlassian Jira Enterprise 3.0.3 in Tomcat 5.0.28 and I 
experienced two random JVM crashes in a period of one month. The
strange 

part is that the crashes occured when the application was at a
very low 

load, doing almost nothing.
I searched the archives for this topic, but I still can't figure
out 

what could have caused these crashes.
I have no idea whether they are related to Jira, Tomcat, J2SDK or 
RedHat. I would like to isolate the problem, so that I can ask the

proper vendor for support.
Below I will post information about my system and the JVM error
logs, 

sorry for the long message.
Any help is greatly appreciated, thanks a lot.
Rodrigo
System:
Linux 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386
GNU/Linux
Red Hat Enterprise Linux AS release 3 (Taroon)
Tomcat 5.0.28
java version 1.4.2_06
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.2_06-b03)
Java HotSpot(TM) Server VM (build 1.4.2_06-b03, mixed mode)
JAVA_OPTS=-server -Xmx512m
1GB RAM
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09
Error log 1:
Unexpected Signal : 11 occurred at PC=0xB7289E78
Function=(null)
Library=/usr/local/j2sdk1.4.2_06/jre/lib/i386/server/libjvm.so
NOTE: We are unable to locate the function name symbol for the
error
just occurred. Please refer to release documentation for
possible
reason and solutions.
Current Java thread:
  at java.lang.String.intern(Native Method)
  at java.lang.Class.searchMethods(Class.java:1877)
  at java.lang.Class.getDeclaredMethod(Class.java:1262)
  at 
org.apache.commons.logging.impl.LogFactoryImpl.isJdk14Available(LogFactoryImpl.java:489)
  at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogClassName(LogFactoryImpl.java:331)
  at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:368)
  at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
  at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
  at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
  at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
  at 
org.apache.commons.beanutils.ConvertUtilsBean.init(ConvertUtilsBean.java:130)
  at 
org.apache.commons.beanutils.BeanUtilsBean.init(BeanUtilsBean.java:110)
  at 
org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:68)
  at 
org.apache.commons.beanutils.ContextClassLoaderLocal.get(ContextClassLoaderLocal.java:80)
  - locked 0x925030d0 (a 
org.apache.commons.beanutils.BeanUtilsBean$1)
  at 
org.apache.commons.beanutils.BeanUtilsBean.getInstance(BeanUtilsBean.java:78)
  - locked 0xaeeb91a0 (a java.lang.Class)
  at 
org.apache.commons.beanutils.ConvertUtilsBean.getInstance(ConvertUtilsBean.java:115)
  at 
org.apache.commons.beanutils.ConvertUtils.convert(ConvertUtils.java:217)
  at 
org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:457)
  at org.apache.commons.digester.Rule.end(Rule.java:276)
  at 
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
  at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
  at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown

Source)
  at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown

Source

Re: Tomcat 5 startup crash, please help

2004-12-29 Thread Ben Souther
There is actually a listing in Bugzilla this.
Would you mind adding your findings to it?
http://issues.apache.org/bugzilla/show_bug.cgi?id=30052
If this is a jsvc bug, your data might help to find it.

That's a pretty old Linux distribution.
I remember having trouble with Sun's jdk on either RH7.0 or RH7.1
There was a fairly buggy release of the gclib libraries in one of them.
Are you able to try your app on a more recent Linux distribution for
comparison?










On Wed, 2004-12-29 at 01:30, Michael Kastner wrote:
 Hello Jacob,
 
 thanks for your reply,
 
 Jacob Kjome schrieb:
   A stack trace or some other error report would help.  It's a bit vague
   when you simply describe it.  Show the evidence and you will be more
   likely to get assistance.
 
 that's what I did yesterday, but got no response at all. Then I figured 
 I might have given too much information on the problem.
 
 So, here's the information on the problem:
 
 configuration: tomcat 5.0.28
 redhat linux 7.1
 vm: 1.4.2_03
 
 I'm trying to install tomcat 5.0. Everything works fine as far as using 
 the startup and shutdown scripts provided.
 
 However, when I try to start the server as a linux daemon with jsvc, the 
 server crashes.
 
 The catalina.out-log says:
 
 quote
 
 
 Another exception has been detected while we were handling last error.
 
 
 Dumping information about last error:
 ERROR REPORT FILE = (N/A)
 PC= 0x400b0646
 SIGNAL= 11
 FUNCTION NAME = (N/A)
 OFFSET= 0x
 LIBRARY NAME  = (N/A)
 Please check ERROR REPORT FILE for further information, if there is any.
 Good bye.
 pure virtual method called
 jsvc.exec error: Service exit with a return value of 255
 
 /quote
 
 But then again, if I remove the ajp connector entry in server.xml, jsvc 
 and the tomcat just work fine.
 
 If I try to start the server again after it has crashed once, the 
 catalina.out-log says:
 
 An unexpected exception has been detected in native code outside the VM.
 Unexpected Signal : 11 occurred at PC=0x400B0646
 Function=(null)+0x400B0646
 Library=/lib/i686/libc.so.6
 
 
 
 NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
 
 
 
 
 
 
 Current Java thread:
  at 
 org.apache.xerces.dom.DeferredDocumentImpl.getNodeObject(Unknown Source)
  at 
 org.apache.xerces.dom.DeferredDocumentImpl.synchronizeChildren(Unknown 
 Source)
  at 
 org.apache.xerces.dom.CoreDocumentImpl.getDocumentElement(Unknown Source)
  at 
 org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.execute(MbeansDescriptorsDOMSource.java:132)
  at 
 org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.loadDescriptors(MbeansDescriptorsDOMSource.java:120)
  at org.apache.commons.modeler.Registry.load(Registry.java:819)
  at 
 org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:931)
  at 
 org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:909)
  at 
 org.apache.commons.modeler.Registry.findDescriptor(Registry.java:992)
  at 
 org.apache.commons.modeler.Registry.findManagedBean(Registry.java:696)
  at 
 org.apache.commons.modeler.Registry.findManagedBean(Registry.java:1047)
  at 
 org.apache.commons.modeler.Registry.registerComponent(Registry.java:859)
  at 
 org.apache.commons.modeler.Registry.registerComponent(Registry.java:346)
  at 
 org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1514)
  at 
 org.apache.catalina.core.StandardService.start(StandardService.java:489)
  - locked 0x44cc7428 (a [Lorg.apache.catalina.Connector;)
  at 
 org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
  - locked 0x44ce5510 (a [Lorg.apache.catalina.Service;)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:324)
  at 
 org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:218)
 
 
 Does anyone have a clue?
 
 To me, this looks like a problem with jsvc and ajp.
 
 I do have another instance of 

tomcat 5.0.28 linux ajp server startup crash

2004-12-28 Thread Michael Kastner
Hello,
configuration: tomcat 5.0.28
   redhat linux 7.1
   vm: 1.4.2_03
I'm trying to install tomcat 5.0. Everything works fine as far as using 
the startup and shutdown scripts provided.

However, when I try to start the server as a linux daemon with jsvc, the 
server crashes.

The catalina.out-log says:
quote

Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC= 0x400b0646
SIGNAL= 11
FUNCTION NAME = (N/A)
OFFSET= 0x
LIBRARY NAME  = (N/A)
Please check ERROR REPORT FILE for further information, if there is any.
Good bye.
pure virtual method called
jsvc.exec error: Service exit with a return value of 255
/quote
But then again, if I remove the ajp connector entry in server.xml, jsvc 
and the tomcat just work fine.

If I try to start the server again after it has crashed once, the 
catalina.out-log says:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x400B0646
Function=(null)+0x400B0646
Library=/lib/i686/libc.so.6

NOTE: We are unable to locate the function name symbol for the error
  just occurred. Please refer to release documentation for possible
  reason and solutions.


Current Java thread:
at 
org.apache.xerces.dom.DeferredDocumentImpl.getNodeObject(Unknown Source)
at 
org.apache.xerces.dom.DeferredDocumentImpl.synchronizeChildren(Unknown 
Source)
at 
org.apache.xerces.dom.CoreDocumentImpl.getDocumentElement(Unknown Source)
at 
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.execute(MbeansDescriptorsDOMSource.java:132)
at 
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.loadDescriptors(MbeansDescriptorsDOMSource.java:120)
at org.apache.commons.modeler.Registry.load(Registry.java:819)
at 
org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:931)
at 
org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:909)
at 
org.apache.commons.modeler.Registry.findDescriptor(Registry.java:992)
at 
org.apache.commons.modeler.Registry.findManagedBean(Registry.java:696)
at 
org.apache.commons.modeler.Registry.findManagedBean(Registry.java:1047)
at 
org.apache.commons.modeler.Registry.registerComponent(Registry.java:859)
at 
org.apache.commons.modeler.Registry.registerComponent(Registry.java:346)
at 
org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1514)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:489)
- locked 0x44cc7428 (a [Lorg.apache.catalina.Connector;)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
- locked 0x44ce5510 (a [Lorg.apache.catalina.Service;)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:218)

Does anyone have a clue?
To me, this looks like a problem with jsvc and ajp.
I do have another instance of tomcat running on this system, but I've 
changed the port numbers.

Any hint or help is very much appreciated.
Michael Kastner
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JVM Crash

2004-12-28 Thread Rodrigo Schmidt
Amit, I am using a dedicated server.
Rodrigo
Amit Gupta wrote:
You are using User mode Linux or dedicated server?
Amit Gupta
Mobile: 91-9818052171
-Original Message-
From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 27, 2004 11:18 PM
To: tomcat-user@jakarta.apache.org
Subject: JVM Crash

Hello all,
I deployed Atlassian Jira Enterprise 3.0.3 in Tomcat 5.0.28 and I 
experienced two random JVM crashes in a period of one month. The strange 
part is that the crashes occured when the application was at a very low 
load, doing almost nothing.
I searched the archives for this topic, but I still can't figure out 
what could have caused these crashes.
I have no idea whether they are related to Jira, Tomcat, J2SDK or 
RedHat. I would like to isolate the problem, so that I can ask the 
proper vendor for support.
Below I will post information about my system and the JVM error logs, 
sorry for the long message.
Any help is greatly appreciated, thanks a lot.

Rodrigo
System:
Linux 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
Red Hat Enterprise Linux AS release 3 (Taroon)
Tomcat 5.0.28
java version 1.4.2_06
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Server VM (build 1.4.2_06-b03, mixed mode)
JAVA_OPTS=-server -Xmx512m
1GB RAM
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09
Error log 1:
Unexpected Signal : 11 occurred at PC=0xB7289E78
Function=(null)
Library=/usr/local/j2sdk1.4.2_06/jre/lib/i386/server/libjvm.so
NOTE: We are unable to locate the function name symbol for the error
 just occurred. Please refer to release documentation for possible
 reason and solutions.
Current Java thread:
   at java.lang.String.intern(Native Method)
   at java.lang.Class.searchMethods(Class.java:1877)
   at java.lang.Class.getDeclaredMethod(Class.java:1262)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.isJdk14Available(LogFactoryImpl.java:489)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogClassName(LogFactoryImpl.java:331)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:368)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
   at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
   at 
org.apache.commons.beanutils.ConvertUtilsBean.init(ConvertUtilsBean.java:130)
   at 
org.apache.commons.beanutils.BeanUtilsBean.init(BeanUtilsBean.java:110)
   at 
org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:68)
   at 
org.apache.commons.beanutils.ContextClassLoaderLocal.get(ContextClassLoaderLocal.java:80)
   - locked 0x925030d0 (a 
org.apache.commons.beanutils.BeanUtilsBean$1)
   at 
org.apache.commons.beanutils.BeanUtilsBean.getInstance(BeanUtilsBean.java:78)
   - locked 0xaeeb91a0 (a java.lang.Class)
   at 
org.apache.commons.beanutils.ConvertUtilsBean.getInstance(ConvertUtilsBean.java:115)
   at 
org.apache.commons.beanutils.ConvertUtils.convert(ConvertUtils.java:217)
   at 
org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:457)
   at org.apache.commons.digester.Rule.end(Rule.java:276)
   at 
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
   at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.apache.commons.digester.Digester.parse(Digester.java:1548)
   at 
org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:515)
   - locked 0x92641798 (a org.apache.commons.digester.Digester)
   at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:623)
   - locked 0x93a28f98 (a org.apache.catalina.startup.ContextConfig)
   at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)
   - locked 0x93a119f0 (a org.apache.catalina.core.StandardContext

RE: JVM Crash

2004-12-28 Thread Amit Gupta
I am facing similar problem on user mode Linux.

Amit Gupta
Mobile: 91-9818052171
Yahoo IM: amitguptainn
MSN IM : amitguptainn

-Original Message-
From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 28, 2004 5:05 PM
To: Tomcat Users List
Subject: Re: JVM Crash

Amit, I am using a dedicated server.

Rodrigo

Amit Gupta wrote:

You are using User mode Linux or dedicated server?

Amit Gupta
Mobile: 91-9818052171

-Original Message-
From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 27, 2004 11:18 PM
To: tomcat-user@jakarta.apache.org
Subject: JVM Crash

Hello all,

I deployed Atlassian Jira Enterprise 3.0.3 in Tomcat 5.0.28 and I 
experienced two random JVM crashes in a period of one month. The strange 
part is that the crashes occured when the application was at a very low 
load, doing almost nothing.
I searched the archives for this topic, but I still can't figure out 
what could have caused these crashes.
I have no idea whether they are related to Jira, Tomcat, J2SDK or 
RedHat. I would like to isolate the problem, so that I can ask the 
proper vendor for support.
Below I will post information about my system and the JVM error logs, 
sorry for the long message.
Any help is greatly appreciated, thanks a lot.

Rodrigo

System:
Linux 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
Red Hat Enterprise Linux AS release 3 (Taroon)
Tomcat 5.0.28
java version 1.4.2_06
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Server VM (build 1.4.2_06-b03, mixed mode)
JAVA_OPTS=-server -Xmx512m
1GB RAM
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09

Error log 1:
Unexpected Signal : 11 occurred at PC=0xB7289E78
Function=(null)
Library=/usr/local/j2sdk1.4.2_06/jre/lib/i386/server/libjvm.so

NOTE: We are unable to locate the function name symbol for the error
  just occurred. Please refer to release documentation for possible
  reason and solutions.


Current Java thread:
at java.lang.String.intern(Native Method)
at java.lang.Class.searchMethods(Class.java:1877)
at java.lang.Class.getDeclaredMethod(Class.java:1262)
at 
org.apache.commons.logging.impl.LogFactoryImpl.isJdk14Available(LogFactoryImpl.java:489)
at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogClassName(LogFactoryImpl.java:331)
at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:368)
at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at 
org.apache.commons.beanutils.ConvertUtilsBean.init(ConvertUtilsBean.java:130)
at 
org.apache.commons.beanutils.BeanUtilsBean.init(BeanUtilsBean.java:110)
at 
org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:68)
at 
org.apache.commons.beanutils.ContextClassLoaderLocal.get(ContextClassLoaderLocal.java:80)
- locked 0x925030d0 (a 
org.apache.commons.beanutils.BeanUtilsBean$1)
at 
org.apache.commons.beanutils.BeanUtilsBean.getInstance(BeanUtilsBean.java:78)
- locked 0xaeeb91a0 (a java.lang.Class)
at 
org.apache.commons.beanutils.ConvertUtilsBean.getInstance(ConvertUtilsBean.java:115)
at 
org.apache.commons.beanutils.ConvertUtils.convert(ConvertUtils.java:217)
at 
org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:457)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at 
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at 
org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:515)
- locked 0x92641798 (a org.apache.commons.digester.Digester)
at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:623)
- locked 0x93a28f98 (a org.apache.catalina.startup.ContextConfig

Tomcat 5 startup crash, please help

2004-12-28 Thread Michael Kastner
Hello,
I am desperate, for I have been trying to find a solution to this 
problem for two weeks now. Can anybody help me with this?

Tomcat 5 crashes as it is starting up using jsvc. It does not crash if I 
start Tomcat 5 as a regular application. It could be connected to struts 
and database connections, since it seems to be starting fine until the 
applications initialize the connections.

Any hint or help is very much appreciated
Michael Kastner
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat 5 startup crash, please help

2004-12-28 Thread Jacob Kjome
A stack trace or some other error report would help.  It's a bit vague when 
you simply describe it.  Show the evidence and you will be more likely to 
get assistance.

Jake
At 06:54 AM 12/29/2004 +0100, you wrote:
Hello,

I am desperate, for I have been trying to find a solution to this
problem for two weeks now. Can anybody help me with this?

Tomcat 5 crashes as it is starting up using jsvc. It does not crash if I
start Tomcat 5 as a regular application. It could be connected to struts
and database connections, since it seems to be starting fine until the
applications initialize the connections.

Any hint or help is very much appreciated

Michael Kastner


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Tomcat 5 startup crash, please help

2004-12-28 Thread Michael Kastner
Hello Jacob,
thanks for your reply,
Jacob Kjome schrieb:
 A stack trace or some other error report would help.  It's a bit vague
 when you simply describe it.  Show the evidence and you will be more
 likely to get assistance.
that's what I did yesterday, but got no response at all. Then I figured 
I might have given too much information on the problem.

So, here's the information on the problem:
configuration: tomcat 5.0.28
   redhat linux 7.1
   vm: 1.4.2_03
I'm trying to install tomcat 5.0. Everything works fine as far as using 
the startup and shutdown scripts provided.

However, when I try to start the server as a linux daemon with jsvc, the 
server crashes.

The catalina.out-log says:
quote

Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC= 0x400b0646
SIGNAL= 11
FUNCTION NAME = (N/A)
OFFSET= 0x
LIBRARY NAME  = (N/A)
Please check ERROR REPORT FILE for further information, if there is any.
Good bye.
pure virtual method called
jsvc.exec error: Service exit with a return value of 255
/quote
But then again, if I remove the ajp connector entry in server.xml, jsvc 
and the tomcat just work fine.

If I try to start the server again after it has crashed once, the 
catalina.out-log says:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x400B0646
Function=(null)+0x400B0646
Library=/lib/i686/libc.so.6

NOTE: We are unable to locate the function name symbol for the error
  just occurred. Please refer to release documentation for possible
  reason and solutions.


Current Java thread:
at 
org.apache.xerces.dom.DeferredDocumentImpl.getNodeObject(Unknown Source)
at 
org.apache.xerces.dom.DeferredDocumentImpl.synchronizeChildren(Unknown 
Source)
at 
org.apache.xerces.dom.CoreDocumentImpl.getDocumentElement(Unknown Source)
at 
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.execute(MbeansDescriptorsDOMSource.java:132)
at 
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.loadDescriptors(MbeansDescriptorsDOMSource.java:120)
at org.apache.commons.modeler.Registry.load(Registry.java:819)
at 
org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:931)
at 
org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:909)
at 
org.apache.commons.modeler.Registry.findDescriptor(Registry.java:992)
at 
org.apache.commons.modeler.Registry.findManagedBean(Registry.java:696)
at 
org.apache.commons.modeler.Registry.findManagedBean(Registry.java:1047)
at 
org.apache.commons.modeler.Registry.registerComponent(Registry.java:859)
at 
org.apache.commons.modeler.Registry.registerComponent(Registry.java:346)
at 
org.apache.coyote.tomcat5.CoyoteConnector.start(CoyoteConnector.java:1514)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:489)
- locked 0x44cc7428 (a [Lorg.apache.catalina.Connector;)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
- locked 0x44ce5510 (a [Lorg.apache.catalina.Service;)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:218)

Does anyone have a clue?
To me, this looks like a problem with jsvc and ajp.
I do have another instance of tomcat running on this system, but I've 
changed the port numbers.

Any hint or help is very much appreciated.
Michael Kastner
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


JVM Crash

2004-12-27 Thread Rodrigo Schmidt
Hello all,
I deployed Atlassian Jira Enterprise 3.0.3 in Tomcat 5.0.28 and I 
experienced two random JVM crashes in a period of one month. The strange 
part is that the crashes occured when the application was at a very low 
load, doing almost nothing.
I searched the archives for this topic, but I still can't figure out 
what could have caused these crashes.
I have no idea whether they are related to Jira, Tomcat, J2SDK or 
RedHat. I would like to isolate the problem, so that I can ask the 
proper vendor for support.
Below I will post information about my system and the JVM error logs, 
sorry for the long message.
Any help is greatly appreciated, thanks a lot.

Rodrigo
System:
Linux 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
Red Hat Enterprise Linux AS release 3 (Taroon)
Tomcat 5.0.28
java version 1.4.2_06
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Server VM (build 1.4.2_06-b03, mixed mode)
JAVA_OPTS=-server -Xmx512m
1GB RAM
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09
Error log 1:
Unexpected Signal : 11 occurred at PC=0xB7289E78
Function=(null)
Library=/usr/local/j2sdk1.4.2_06/jre/lib/i386/server/libjvm.so
NOTE: We are unable to locate the function name symbol for the error
 just occurred. Please refer to release documentation for possible
 reason and solutions.
Current Java thread:
   at java.lang.String.intern(Native Method)
   at java.lang.Class.searchMethods(Class.java:1877)
   at java.lang.Class.getDeclaredMethod(Class.java:1262)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.isJdk14Available(LogFactoryImpl.java:489)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogClassName(LogFactoryImpl.java:331)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:368)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
   at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
   at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
   at 
org.apache.commons.beanutils.ConvertUtilsBean.init(ConvertUtilsBean.java:130)
   at 
org.apache.commons.beanutils.BeanUtilsBean.init(BeanUtilsBean.java:110)
   at 
org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:68)
   at 
org.apache.commons.beanutils.ContextClassLoaderLocal.get(ContextClassLoaderLocal.java:80)
   - locked 0x925030d0 (a 
org.apache.commons.beanutils.BeanUtilsBean$1)
   at 
org.apache.commons.beanutils.BeanUtilsBean.getInstance(BeanUtilsBean.java:78)
   - locked 0xaeeb91a0 (a java.lang.Class)
   at 
org.apache.commons.beanutils.ConvertUtilsBean.getInstance(ConvertUtilsBean.java:115)
   at 
org.apache.commons.beanutils.ConvertUtils.convert(ConvertUtils.java:217)
   at 
org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:457)
   at org.apache.commons.digester.Rule.end(Rule.java:276)
   at 
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
   at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown 
Source)
   at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.apache.commons.digester.Digester.parse(Digester.java:1548)
   at 
org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:515)
   - locked 0x92641798 (a org.apache.commons.digester.Digester)
   at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:623)
   - locked 0x93a28f98 (a org.apache.catalina.startup.ContextConfig)
   at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
   at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)
   - locked 0x93a119f0 (a org.apache.catalina.core.StandardContext)
   at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
   - locked 0x92598d40 (a java.util.HashMap)
   at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
   at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
   at 

Re: JVM Crash

2004-12-27 Thread Wade Chandler
Rodrigo Schmidt wrote:
snip
Local Time = Sun Dec 26 13:39:24 2004
Elapsed Time = 437787
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_06-b03 mixed mode)
#
/snip
From the logs it looks like some code is exploiting a bug in the JVM. 
The first place I would search is the JVM bug database...
http://bugs.sun.com/bugdatabase/index.jsp

See if you can find anything relative to the information given.  Also 
look for the error id.  The next thing to do if you do not find the bug 
is to report it.

You can find other options to fix the issue here:
http://bugs.sun.com/services/bugreport/index.jsp
Wade
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JVM Crash

2004-12-27 Thread Wade Chandler
Wade Chandler wrote:
Rodrigo Schmidt wrote:
snip
Local Time = Sun Dec 26 13:39:24 2004
Elapsed Time = 437787
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_06-b03 mixed mode)
#
/snip
 From the logs it looks like some code is exploiting a bug in the JVM. 
The first place I would search is the JVM bug database...
http://bugs.sun.com/bugdatabase/index.jsp

See if you can find anything relative to the information given.  Also 
look for the error id.  The next thing to do if you do not find the bug 
is to report it.

You can find other options to fix the issue here:
http://bugs.sun.com/services/bugreport/index.jsp
Wade
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Looking at the bugreports it looks like you might try to drop the 
-server from your startup and see if you can at least stay up and 
running.  All the bug reports I saw for this error were caused by the 
server vm.

Wade
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JVM Crash

2004-12-27 Thread Rodrigo Schmidt
Hi Wade, thanks for your reply.
I already reported the bug, but they can take a long time to send an answer.
Searching the bug database I found some posts that reported the problem 
happening with the client vm as well.
I am considering trying another vm. I've just tested BEA JRockit 
1.4.2_05, but it seems that Jira doesn't like it that much, or 
vice-versa : )
So, does anyone has experience with Tomcat 5.0.x running on JDK 1.5? Are 
there performace/stability issues?
Thanks in advance,

Rodrigo
Wade Chandler wrote:
Wade Chandler wrote:
Rodrigo Schmidt wrote:
snip
Local Time = Sun Dec 26 13:39:24 2004
Elapsed Time = 437787
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_06-b03 mixed mode)
#
/snip
 From the logs it looks like some code is exploiting a bug in the 
JVM. The first place I would search is the JVM bug database...
http://bugs.sun.com/bugdatabase/index.jsp

See if you can find anything relative to the information given.  Also 
look for the error id.  The next thing to do if you do not find the 
bug is to report it.

You can find other options to fix the issue here:
http://bugs.sun.com/services/bugreport/index.jsp
Wade
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Looking at the bugreports it looks like you might try to drop the 
-server from your startup and see if you can at least stay up and 
running.  All the bug reports I saw for this error were caused by the 
server vm.

Wade
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: JVM Crash

2004-12-27 Thread Wade Chandler
Rodrigo Schmidt wrote:
Hi Wade, thanks for your reply.
I already reported the bug, but they can take a long time to send an 
answer.
Searching the bug database I found some posts that reported the problem 
happening with the client vm as well.
I am considering trying another vm. I've just tested BEA JRockit 
1.4.2_05, but it seems that Jira doesn't like it that much, or 
vice-versa : )
So, does anyone has experience with Tomcat 5.0.x running on JDK 1.5? Are 
there performace/stability issues?
Thanks in advance,

Rodrigo
Wade Chandler wrote:
Wade Chandler wrote:
Rodrigo Schmidt wrote:
snip
Local Time = Sun Dec 26 13:39:24 2004
Elapsed Time = 437787
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_06-b03 mixed mode)
#
/snip
 From the logs it looks like some code is exploiting a bug in the 
JVM. The first place I would search is the JVM bug database...
http://bugs.sun.com/bugdatabase/index.jsp

See if you can find anything relative to the information given.  Also 
look for the error id.  The next thing to do if you do not find the 
bug is to report it.

You can find other options to fix the issue here:
http://bugs.sun.com/services/bugreport/index.jsp
Wade
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Looking at the bugreports it looks like you might try to drop the 
-server from your startup and see if you can at least stay up and 
running.  All the bug reports I saw for this error were caused by the 
server vm.

Wade
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

I'm not sure if version 5.0.x will run with JDK1.5 or not.  I think I've 
seen where it will not.  I might be wrong.  It might have been 5.5.x 
won't run on 1.4.x vms  If I were you I would try not specifying 
server and at least see how it behaves before I tried something else.

Wade
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: JVM Crash

2004-12-27 Thread Amit Gupta
You are using User mode Linux or dedicated server?

Amit Gupta
Mobile: 91-9818052171

-Original Message-
From: Rodrigo Schmidt [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 27, 2004 11:18 PM
To: tomcat-user@jakarta.apache.org
Subject: JVM Crash

Hello all,

I deployed Atlassian Jira Enterprise 3.0.3 in Tomcat 5.0.28 and I 
experienced two random JVM crashes in a period of one month. The strange 
part is that the crashes occured when the application was at a very low 
load, doing almost nothing.
I searched the archives for this topic, but I still can't figure out 
what could have caused these crashes.
I have no idea whether they are related to Jira, Tomcat, J2SDK or 
RedHat. I would like to isolate the problem, so that I can ask the 
proper vendor for support.
Below I will post information about my system and the JVM error logs, 
sorry for the long message.
Any help is greatly appreciated, thanks a lot.

Rodrigo

System:
Linux 2.4.21-4.EL #1 Fri Oct 3 18:13:58 EDT 2003 i686 i686 i386 GNU/Linux
Red Hat Enterprise Linux AS release 3 (Taroon)
Tomcat 5.0.28
java version 1.4.2_06
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Server VM (build 1.4.2_06-b03, mixed mode)
JAVA_OPTS=-server -Xmx512m
1GB RAM
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 09

Error log 1:
Unexpected Signal : 11 occurred at PC=0xB7289E78
Function=(null)
Library=/usr/local/j2sdk1.4.2_06/jre/lib/i386/server/libjvm.so

NOTE: We are unable to locate the function name symbol for the error
  just occurred. Please refer to release documentation for possible
  reason and solutions.


Current Java thread:
at java.lang.String.intern(Native Method)
at java.lang.Class.searchMethods(Class.java:1877)
at java.lang.Class.getDeclaredMethod(Class.java:1262)
at 
org.apache.commons.logging.impl.LogFactoryImpl.isJdk14Available(LogFactoryImpl.java:489)
at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogClassName(LogFactoryImpl.java:331)
at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:368)
at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at 
org.apache.commons.beanutils.ConvertUtilsBean.init(ConvertUtilsBean.java:130)
at 
org.apache.commons.beanutils.BeanUtilsBean.init(BeanUtilsBean.java:110)
at 
org.apache.commons.beanutils.BeanUtilsBean$1.initialValue(BeanUtilsBean.java:68)
at 
org.apache.commons.beanutils.ContextClassLoaderLocal.get(ContextClassLoaderLocal.java:80)
- locked 0x925030d0 (a 
org.apache.commons.beanutils.BeanUtilsBean$1)
at 
org.apache.commons.beanutils.BeanUtilsBean.getInstance(BeanUtilsBean.java:78)
- locked 0xaeeb91a0 (a java.lang.Class)
at 
org.apache.commons.beanutils.ConvertUtilsBean.getInstance(ConvertUtilsBean.java:115)
at 
org.apache.commons.beanutils.ConvertUtils.convert(ConvertUtils.java:217)
at 
org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:457)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at 
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at 
org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig.java:515)
- locked 0x92641798 (a org.apache.commons.digester.Digester)
at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:623)
- locked 0x93a28f98 (a org.apache.catalina.startup.ContextConfig)
at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)
- locked 0x93a119f0 (a org.apache.catalina.core.StandardContext)
at 
org.apache.catalina.core.ContainerBase.addChildInternal

TOMCAT 5.0.2 CRASH Installation on NT4

2004-11-03 Thread Hauberoche, Patrick
Hi,

problem
When I configure TOMCAT as service on Window NT4 pack6, there is a crash on
Winnt file ! ! !. And when I configure Tomcat in the start menu, it works !

Do you know this problem ? is there a link if the NT is virtual ?

patrick


RE: filter config cause startup crash on Tomcat 5

2004-10-20 Thread Didier McGillis
the filter Tomcat no likie :)
not sure what it is, any other suggestions.
From: Phillip Qin [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5
Date: Tue, 19 Oct 2004 16:48:09 -0400
Try url-pattern /s.../*
-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: October 19, 2004 4:31 PM
To: [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5
What order should it come in.
Its near the top of the list.
From: Phillip Qin [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5
Date: Tue, 19 Oct 2004 16:26:39 -0400

Check the order in web.xml.



-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: October 19, 2004 4:19 PM
To: [EMAIL PROTECTED]
Subject: filter config cause startup crash on Tomcat 5


I have created a DetectBrowser servlet to not allow certain browsers
into the sillyApe directory/url. I wanted to use it as a filter rather
then having to call it in each jsp since people can get to almost every
page in the sillyApe directory without going through a single page,
just thought it would be easier, as well as other issues.  Anyway I am
trying to figure out why I get a SEVERE: Error filterStart from Tomcat
when I start it back up.

HELP!!!

filter
filter-nameDetectBrowser/filter-name
filter-classcom.dtribe.logic.DetectBrowser/filter-class
/filter
filter-mapping
filter-nameDetectBrowser/filter-name
url-pattern/sillyApe/url-pattern
/filter-mapping


HELP???

_
Powerful Parental Controls Let your child discover the best the
Internet
has

to offer.
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034S
U=htt
p://hotmail.com/encaHL=Market_MSNIS_Taglines
   Start enjoying all the benefits of MSN(r) Premium right now and get 
the
first two months FREE*.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




_
Take advantage of powerful junk e-mail filters built on patented
Microsoft(r)
SmartScreen Technology.
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=htt
p://hotmail.com/encaHL=Market_MSNIS_Taglines
  Start enjoying all the benefits of MSN(r) Premium right now and get the
first two months FREE*.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
!DSPAM:4175798a322115253112009!
_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: filter config cause startup crash on Tomcat 5

2004-10-20 Thread Phillip Qin
Have you changed it to url-pattern/sillyApe/*/url-pattern? BTW, post the
error log.

-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED] 
Sent: October 20, 2004 8:17 AM
To: [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5


the filter Tomcat no likie :)

not sure what it is, any other suggestions.

From: Phillip Qin [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5
Date: Tue, 19 Oct 2004 16:48:09 -0400

Try url-pattern /s.../*

-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: October 19, 2004 4:31 PM
To: [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5


What order should it come in.
Its near the top of the list.

 From: Phillip Qin [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Subject: RE: filter config cause startup crash on Tomcat 5
 Date: Tue, 19 Oct 2004 16:26:39 -0400
 
 Check the order in web.xml.
 
 
 
 -Original Message-
 From: Didier McGillis [mailto:[EMAIL PROTECTED]
 Sent: October 19, 2004 4:19 PM
 To: [EMAIL PROTECTED]
 Subject: filter config cause startup crash on Tomcat 5
 
 
 I have created a DetectBrowser servlet to not allow certain browsers 
 into the sillyApe directory/url. I wanted to use it as a filter 
 rather then having to call it in each jsp since people can get to 
 almost every page in the sillyApe directory without going through a 
 single page, just thought it would be easier, as well as other 
 issues.  Anyway I am trying to figure out why I get a SEVERE: Error 
 filterStart from Tomcat when I start it back up.
 
 HELP!!!
 
 filter
 filter-nameDetectBrowser/filter-name
 filter-classcom.dtribe.logic.DetectBrowser/filter-class
 /filter
 filter-mapping
 filter-nameDetectBrowser/filter-name
 url-pattern/sillyApe/url-pattern
 /filter-mapping
 
 
 HELP???
 
 _
 Powerful Parental Controls Let your child discover the best the 
 Internet has
 
 to offer. 
 http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034
 S
 U=htt
 p://hotmail.com/encaHL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN(r) Premium right now and get 
the
 first two months FREE*.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

_
Take advantage of powerful junk e-mail filters built on patented
Microsoft(r)
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034S
U=htt
p://hotmail.com/encaHL=Market_MSNIS_Taglines
   Start enjoying all the benefits of MSN(r) Premium right now and get the
first two months FREE*.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




_
Take advantage of powerful junk e-mail filters built on patented
Microsoft(r) 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=htt
p://hotmail.com/encaHL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN(r) Premium right now and get the 
first two months FREE*.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:4176578399142061846259!


RE: filter config cause startup crash on Tomcat 5

2004-10-20 Thread Didier McGillis
Got it!  Stupid error.
thanks
From: Phillip Qin [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5
Date: Wed, 20 Oct 2004 09:57:48 -0400
Have you changed it to url-pattern/sillyApe/*/url-pattern? BTW, post 
the
error log.

-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: October 20, 2004 8:17 AM
To: [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5
the filter Tomcat no likie :)
not sure what it is, any other suggestions.
From: Phillip Qin [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5
Date: Tue, 19 Oct 2004 16:48:09 -0400

Try url-pattern /s.../*

-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: October 19, 2004 4:31 PM
To: [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5


What order should it come in.
Its near the top of the list.

 From: Phillip Qin [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Subject: RE: filter config cause startup crash on Tomcat 5
 Date: Tue, 19 Oct 2004 16:26:39 -0400
 
 Check the order in web.xml.
 
 
 
 -Original Message-
 From: Didier McGillis [mailto:[EMAIL PROTECTED]
 Sent: October 19, 2004 4:19 PM
 To: [EMAIL PROTECTED]
 Subject: filter config cause startup crash on Tomcat 5
 
 
 I have created a DetectBrowser servlet to not allow certain browsers
 into the sillyApe directory/url. I wanted to use it as a filter
 rather then having to call it in each jsp since people can get to
 almost every page in the sillyApe directory without going through a
 single page, just thought it would be easier, as well as other
 issues.  Anyway I am trying to figure out why I get a SEVERE: Error
 filterStart from Tomcat when I start it back up.
 
 HELP!!!
 
 filter
 filter-nameDetectBrowser/filter-name
 filter-classcom.dtribe.logic.DetectBrowser/filter-class
 /filter
 filter-mapping
 filter-nameDetectBrowser/filter-name
 url-pattern/sillyApe/url-pattern
 /filter-mapping
 
 
 HELP???
 
 _
 Powerful Parental Controls Let your child discover the best the
 Internet has
 
 to offer.
 http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034
 S
 U=htt
 p://hotmail.com/encaHL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN(r) Premium right now and get
the
 first two months FREE*.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

_
Take advantage of powerful junk e-mail filters built on patented
Microsoft(r)
SmartScreen Technology.
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034S
U=htt
p://hotmail.com/encaHL=Market_MSNIS_Taglines
   Start enjoying all the benefits of MSN(r) Premium right now and get 
the
first two months FREE*.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




_
Take advantage of powerful junk e-mail filters built on patented
Microsoft(r)
SmartScreen Technology.
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=htt
p://hotmail.com/encaHL=Market_MSNIS_Taglines
  Start enjoying all the benefits of MSN(r) Premium right now and get the
first two months FREE*.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
!DSPAM:4176578399142061846259!
_
Take charge with a pop-up guard built on patented Microsoft® SmartScreen 
Technology  
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat crash on mac os X

2004-10-19 Thread Edoardo Panfili
Shapira, Yoav wrote:
Hi,
Logs look fine.  A couple of things: 
- 5.0.25 is not the latest stable release.  Upgrade to 5.0.28 and try to
reproduce the problem.
- Strip away anything that's not essential.  For example, if you don't
need them, remove the Tomcat examples, docs, admin, manager, balancer
webapps.  Comment out any Connectors, Valves, Realms, and Resources that
you're not using from server.xml.  This will help isolate the problem,
if any.
I did a complete new install of tomcat 5.0.28, in webaps dir: there are only
ROOT and my application.
I am doing some stress on the system but removing balancer (I did it anyway)
has caused an exception in catalina.out (is at the end of the mail).
Afer 200 queries the system is still alive... but it does not souds
encouraging for me. The crash was not easily reproducible.
 server.xml
Server port=8005 shutdown=SHUTDOWN debug=0
  Service name=Catalina
Connector port=8080
   maxThreads=150 minSpareThreads=25 maxSpareThreads=75
   enableLookups=false redirectPort=8443 acceptCount=100
   debug=0 connectionTimeout=2
   disableUploadTimeout=true /
Engine name=Catalina defaultHost=localhost debug=0
  Logger className=org.apache.catalina.logger.FileLogger
  prefix=catalina_log. suffix=.txt
  timestamp=true/
  Host name=localhost debug=0 appBase=webapps
  unpackWARs=true autoDeploy=true
  xmlValidation=false xmlNamespaceAware=false
Logger className=org.apache.catalina.logger.FileLogger
directory=logs  prefix=localhost_log. suffix=.txt
timestamp=true/
Context path=/GuiDeBook docBase=GuiDeBook debug=5 reloadable=true /
  /Host
/Engine
  /Service
/Server
=
What JDK are you using, and if there are any Mac OS-level patches
required for it, are they installed?  Is there a core dump file and/or
and hs_err_ file in the running directory of the JVM when it
crashes?  The latter two would indicate an internal JVM crash (not a
Tomcat problem).
java version 1.4.2_05
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.3)
Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)
the lastest available.
I did a find / -name hs_err*  (and the same with core or dump)
but I can't find any file.
I don't how I can determine the running directory of the JVM.
Thanks a lot for your help, if I can do more tests please tell me how.
Tank you again
Edoardo Panfili


 catalina.out [part]==
GRAVE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /usr/local/tomcat/webapps/balancer 
does not exist or is not a readable directory
at 
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
at 
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3910)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4138)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
at 
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1567

RE: tomcat crash on mac os X

2004-10-19 Thread Shapira, Yoav

Hi,

has caused an exception in catalina.out (is at the end of the mail).
Afer 200 queries the system is still alive... but it does not souds
encouraging for me. The crash was not easily reproducible.

Well, I'm glad it's still alive ;)

   Host name=localhost debug=0 appBase=webapps
   unpackWARs=true autoDeploy=true
   xmlValidation=false xmlNamespaceAware=false
 Logger className=org.apache.catalina.logger.FileLogger
 directory=logs  prefix=localhost_log.
suffix=.txt
 timestamp=true/
 Context path=/GuiDeBook docBase=GuiDeBook debug=5
reloadable=true /

One minor note here: autoDeploy=true AND an explicit Context
declaration are usually not what you want.  It's usually either/or.

I did a find / -name hs_err*  (and the same with core or dump)
but I can't find any file.
I don't how I can determine the running directory of the JVM.

It's the directory from which you run startup.bat or startup.sh.

GRAVE: Error starting static Resources
java.lang.IllegalArgumentException: Document base
/usr/local/tomcat/webapps/balancer does not exist or is not a readable
directory

Oh, when you remove the balancer webapp directory make sure to also
remove the balancer.xml configuration file at conf/Catalina/localhost.

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat crash on mac os X

2004-10-19 Thread Edoardo Panfili
Shapira, Yoav wrote:
Hi,

has caused an exception in catalina.out (is at the end of the mail).
Afer 200 queries the system is still alive... but it does not souds
encouraging for me. The crash was not easily reproducible.

Well, I'm glad it's still alive ;)
someone has killed tomcat again!
=system.log=
Oct 19 17:45:40 vnr xinetd[378]: service ssh, IPV6_ADDRFORM setsockopt() failed: 
Protocol not available (errno = 42)
Oct 19 17:45:40 vnr xinetd[378]: START: ssh pid=20180 from=81.75.118.147
Oct 19 17:45:47 vnr sshd[20180]: reverse mapping checking getaddrinfo for 
host147-118.pool8175.interbusiness.it failed - POSSIBLE BREAKIN ATTEMPT!
Oct 19 17:45:51 vnr sshd[20180]: Accepted password for root from 81.75.118.147 port 
19850 ssh2
Ott 19 17:54:28 vnr /usr/bin/java: An error report file has been saved as 
/Library/Logs/JavaNativeCrash_pid20156.log.  Please refer to the file for further 
information.
Oct 19 17:54:31 vnr crashdump: Unable to determine CPSProcessSerNum pid: 20156 name: 
java
Oct 19 17:54:31 vnr crashdump: Started writing crash report to: 
/Library/Logs/CrashReporter/java.crash.log
Oct 19 17:54:32 vnr crashdump: Finished writing crash report to: 
/Library/Logs/CrashReporter/java.crash.log

If the crash report can be useful:  http://elrond.aspix.it/crash.html
the uncredible thing (for me) is that the last executed operations was
function cals and assignments.
edoardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat crash on mac os X

2004-10-19 Thread Mark Lowe
I've been running tomcat in the same version of osx, only in a staging 
environment and on this machine (dev environment).

All works fine..
Have you tries installing the developer tools to make sure that its not 
 gcc problems..

I haven't looked closely but seems like you java installation could be 
the problem..

a presto
Mark
On 19 Oct 2004, at 19:32, Edoardo Panfili wrote:
Shapira, Yoav wrote:
Hi,
has caused an exception in catalina.out (is at the end of the mail).
Afer 200 queries the system is still alive... but it does not souds
encouraging for me. The crash was not easily reproducible.
Well, I'm glad it's still alive ;)
someone has killed tomcat again!
=system.log=
Oct 19 17:45:40 vnr xinetd[378]: service ssh, IPV6_ADDRFORM 
setsockopt() failed: Protocol not available (errno = 42)
Oct 19 17:45:40 vnr xinetd[378]: START: ssh pid=20180 
from=81.75.118.147
Oct 19 17:45:47 vnr sshd[20180]: reverse mapping checking getaddrinfo 
for host147-118.pool8175.interbusiness.it failed - POSSIBLE BREAKIN 
ATTEMPT!
Oct 19 17:45:51 vnr sshd[20180]: Accepted password for root from 
81.75.118.147 port 19850 ssh2
Ott 19 17:54:28 vnr /usr/bin/java: An error report file has been saved 
as /Library/Logs/JavaNativeCrash_pid20156.log.  Please refer to the 
file for further information.
Oct 19 17:54:31 vnr crashdump: Unable to determine CPSProcessSerNum 
pid: 20156 name: java
Oct 19 17:54:31 vnr crashdump: Started writing crash report to: 
/Library/Logs/CrashReporter/java.crash.log
Oct 19 17:54:32 vnr crashdump: Finished writing crash report to: 
/Library/Logs/CrashReporter/java.crash.log


If the crash report can be useful:  http://elrond.aspix.it/crash.html
the uncredible thing (for me) is that the last executed operations was
function cals and assignments.
edoardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat crash on mac os X

2004-10-19 Thread Edoardo Panfili
Mark Lowe wrote:
I've been running tomcat in the same version of osx, only in a staging 
environment and on this machine (dev environment).

All works fine..
All works fine also for me, sometimes things goes wrong when I try to use
javax.imageio.

Have you tries installing the developer tools to make sure that its not 
 gcc problems..
I am sorry for the question that may seems stupid but: in which way gcc
is related with java?
thanks
edoardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat crash on mac os X

2004-10-19 Thread Mark Lowe
I am sorry for the question that may seems stupid but: in which way gcc
is related with java?
Well java sits on a bunch of c libraries, and at a glance your errors 
looked like they were happening at that level. gcc isn't directly 
related, i meant more the libraries that are installed with it and the 
dev tools..

Beyond that I've never seen what your getting..
On 19 Oct 2004, at 20:28, Edoardo Panfili wrote:
Mark Lowe wrote:
I've been running tomcat in the same version of osx, only in a 
staging environment and on this machine (dev environment).
All works fine..
All works fine also for me, sometimes things goes wrong when I try to 
use
javax.imageio.


Have you tries installing the developer tools to make sure that its 
not  gcc problems..
I am sorry for the question that may seems stupid but: in which way gcc
is related with java?
thanks
edoardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat crash on mac os X

2004-10-19 Thread Edoardo Panfili
Mark Lowe wrote:
Well java sits on a bunch of c libraries, and at a glance your errors 
looked like they were happening at that level.
I agree with you.
gcc isn't directly 
related, i meant more the libraries that are installed with it and the 
dev tools..
I verified on my server, gcc is on it.
But, if not, and if java uses an absent library the error must occur all
the times when I (or better java at a lower level) uses the library I think.
In the meanwhile I have filled a bug report at Apple.
thanks again
Edoardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat crash on mac os X

2004-10-19 Thread David Smith
I don't run tomcat on my mac os x powerbook, but I have had trouble with 
netbeans crashing unexpectedly.  I think the jdk provided by Apple isn't 
as stable as it should be.  Just my observation.

--David
Mark Lowe wrote:
I've been running tomcat in the same version of osx, only in a staging 
environment and on this machine (dev environment).

All works fine..
Have you tries installing the developer tools to make sure that its 
not  gcc problems..

I haven't looked closely but seems like you java installation could be 
the problem..

a presto
Mark
On 19 Oct 2004, at 19:32, Edoardo Panfili wrote:
Shapira, Yoav wrote:
Hi,
has caused an exception in catalina.out (is at the end of the mail).
Afer 200 queries the system is still alive... but it does not souds
encouraging for me. The crash was not easily reproducible.
Well, I'm glad it's still alive ;)

someone has killed tomcat again!
=system.log=
Oct 19 17:45:40 vnr xinetd[378]: service ssh, IPV6_ADDRFORM 
setsockopt() failed: Protocol not available (errno = 42)
Oct 19 17:45:40 vnr xinetd[378]: START: ssh pid=20180 from=81.75.118.147
Oct 19 17:45:47 vnr sshd[20180]: reverse mapping checking getaddrinfo 
for host147-118.pool8175.interbusiness.it failed - POSSIBLE BREAKIN 
ATTEMPT!
Oct 19 17:45:51 vnr sshd[20180]: Accepted password for root from 
81.75.118.147 port 19850 ssh2
Ott 19 17:54:28 vnr /usr/bin/java: An error report file has been 
saved as /Library/Logs/JavaNativeCrash_pid20156.log.  Please refer to 
the file for further information.
Oct 19 17:54:31 vnr crashdump: Unable to determine CPSProcessSerNum 
pid: 20156 name: java
Oct 19 17:54:31 vnr crashdump: Started writing crash report to: 
/Library/Logs/CrashReporter/java.crash.log
Oct 19 17:54:32 vnr crashdump: Finished writing crash report to: 
/Library/Logs/CrashReporter/java.crash.log


If the crash report can be useful:  http://elrond.aspix.it/crash.html
the uncredible thing (for me) is that the last executed operations was
function cals and assignments.
edoardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


filter config cause startup crash on Tomcat 5

2004-10-19 Thread Didier McGillis
I have created a DetectBrowser servlet to not allow certain browsers into 
the sillyApe directory/url.
I wanted to use it as a filter rather then having to call it in each jsp 
since people can get to almost every page in the sillyApe directory without 
going through a single page, just thought it would be easier, as well as 
other issues.  Anyway I am trying to figure out why I get a SEVERE: Error 
filterStart from Tomcat when I start it back up.

HELP!!!
filter
filter-nameDetectBrowser/filter-name
filter-classcom.dtribe.logic.DetectBrowser/filter-class
/filter
filter-mapping
filter-nameDetectBrowser/filter-name
url-pattern/sillyApe/url-pattern
/filter-mapping
HELP???
_
Powerful Parental Controls Let your child discover the best the Internet has 
to offer. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: filter config cause startup crash on Tomcat 5

2004-10-19 Thread Phillip Qin
Check the order in web.xml.



-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED] 
Sent: October 19, 2004 4:19 PM
To: [EMAIL PROTECTED]
Subject: filter config cause startup crash on Tomcat 5


I have created a DetectBrowser servlet to not allow certain browsers into 
the sillyApe directory/url.
I wanted to use it as a filter rather then having to call it in each jsp 
since people can get to almost every page in the sillyApe directory without 
going through a single page, just thought it would be easier, as well as 
other issues.  Anyway I am trying to figure out why I get a SEVERE: Error 
filterStart from Tomcat when I start it back up.

HELP!!!

filter
filter-nameDetectBrowser/filter-name
filter-classcom.dtribe.logic.DetectBrowser/filter-class
/filter
filter-mapping
filter-nameDetectBrowser/filter-name
url-pattern/sillyApe/url-pattern
/filter-mapping


HELP???

_
Powerful Parental Controls Let your child discover the best the Internet has

to offer. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=htt
p://hotmail.com/encaHL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN(r) Premium right now and get the 
first two months FREE*.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:417576cc321718886279614!


RE: filter config cause startup crash on Tomcat 5

2004-10-19 Thread Didier McGillis
What order should it come in.
Its near the top of the list.
From: Phillip Qin [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5
Date: Tue, 19 Oct 2004 16:26:39 -0400
Check the order in web.xml.

-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: October 19, 2004 4:19 PM
To: [EMAIL PROTECTED]
Subject: filter config cause startup crash on Tomcat 5
I have created a DetectBrowser servlet to not allow certain browsers into
the sillyApe directory/url.
I wanted to use it as a filter rather then having to call it in each jsp
since people can get to almost every page in the sillyApe directory without
going through a single page, just thought it would be easier, as well as
other issues.  Anyway I am trying to figure out why I get a SEVERE: Error
filterStart from Tomcat when I start it back up.
HELP!!!
filter
filter-nameDetectBrowser/filter-name
filter-classcom.dtribe.logic.DetectBrowser/filter-class
/filter
filter-mapping
filter-nameDetectBrowser/filter-name
url-pattern/sillyApe/url-pattern
/filter-mapping
HELP???
_
Powerful Parental Controls Let your child discover the best the Internet 
has

to offer.
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=htt
p://hotmail.com/encaHL=Market_MSNIS_Taglines
  Start enjoying all the benefits of MSN(r) Premium right now and get the
first two months FREE*.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
!DSPAM:417576cc321718886279614!
_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=http://hotmail.com/encaHL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: filter config cause startup crash on Tomcat 5

2004-10-19 Thread Phillip Qin
Try url-pattern /s.../*

-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED] 
Sent: October 19, 2004 4:31 PM
To: [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5


What order should it come in.
Its near the top of the list.

From: Phillip Qin [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: filter config cause startup crash on Tomcat 5
Date: Tue, 19 Oct 2004 16:26:39 -0400

Check the order in web.xml.



-Original Message-
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: October 19, 2004 4:19 PM
To: [EMAIL PROTECTED]
Subject: filter config cause startup crash on Tomcat 5


I have created a DetectBrowser servlet to not allow certain browsers 
into the sillyApe directory/url. I wanted to use it as a filter rather 
then having to call it in each jsp since people can get to almost every 
page in the sillyApe directory without going through a single page, 
just thought it would be easier, as well as other issues.  Anyway I am 
trying to figure out why I get a SEVERE: Error filterStart from Tomcat 
when I start it back up.

HELP!!!

filter
filter-nameDetectBrowser/filter-name
filter-classcom.dtribe.logic.DetectBrowser/filter-class
/filter
filter-mapping
filter-nameDetectBrowser/filter-name
url-pattern/sillyApe/url-pattern
/filter-mapping


HELP???

_
Powerful Parental Controls Let your child discover the best the 
Internet
has

to offer. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034S
U=htt
p://hotmail.com/encaHL=Market_MSNIS_Taglines
   Start enjoying all the benefits of MSN(r) Premium right now and get the
first two months FREE*.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




_
Take advantage of powerful junk e-mail filters built on patented
Microsoft(r) 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-capage=byoa/premxAPID=1994DI=1034SU=htt
p://hotmail.com/encaHL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN(r) Premium right now and get the 
first two months FREE*.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:4175798a322115253112009!


RE: tomcat crash on mac os X

2004-10-18 Thread Shapira, Yoav

Hi,
Logs look fine.  A couple of things:
- 5.0.25 is not the latest stable release.  Upgrade to 5.0.28 and try to
reproduce the problem.
- Strip away anything that's not essential.  For example, if you don't
need them, remove the Tomcat examples, docs, admin, manager, balancer
webapps.  Comment out any Connectors, Valves, Realms, and Resources that
you're not using from server.xml.  This will help isolate the problem,
if any.

What JDK are you using, and if there are any Mac OS-level patches
required for it, are they installed?  Is there a core dump file and/or
and hs_err_ file in the running directory of the JVM when it
crashes?  The latter two would indicate an internal JVM crash (not a
Tomcat problem).

Yoav Shapira http://www.yoavshapira.com


-Original Message-
From: Edoardo Panfili [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 16, 2004 3:08 AM
To: Tomcat Users List
Subject: Re: tomcat crash on mac os X

Ben Souther wrote:
In witch way I can be more precise?

 By posting your log files.


The time of the crash comes from a custom log file from my application:
12 October 2004 17:09:38 (last log of my application,
in a good situation this will be followed by other messages)

Sever (manual) restart at: 12 October 2004 17:22:04

 from catalina.out [a part of the file]
===
12-ott-2004 11.31.06 org.apache.catalina.core.StandardHostDeployer
remove
INFO: Removing web application at context path /tomcat-docs
12-ott-2004 11.31.06 org.apache.catalina.core.StandardHostDeployer
remove
INFO: Removing web application at context path
12-ott-2004 11.31.06 org.apache.catalina.core.StandardHostDeployer
remove
INFO: Removing web application at context path /manager
12-ott-2004 11.31.06 org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger,host=localhost
12-ott-2004 11.31.06 org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger
12-ott-2004 11.31.06 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
12-ott-2004 11.31.12 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
12-ott-2004 11.31.12 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1322 ms
12-ott-2004 11.31.12 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
12-ott-2004 11.31.12 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.25
12-ott-2004 11.31.12 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
12-ott-2004 11.31.13 argentaroggia.filtri.FConnessione init
GRAVE: Creato nuovo gruppo di connessioni
12-ott-2004 11.31.17 org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
12-ott-2004 11.31.17 org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/usr/local/jakarta-
tomcat-5.0.25/conf/Catalina/localhost/admin.xml
12-ott-2004 11.31.17 org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
12-ott-2004 11.31.17 org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
12-ott-2004 11.31.17 org.apache.struts.util.PropertyMessageResources
init
INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources',
returnNull=true
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/usr/local/jakarta-
tomcat-5.0.25/conf/Catalina/localhost/balancer.xml
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/usr/local/jakarta-
tomcat-5.0.25/conf/Catalina/localhost/manager.xml
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /jsp-examples from URL
file:/usr/local/jakarta-tomcat-5.0.25/webapps/jsp-examples
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path  from URL
file:/usr/local/jakarta-tomcat-5.0.25/webapps/ROOT
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /servlets-examples
from
URL file:/usr/local/jakarta-tomcat-5.0.25/webapps/servlets-examples
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /tomcat-docs from URL
file:/usr/local/jakarta-tomcat-5.0.25/webapps/tomcat-docs
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer
install
INFO: Installing web application at context path /webdav from URL
file:/usr/local/jakarta-tomcat-5.0.25/webapps/webdav
12-ott-2004 11.31.21 org.apache.coyote.http11.Http11Protocol

Re: tomcat crash on mac os X

2004-10-16 Thread Edoardo Panfili
Ben Souther wrote:
In witch way I can be more precise?
By posting your log files. 

The time of the crash comes from a custom log file from my application:
12 October 2004 17:09:38 (last log of my application,
in a good situation this will be followed by other messages)
Sever (manual) restart at: 12 October 2004 17:22:04
 from catalina.out [a part of the file] ===
12-ott-2004 11.31.06 org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /tomcat-docs
12-ott-2004 11.31.06 org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path
12-ott-2004 11.31.06 org.apache.catalina.core.StandardHostDeployer remove
INFO: Removing web application at context path /manager
12-ott-2004 11.31.06 org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger,host=localhost
12-ott-2004 11.31.06 org.apache.catalina.logger.LoggerBase stop
INFO: unregistering logger Catalina:type=Logger
12-ott-2004 11.31.06 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
12-ott-2004 11.31.12 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
12-ott-2004 11.31.12 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1322 ms
12-ott-2004 11.31.12 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
12-ott-2004 11.31.12 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.25
12-ott-2004 11.31.12 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
12-ott-2004 11.31.13 argentaroggia.filtri.FConnessione init
GRAVE: Creato nuovo gruppo di connessioni
12-ott-2004 11.31.17 org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
12-ott-2004 11.31.17 org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL 
file:/usr/local/jakarta-tomcat-5.0.25/conf/Catalina/localhost/admin.xml
12-ott-2004 11.31.17 org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
12-ott-2004 11.31.17 org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
12-ott-2004 11.31.17 org.apache.struts.util.PropertyMessageResources init
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
returnNull=true
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL 
file:/usr/local/jakarta-tomcat-5.0.25/conf/Catalina/localhost/balancer.xml
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL 
file:/usr/local/jakarta-tomcat-5.0.25/conf/Catalina/localhost/manager.xml
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL 
file:/usr/local/jakarta-tomcat-5.0.25/webapps/jsp-examples
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path  from URL 
file:/usr/local/jakarta-tomcat-5.0.25/webapps/ROOT
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL 
file:/usr/local/jakarta-tomcat-5.0.25/webapps/servlets-examples
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL 
file:/usr/local/jakarta-tomcat-5.0.25/webapps/tomcat-docs
12-ott-2004 11.31.20 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL 
file:/usr/local/jakarta-tomcat-5.0.25/webapps/webdav
12-ott-2004 11.31.21 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
12-ott-2004 11.31.21 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
12-ott-2004 11.31.21 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/33  config=/usr/local/tomcat/conf/jk2.properties
12-ott-2004 11.31.21 org.apache.catalina.startup.Catalina start
INFO: Server startup in 8729 ms
CFMessagePortCreateLocal failed (name = Processes-2.3328 error = 0)
12-ott-2004 17.22.03 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
12-ott-2004 17.22.03 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1309 ms
12-ott-2004 17.22.03 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
12-ott-2004 17.22.03 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.25
12-ott-2004 17.22.03

tomcat crash on mac os X

2004-10-15 Thread Edoardo Panfili
hy,
I am runnig Tomcat 5.0.25 on Mac OS X (client) 10.3.5
But the same behaviour occurs with older Tomcat versions.
Sometimes Tomcat (the whole server, not my application) crashes 
without any explanation on log files.

I can't reproduce the crash condition it seems in some ways related 
with my worgink with java2D. But I can't be sure about that.

the last crash was happened after a variable assign.
In witch way I can be more precise?
Thanks in advance
Edoardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat crash on mac os X

2004-10-15 Thread Ben Souther
 In witch way I can be more precise?
By posting your log files. 






On Fri, 2004-10-15 at 18:10, Edoardo Panfili wrote:
 hy,
 
 I am runnig Tomcat 5.0.25 on Mac OS X (client) 10.3.5
 But the same behaviour occurs with older Tomcat versions.
 
 Sometimes Tomcat (the whole server, not my application) crashes 
 without any explanation on log files.
 
 I can't reproduce the crash condition it seems in some ways related 
 with my worgink with java2D. But I can't be sure about that.
 
 the last crash was happened after a variable assign.
 
 In witch way I can be more precise?
 
 
 Thanks in advance
 Edoardo
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat crash ... unexpected exception

2004-06-23 Thread bastien.devos
Hi,
I have serious problems with my web aplpication (based on Apache/Tomcat), I'm a system guy 
and I'd like at least to identify where the problem is situated: system, memory, db, 
application itself, etc., but I'm not related at all to JSP or Java stuff ...

Well, here is my situation :
Apache 2.0.49 (compiled --with-mpm=worker)
Tomcat 4.1.30
mod_jk 2.0.2
Java SDK 1.4.2_02
Apache is configured to serve all requests (static) except .jsp which are transmitted 
to
tomcat through mod_jk2.
Here below is a copy of the error in catalina.out. Before the unexpected exception you
see client transactions, labeled with ITS*, meaning clients navigate through
menus in the app, etc., then you see the exception, then somebody (huh ... me) restart all 
the stuff and it continues with normal transactions ...

the error (sorry for length) :
-
(... transactions ...)
[2004-06-16 22:33:51] ITY2(0) 20ms
[2004-06-16 22:33:51] ITS6(0) 82ms
[2004-06-16 22:33:51] ITHZ(0) 16ms
[2004-06-16 22:33:51] ITA3(0) 144ms
[2004-06-16 22:33:51] ITHZ(0) 6ms
[2004-06-16 22:33:51] ITS3(0) 260ms
[2004-06-16 22:33:51] ITS3(0) 169ms
An unexpected exception has been detected in native code outside the VMn.
Unexpected Signal : 11 occurred at PC=0x7EF499A4
Function=[Unknown. Nearest: madvise+0xC0]
Library=/usr/lib/64/libc.so.1
Current Java thread:
at appweb.NativeCall.Call_C_tpcall(Native Method)
at appweb.NativeCall.tp_call(NativeCall.java:58)
at 
appweb.AppwebDispatcher$ObjectApartment.get_result(AppwebDispatcher.java:345)
at appweb.AppwebDispatcher$ObjectApartment.run(AppwebDispatcher.java:306)
Dynamic libraries:
0x1 /aplication/java/bin/sparcv9/java
0x7f30  /usr/lib/64/libthread.so.1
0x7f50  /usr/lib/64/libdl.so.1
0x7ef0  /usr/lib/64/libc.so.1
0x7d40  /aplication/j2sdk1.4.2_04/jre/lib/sparcv9/server/libjvm.so
0x7d20  /usr/lib/64/libCrun.so.1
0x7cf0  /usr/lib/64/libsocket.so.1
0x7cd0  /usr/lib/64/libnsl.so.1
0x7cb0  /usr/lib/64/libm.so.1
0x7c90  /usr/lib/64/libsched.so.1
0x7ed0  /usr/lib/64/libw.so.1
0x7c50  /usr/lib/64/libmp.so.2
0x7c20  
/aplication/j2sdk1.4.2_04/jre/lib/sparcv9/native_threads/libhpi.so
0x7be0  /aplication/j2sdk1.4.2_04/jre/lib/sparcv9/libverify.so
0x7bc0  /aplication/j2sdk1.4.2_04/jre/lib/sparcv9/libjava.so
0x7b90  /aplication/j2sdk1.4.2_04/jre/lib/sparcv9/libzip.so
0xfffdae80  /aplication/j2sdk1.4.2_04/jre/lib/sparcv9/libnet.so
0xfffdac90  
/aplication/thalerv1.4/webapps/appweb/nativecall/libnativecall.so
0xfffdac70  /tuxweb/lib/libwsc.so.71
0xfffdac50  /tuxweb/lib/libbuft.so.71
0xfffdac20  /tuxweb/lib/libgpnet.so.71
0xfffdac00  /tuxweb/lib/libfml.so.71
0xfffdabe0  /tuxweb/lib/libfml32.so.71
0xfffdabb0  /tuxweb/lib/libengine.so.71
0xfffdab90  /usr/lib/64/libpthread.so.1
0xfffdab60  /usr/lib/64/librt.so.1
0xfffdab40  /usr/lib/64/libaio.so.1
0xfffdaa70  /tuxweb/lib/registry.so
Heap at VM Abort:
Heap
 def new generation   total 1158784K, used 1150571K [0xfffdb380,
0xfffdfc5e, 0xfffe3380)
  eden space 1123712K,  54% used [0xfffdb380, 0xfffdf795afc0,
0xfffdf816)
  from space 35072K, 100% used [0xfffdf816, 0xfffdfa3a, 
0xfffdfa3a)
  to   space 35072K,   0% used [0xfffdfa3a, 0xfffdfa3a, 
0xfffdfc5e)
 tenured generation   total 2387632K, used 1880586K [0xfffe3380,
0xfffec53ac000, 0x3380)
   the space 2387632K,  78% used [0xfffe3380, 0xfffea6482b68,
0xfffea6482c00, 0xfffec53ac000)
 compacting perm gen  total 16384K, used 13651K [0x3380, 
0x3480,
0x3780)
   the space 16384K,  83% used [0x3380, 0x34554d08,
0x34554e00, 0x3480)
Starting service Tomcat
Apache Tomcat/4.1.30
Jun 17, 2004 12:28:17 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jun 17, 2004 12:28:17 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/116  config=null
Jun 17, 2004 12:28:17 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8010
Jun 17, 2004 12:28:17 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/6  config=null
Dynamic Library nativecall loaded
Dispatcher constructor
WSCLIENTS=5
THREADSPERCLIENTS=3
Thread[Thread-13,5,main]: Starting...
Thread[Thread-14,5,main]: Starting...
Thread[Thread-15,5,main]: Starting...
Thread[Thread-16,5,main]: Starting...
Thread[Thread-17,5,main]: Starting...
Thread[Thread-18,5,main]: Starting...
Thread[Thread-19,5,main]: Starting...

RE: tomcat crash ... unexpected exception

2004-06-23 Thread Ralph Einfeldt

For this part of the error you have to look at at the application.

appweb.NativeCall looks like a class that is an interfaces to a 
native (C) library. The error is thrown in that native library.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 23, 2004 11:09 AM
 To: [EMAIL PROTECTED]
 Subject: tomcat crash ... unexpected exception
 

 An unexpected exception has been detected in native code 
 outside the VMn.
 Unexpected Signal : 11 occurred at PC=0x7EF499A4
 Function=[Unknown. Nearest: madvise+0xC0]
 Library=/usr/lib/64/libc.so.1
 
 Current Java thread:
  at appweb.NativeCall.Call_C_tpcall(Native Method)
  at appweb.NativeCall.tp_call(NativeCall.java:58)
  at 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat crash ... unexpected exception

2004-06-23 Thread Ralph Einfeldt

Btw. appweb.NativeCall doesn't look like a part of tomcat
so it most likely the application or an additional library
that is used by the application.

 -Original Message-
 From: Ralph Einfeldt 
 Sent: Wednesday, June 23, 2004 11:15 AM
 To: Tomcat Users List
 Subject: RE: tomcat crash ... unexpected exception
 
 For this part of the error you have to look at at the application.
 
 appweb.NativeCall looks like a class that is an interfaces to a 
 native (C) library. The error is thrown in that native library.
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat crash ... unexpected exception

2004-06-23 Thread bastien.devos
Thank you for your answer.
And by the way, I have another error that you or somebody else could maybe identify :
--
Jun 23, 2004 11:17:12 AM org.apache.jk.server.JkCoyoteHandler action
SEVERE: Error in action code
java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:457)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654)
at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:472)
at org.apache.coyote.Response.action(Response.java:226)
at org.apache.coyote.Response.finish(Response.java:348)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:329)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
--
This error doesn't seem to hang Tomcat but SEVERE and Broken pipe do not sound well in 
my ears ...

Thanks,
Bastien.

Ralph Einfeldt wrote:
Btw. appweb.NativeCall doesn't look like a part of tomcat
so it most likely the application or an additional library
that is used by the application.

-Original Message-
From: Ralph Einfeldt 
Sent: Wednesday, June 23, 2004 11:15 AM
To: Tomcat Users List
Subject: RE: tomcat crash ... unexpected exception

For this part of the error you have to look at at the application.
appweb.NativeCall looks like a class that is an interfaces to a 
native (C) library. The error is thrown in that native library.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: tomcat crash ... unexpected exception

2004-06-23 Thread Ralph Einfeldt
That error can something between 'ignore it' and 'severe error'.

Tomcat failed while writing the response to mod_jk.
That can be caused by this reasons:
- the apache child that created the request died
- the user closed the browser before the response was sent 
- there may be further reasons

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 23, 2004 11:39 AM
 To: Tomcat Users List
 Subject: Re: tomcat crash ... unexpected exception
 

 Jun 23, 2004 11:17:12 AM org.apache.jk.server.JkCoyoteHandler action
 SEVERE: Error in action code
 java.net.SocketException: Broken pipe

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat crash ... unexpected exception

2004-06-23 Thread bastien.devos
Again about my general problem, below is an output of the 'top' command on the webserver.
We can see that the Tomcat java process (the first one) has 135 threads in it. How is this 
defined ? I guess this number is dynamic, but how can I say that it is its maximum or not 
? If it is, it may be some kind of bottleneck ...

Is it related to the settings of min/max processors in server.xml ?
--
last pid: 14592;  load averages:  0.27,  0.25,  0.26 
   14:14:21
173 processes: 165 sleeping, 7 zombie, 1 on cpu
CPU states: 91.5% idle,  3.9% user,  4.2% kernel,  0.4% iowait,  0.0% swap
Memory: 8192M real, 1404M free, 6472M swap in use, 7856M swap free

   PID USERNAME THR PRI NICE  SIZE   RES STATETIMECPU COMMAND
 11751 userx135   0   10 6288M 4718M sleep9:55  0.60% java
   680 root   4 150  -20 3568K 2424K sleep  489:23  0.13%
 14526 root   1 150  -20 2056K 1472K sleep0:00  0.06%
 14527 root   1 150  -20 2056K 1472K sleep0:00  0.06%
  5078 root  12   10 7312K 6272K sleep   72:41  0.05%
  8529 root   1  590 2776K 1848K cpu/00:08  0.05% top
 14513 userx  8   10 7280K 5864K sleep0:00  0.05% httpd
 14591 userx  6   00 6848K 5112K sleep0:00  0.03% httpd
 14524 root   1 150  -20 2056K 1472K sleep0:00  0.03%
 14592 userx  4   00 6720K 5016K sleep0:00  0.02% httpd
 14533 root   1 150  -20 2176K 1408K sleep0:00  0.02%
 14534 root   1 150  -20 2176K 1408K sleep0:00  0.02%
--
Thanks,
Bastien.

Ralph Einfeldt wrote:
That error can something between 'ignore it' and 'severe error'.
Tomcat failed while writing the response to mod_jk.
That can be caused by this reasons:
- the apache child that created the request died
- the user closed the browser before the response was sent 
- there may be further reasons


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 23, 2004 11:39 AM
To: Tomcat Users List
Subject: Re: tomcat crash ... unexpected exception

Jun 23, 2004 11:17:12 AM org.apache.jk.server.JkCoyoteHandler action
SEVERE: Error in action code
java.net.SocketException: Broken pipe

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat crash ... unexpected exception

2004-06-23 Thread Peter Lin
by default, the max threads is set to 150 in server.xml.  Is your
webserver really getting that many active requests at one time?  I've
worked on some large sites and most of the time, the peak concurrent
requests is usually less than 10. this is on some big Sun boxes.

just because there are 150 threads, not all of them are active. If
you're using tomcat5, you can use the status servlet to see how many
threads are active compared to the total threads.

peter


On Wed, 23 Jun 2004 14:24:35 +0200, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 
 Again about my general problem, below is an output of the 'top' command on the 
 webserver.
 We can see that the Tomcat java process (the first one) has 135 threads in it. How 
 is this
 defined ? I guess this number is dynamic, but how can I say that it is its maximum 
 or not
 ? If it is, it may be some kind of bottleneck ...
 
 Is it related to the settings of min/max processors in server.xml ?
 
 --
 last pid: 14592;  load averages:  0.27,  0.25,  0.26
14:14:21
 173 processes: 165 sleeping, 7 zombie, 1 on cpu
 CPU states: 91.5% idle,  3.9% user,  4.2% kernel,  0.4% iowait,  0.0% swap
 Memory: 8192M real, 1404M free, 6472M swap in use, 7856M swap free
 
PID USERNAME THR PRI NICE  SIZE   RES STATETIMECPU COMMAND
  11751 userx135   0   10 6288M 4718M sleep9:55  0.60% java
680 root   4 150  -20 3568K 2424K sleep  489:23  0.13%
  14526 root   1 150  -20 2056K 1472K sleep0:00  0.06%
  14527 root   1 150  -20 2056K 1472K sleep0:00  0.06%
   5078 root  12   10 7312K 6272K sleep   72:41  0.05%
   8529 root   1  590 2776K 1848K cpu/00:08  0.05% top
  14513 userx  8   10 7280K 5864K sleep0:00  0.05% httpd
  14591 userx  6   00 6848K 5112K sleep0:00  0.03% httpd
  14524 root   1 150  -20 2056K 1472K sleep0:00  0.03%
  14592 userx  4   00 6720K 5016K sleep0:00  0.02% httpd
  14533 root   1 150  -20 2176K 1408K sleep0:00  0.02%
  14534 root   1 150  -20 2176K 1408K sleep0:00  0.02%
 --
 
 Thanks,
 
 Bastien.
 
 Ralph Einfeldt wrote:
  That error can something between 'ignore it' and 'severe error'.
 
  Tomcat failed while writing the response to mod_jk.
  That can be caused by this reasons:
  - the apache child that created the request died
  - the user closed the browser before the response was sent
  - there may be further reasons
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 23, 2004 11:39 AM
 To: Tomcat Users List
 Subject: Re: tomcat crash ... unexpected exception
 
 
 
 Jun 23, 2004 11:17:12 AM org.apache.jk.server.JkCoyoteHandler action
 SEVERE: Error in action code
 java.net.SocketException: Broken pipe
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat crash ... unexpected exception

2004-06-23 Thread Ralph Einfeldt

The number of threads is depending on
- the number of threads the jvm needs to run
- the number of threads tomcat needs to run
- AFAIK one thread for each active processor
  (- at least minProcessors)
- the number of threads that are used by the application

But there is no way to know the number of max threads,
I'm not shure if there is a option to query tomcat for 
the number of active processor threads.

You can verify the number of processor threads by 
calling kill -QUIT java-pid. This should produce 
a stacktrace in one of the log files. You should be 
able to identify the by their name.


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 23, 2004 2:25 PM
 To: Tomcat Users List
 Subject: Re: tomcat crash ... unexpected exception
 
 
 Again about my general problem, below is an output of the 
 'top' command on the webserver.
 We can see that the Tomcat java process (the first one) has 
 135 threads in it. How is this 
 defined ? I guess this number is dynamic, but how can I say 
 that it is its maximum or not 
 ? If it is, it may be some kind of bottleneck ...
 
 Is it related to the settings of min/max processors in server.xml ?
 
 --
 last pid: 14592;  load averages:  0.27,  0.25,  0.26 
 14:14:21
 173 processes: 165 sleeping, 7 zombie, 1 on cpu
 CPU states: 91.5% idle,  3.9% user,  4.2% kernel,  0.4% 
 iowait,  0.0% swap
 Memory: 8192M real, 1404M free, 6472M swap in use, 7856M swap free
  
 
 PID USERNAME THR PRI NICE  SIZE   RES STATETIMECPU COMMAND
   11751 userx135   0   10 6288M 4718M sleep9:55  0.60% java
 680 root   4 150  -20 3568K 2424K sleep  489:23  0.13%
   14526 root   1 150  -20 2056K 1472K sleep0:00  0.06%
   14527 root   1 150  -20 2056K 1472K sleep0:00  0.06%
5078 root  12   10 7312K 6272K sleep   72:41  0.05%
8529 root   1  590 2776K 1848K cpu/00:08  0.05% top
   14513 userx  8   10 7280K 5864K sleep0:00  0.05% httpd
   14591 userx  6   00 6848K 5112K sleep0:00  0.03% httpd
   14524 root   1 150  -20 2056K 1472K sleep0:00  0.03%
   14592 userx  4   00 6720K 5016K sleep0:00  0.02% httpd
   14533 root   1 150  -20 2176K 1408K sleep0:00  0.02%
   14534 root   1 150  -20 2176K 1408K sleep0:00  0.02%
 --
 
 Thanks,
 
 Bastien.
 
 
 
 Ralph Einfeldt wrote:
  That error can something between 'ignore it' and 'severe error'.
  
  Tomcat failed while writing the response to mod_jk.
  That can be caused by this reasons:
  - the apache child that created the request died
  - the user closed the browser before the response was sent 
  - there may be further reasons
  
  
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 23, 2004 11:39 AM
 To: Tomcat Users List
 Subject: Re: tomcat crash ... unexpected exception
 
  
  
 Jun 23, 2004 11:17:12 AM org.apache.jk.server.JkCoyoteHandler action
 SEVERE: Error in action code
 java.net.SocketException: Broken pipe
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat crash ... unexpected exception

2004-06-23 Thread bastien.devos

Peter Lin wrote:
by default, the max threads is set to 150 in server.xml.  Is your
webserver really getting that many active requests at one time?  I've
worked on some large sites and most of the time, the peak concurrent
requests is usually less than 10. this is on some big Sun boxes.
Indeed you're right, I think it's not a problem at all, but I'm in a phase where I try to 
check a maximum of points in my possible problem causes list ...

just because there are 150 threads, not all of them are active. If
you're using tomcat5, you can use the status servlet to see how many
threads are active compared to the total threads.
I'm using Tomcat 4.1.30, is there an equivalent ?
Can I have this kind of information with the jkstatus page ?
peter
On Wed, 23 Jun 2004 14:24:35 +0200, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Again about my general problem, below is an output of the 'top' command on the 
webserver.
We can see that the Tomcat java process (the first one) has 135 threads in it. How is 
this
defined ? I guess this number is dynamic, but how can I say that it is its maximum or 
not
? If it is, it may be some kind of bottleneck ...
Is it related to the settings of min/max processors in server.xml ?
--
last pid: 14592;  load averages:  0.27,  0.25,  0.26
  14:14:21
173 processes: 165 sleeping, 7 zombie, 1 on cpu
CPU states: 91.5% idle,  3.9% user,  4.2% kernel,  0.4% iowait,  0.0% swap
Memory: 8192M real, 1404M free, 6472M swap in use, 7856M swap free
  PID USERNAME THR PRI NICE  SIZE   RES STATETIMECPU COMMAND
11751 userx135   0   10 6288M 4718M sleep9:55  0.60% java
  680 root   4 150  -20 3568K 2424K sleep  489:23  0.13%
14526 root   1 150  -20 2056K 1472K sleep0:00  0.06%
14527 root   1 150  -20 2056K 1472K sleep0:00  0.06%
 5078 root  12   10 7312K 6272K sleep   72:41  0.05%
 8529 root   1  590 2776K 1848K cpu/00:08  0.05% top
14513 userx  8   10 7280K 5864K sleep0:00  0.05% httpd
14591 userx  6   00 6848K 5112K sleep0:00  0.03% httpd
14524 root   1 150  -20 2056K 1472K sleep0:00  0.03%
14592 userx  4   00 6720K 5016K sleep0:00  0.02% httpd
14533 root   1 150  -20 2176K 1408K sleep0:00  0.02%
14534 root   1 150  -20 2176K 1408K sleep0:00  0.02%
--
Thanks,
Bastien.
Ralph Einfeldt wrote:
That error can something between 'ignore it' and 'severe error'.
Tomcat failed while writing the response to mod_jk.
That can be caused by this reasons:
- the apache child that created the request died
- the user closed the browser before the response was sent
- there may be further reasons

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 23, 2004 11:39 AM
To: Tomcat Users List
Subject: Re: tomcat crash ... unexpected exception

Jun 23, 2004 11:17:12 AM org.apache.jk.server.JkCoyoteHandler action
SEVERE: Error in action code
java.net.SocketException: Broken pipe

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat crash ... unexpected exception

2004-06-23 Thread Peter Lin
here's part of what Tomcat5 status servlet displays

Max threads: 150 Min spare threads: 25 Max spare threads: 75 Current
thread count: 25 Current thread busy: 3
Max processing time: 371 ms Processing time: 0 s Request count: 5
Error count: 1 Bytes received: 0.00 MB Bytes sent: 0.02 MB

As you can see busy: 3. Of course, if you're using tomcat4, this is
absolutely no help to you at all.  Even if you aren't running tomcat5
in production, you can setup tomcat5 in a staging dev environment and
simulate production traffic to analyze what is happening.

peter


On Wed, 23 Jun 2004 14:51:21 +0200, Ralph Einfeldt
[EMAIL PROTECTED] wrote:
 
 
 The number of threads is depending on
 - the number of threads the jvm needs to run
 - the number of threads tomcat needs to run
 - AFAIK one thread for each active processor
  (- at least minProcessors)
 - the number of threads that are used by the application
 
 But there is no way to know the number of max threads,
 I'm not shure if there is a option to query tomcat for
 the number of active processor threads.
 
 You can verify the number of processor threads by
 calling kill -QUIT java-pid. This should produce
 a stacktrace in one of the log files. You should be
 able to identify the by their name.
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, June 23, 2004 2:25 PM
  To: Tomcat Users List
  Subject: Re: tomcat crash ... unexpected exception
 
 
  Again about my general problem, below is an output of the
  'top' command on the webserver.
  We can see that the Tomcat java process (the first one) has
  135 threads in it. How is this
  defined ? I guess this number is dynamic, but how can I say
  that it is its maximum or not
  ? If it is, it may be some kind of bottleneck ...
 
  Is it related to the settings of min/max processors in server.xml ?
 
  --
  last pid: 14592;  load averages:  0.27,  0.25,  0.26
  14:14:21
  173 processes: 165 sleeping, 7 zombie, 1 on cpu
  CPU states: 91.5% idle,  3.9% user,  4.2% kernel,  0.4%
  iowait,  0.0% swap
  Memory: 8192M real, 1404M free, 6472M swap in use, 7856M swap free
 
 
  PID USERNAME THR PRI NICE  SIZE   RES STATETIMECPU COMMAND
11751 userx135   0   10 6288M 4718M sleep9:55  0.60% java
  680 root   4 150  -20 3568K 2424K sleep  489:23  0.13%
14526 root   1 150  -20 2056K 1472K sleep0:00  0.06%
14527 root   1 150  -20 2056K 1472K sleep0:00  0.06%
 5078 root  12   10 7312K 6272K sleep   72:41  0.05%
 8529 root   1  590 2776K 1848K cpu/00:08  0.05% top
14513 userx  8   10 7280K 5864K sleep0:00  0.05% httpd
14591 userx  6   00 6848K 5112K sleep0:00  0.03% httpd
14524 root   1 150  -20 2056K 1472K sleep0:00  0.03%
14592 userx  4   00 6720K 5016K sleep0:00  0.02% httpd
14533 root   1 150  -20 2176K 1408K sleep0:00  0.02%
14534 root   1 150  -20 2176K 1408K sleep0:00  0.02%
  --
 
  Thanks,
 
  Bastien.
 
 
 
  Ralph Einfeldt wrote:
   That error can something between 'ignore it' and 'severe error'.
  
   Tomcat failed while writing the response to mod_jk.
   That can be caused by this reasons:
   - the apache child that created the request died
   - the user closed the browser before the response was sent
   - there may be further reasons
  
  
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, June 23, 2004 11:39 AM
  To: Tomcat Users List
  Subject: Re: tomcat crash ... unexpected exception
  
  
  
  Jun 23, 2004 11:17:12 AM org.apache.jk.server.JkCoyoteHandler action
  SEVERE: Error in action code
  java.net.SocketException: Broken pipe
  
  
  
  -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat crash ... unexpected exception

2004-06-23 Thread bastien.devos
by the way, I have maybe a problem in my configuration
If you have two minutes ... what do you think about it ?
and also, I have no jk2.properties file, is it absolutely necessary ?
- httpd.conf ---
...
LoadModule jk2_module modules/mod_jk2-2.0.4.so
...
- workers2.properties ---
### Scoreboard file ##
[shm]
info=Scoreboard. Required for reconfiguration and status with multiprocess
file=/application/apache/conf/shm.file
size=25000
### Uri Mapping ##
[uri:/jsp/*.jsp]
group=lb
[uri:/jkstatus/*]
worker=status:status
### Channels ##
[channel.socket:localhost:8009]
port=8009
host=10.1.1.1
lb_factor=1
[channel.socket:localhost:8010]
port=8010
host=10.1.1.1
lb_factor=1
### Workers ##
# the loadbalancer :
[lb:lb]
info=Default Load Balancer
# real workers (Tomcat instances)
[ajp13:localhost:8009]
info=Worker1
channel=channel.socket:localhost:8009
group=lb
ver=2
[ajp13:localhost:8010]
info=Worker2
channel=channel.socket:localhost:8010
group=lb
ver=1
# status worker
[status:status]
-- server.xml --
Server port=8505 shutdown=SHUTDOWN debug=0
  Service name=Tomcat
  Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 
minProcessors=100 maxProcessors=500 enableLookups=false acceptCount=100 debug=4 
connectionTimeout=12 useURIValidationHack=false 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
Logger className=org.apache.catalina.logger.FileLogger 
prefix=connector1-logger- suffix=.log timestamp=true /
  /Connector

  Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8010 
minProcessors=100 maxProcessors=500 enableLookups=false acceptCount=100 debug=4 
connectionTimeout=12 useURIValidationHack=false 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
Logger className=org.apache.catalina.logger.FileLogger 
prefix=connector2-logger- suffix=.log timestamp=true /
  /Connector

  Engine name=Apache defaultHost=localhost debug=0
  Host name=localhost debug=0 appBase=webapps unpackWARs=true 
autoDeploy=false
Aliaslocalhost/Alias
Context path=/jsp docBase=appweb/jsp debug=0 reloadable=false 
crossContext=true /
Logger className=org.apache.catalina.logger.FileLogger prefix=host-logger- 
suffix=.log timestamp=true /
  /Host
/Engine
  /Service
/Server

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: tomcat crash ... unexpected exception

2004-06-23 Thread Peter Lin
if you're using tomcat in standalone mode, I would recommend
commenting out the jk stuff all together. I noticed your minProcessors
is 100 and max is 500. You must get some serious load, or the usage
pattern is such that an unique user session has lots of requets.

good luck.

peter


On Wed, 23 Jun 2004 15:24:09 +0200, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 
 by the way, I have maybe a problem in my configuration
 If you have two minutes ... what do you think about it ?
 
 and also, I have no jk2.properties file, is it absolutely necessary ?
 
 - httpd.conf ---
 ...
 LoadModule jk2_module modules/mod_jk2-2.0.4.so
 ...
 - workers2.properties ---
 ### Scoreboard file ##
 [shm]
 info=Scoreboard. Required for reconfiguration and status with multiprocess
 file=/application/apache/conf/shm.file
 size=25000
 
 ### Uri Mapping ##
 [uri:/jsp/*.jsp]
 group=lb
 
 [uri:/jkstatus/*]
 worker=status:status
 
 ### Channels ##
 [channel.socket:localhost:8009]
 port=8009
 host=10.1.1.1
 lb_factor=1
 
 [channel.socket:localhost:8010]
 port=8010
 host=10.1.1.1
 lb_factor=1
 
 ### Workers ##
 # the loadbalancer :
 [lb:lb]
 info=Default Load Balancer
 
 # real workers (Tomcat instances)
 [ajp13:localhost:8009]
 info=Worker1
 channel=channel.socket:localhost:8009
 group=lb
 ver=2
 
 [ajp13:localhost:8010]
 info=Worker2
 channel=channel.socket:localhost:8010
 group=lb
 ver=1
 
 # status worker
 [status:status]
 
 -- server.xml --
 Server port=8505 shutdown=SHUTDOWN debug=0
   Service name=Tomcat
   Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009
 minProcessors=100 maxProcessors=500 enableLookups=false acceptCount=100 
 debug=4
 connectionTimeout=12 useURIValidationHack=false
 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=connector1-logger- suffix=.log timestamp=true /
   /Connector
 
   Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8010
 minProcessors=100 maxProcessors=500 enableLookups=false acceptCount=100 
 debug=4
 connectionTimeout=12 useURIValidationHack=false
 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
 Logger className=org.apache.catalina.logger.FileLogger
 prefix=connector2-logger- suffix=.log timestamp=true /
   /Connector
 
   Engine name=Apache defaultHost=localhost debug=0
   Host name=localhost debug=0 appBase=webapps unpackWARs=true
 autoDeploy=false
 Aliaslocalhost/Alias
 Context path=/jsp docBase=appweb/jsp debug=0 reloadable=false
 crossContext=true /
 Logger className=org.apache.catalina.logger.FileLogger 
 prefix=host-logger-
 suffix=.log timestamp=true /
   /Host
 /Engine
   /Service
 /Server
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat crash ... unexpected exception

2004-06-23 Thread Ralph Einfeldt

Although I'm not a mod_jk* user, I think it's quite 
unusual to define 2 CoyoteConnectors and 2 workers
for one tomcat instance.

Unless you have good reason to do so, I would remove
one of each. This introduces a complexity that is
not needed. (At least I that's my opinion)

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 23, 2004 3:24 PM
 To: Tomcat Users List
 Subject: Re: tomcat crash ... unexpected exception
 
 

 # real workers (Tomcat instances)
 [ajp13:localhost:8009]
 info=Worker1
 channel=channel.socket:localhost:8009
 group=lb
 ver=2
 
 [ajp13:localhost:8010]
 info=Worker2
 channel=channel.socket:localhost:8010
 group=lb
 ver=1
 
Connector 
 className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 
 minProcessors=100 maxProcessors=500 enableLookups=false 
 acceptCount=100 debug=4 
 connectionTimeout=12 useURIValidationHack=false 
 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
  Logger className=org.apache.catalina.logger.FileLogger 
 prefix=connector1-logger- suffix=.log timestamp=true /
/Connector
 
Connector 
 className=org.apache.coyote.tomcat4.CoyoteConnector port=8010 
 minProcessors=100 maxProcessors=500 enableLookups=false 
 acceptCount=100 debug=4 
 connectionTimeout=12 useURIValidationHack=false 
 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
  Logger className=org.apache.catalina.logger.FileLogger 
 prefix=connector2-logger- suffix=.log timestamp=true /
/Connector

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat crash ... unexpected exception

2004-06-23 Thread bastien.devos
if you're using tomcat in standalone mode, I would recommend
commenting out the jk stuff all together. 
Tomcat serves all .jsp files and Apache manages the rest. The idea is to increase 
performance by letting Tomcat only with its .jsp while leaving the rest to Apache.
Do you think it's a good choice ?

 I noticed your minProcessors is 100 and max is 500. You must get some serious load, or 
the usage pattern is such that an unique user session has lots of requets.

I raised those values to ensure the number of processor is no problem in the 
configuration. I just hope it doesn't create other problems instead ... ?


good luck.
peter
On Wed, 23 Jun 2004 15:24:09 +0200, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
by the way, I have maybe a problem in my configuration
If you have two minutes ... what do you think about it ?
and also, I have no jk2.properties file, is it absolutely necessary ?
- httpd.conf ---
...
LoadModule jk2_module modules/mod_jk2-2.0.4.so
...
- workers2.properties ---
### Scoreboard file ##
[shm]
info=Scoreboard. Required for reconfiguration and status with multiprocess
file=/application/apache/conf/shm.file
size=25000
### Uri Mapping ##
[uri:/jsp/*.jsp]
group=lb
[uri:/jkstatus/*]
worker=status:status
### Channels ##
[channel.socket:localhost:8009]
port=8009
host=10.1.1.1
lb_factor=1
[channel.socket:localhost:8010]
port=8010
host=10.1.1.1
lb_factor=1
### Workers ##
# the loadbalancer :
[lb:lb]
info=Default Load Balancer
# real workers (Tomcat instances)
[ajp13:localhost:8009]
info=Worker1
channel=channel.socket:localhost:8009
group=lb
ver=2
[ajp13:localhost:8010]
info=Worker2
channel=channel.socket:localhost:8010
group=lb
ver=1
# status worker
[status:status]
-- server.xml --
Server port=8505 shutdown=SHUTDOWN debug=0
 Service name=Tomcat
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009
minProcessors=100 maxProcessors=500 enableLookups=false acceptCount=100 
debug=4
connectionTimeout=12 useURIValidationHack=false
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
   Logger className=org.apache.catalina.logger.FileLogger
prefix=connector1-logger- suffix=.log timestamp=true /
 /Connector
 Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8010
minProcessors=100 maxProcessors=500 enableLookups=false acceptCount=100 
debug=4
connectionTimeout=12 useURIValidationHack=false
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler
   Logger className=org.apache.catalina.logger.FileLogger
prefix=connector2-logger- suffix=.log timestamp=true /
 /Connector
 Engine name=Apache defaultHost=localhost debug=0
 Host name=localhost debug=0 appBase=webapps unpackWARs=true
autoDeploy=false
   Aliaslocalhost/Alias
   Context path=/jsp docBase=appweb/jsp debug=0 reloadable=false
crossContext=true /
   Logger className=org.apache.catalina.logger.FileLogger prefix=host-logger-
suffix=.log timestamp=true /
 /Host
   /Engine
 /Service
/Server

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tomcat 4.1.29 JVM crash on RHEL-3-ES

2004-03-01 Thread Joe Miller
Hello,

I'm experiencing sporadic crashing of the JVM running Tomcat in 2 of my
environments.  These environments both run the same webapps, and they both
use JDK 1.4.2_03 on RHEL-3 ES.  Other environments where these same webapps
run are using JDK 1.4.1 and Redhat7.2, and are not experiencing these
crashes.

The crashes appear to happen at random times and hours.  Currently these
webapps are very lightly used, and most likely completely unused when the
crashes occur.

Has anyone experienced this with a similar setup?

My CATALINA_OPTS:
CATALINA_OPTS=-Xms2548m -Xmx2548m -server

All I see in Catalina.out is the following.  Messages preceding this VM dump
message are different each time.

#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_03-b02 mixed mode)
#
# Error ID: 53484152454432554E54494D450E435050018D
#
# Problematic Thread: prio=1 tid=0x085062c8 nid=0x22c5 runnable
#

Heap at VM Abort:
Heap
 def new generation   total 260928K, used 132963K [0x0f7f, 0x2130,
0x2130)
  eden space 232000K,  53% used [0x0f7f, 0x170acf50, 0x1da8)
  to   space 28928K,   0% used [0x1f6c, 0x1f6c, 0x2130)
 tenured generation   total 2319296K, used 46617K [0x2130, 0xaebf,
0xaebf)
   the space 2319296K,   2% used [0x2130, 0x240865e8, 0x24086600,
0xaebf)
 compacting perm gen  total 26112K, used 26092K [0xaebf, 0xb057,
0xb2bf)
   the space 26112K,  99% used [0xaebf, 0xb056b260, 0xb056b400,
0xb057)



--
Joe Miller
Linux Administrator
GoDaddy.com
[EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 4.1.29 JVM crash on RHEL-3-ES

2004-03-01 Thread Kannan Sundararajan
Did you load test these servers?

-Original Message-
From: Joe Miller [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 1:37 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.1.29 JVM crash on RHEL-3-ES


Hello,

I'm experiencing sporadic crashing of the JVM running Tomcat in 2 of my
environments.  These environments both run the same webapps, and they both
use JDK 1.4.2_03 on RHEL-3 ES.  Other environments where these same webapps
run are using JDK 1.4.1 and Redhat7.2, and are not experiencing these
crashes.

The crashes appear to happen at random times and hours.  Currently these
webapps are very lightly used, and most likely completely unused when the
crashes occur.

Has anyone experienced this with a similar setup?

My CATALINA_OPTS:
CATALINA_OPTS=-Xms2548m -Xmx2548m -server

All I see in Catalina.out is the following.  Messages preceding this VM dump
message are different each time.

#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Server VM (1.4.2_03-b02 mixed mode)
#
# Error ID: 53484152454432554E54494D450E435050018D
#
# Problematic Thread: prio=1 tid=0x085062c8 nid=0x22c5 runnable
#

Heap at VM Abort:
Heap
 def new generation   total 260928K, used 132963K [0x0f7f, 0x2130,
0x2130)
  eden space 232000K,  53% used [0x0f7f, 0x170acf50, 0x1da8)
  to   space 28928K,   0% used [0x1f6c, 0x1f6c, 0x2130)
 tenured generation   total 2319296K, used 46617K [0x2130, 0xaebf,
0xaebf)
   the space 2319296K,   2% used [0x2130, 0x240865e8, 0x24086600,
0xaebf)
 compacting perm gen  total 26112K, used 26092K [0xaebf, 0xb057,
0xb2bf)
   the space 26112K,  99% used [0xaebf, 0xb056b260, 0xb056b400,
0xb057)



--
Joe Miller
Linux Administrator
GoDaddy.com
[EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 4.1.29 JVM crash on RHEL-3-ES

2004-03-01 Thread jmiller
The servers are only being used internally for testing at the moment.  As best I can 
tell, the crashes occur at night when nothing (or very few people) are using the them.


  Original Message 
 Subject: RE: Tomcat 4.1.29 JVM crash on RHEL-3-ES
 From: Kannan Sundararajan [EMAIL PROTECTED]
 Date: Mon, March 01, 2004 11:53 am
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 
 Did you load test these servers?
 
 -Original Message-
 From: Joe Miller [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 01, 2004 1:37 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat 4.1.29 JVM crash on RHEL-3-ES
 
 
 Hello,
 
 I'm experiencing sporadic crashing of the JVM running Tomcat in 2 of
 my
 environments.  These environments both run the same webapps, and they
 both
 use JDK 1.4.2_03 on RHEL-3 ES.  Other environments where these same
 webapps
 run are using JDK 1.4.1 and Redhat7.2, and are not experiencing these
 crashes.
 
 The crashes appear to happen at random times and hours.  Currently
 these
 webapps are very lightly used, and most likely completely unused when
 the
 crashes occur.
 
 Has anyone experienced this with a similar setup?
 
 My CATALINA_OPTS:
 CATALINA_OPTS=-Xms2548m -Xmx2548m -server
 
 All I see in Catalina.out is the following.  Messages preceding this VM
 dump
 message are different each time.
 
 #
 # HotSpot Virtual Machine Error, Internal Error
 # Please report this error at
 # http://java.sun.com/cgi-bin/bugreport.cgi
 #
 # Java VM: Java HotSpot(TM) Server VM (1.4.2_03-b02 mixed mode)
 #
 # Error ID: 53484152454432554E54494D450E435050018D
 #
 # Problematic Thread: prio=1 tid=0x085062c8 nid=0x22c5 runnable
 #
 
 Heap at VM Abort:
 Heap
  def new generation   total 260928K, used 132963K [0x0f7f,
 0x2130,
 0x2130)
   eden space 232000K,  53% used [0x0f7f, 0x170acf50, 0x1da8)
   to   space 28928K,   0% used [0x1f6c, 0x1f6c, 0x2130)
  tenured generation   total 2319296K, used 46617K [0x2130,
 0xaebf,
 0xaebf)
the space 2319296K,   2% used [0x2130, 0x240865e8, 0x24086600,
 0xaebf)
  compacting perm gen  total 26112K, used 26092K [0xaebf,
 0xb057,
 0xb2bf)
the space 26112K,  99% used [0xaebf, 0xb056b260, 0xb056b400,
 0xb057)
 
 
 
 --
 Joe Miller
 Linux Administrator
 GoDaddy.com
 [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 4.1.29 JVM crash on RHEL-3-ES

2004-03-01 Thread Kannan Sundararajan
Did you go thru some profilers. 

1. Which version of JVM you are running. 
2. What is your hardware OS.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 3:04 PM
To: Tomcat Users List
Cc: 'Tomcat Users List'
Subject: RE: Tomcat 4.1.29 JVM crash on RHEL-3-ES


The servers are only being used internally for testing at the moment.  As
best I can tell, the crashes occur at night when nothing (or very few
people) are using the them.


  Original Message 
 Subject: RE: Tomcat 4.1.29 JVM crash on RHEL-3-ES
 From: Kannan Sundararajan [EMAIL PROTECTED]
 Date: Mon, March 01, 2004 11:53 am
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 
 Did you load test these servers?
 
 -Original Message-
 From: Joe Miller [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 01, 2004 1:37 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat 4.1.29 JVM crash on RHEL-3-ES
 
 
 Hello,
 
 I'm experiencing sporadic crashing of the JVM running Tomcat in 2 of
 my
 environments.  These environments both run the same webapps, and they
 both
 use JDK 1.4.2_03 on RHEL-3 ES.  Other environments where these same
 webapps
 run are using JDK 1.4.1 and Redhat7.2, and are not experiencing these
 crashes.
 
 The crashes appear to happen at random times and hours.  Currently
 these
 webapps are very lightly used, and most likely completely unused when
 the
 crashes occur.
 
 Has anyone experienced this with a similar setup?
 
 My CATALINA_OPTS:
 CATALINA_OPTS=-Xms2548m -Xmx2548m -server
 
 All I see in Catalina.out is the following.  Messages preceding this VM
 dump
 message are different each time.
 
 #
 # HotSpot Virtual Machine Error, Internal Error
 # Please report this error at
 # http://java.sun.com/cgi-bin/bugreport.cgi
 #
 # Java VM: Java HotSpot(TM) Server VM (1.4.2_03-b02 mixed mode)
 #
 # Error ID: 53484152454432554E54494D450E435050018D
 #
 # Problematic Thread: prio=1 tid=0x085062c8 nid=0x22c5 runnable
 #
 
 Heap at VM Abort:
 Heap
  def new generation   total 260928K, used 132963K [0x0f7f,
 0x2130,
 0x2130)
   eden space 232000K,  53% used [0x0f7f, 0x170acf50, 0x1da8)
   to   space 28928K,   0% used [0x1f6c, 0x1f6c, 0x2130)
  tenured generation   total 2319296K, used 46617K [0x2130,
 0xaebf,
 0xaebf)
the space 2319296K,   2% used [0x2130, 0x240865e8, 0x24086600,
 0xaebf)
  compacting perm gen  total 26112K, used 26092K [0xaebf,
 0xb057,
 0xb2bf)
the space 26112K,  99% used [0xaebf, 0xb056b260, 0xb056b400,
 0xb057)
 
 
 
 --
 Joe Miller
 Linux Administrator
 GoDaddy.com
 [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 4.1.29 JVM crash on RHEL-3-ES

2004-03-01 Thread Christopher Schultz
Joe,

I'm experiencing sporadic crashing of the JVM running Tomcat in 2 of my
environments.  These environments both run the same webapps, and they both
use JDK 1.4.2_03 on RHEL-3 ES.  Other environments where these same webapps
run are using JDK 1.4.1 and Redhat7.2, and are not experiencing these
crashes.
What kernel version are you using (I assume you're using 2.4.something). 
There's a lot of talk on this list about having to set the 
LD_ASSUME_KERNEL environment variable in order to prevent crashes like 
these on various versions of Linux (esp. RedHat). I myself have never 
needed this setting.

Do a quick search in the archives for LD_ASSUME and see whet they have 
to say.

-chris


signature.asc
Description: OpenPGP digital signature


Re: Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-15 Thread Christopher Schultz
All,

With RH8, I assume that at the very least you'll need to set 
LD_KERNEL_ASSUME.

I would consider that the first course of action, and likely would not 
need to do anything else. I could see hyperthreading a problem if the 
kernel didn't support it very well. You could try the latest 2.4.x kernel.
If the LD_ASSUME_KERNEL doesn't help, try disabling both SMP and 
hyperthreading at the same time. I think that's your next most likely fix.

Just a note: I've had big, beefy servers die with SIG11 on Linux before 
(or course, that was back when a dual athlon 1GHz was considered 'beefy' 
:). Anyway, we tried everything, including hiring BEA consultants for a 
bazillion dollars per hour to help us tune both Weblogic and our VM.

It turned out to be bad hardware. We had six identical machines and two 
of 'em kept crapping out. They just sucked. The only solution was to 
send them back to the manufacturer and ask for more. It turns out that 
not only did those two (production!) machines suck, but two QA machines 
and one dev machine (all the same) sucked, too. They all died when we 
put them under high load. They seemed to do okay under development load 
(about zero).

I'll never buy a machine from Penguin Computing again.

Just wanted to mention that sometimes it's not the software's fault. Do 
you have other similar machines that you can try this on?

-chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-15 Thread Ralph Einfeldt
An additional remark,

hardware shops are sometimes quite floppy with the ram they 
use. Even if you order specific ram you may get something
different. (E.G. if you order infineon ram, you sometimes
just get noname modules with infineon chips, which is a 
completly different thing) This caused us all kind of 
trouble with stability. (Certaily we verify what we get,
but sometime there was not enough time to wait for the
replacement)

 -Original Message-
 From: Christopher Schultz [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 15, 2004 4:44 PM
 To: Tomcat Users List
 Subject: Re: Signal 11 crash and mod_jk, mod_jk2, apache2
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-15 Thread Oscar Carrillo
I thought later about mentioning this, and that's exactly right.

I always use the free memtest86 http://memtest86.com to test the
memory sub-system before deploying.

Sometimes I turn down the FSB and the memory bus speed, makes the crashes
go away.

Oscar

On Thu, 15 Jan 2004, Christopher Schultz wrote:

 All,
 
  With RH8, I assume that at the very least you'll need to set 
  LD_KERNEL_ASSUME.
  
  I would consider that the first course of action, and likely would not 
  need to do anything else. I could see hyperthreading a problem if the 
  kernel didn't support it very well. You could try the latest 2.4.x kernel.
 
 If the LD_ASSUME_KERNEL doesn't help, try disabling both SMP and 
 hyperthreading at the same time. I think that's your next most likely fix.
 
 Just a note: I've had big, beefy servers die with SIG11 on Linux before 
 (or course, that was back when a dual athlon 1GHz was considered 'beefy' 
 :). Anyway, we tried everything, including hiring BEA consultants for a 
 bazillion dollars per hour to help us tune both Weblogic and our VM.
 
 It turned out to be bad hardware. We had six identical machines and two 
 of 'em kept crapping out. They just sucked. The only solution was to 
 send them back to the manufacturer and ask for more. It turns out that 
 not only did those two (production!) machines suck, but two QA machines 
 and one dev machine (all the same) sucked, too. They all died when we 
 put them under high load. They seemed to do okay under development load 
 (about zero).
 
 I'll never buy a machine from Penguin Computing again.
 
 Just wanted to mention that sometimes it's not the software's fault. Do 
 you have other similar machines that you can try this on?
 
 -chris
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-14 Thread Peter Burkholder
I've seen similar threads but not a resolution, so I'll raise this issue
again.

I'm moving our web server and web apps to a new machine, a dual Xeon Redhat
8 box.  Tomcat 5.0.16 and Tomcat 4.1.29 both handle loads well when using
the Tomcat HTTP server.  But I need to connect Tomcat to an Apache
front-end, currently 2.0.28.  When I use either mod_jk or mod_jk2, the JVM
crashes after 1970-1980 requests with Signal 11 and this in
logs/catalina.out:

JVMDG217: Dump Handler is Processing a Signal - Please Wait.
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to
/ucar/dpc/aegean/www/web/www.dlese.org/tomcat/javacore.20040113.142044.6635.txt
JVMDG215: Dump Handler has Processed Exception Signal 11.

 and this exception in the java core:

 2XMEXCPINFOJVM Exception 0x2 (subcode 0x0) occurred in thread
 TP-Processor9 (TID:0x10174AB8)

I've seen suggested avenues like:
# kernel rebuilds (some 2.4.18-2.4.2? kernels had bad thread handling)
# switching JVMs, e.g., Sun, IBM, BEA JRockit
# cleaning out the work directory,
# using or not using LD_ASSUME_KERNEL,
# disabling hyperthreading,
# disabling SMP,
# adjusting heap and stack sizes
# rebuilding the mod_jk or mod_jk2 connectores.
# expanding user ulimits

That makes for a huge matrix of possibilities.  Any hints on which paths
might be more fruitful, or others to consider.  Are more data needed to help
isolate this problem?

Thanks,

Peter


MISC DETAILS:
Kernel: Redhat 2.4.20-27.8smp 
JVM:  IBMJava2-141
glibc Version: 2.3.2
Memory: 2Gb
JVM Memory: Behavior is the same with either -Xms250m or -Xms512m
2 CPUS /w hyperthreading looks like 4 CPUs

CORE EXCERPTS:  
1HPUSERLIMITS  User Limits (in bytes except for NOFILE and NPROC) -
NULL   ---
2HPUSERLIMIT   RLIMIT_FSIZE   : infinity
2HPUSERLIMIT   RLIMIT_DATA: infinity
2HPUSERLIMIT   RLIMIT_STACK   : 2093056
2HPUSERLIMIT   RLIMIT_CORE: 0
2HPUSERLIMIT   RLIMIT_NOFILE  : 1024
2HPUSERLIMIT   RLIMIT_NPROC   : 7168

2HPENVVAR  IBM_JAVA_COMMAND_LINE=/opt/java/java/bin/java -Xmx512m -Djava.end
orsed.dirs=/opt/tomcat/tomcat4.1/common/endorsed -classpath /opt/java/java/lib/t
ools.jar:/opt/tomcat/tomcat4.1/bin/bootstrap.jar -Dcatalina.base=/www/web//www.d
lese.org/tomcat -Dcatalina.home=/opt/tomcat/tomcat4.1 -Djava.io.tmpdir=/www/web/
/www.dlese.org/tomcat/temp org.apache.catalina.startup.Bootstrap -config /www/we
b//www.dlese.org/tomcat/conf/dds.xml start

--
Peter Burkholder, System Administrator
Digital Library for Earth System Education (DLESE® -- http://www.dlese.org)
[EMAIL PROTECTED]
DLESE Program Center (DPC)   ~~~  ~~     __o
UCAR/DPC, P.O. Box 3000   Ph) +1-303-497-2663  ~~~   ~~_`\,_
Boulder, CO 80307-3000Fx) +1 303-497-8336  ~~~    (*)/ (*)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-14 Thread David Short
Hi Peter,

It sounds like you've got Tomcat 5.0.16 running in-process with Apache2.
I'm trying to get this configuration working.  Would you mind posting your
workers.properties file?

Thanks,

Dave

-Original Message-
From: Peter Burkholder [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 8:29 AM
To: [EMAIL PROTECTED]
Subject: Signal 11 crash and mod_jk, mod_jk2, apache2


I've seen similar threads but not a resolution, so I'll raise this issue
again.

I'm moving our web server and web apps to a new machine, a dual Xeon Redhat
8 box.  Tomcat 5.0.16 and Tomcat 4.1.29 both handle loads well when using
the Tomcat HTTP server.  But I need to connect Tomcat to an Apache
front-end, currently 2.0.28.  When I use either mod_jk or mod_jk2, the JVM
crashes after 1970-1980 requests with Signal 11 and this in
logs/catalina.out:

JVMDG217: Dump Handler is Processing a Signal - Please Wait.
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to
/ucar/dpc/aegean/www/web/www.dlese.org/tomcat/javacore.20040113.142044.6635.
txt
JVMDG215: Dump Handler has Processed Exception Signal 11.

 and this exception in the java core:

 2XMEXCPINFOJVM Exception 0x2 (subcode 0x0) occurred in thread
 TP-Processor9 (TID:0x10174AB8)

I've seen suggested avenues like:
# kernel rebuilds (some 2.4.18-2.4.2? kernels had bad thread handling)
# switching JVMs, e.g., Sun, IBM, BEA JRockit
# cleaning out the work directory,
# using or not using LD_ASSUME_KERNEL,
# disabling hyperthreading,
# disabling SMP,
# adjusting heap and stack sizes
# rebuilding the mod_jk or mod_jk2 connectores.
# expanding user ulimits

That makes for a huge matrix of possibilities.  Any hints on which paths
might be more fruitful, or others to consider.  Are more data needed to help
isolate this problem?

Thanks,

Peter


MISC DETAILS:
Kernel: Redhat 2.4.20-27.8smp
JVM:  IBMJava2-141
glibc Version: 2.3.2
Memory: 2Gb
JVM Memory: Behavior is the same with either -Xms250m or -Xms512m
2 CPUS /w hyperthreading looks like 4 CPUs

CORE EXCERPTS:
1HPUSERLIMITS  User Limits (in bytes except for NOFILE and NPROC) -
NULL   ---
2HPUSERLIMIT   RLIMIT_FSIZE   : infinity
2HPUSERLIMIT   RLIMIT_DATA: infinity
2HPUSERLIMIT   RLIMIT_STACK   : 2093056
2HPUSERLIMIT   RLIMIT_CORE: 0
2HPUSERLIMIT   RLIMIT_NOFILE  : 1024
2HPUSERLIMIT   RLIMIT_NPROC   : 7168

2HPENVVAR
 IBM_JAVA_COMMAND_LINE=/opt/java/java/bin/java -Xmx512m -Djava.end
orsed.dirs=/opt/tomcat/tomcat4.1/common/endorsed -classpath
/opt/java/java/lib/t
ools.jar:/opt/tomcat/tomcat4.1/bin/bootstrap.jar -Dcatalina.base=/www/web//w
ww.d
lese.org/tomcat -Dcatalina.home=/opt/tomcat/tomcat4.1 -Djava.io.tmpdir=/www/
web/
/www.dlese.org/tomcat/temp org.apache.catalina.startup.Bootstrap -config
/www/we
b//www.dlese.org/tomcat/conf/dds.xml start

--
Peter Burkholder, System Administrator
Digital Library for Earth System Education (DLESE® -- http://www.dlese.org)
[EMAIL PROTECTED]
DLESE Program Center (DPC)   ~~~  ~~     __o
UCAR/DPC, P.O. Box 3000   Ph) +1-303-497-2663  ~~~   ~~
_`\,_
Boulder, CO 80307-3000Fx) +1 303-497-8336  ~~~    (*)/
(*)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-14 Thread Peter Burkholder
On Wed, Jan 14, 2004 at 09:31:42AM -0800, David Short wrote:
 It sounds like you've got Tomcat 5.0.16 running in-process with Apache2.
 I'm trying to get this configuration working.  Would you mind posting your
 workers.properties file?
No, I'm not running tomcat in-process.  Sorry if I wasn't clear.

P.
 
 Thanks,
 
 Dave
 
 I've seen similar threads but not a resolution, so I'll raise this issue
 again.
 
 I'm moving our web server and web apps to a new machine, a dual Xeon Redhat
 8 box.  Tomcat 5.0.16 and Tomcat 4.1.29 both handle loads well when using
 the Tomcat HTTP server.  But I need to connect Tomcat to an Apache
 front-end, currently 2.0.28.  When I use either mod_jk or mod_jk2, the JVM
 crashes after 1970-1980 requests with Signal 11 and this in
 logs/catalina.out:
--
Peter Burkholder, System Administrator
Digital Library for Earth System Education (DLESE® -- http://www.dlese.org)
[EMAIL PROTECTED]
DLESE Program Center (DPC)   ~~~  ~~     __o
UCAR/DPC, P.O. Box 3000   Ph) +1-303-497-2663  ~~~   ~~_`\,_
Boulder, CO 80307-3000Fx) +1 303-497-8336  ~~~    (*)/ (*)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Signal 11 crash and mod_jk, mod_jk2, apache2

2004-01-14 Thread Oscar Carrillo
With RH8, I assume that at the very least you'll need to set 
LD_KERNEL_ASSUME.

I would consider that the first course of action, and likely would not 
need to do anything else. I could see hyperthreading a problem if the 
kernel didn't support it very well. You could try the latest 2.4.x kernel.

Oscar

On Wed, 14 Jan 2004, Peter Burkholder wrote:

 I've seen similar threads but not a resolution, so I'll raise this issue
 again.
 
 I'm moving our web server and web apps to a new machine, a dual Xeon Redhat
 8 box.  Tomcat 5.0.16 and Tomcat 4.1.29 both handle loads well when using
 the Tomcat HTTP server.  But I need to connect Tomcat to an Apache
 front-end, currently 2.0.28.  When I use either mod_jk or mod_jk2, the JVM
 crashes after 1970-1980 requests with Signal 11 and this in
 logs/catalina.out:
 
 JVMDG217: Dump Handler is Processing a Signal - Please Wait.
 JVMDG303: JVM Requesting Java core file
 JVMDG304: Java core file written to
 /ucar/dpc/aegean/www/web/www.dlese.org/tomcat/javacore.20040113.142044.6635.txt
 JVMDG215: Dump Handler has Processed Exception Signal 11.
 
  and this exception in the java core:
 
  2XMEXCPINFOJVM Exception 0x2 (subcode 0x0) occurred in thread
  TP-Processor9 (TID:0x10174AB8)
 
 I've seen suggested avenues like:
 # kernel rebuilds (some 2.4.18-2.4.2? kernels had bad thread handling)
 # switching JVMs, e.g., Sun, IBM, BEA JRockit
 # cleaning out the work directory,
 # using or not using LD_ASSUME_KERNEL,
 # disabling hyperthreading,
 # disabling SMP,
 # adjusting heap and stack sizes
 # rebuilding the mod_jk or mod_jk2 connectores.
 # expanding user ulimits
 
 That makes for a huge matrix of possibilities.  Any hints on which paths
 might be more fruitful, or others to consider.  Are more data needed to help
 isolate this problem?
 
 Thanks,
 
 Peter
 
 
 MISC DETAILS:
 Kernel: Redhat 2.4.20-27.8smp 
 JVM:  IBMJava2-141
 glibc Version: 2.3.2
 Memory:   2Gb
 JVM Memory: Behavior is the same with either -Xms250m or -Xms512m
 2 CPUS /w hyperthreading looks like 4 CPUs
 
 CORE EXCERPTS:
 1HPUSERLIMITS  User Limits (in bytes except for NOFILE and NPROC) -
 NULL   ---
 2HPUSERLIMIT   RLIMIT_FSIZE   : infinity
 2HPUSERLIMIT   RLIMIT_DATA: infinity
 2HPUSERLIMIT   RLIMIT_STACK   : 2093056
 2HPUSERLIMIT   RLIMIT_CORE: 0
 2HPUSERLIMIT   RLIMIT_NOFILE  : 1024
 2HPUSERLIMIT   RLIMIT_NPROC   : 7168
 
 2HPENVVAR  IBM_JAVA_COMMAND_LINE=/opt/java/java/bin/java -Xmx512m -Djava.end
 orsed.dirs=/opt/tomcat/tomcat4.1/common/endorsed -classpath /opt/java/java/lib/t
 ools.jar:/opt/tomcat/tomcat4.1/bin/bootstrap.jar -Dcatalina.base=/www/web//www.d
 lese.org/tomcat -Dcatalina.home=/opt/tomcat/tomcat4.1 -Djava.io.tmpdir=/www/web/
 /www.dlese.org/tomcat/temp org.apache.catalina.startup.Bootstrap -config /www/we
 b//www.dlese.org/tomcat/conf/dds.xml start
 
 --
 Peter Burkholder, System Administrator
 Digital Library for Earth System Education (DLESE® -- http://www.dlese.org)
 [EMAIL PROTECTED]
 DLESE Program Center (DPC)   ~~~  ~~     __o
 UCAR/DPC, P.O. Box 3000   Ph) +1-303-497-2663  ~~~   ~~_`\,_
 Boulder, CO 80307-3000Fx) +1 303-497-8336  ~~~    (*)/ (*)
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JSPC Jasper compiler crash.

2003-11-30 Thread Alex Kowalenko

Does anyone know why the JSPC Jasper compiler would throw a null exception
on the following file. Within Tomcat 4.0,4.1,5.0 it works fine. However,
pre-compiling it causes it to throw a exception as follows. The significant
feature of the JSP file is that it uses a custom taglib.

Do I have to somehow give the japser compiler special options to locate the
taglib, or does it work it out from the normal taglib definitions in the
application's filesystem.

The JSP file:

%@ taglib prefix=ihook uri=/ihook %
%@ taglib prefix=c uri=http://java.sun.com/jstl/core; %

table width=80% border=0
  tr
tdihook:calendar
baseURL=list.jsp?location=${webApp.webRoomBooking.location}
month=${webApp.webRoomBooking.prevMonth}
highlight=${webApp.webRoomBooking.date}
left=-3/
/td
tdihook:calendar
baseURL=list.jsp?location=${webApp.webRoomBooking.location}
month=${webApp.webRoomBooking.date}
highlight=${webApp.webRoomBooking.date}/
/td
tdihook:calendar
baseURL=list.jsp?location=${webApp.webRoomBooking.location}
month=${webApp.webRoomBooking.nextMonth}
highlight=${webApp.webRoomBooking.date}
right=3/
/td
  /tr
/table

The ant build tag is:jspc:

target name=jspc depends=init
taskdef classname=org.apache.jasper.JspC name=jasper2 
classpath id=jspc.classpath
pathelement location=${java.home}/../lib/tools.jar/
fileset dir=${TOMCAT}/server/lib
include name=*.jar/
/fileset
fileset dir=${TOMCAT}/common/lib
include name=*.jar/
/fileset
/classpath
/taskdef

echo message=Tomcat is ${TOMCAT}/
jasper2
 validateXml=false
 uriroot=${SRC}
 webXmlFragment=${SRC}/WEB-INF/generated_web.xml
 outputDir=${SRC}/WEB-INF/src /
  /target

The verbose output is:
 [echo] Tomcat is F:/Tomcat4.1
  [jasper2] Error in class org.apache.jasper.JspC
2003-12-01 11:06:36 - ERROR-the file '\roombooking\dates.jsp' generated the
following general exception: java.lang.NullPointerException

BUILD FAILED
file:D:/Alex/Release/iHookWeb/build.xml:68:
org.apache.jasper.JasperException: Error compiling \roombooking\dates.jsp
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:155)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Caused by: org.apache.jasper.JasperException: Error compiling
\roombooking\dates.jsp
at org.apache.jasper.JspC.processFile(JspC.java:596)
at org.apache.jasper.JspC.execute(JspC.java:801)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:147)
... 9 more
--- Nested Exception ---
org.apache.jasper.JasperException: Error compiling \roombooking\dates.jsp
at org.apache.jasper.JspC.processFile(JspC.java:596)
at org.apache.jasper.JspC.execute(JspC.java:801)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:147)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)

Alex



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



TOMCAT 3.3 crash daily

2003-11-26 Thread Sarel Bester
Hi all

I have an app running on the following config:
- Windows 2000 Advanced server (Dual PIII 1GHz CPU with 4GB RAM)
- IIS 5
- Tomcat 3.3 (NOT 3.3.x)
- ISAPI redirector 1.2 (size = 128K)
- JDK 1.3.1_09
- Oracle 8.1.7

Tomcat is locking up almost everyday.  Log files show a lot of bad DB
connections that cannot be reset.  The app that I deployed gets connected to
by about 130 - 140 users at peak times (which doesn't really seem to be that
much.).

Some advice that I received (not in the Tocat user forum) is the following :
A)  Confirm that TC uses Server version of JVM.  (I presume this is the
jvm.dll in the JAVA_HOME\JRE\BIN\SERVER folder?)
I found the following line in the workers.properties :
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p
s)jvm.dll

I changed it to :
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)server$(ps
)jvm.dll

Is this the correct place to make TC 3.3 use Server version of JVM?

B) Set memory parameters -Xms and - Xmx to allocate TC more memory.
I am not sure where to do this . . .:-0

I have seen in this forum previously that someone said it must be specified
in the start parameters in the General Tab screen of the Tomcat Service
properties.  Is it possible to specify these parameters in the
wrapper.properties file (which seem to be used by the Tomcat service for
startup)?

What is the correct place to do this?  Even registry perhaps . . . ?

Is this exact syntax correct for the Windows OS?  -Xms128 -Xmx1024

I am not very experienced in using Tomcat and is hesitant to Upgrade to, say
, 4.1x.  But if you reckon it maybe a better alternative, I will certainly
consider.

Thanks in advance.

Sarel Bester
Laragh Skills
Work:  +27 11 2340690
Fax:  +27 11 2340790
Cell:  +27 82 8825009
e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: TOMCAT 3.3 crash daily

2003-11-26 Thread jerome moliere
Sarel Bester wrote:

Hi all

I have an app running on the following config:
- Windows 2000 Advanced server (Dual PIII 1GHz CPU with 4GB RAM)
- IIS 5
- Tomcat 3.3 (NOT 3.3.x)
- ISAPI redirector 1.2 (size = 128K)
- JDK 1.3.1_09
- Oracle 8.1.7
Tomcat is locking up almost everyday.  Log files show a lot of bad DB
connections that cannot be reset.  The app that I deployed gets connected to
by about 130 - 140 users at peak times (which doesn't really seem to be that
much.).
Some advice that I received (not in the Tocat user forum) is the following :
A)  Confirm that TC uses Server version of JVM.  (I presume this is the
jvm.dll in the JAVA_HOME\JRE\BIN\SERVER folder?)
I found the following line in the workers.properties :
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p
s)jvm.dll
I changed it to :
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)server$(ps
)jvm.dll
Is this the correct place to make TC 3.3 use Server version of JVM?

 

oops, there's a more trivial way for getting the JVM use server option, 
that is to say give the -server option to the java program while 
invoking (see your scripts catalina.bat)

B) Set memory parameters -Xms and - Xmx to allocate TC more memory.
I am not sure where to do this . . .:-0
I have seen in this forum previously that someone said it must be specified
in the start parameters in the General Tab screen of the Tomcat Service
properties.  Is it possible to specify these parameters in the
wrapper.properties file (which seem to be used by the Tomcat service for
startup)?
What is the correct place to do this?  Even registry perhaps . . . ?

Is this exact syntax correct for the Windows OS?  -Xms128 -Xmx1024

 

like for your first question this is not a directly related question 
about tomcat but a question regarding howto setup/tune options to your 
JVM
java -help will give you any details...

I am not very experienced in using Tomcat and is hesitant to Upgrade to, say
, 4.1x.  But if you reckon it maybe a better alternative, I will certainly
consider.
 

I can't recommand you enough to look for JVM configurations tricks  to
ask about changing your JVM. I think that BEA Jrockit or latest JVM from 
Sun could be good solutions...
Note that with BEA JVM the -option is deprecated , so leaving the 
default parameter (jrockit) is a good choice
HTH
Jerome

--
Auteur cahier du programmeur Java tome 2 - Eyrolles 10/2003
http://www.eyrolles.com/php.informatique/Ouvrages/ouvrage.php3?ouv_ean13=9782212111941


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Vedr.: Re: TOMCAT 3.3 crash daily

2003-11-26 Thread Thomas Nybro Bolding
Hi Sarel,
regarding the jvm settings you might want to look at 
http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=tcservcfgpage=overview
 
from http://jakarta.apache.org/tomcat/faq/windows.html. I havent tried the 
utility myself but has modified the parameters in the Windows registry. To 
do that add/change relevant paremeters in HKEY_LOCAL _MACHINE - SYSTEM - 
CurrentControlSet -- Services - Apache-Tomcat - Parameters (using TC 
4.1 though...)

The syntax in your case is then -Xms128m -Xmx1024m.

As yoy say DB connections cannot be reset I would make sure the used 
connections are being returned to the connection pool or in case you are 
not using a pool being closed properly - and then ASAP use connection 
pooling instead.

Anyway I would till consider upgrade both the JVM and Tomcat.

Last I should note am not that Tomcat savy so perhaps some of the more 
experienced folks in here would shed some light upon this issue...

Best regards Thomas





jerome moliere [EMAIL PROTECTED]
26-11-03 11:48
Besvar venligst til Tomcat Users List

 
Til:Tomcat Users List [EMAIL PROTECTED]
cc: 
Vedr.:  Re: TOMCAT 3.3 crash daily

Sarel Bester wrote:

Hi all

I have an app running on the following config:
- Windows 2000 Advanced server (Dual PIII 1GHz CPU with 4GB RAM)
- IIS 5
- Tomcat 3.3 (NOT 3.3.x)
- ISAPI redirector 1.2 (size = 128K)
- JDK 1.3.1_09
- Oracle 8.1.7

Tomcat is locking up almost everyday.  Log files show a lot of bad DB
connections that cannot be reset.  The app that I deployed gets connected 
to
by about 130 - 140 users at peak times (which doesn't really seem to be 
that
much.).

Some advice that I received (not in the Tocat user forum) is the 
following :
A)  Confirm that TC uses Server version of JVM.  (I presume this is the
jvm.dll in the JAVA_HOME\JRE\BIN\SERVER folder?)
I found the following line in the workers.properties :
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p
s)jvm.dll

I changed it to :
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)server$(ps
)jvm.dll

Is this the correct place to make TC 3.3 use Server version of JVM?

 

oops, there's a more trivial way for getting the JVM use server option, 
that is to say give the -server option to the java program while 
invoking (see your scripts catalina.bat)

B) Set memory parameters -Xms and - Xmx to allocate TC more memory.
I am not sure where to do this . . .:-0

I have seen in this forum previously that someone said it must be 
specified
in the start parameters in the General Tab screen of the Tomcat Service
properties.  Is it possible to specify these parameters in the
wrapper.properties file (which seem to be used by the Tomcat service for
startup)?

What is the correct place to do this?  Even registry perhaps . . . ?

Is this exact syntax correct for the Windows OS?  -Xms128 -Xmx1024

 

like for your first question this is not a directly related question 
about tomcat but a question regarding howto setup/tune options to your 
JVM
java -help will give you any details...

I am not very experienced in using Tomcat and is hesitant to Upgrade to, 
say
, 4.1x.  But if you reckon it maybe a better alternative, I will 
certainly
consider.
 

I can't recommand you enough to look for JVM configurations tricks  to
ask about changing your JVM. I think that BEA Jrockit or latest JVM from 
Sun could be good solutions...
Note that with BEA JVM the -option is deprecated , so leaving the 
default parameter (jrockit) is a good choice
HTH
Jerome

-- 
Auteur cahier du programmeur Java tome 2 - Eyrolles 10/2003
http://www.eyrolles.com/php.informatique/Ouvrages/ouvrage.php3?ouv_ean13=9782212111941




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





FONT SIZE=1 FACE=Arial___
Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du 
ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om 
fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit 
system uden at videresende eller kopiere den.
Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for 
virus og andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages 
og laeses, aabnes den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar 
for tab og skade, som er opstaaet i forbindelse med at modtage og bruge e-mailen.
___
Please note that this message may contain confidential information. If you have 
received this message by mistake, please inform the sender of the mistake by sending a 
reply, then delete the message from your system without making, distributing or 
retaining any copies of it.
Although we believe that the message and any attachments are free from viruses and 
other errors that might affect the computer or IT system

RE: Signal 11 causing Tomcat crash

2003-11-17 Thread Greg . Cope
I've seen similar things with Java.

Are all the java related patches for the OS applied.  We recently have a
similar issue with Solaris 2.8 and Java and applying the relevant patches
cured it.

File a bug report with Sun/IBM?

Greg

 -Original Message-
 From: Phil Steitz [mailto:[EMAIL PROTECTED]
 Sent: 15 November 2003 21:38
 To: Tomcat Users List
 Subject: Re: Signal 11 causing Tomcat crash
 
 
 Jim Goodspeed wrote:
  Unfortunately we have also tried Sun's JVM and are
  experiencing the same Signal 11 errors (I've included
  two snippets of the Sun error - same error as the IBM
  Sig 11, just in a different format).  Sometimes the
  dump specifies the library in question, other times it
  does not.
  
  Thanks,
  Jim
  
  An unexpected exception has been detected in native
  code outside the VM.
  Unexpected Signal : 11 occurred at PC=0x1
  Function=[Unknown.]
  Library=(N/A)
  
  An unexpected exception has been detected in native
  code outside the VM.
  Unexpected Signal : 11 occurred at PC=0x59DF83B0
  Function=(null)+0x59DF83B0
  Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1
 
 Are you sure that the driver version and fixpack match the 
 server?  DB2 
 can do funny things when this is not the case.  See for example: 
 http://dbforums.com/arch/39/2002/9/515834
 
 Phil
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat crash from catalina.bat, but not from starting as NT Servi ce

2003-11-17 Thread Wendell Holmes
I have an app that causes a Tomcat crash when I start Tomcat5 from the
command line with 'catalina run'.  I get a native code exception that
follows this explanation.  When I start Tomcat 5 as an NT service (chosen
during install), the app runs okay.  What's causing the difference.  I've
tried following all the suggestions for increasing both stack and heap sizes
in catalina.bat, the registry, jvm.cfg and NT system env variables, all to
no avail. 

If you can offer any suggestions, please use baby steps, as I've been
confused whether to use -mx128m, -Xmx128m, -Dsomethingelse. 

Thanks,
Wendell Holmes

Here's the exception trace:

INFO: Server startup in 3125 ms
WebQueryBean:  executing the WebQueryBean constructor...
An unrecoverable stack overflow has occurred.

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_STACK_OVERFLOW (0xc0fd) occurred at
PC=0x1958C857
Function=[Unknown.]
Library=C:\WINNT\system32\edulogWeb.dll

NOTE: We are unable to locate the function name symbol for the error
  just occurred. Please refer to release documentation for possible
  reason and solutions.


Current Java thread:
at com.edulog.dbms.edulognt.edulogDBMS.GetAttendSchools(Native
Method)
- locked 0x10958b38 (a com.edulog.dbms.edulognt.edulogDBMS)
at
com.edulog.webquery.WebQueryBean.setAttendSchools(WebQueryBean.java:679)
at
com.edulog.webquery.WebQueryBean.verifyAddress(WebQueryBean.java:1517)
at
com.edulog.webquery.WebQueryBean.verifyAddress(WebQueryBean.java:1475)
at
com.edulog.webquery.WebQueryBean.adjustBeanState(WebQueryBean.java:316)
at
org.apache.jsp.webquery.WebQuery_jsp._jspService(WebQuery_jsp.java:87)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:284)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:204)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:245)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:199)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164
)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:149)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:156)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:309)
at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:666)
at java.lang.Thread.run(Unknown Source)

Dynamic libraries:
0x0040 - 0x00406000 C:\Program
Files\Java\j2re1.4.2_02\bin\java.exe
0x77F8 - 0x77FFA000 C:\WINNT\system32\ntdll.dll
0x77DB - 0x77E0B000 C:\WINNT\system32\ADVAPI32.dll
0x7C57 - 0x7C623000 C:\WINNT\system32\KERNEL32.dll
0x77D3 - 0x77D9E000 C:\WINNT\system32\RPCRT4.dll
0x7800 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
0x0800 - 0x08138000

Re: Signal 11 causing Tomcat crash

2003-11-15 Thread Phil Steitz
Jim Goodspeed wrote:
Unfortunately we have also tried Sun's JVM and are
experiencing the same Signal 11 errors (I've included
two snippets of the Sun error - same error as the IBM
Sig 11, just in a different format).  Sometimes the
dump specifies the library in question, other times it
does not.
Thanks,
Jim
An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x1
Function=[Unknown.]
Library=(N/A)
An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x59DF83B0
Function=(null)+0x59DF83B0
Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1
Are you sure that the driver version and fixpack match the server?  DB2 
can do funny things when this is not the case.  See for example: 
http://dbforums.com/arch/39/2002/9/515834

Phil





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Signal 11 causing Tomcat crash

2003-11-14 Thread Jeff Tulley
Somebody on the development list seemed to indicate that this could be caused by 
native code - maybe your native JDBC driver. Try a pure java driver impl, if that is 
at all an option.

 [EMAIL PROTECTED] 11/13/03 6:52:01 AM 
Unfortunately we have also tried Sun's JVM and are
experiencing the same Signal 11 errors (I've included
two snippets of the Sun error - same error as the IBM
Sig 11, just in a different format).  Sometimes the
dump specifies the library in question, other times it
does not.

Thanks,
Jim

An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x1
Function=[Unknown.]
Library=(N/A)

An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x59DF83B0
Function=(null)+0x59DF83B0
Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1




--- Francois JEANMOUGIN
[EMAIL PROTECTED] wrote:
 
  0SECTION   XHPI subcomponent dump routine
  NULL   ==
  1HPTIMEWed Nov 12 08:19:26 2003
  1HPSIGRECV SIGSEGV received in ?? at
 0x41cc8e85 in
  /opt/IBMJava2-141/jre/bin/libjitc.so. Processing
  terminated.
  1HPFULLVERSION J2RE 1.4.1 IBM build
 cxia32141-20030522
 
 This problem was reported several time with IBM Jvm
 on hyperthreaded machines. We had to switch to Sun
 Jvm. No news from IBM about this JITC optimization
 problem.
 
 Also note that IBM Jvm can go SIG 11 when there are
 IPs with no names (in /etc/hosts or DNS). Those
 annoying things made me switch to Sun Jvm.
 
 François. 
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED] 
 For additional commands, e-mail:
 [EMAIL PROTECTED] 
 


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree 

-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


Jeff Tulley  ([EMAIL PROTECTED])
(801)861-5322
Novell, Inc., The Leading Provider of Net Business Solutions
http://www.novell.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Signal 11 causing Tomcat crash

2003-11-13 Thread jerome moliere
Jim Goodspeed wrote:

Really hoping that someone might be able to help us
with this.  We are experiencing Signal 11 crashes on
our tomcat server.  We have tried almost every
configuration that I can think of and we are still
getting these crashes at least once a week, sometimes
twice a day.  Unfortunately we can not reproduce this
anywhere except production.  Here is the current
setup:
RedHat AS 2.1
Kernel: 2.4.18-3smp
Memory: 2.5GB
JDK: IBM 1.4.1
Tomcat 4.1.29
We are using mod_jk to talk to the Apache server
(2.0.x) and the native DB2 jdbc driver to talk to our
DB2 databases.  We have also tried Tomcat 4.0.6 and
Sun's JDK v. 1.4.1_01 and 1.4.2 on RH 7.3.  We are
passing the following settings to the JVM: -Xms512m
-Xmx1024m.
We have also tried running this on three different
boxes to try and isolate hardware failures, but all
machines experience crashes in the same way.
Thanks in advance for any help.

Here is the beginning of the error (full file is too
big):
JVMDG217: Dump Handler is Processing a Signal - Please
Wait.
JVMDG303: JVM Requesting Java core file
JVMDG308: Error writing Java core buffer to file:
Permission denied
NULL  

0SECTION   TITLE subcomponent dump routine
NULL   ===
1TISIGINFO signal 11 received 
1TIDATETIMEDate: 2003/11/12 at
08:19:26
1TIFILENAMEJavacore filename:   
/usr/local/tomcat/javacore.20031112.081926.15871.txt
NULL  

0SECTION   XHPI subcomponent dump routine
NULL   ==
1HPTIMEWed Nov 12 08:19:26 2003
1HPSIGRECV SIGSEGV received in ?? at 0x41cc8e85 in
/opt/IBMJava2-141/jre/bin/libjitc.so. Processing
terminated.
1HPFULLVERSION J2RE 1.4.1 IBM build cxia32141-20030522
NULL   
1HPOPENV   Operating Environment
NULL   -
2HPHOSTNAMEHost : a002.(none)
2HPOSLEVEL OS Level : 2.4.18-3smp.#1 SMP
Thu Apr 18 07:27:31 EDT 2002
2HPLIBCVER glibc Version: 2.2.4
2HPCPUSProcessors -
3HPARCH  Architecture : (not implemented)
3HPNUMCPUS   How Many : (not implemented)
3HPCPUSENABLED   Enabled  : 4
NULL   
1HPMEMINFO Memory Info
NULL   ---
2HPMEMLINE total:used:free: 
shared: buffers:  cached:

2HPMEMLINE Mem:  2644201472 537800704 2106400768  
0 143089664 120524800

2HPMEMLINE Swap: 20968570880 2096857088

2HPMEMLINE MemTotal:  2582228 kB

2HPMEMLINE MemFree:   2057032 kB

2HPMEMLINE MemShared:   0 kB

2HPMEMLINE Buffers:139736 kB

2HPMEMLINE Cached: 117700 kB

2HPMEMLINE SwapCached:  0 kB

2HPMEMLINE Active: 409700 kB

2HPMEMLINE Inact_dirty: 33040 kB

2HPMEMLINE Inact_clean:  6028 kB

2HPMEMLINE Inact_target:89752 kB

2HPMEMLINE HighTotal: 1703860 kB

2HPMEMLINE HighFree:  1393124 kB

2HPMEMLINE LowTotal:   878368 kB

2HPMEMLINE LowFree:663908 kB

2HPMEMLINE SwapTotal: 2047712 kB

2HPMEMLINE SwapFree:  2047712 kB

2HPMEMLINE Committed_AS:   349996 kB
 

Hi Jim,
sounds bad, signal 11 on Linux is a warm up for material problems!!!
It could mean :
- machine overclocking with CPU overheated (I guess that's not the case 
for a production machine :) )
- or bad memory
- any other ugly hardware problem
But I can't see any  Tomcat  incidence with such problems...
It 's a hardware one...
The first thing to do is to chek cup your memory with any MS DOS floppy 
disk containing Goldmemory or such tool...
Sorry for my poor english written
HTH
Jerome

--
Auteur cahier du programmeur Java tome 2 - Eyrolles 10/2003
http://www.editions-eyrolles.com/php.informatique/index.php3?xd=d12eccd83077cb3683315026cd3b7586


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Signal 11 causing Tomcat crash

2003-11-13 Thread Francois JEANMOUGIN

 0SECTION   XHPI subcomponent dump routine
 NULL   ==
 1HPTIMEWed Nov 12 08:19:26 2003
 1HPSIGRECV SIGSEGV received in ?? at 0x41cc8e85 in
 /opt/IBMJava2-141/jre/bin/libjitc.so. Processing
 terminated.
 1HPFULLVERSION J2RE 1.4.1 IBM build cxia32141-20030522

This problem was reported several time with IBM Jvm on hyperthreaded machines. We had 
to switch to Sun Jvm. No news from IBM about this JITC optimization problem.

Also note that IBM Jvm can go SIG 11 when there are IPs with no names (in /etc/hosts 
or DNS). Those annoying things made me switch to Sun Jvm.

François. 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Signal 11 causing Tomcat crash

2003-11-13 Thread Jim Goodspeed
Unfortunately we have also tried Sun's JVM and are
experiencing the same Signal 11 errors (I've included
two snippets of the Sun error - same error as the IBM
Sig 11, just in a different format).  Sometimes the
dump specifies the library in question, other times it
does not.

Thanks,
Jim

An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x1
Function=[Unknown.]
Library=(N/A)

An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x59DF83B0
Function=(null)+0x59DF83B0
Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1




--- Francois JEANMOUGIN
[EMAIL PROTECTED] wrote:
 
  0SECTION   XHPI subcomponent dump routine
  NULL   ==
  1HPTIMEWed Nov 12 08:19:26 2003
  1HPSIGRECV SIGSEGV received in ?? at
 0x41cc8e85 in
  /opt/IBMJava2-141/jre/bin/libjitc.so. Processing
  terminated.
  1HPFULLVERSION J2RE 1.4.1 IBM build
 cxia32141-20030522
 
 This problem was reported several time with IBM Jvm
 on hyperthreaded machines. We had to switch to Sun
 Jvm. No news from IBM about this JITC optimization
 problem.
 
 Also note that IBM Jvm can go SIG 11 when there are
 IPs with no names (in /etc/hosts or DNS). Those
 annoying things made me switch to Sun Jvm.
 
 François. 
 
 
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Signal 11 causing Tomcat crash

2003-11-13 Thread Tim Funk
***Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1***

Does IBM provide a type 4 jdbc driver?

-Tim

Jim Goodspeed wrote:

Unfortunately we have also tried Sun's JVM and are
experiencing the same Signal 11 errors (I've included
two snippets of the Sun error - same error as the IBM
Sig 11, just in a different format).  Sometimes the
dump specifies the library in question, other times it
does not.
Thanks,
Jim
An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x1
Function=[Unknown.]
Library=(N/A)
An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x59DF83B0
Function=(null)+0x59DF83B0
Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Signal 11 causing Tomcat crash

2003-11-13 Thread Jim Lynch
Random sig 11s are sometime indicative of memory failures.  Be sure to 
run some good memory diagnostics.

Jim.

Jim Goodspeed wrote:

Unfortunately we have also tried Sun's JVM and are
experiencing the same Signal 11 errors (I've included
two snippets of the Sun error - same error as the IBM
Sig 11, just in a different format).  Sometimes the
dump specifies the library in question, other times it
does not.
Thanks,
Jim
An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x1
Function=[Unknown.]
Library=(N/A)
An unexpected exception has been detected in native
code outside the VM.
Unexpected Signal : 11 occurred at PC=0x59DF83B0
Function=(null)+0x59DF83B0
Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1


--- Francois JEANMOUGIN
[EMAIL PROTECTED] wrote:
0SECTION   XHPI subcomponent dump routine
NULL   ==
1HPTIMEWed Nov 12 08:19:26 2003
1HPSIGRECV SIGSEGV received in ?? at
0x41cc8e85 in

/opt/IBMJava2-141/jre/bin/libjitc.so. Processing
terminated.
1HPFULLVERSION J2RE 1.4.1 IBM build
cxia32141-20030522

This problem was reported several time with IBM Jvm
on hyperthreaded machines. We had to switch to Sun
Jvm. No news from IBM about this JITC optimization
problem.
Also note that IBM Jvm can go SIG 11 when there are
IPs with no names (in /etc/hosts or DNS). Those
annoying things made me switch to Sun Jvm.
François. 




-

To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Signal 11 causing Tomcat crash

2003-11-13 Thread Cox, Charlie
 -Original Message-
 From: Jim Goodspeed [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 13, 2003 8:52 AM
 To: Tomcat Users List
 Subject: RE: Signal 11 causing Tomcat crash
 
 
 Unfortunately we have also tried Sun's JVM and are
 experiencing the same Signal 11 errors (I've included
 two snippets of the Sun error - same error as the IBM
 Sig 11, just in a different format).  Sometimes the
 dump specifies the library in question, other times it
 does not.
 
 Thanks,
 Jim
 
 An unexpected exception has been detected in native
 code outside the VM.
 Unexpected Signal : 11 occurred at PC=0x1
 Function=[Unknown.]
 Library=(N/A)
 
 An unexpected exception has been detected in native
 code outside the VM.
 Unexpected Signal : 11 occurred at PC=0x59DF83B0
 Function=(null)+0x59DF83B0
 Library=/usr/IBMdb2/V7.1/lib/libdb2.so.1
 

this seems to be a problem with your DB2 driver. When you have an access
violation in native code, it also brings down the JVM. 


 
 
 
 --- Francois JEANMOUGIN
 [EMAIL PROTECTED] wrote:
  
   0SECTION   XHPI subcomponent dump routine
   NULL   ==
   1HPTIMEWed Nov 12 08:19:26 2003
   1HPSIGRECV SIGSEGV received in ?? at
  0x41cc8e85 in
   /opt/IBMJava2-141/jre/bin/libjitc.so. Processing
   terminated.
   1HPFULLVERSION J2RE 1.4.1 IBM build
  cxia32141-20030522
  
  This problem was reported several time with IBM Jvm
  on hyperthreaded machines. We had to switch to Sun
  Jvm. No news from IBM about this JITC optimization
  problem.
  
  Also note that IBM Jvm can go SIG 11 when there are
  IPs with no names (in /etc/hosts or DNS). Those
  annoying things made me switch to Sun Jvm.
  
  François. 
  
  
  
 
 -
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  
 
 
 __
 Do you Yahoo!?
 Protect your identity with Yahoo! Mail AddressGuard
 http://antispam.yahoo.com/whatsnewfree
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Signal 11 causing Tomcat crash

2003-11-13 Thread jerome moliere
Jim Goodspeed wrote:

Unfortunately we have also tried Sun's JVM and are
experiencing the same Signal 11 errors (I've included
two snippets of the Sun error - same error as the IBM
Sig 11, just in a different format).  Sometimes the
dump specifies the library in question, other times it
does not.
 

another hint:
what about ULIMITS on your machine ?
I guess that your Linux box uses a bash shell ?
JDK 1.4 had clever bugs with ulimit settings, may be your release had 
such problems
too...
but please check memory , motherboard temperature  so on...
HTH
Jerome

--
Auteur cahier du programmeur Java tome 2 - Eyrolles 10/2003
http://www.editions-eyrolles.com/php.informatique/index.php3?xd=d12eccd83077cb3683315026cd3b7586


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Signal 11 causing Tomcat crash

2003-11-13 Thread David Muller
we have verified that in certains cases (deploying new war file, how tomcat was 
stopped previously, etc.) that restarting tomcat 4.1.27 without first deleting the 
work directory and removing the CONTENTS of the temp directory (not the temp 
directory) itself will cause a sig 11.

Since we have started deleting the work and contents of temp we have had no sig 11 
crashes.  This is with 2 different apps.

-Dave

-Original Message-
From: jerome moliere [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 7:21 AM
To: Tomcat Users List
Subject: Re: Signal 11 causing Tomcat crash


Jim Goodspeed wrote:

Unfortunately we have also tried Sun's JVM and are
experiencing the same Signal 11 errors (I've included
two snippets of the Sun error - same error as the IBM
Sig 11, just in a different format).  Sometimes the
dump specifies the library in question, other times it
does not.
  

another hint:
what about ULIMITS on your machine ?
I guess that your Linux box uses a bash shell ?
JDK 1.4 had clever bugs with ulimit settings, may be your release had 
such problems
too...
but please check memory , motherboard temperature  so on...
HTH
Jerome

-- 
Auteur cahier du programmeur Java tome 2 - Eyrolles 10/2003
http://www.editions-eyrolles.com/php.informatique/index.php3?xd=d12eccd83077cb3683315026cd3b7586




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Signal 11 causing Tomcat crash

2003-11-13 Thread Peter Lin

that's interesting. I've seen database drivers do a
segfault signal 11 error, like Oracle OCI drivers. but
I haven't seen that happen.  Were you deploying using
the management utilities?

peter


--- David Muller [EMAIL PROTECTED] wrote:
 we have verified that in certains cases (deploying
 new war file, how tomcat was stopped previously,
 etc.) that restarting tomcat 4.1.27 without first
 deleting the work directory and removing the
 CONTENTS of the temp directory (not the temp
 directory) itself will cause a sig 11.
 
 Since we have started deleting the work and contents
 of temp we have had no sig 11 crashes.  This is with
 2 different apps.
 
 -Dave
 
 

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Signal 11 causing Tomcat crash

2003-11-12 Thread Jim Goodspeed
Really hoping that someone might be able to help us
with this.  We are experiencing Signal 11 crashes on
our tomcat server.  We have tried almost every
configuration that I can think of and we are still
getting these crashes at least once a week, sometimes
twice a day.  Unfortunately we can not reproduce this
anywhere except production.  Here is the current
setup:

RedHat AS 2.1
Kernel: 2.4.18-3smp
Memory: 2.5GB
JDK: IBM 1.4.1
Tomcat 4.1.29

We are using mod_jk to talk to the Apache server
(2.0.x) and the native DB2 jdbc driver to talk to our
DB2 databases.  We have also tried Tomcat 4.0.6 and
Sun's JDK v. 1.4.1_01 and 1.4.2 on RH 7.3.  We are
passing the following settings to the JVM: -Xms512m
-Xmx1024m.

We have also tried running this on three different
boxes to try and isolate hardware failures, but all
machines experience crashes in the same way.

Thanks in advance for any help.


Here is the beginning of the error (full file is too
big):


JVMDG217: Dump Handler is Processing a Signal - Please
Wait.
JVMDG303: JVM Requesting Java core file
JVMDG308: Error writing Java core buffer to file:
Permission denied
NULL  

0SECTION   TITLE subcomponent dump routine
NULL   ===
1TISIGINFO signal 11 received 
1TIDATETIMEDate: 2003/11/12 at
08:19:26
1TIFILENAMEJavacore filename:   
/usr/local/tomcat/javacore.20031112.081926.15871.txt
NULL  

0SECTION   XHPI subcomponent dump routine
NULL   ==
1HPTIMEWed Nov 12 08:19:26 2003
1HPSIGRECV SIGSEGV received in ?? at 0x41cc8e85 in
/opt/IBMJava2-141/jre/bin/libjitc.so. Processing
terminated.
1HPFULLVERSION J2RE 1.4.1 IBM build cxia32141-20030522
NULL   
1HPOPENV   Operating Environment
NULL   -
2HPHOSTNAMEHost : a002.(none)
2HPOSLEVEL OS Level : 2.4.18-3smp.#1 SMP
Thu Apr 18 07:27:31 EDT 2002
2HPLIBCVER glibc Version: 2.2.4
2HPCPUSProcessors -
3HPARCH  Architecture : (not implemented)
3HPNUMCPUS   How Many : (not implemented)
3HPCPUSENABLED   Enabled  : 4
NULL   
1HPMEMINFO Memory Info
NULL   ---
2HPMEMLINE total:used:free: 
shared: buffers:  cached:

2HPMEMLINE Mem:  2644201472 537800704 2106400768  
 0 143089664 120524800

2HPMEMLINE Swap: 20968570880 2096857088

2HPMEMLINE MemTotal:  2582228 kB

2HPMEMLINE MemFree:   2057032 kB

2HPMEMLINE MemShared:   0 kB

2HPMEMLINE Buffers:139736 kB

2HPMEMLINE Cached: 117700 kB

2HPMEMLINE SwapCached:  0 kB

2HPMEMLINE Active: 409700 kB

2HPMEMLINE Inact_dirty: 33040 kB

2HPMEMLINE Inact_clean:  6028 kB

2HPMEMLINE Inact_target:89752 kB

2HPMEMLINE HighTotal: 1703860 kB

2HPMEMLINE HighFree:  1393124 kB

2HPMEMLINE LowTotal:   878368 kB

2HPMEMLINE LowFree:663908 kB

2HPMEMLINE SwapTotal: 2047712 kB

2HPMEMLINE SwapFree:  2047712 kB

2HPMEMLINE Committed_AS:   349996 kB

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat crash

2003-11-07 Thread adriacom6340


Hello, I'm new to Tomcat and Apache so I'm wasting a lot of time trying to 
understand why Tomcat sometimes shutdown by itself or better it crash This 
happen without messages in the log file .

can someone have some experience in that solved the problem ?


Thanks to all.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat crash

2003-11-07 Thread Anton Modaresi
do you get an exception in the console window? If the tomcat window
vanishes, you can try starting with the catalina batch file instead of the
startup batch file.

regards, anton

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: den 7 november 2003 16:34
To: [EMAIL PROTECTED]
Subject: Tomcat crash




Hello, I'm new to Tomcat and Apache so I'm wasting a lot of time trying to 
understand why Tomcat sometimes shutdown by itself or better it crash
This 
happen without messages in the log file .

can someone have some experience in that solved the problem ?


Thanks to all.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat crash

2003-11-07 Thread adriacom6340
Unfortunately when tomcat crash I can't see the console window so I don't 
have any message useful to start the debugging...


Scrive Anton Modaresi [EMAIL PROTECTED]:

 do you get an exception in the console window? If the tomcat window
 vanishes, you can try starting with the catalina batch file instead of the
 startup batch file.
 
 regards, anton
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: den 7 november 2003 16:34
 To: [EMAIL PROTECTED]
 Subject: Tomcat crash
 
 
 
 
 Hello, I'm new to Tomcat and Apache so I'm wasting a lot of time trying to 
 understand why Tomcat sometimes shutdown by itself or better it crash
 This 
 happen without messages in the log file .
 
 can someone have some experience in that solved the problem ?
 
 
 Thanks to all.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat crash

2003-11-07 Thread Ben Souther
There is no console window, even when you start Tomcat with the catalina.bat 
file?

Can you reproduce the circumstances that caused it to crash?  Does it crash 
when you are hitting the exaple apps or only when you are hitting your own 
app?  If it's your own app, or a third party app, can you post the code to 
the JSP/Servlet that was being hit when the server crashes?  Do you have any 
calls to System.exit(0) in your code?



On Friday 07 November 2003 10:48 am, [EMAIL PROTECTED] wrote:
 Unfortunately when tomcat crash I can't see the console window so I
 don't have any message useful to start the debugging...

 Scrive Anton Modaresi [EMAIL PROTECTED]:
  do you get an exception in the console window? If the tomcat window
  vanishes, you can try starting with the catalina batch file instead of
  the startup batch file.
 
  regards, anton
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: den 7 november 2003 16:34
  To: [EMAIL PROTECTED]
  Subject: Tomcat crash
 
 
 
 
  Hello, I'm new to Tomcat and Apache so I'm wasting a lot of time trying
  to understand why Tomcat sometimes shutdown by itself or better it
  crash This
  happen without messages in the log file .
 
  can someone have some experience in that solved the problem ?
 
 
  Thanks to all.
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Ben Souther
F.W. Davison  Company, Inc.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat crash

2003-11-07 Thread adriacom6340
Thanks for your ideas.

I can see the console window but because the crash happens casually I can't 
see everytime the server screen and also reproduce the circumstances because I 
can't understand which are.

The server crash only with my own app. and I don't have System.exit 

For the same reason I can't understand which code create the problem.

Thanks again

Scrive Ben Souther [EMAIL PROTECTED]:

 There is no console window, even when you start Tomcat with the catalina.bat
 
 file?
 
 Can you reproduce the circumstances that caused it to crash?  Does it crash 
 when you are hitting the exaple apps or only when you are hitting your own 
 app?  If it's your own app, or a third party app, can you post the code to 
 the JSP/Servlet that was being hit when the server crashes?  Do you have any
 
 calls to System.exit(0) in your code?
 
 
 
 On Friday 07 November 2003 10:48 am, [EMAIL PROTECTED] wrote:
  Unfortunately when tomcat crash I can't see the console window so I
  don't have any message useful to start the debugging...
 
  Scrive Anton Modaresi [EMAIL PROTECTED]:
   do you get an exception in the console window? If the tomcat window
   vanishes, you can try starting with the catalina batch file instead of
   the startup batch file.
  
   regards, anton
  
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Sent: den 7 november 2003 16:34
   To: [EMAIL PROTECTED]
   Subject: Tomcat crash
  
  
  
  
   Hello, I'm new to Tomcat and Apache so I'm wasting a lot of time trying
   to understand why Tomcat sometimes shutdown by itself or better it
   crash This
   happen without messages in the log file .
  
   can someone have some experience in that solved the problem ?
  
  
   Thanks to all.
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 -- 
 Ben Souther
 F.W. Davison  Company, Inc.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat crash

2003-11-07 Thread Ben Souther
There is no stack trace in the console window when the server crashes?

Try putting a 'System.out.println(page/servlet name);' at the top of all 
of your pages. Then you can see which page was the last one hit before the 
server crashed. 



On Friday 07 November 2003 11:06 am, [EMAIL PROTECTED] wrote:
 Thanks for your ideas.

 I can see the console window but because the crash happens casually I can't
 see everytime the server screen and also reproduce the circumstances
 because I can't understand which are.

 The server crash only with my own app. and I don't have System.exit

 For the same reason I can't understand which code create the problem.

 Thanks again

 Scrive Ben Souther [EMAIL PROTECTED]:
  There is no console window, even when you start Tomcat with the
  catalina.bat
 
  file?
 
  Can you reproduce the circumstances that caused it to crash?  Does it
  crash when you are hitting the exaple apps or only when you are hitting
  your own app?  If it's your own app, or a third party app, can you post
  the code to the JSP/Servlet that was being hit when the server crashes? 
  Do you have any
 
  calls to System.exit(0) in your code?
 
  On Friday 07 November 2003 10:48 am, [EMAIL PROTECTED] wrote:
   Unfortunately when tomcat crash I can't see the console window so I
   don't have any message useful to start the debugging...
  
   Scrive Anton Modaresi [EMAIL PROTECTED]:
do you get an exception in the console window? If the tomcat window
vanishes, you can try starting with the catalina batch file instead
of the startup batch file.
   
regards, anton
   
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: den 7 november 2003 16:34
To: [EMAIL PROTECTED]
Subject: Tomcat crash
   
   
   
   
Hello, I'm new to Tomcat and Apache so I'm wasting a lot of time
trying to understand why Tomcat sometimes shutdown by itself or
better it crash This
happen without messages in the log file .
   
can someone have some experience in that solved the problem ?
   
   
Thanks to all.
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
  --
  Ben Souther
  F.W. Davison  Company, Inc.
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Ben Souther
F.W. Davison  Company, Inc.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat crash

2003-11-07 Thread adriacom6340
That's a good Idea but the console window close when tomcat crash so nothing 
can be read. 
Can I redirect the console output to a file ?

Scrive Ben Souther [EMAIL PROTECTED]:

 There is no stack trace in the console window when the server crashes?
 
 Try putting a 'System.out.println(page/servlet name);' at the top of all
 
 of your pages. Then you can see which page was the last one hit before the 
 server crashed. 
 
 
 
 On Friday 07 November 2003 11:06 am, [EMAIL PROTECTED] wrote:
  Thanks for your ideas.
 
  I can see the console window but because the crash happens casually I
 can't
  see everytime the server screen and also reproduce the circumstances
  because I can't understand which are.
 
  The server crash only with my own app. and I don't have System.exit
 
  For the same reason I can't understand which code create the problem.
 
  Thanks again
 
  Scrive Ben Souther [EMAIL PROTECTED]:
   There is no console window, even when you start Tomcat with the
   catalina.bat
  
   file?
  
   Can you reproduce the circumstances that caused it to crash?  Does it
   crash when you are hitting the exaple apps or only when you are hitting
   your own app?  If it's your own app, or a third party app, can you post
   the code to the JSP/Servlet that was being hit when the server crashes? 
   Do you have any
  
   calls to System.exit(0) in your code?
  
   On Friday 07 November 2003 10:48 am, [EMAIL PROTECTED] wrote:
Unfortunately when tomcat crash I can't see the console window so
 I
don't have any message useful to start the debugging...
   
Scrive Anton Modaresi [EMAIL PROTECTED]:
 do you get an exception in the console window? If the tomcat window
 vanishes, you can try starting with the catalina batch file instead
 of the startup batch file.

 regards, anton

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: den 7 november 2003 16:34
 To: [EMAIL PROTECTED]
 Subject: Tomcat crash




 Hello, I'm new to Tomcat and Apache so I'm wasting a lot of time
 trying to understand why Tomcat sometimes shutdown by itself or
 better it crash This
 happen without messages in the log file .

 can someone have some experience in that solved the problem ?


 Thanks to all.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
   --
   Ben Souther
   F.W. Davison  Company, Inc.
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 -- 
 Ben Souther
 F.W. Davison  Company, Inc.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat crash

2003-11-07 Thread Rodrigo Ruiz
Start your tomcat instance with catalina run instead of startup. 
This will make your tomcat run in the same console you invoke it from, 
and will let you its output when it stops :-)

[EMAIL PROTECTED] wrote:

That's a good Idea but the console window close when tomcat crash so nothing 
can be read. 
Can I redirect the console output to a file ?

Scrive Ben Souther [EMAIL PROTECTED]:

 

There is no stack trace in the console window when the server crashes?

Try putting a 'System.out.println(page/servlet name);' at the top of all

of your pages. Then you can see which page was the last one hit before the 
server crashed. 



On Friday 07 November 2003 11:06 am, [EMAIL PROTECTED] wrote:
   

Thanks for your ideas.

I can see the console window but because the crash happens casually I
 

can't
   

see everytime the server screen and also reproduce the circumstances
because I can't understand which are.
The server crash only with my own app. and I don't have System.exit

For the same reason I can't understand which code create the problem.

Thanks again

Scrive Ben Souther [EMAIL PROTECTED]:
 

There is no console window, even when you start Tomcat with the
catalina.bat
file?

Can you reproduce the circumstances that caused it to crash?  Does it
crash when you are hitting the exaple apps or only when you are hitting
your own app?  If it's your own app, or a third party app, can you post
the code to the JSP/Servlet that was being hit when the server crashes? 
Do you have any

calls to System.exit(0) in your code?

On Friday 07 November 2003 10:48 am, [EMAIL PROTECTED] wrote:
   

Unfortunately when tomcat crash I can't see the console window so
 

I
   

don't have any message useful to start the debugging...

Scrive Anton Modaresi [EMAIL PROTECTED]:
 

do you get an exception in the console window? If the tomcat window
vanishes, you can try starting with the catalina batch file instead
of the startup batch file.
regards, anton

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: den 7 november 2003 16:34
To: [EMAIL PROTECTED]
Subject: Tomcat crash


Hello, I'm new to Tomcat and Apache so I'm wasting a lot of time
trying to understand why Tomcat sometimes shutdown by itself or
better it crash This
happen without messages in the log file .
can someone have some experience in that solved the problem ?

Thanks to all.

   

-
   

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

--
Ben Souther
F.W. Davison  Company, Inc.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

--
Ben Souther
F.W. Davison  Company, Inc.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Tomcat crash

2003-11-07 Thread Patrick Willart
Add pause as last command in you catalina.bat file. This will keep the
console open so that you can read the error message.

Patrick

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 9:33 AM
To: Tomcat Users List
Subject: Re: Tomcat crash


That's a good Idea but the console window close when tomcat crash so nothing
can be read.
Can I redirect the console output to a file ?

Scrive Ben Souther [EMAIL PROTECTED]:

 There is no stack trace in the console window when the server crashes?

 Try putting a 'System.out.println(page/servlet name);' at the top of
all

 of your pages. Then you can see which page was the last one hit before the
 server crashed.



 On Friday 07 November 2003 11:06 am, [EMAIL PROTECTED] wrote:
  Thanks for your ideas.
 
  I can see the console window but because the crash happens casually I
 can't
  see everytime the server screen and also reproduce the circumstances
  because I can't understand which are.
 
  The server crash only with my own app. and I don't have System.exit
 
  For the same reason I can't understand which code create the problem.
 
  Thanks again
 
  Scrive Ben Souther [EMAIL PROTECTED]:
   There is no console window, even when you start Tomcat with the
   catalina.bat
  
   file?
  
   Can you reproduce the circumstances that caused it to crash?  Does it
   crash when you are hitting the exaple apps or only when you are
hitting
   your own app?  If it's your own app, or a third party app, can you
post
   the code to the JSP/Servlet that was being hit when the server
crashes?
   Do you have any
  
   calls to System.exit(0) in your code?
  
   On Friday 07 November 2003 10:48 am, [EMAIL PROTECTED] wrote:
Unfortunately when tomcat crash I can't see the console window
so
 I
don't have any message useful to start the debugging...
   
Scrive Anton Modaresi [EMAIL PROTECTED]:
 do you get an exception in the console window? If the tomcat
window
 vanishes, you can try starting with the catalina batch file
instead
 of the startup batch file.

 regards, anton

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: den 7 november 2003 16:34
 To: [EMAIL PROTECTED]
 Subject: Tomcat crash




 Hello, I'm new to Tomcat and Apache so I'm wasting a lot of time
 trying to understand why Tomcat sometimes shutdown by itself or
 better it crash This
 happen without messages in the log file .

 can someone have some experience in that solved the problem ?


 Thanks to all.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:
[EMAIL PROTECTED]
   
  
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
   --
   Ben Souther
   F.W. Davison  Company, Inc.
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

 --
 Ben Souther
 F.W. Davison  Company, Inc.



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat crash

2003-11-07 Thread adriacom6340
fabulous!!!


Thanks
Scrive Patrick Willart [EMAIL PROTECTED]:

 Add pause as last command in you catalina.bat file. This will keep the
 console open so that you can read the error message.
 
 Patrick
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 9:33 AM
 To: Tomcat Users List
 Subject: Re: Tomcat crash
 
 
 That's a good Idea but the console window close when tomcat crash so nothing
 can be read.
 Can I redirect the console output to a file ?
 
 Scrive Ben Souther [EMAIL PROTECTED]:
 
  There is no stack trace in the console window when the server crashes?
 
  Try putting a 'System.out.println(page/servlet name);' at the top of
 all
 
  of your pages. Then you can see which page was the last one hit before the
  server crashed.
 
 
 
  On Friday 07 November 2003 11:06 am, [EMAIL PROTECTED] wrote:
   Thanks for your ideas.
  
   I can see the console window but because the crash happens casually I
  can't
   see everytime the server screen and also reproduce the circumstances
   because I can't understand which are.
  
   The server crash only with my own app. and I don't have System.exit
  
   For the same reason I can't understand which code create the problem.
  
   Thanks again
  
   Scrive Ben Souther [EMAIL PROTECTED]:
There is no console window, even when you start Tomcat with the
catalina.bat
   
file?
   
Can you reproduce the circumstances that caused it to crash?  Does it
crash when you are hitting the exaple apps or only when you are
 hitting
your own app?  If it's your own app, or a third party app, can you
 post
the code to the JSP/Servlet that was being hit when the server
 crashes?
Do you have any
   
calls to System.exit(0) in your code?
   
On Friday 07 November 2003 10:48 am, [EMAIL PROTECTED] wrote:
 Unfortunately when tomcat crash I can't see the console window
 so
  I
 don't have any message useful to start the debugging...

 Scrive Anton Modaresi [EMAIL PROTECTED]:
  do you get an exception in the console window? If the tomcat
 window
  vanishes, you can try starting with the catalina batch file
 instead
  of the startup batch file.
 
  regards, anton
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: den 7 november 2003 16:34
  To: [EMAIL PROTECTED]
  Subject: Tomcat crash
 
 
 
 
  Hello, I'm new to Tomcat and Apache so I'm wasting a lot of time
  trying to understand why Tomcat sometimes shutdown by itself or
  better it crash This
  happen without messages in the log file .
 
  can someone have some experience in that solved the problem ?
 
 
  Thanks to all.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]

   
  -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
   
--
Ben Souther
F.W. Davison  Company, Inc.
   
   
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
  --
  Ben Souther
  F.W. Davison  Company, Inc.
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [URGENT] Tomcat SSL crash on start-up

2003-10-23 Thread Bruno Morin
Thank you Bill.
Everything is allright now.

- Original Message - 
From: Bill Barker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 4:32 AM
Subject: Re: [URGENT] Tomcat SSL crash on start-up


 You are missing 'keystoreFile=/path/to/servercerts.ks' in the Factory
 element.

 Bruno Morin [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  Hi,
 
  I tried to configure Tomcat 4.1.27 with SSL
 
  I use JDK 1.3.1 with jcert.jar, jnet.jar and jsse.jar in
  JAVA_HOME/jre/lib/ext/
  I had security.provider.3=com.sun.net.ssl.internal.ssl.Provider in
  JAVA_HOME/jre/lib/ext/java.security
 
 
  Then I generate a certificate whith those instructions :
  keytool -genkey -alias server -keyalg RSA -keystore servercerts.ks
  keytool -export -rfc -alias server -keystore servercerts.ks -file
  server.cert
  keytool -import -file server.cert -keystore client.ks
  and put servercerts.ks in CATALINA_HOME
 
 
  Then I modified the connector in CATALINA_HOME/conf/server.xml like this
:
  Connector className=org.apache.catalina.connector.http.HttpConnector
 
  port=8443 minProcessors=5 maxProcessors=75
 
  enableLookups=true acceptCount=10 debug=0 scheme=https
  secure=true
 
  Factory className=org.apache.catalina.net.SSLServerSocketFactory
 
  clientAuth=false
 
  protocol=TLS
 
  keystorePass=serverpassword/
 
  /Connector
 
 
  Then I lauched the server but it crash on start-up with the exception :
  java.io.IOException: Keystore was tampered with, or password was
incorrect
 
  What's wrong ?




 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[URGENT] Tomcat SSL crash on start-up

2003-10-22 Thread Bruno Morin
Hi,

I tried to configure Tomcat 4.1.27 with SSL

I use JDK 1.3.1 with jcert.jar, jnet.jar and jsse.jar in
JAVA_HOME/jre/lib/ext/
I had security.provider.3=com.sun.net.ssl.internal.ssl.Provider in
JAVA_HOME/jre/lib/ext/java.security


Then I generate a certificate whith those instructions :
keytool -genkey -alias server -keyalg RSA -keystore servercerts.ks
keytool -export -rfc -alias server -keystore servercerts.ks -file
server.cert
keytool -import -file server.cert -keystore client.ks
and put servercerts.ks in CATALINA_HOME


Then I modified the connector in CATALINA_HOME/conf/server.xml like this :
Connector className=org.apache.catalina.connector.http.HttpConnector

port=8443 minProcessors=5 maxProcessors=75

enableLookups=true acceptCount=10 debug=0 scheme=https
secure=true

Factory className=org.apache.catalina.net.SSLServerSocketFactory

clientAuth=false

protocol=TLS

keystorePass=serverpassword/

/Connector


Then I lauched the server but it crash on start-up with the exception :
java.io.IOException: Keystore was tampered with, or password was incorrect

What's wrong ?







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [URGENT] Tomcat SSL crash on start-up

2003-10-22 Thread Bill Barker
You are missing 'keystoreFile=/path/to/servercerts.ks' in the Factory
element.

Bruno Morin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,

 I tried to configure Tomcat 4.1.27 with SSL

 I use JDK 1.3.1 with jcert.jar, jnet.jar and jsse.jar in
 JAVA_HOME/jre/lib/ext/
 I had security.provider.3=com.sun.net.ssl.internal.ssl.Provider in
 JAVA_HOME/jre/lib/ext/java.security


 Then I generate a certificate whith those instructions :
 keytool -genkey -alias server -keyalg RSA -keystore servercerts.ks
 keytool -export -rfc -alias server -keystore servercerts.ks -file
 server.cert
 keytool -import -file server.cert -keystore client.ks
 and put servercerts.ks in CATALINA_HOME


 Then I modified the connector in CATALINA_HOME/conf/server.xml like this :
 Connector className=org.apache.catalina.connector.http.HttpConnector

 port=8443 minProcessors=5 maxProcessors=75

 enableLookups=true acceptCount=10 debug=0 scheme=https
 secure=true

 Factory className=org.apache.catalina.net.SSLServerSocketFactory

 clientAuth=false

 protocol=TLS

 keystorePass=serverpassword/

 /Connector


 Then I lauched the server but it crash on start-up with the exception :
 java.io.IOException: Keystore was tampered with, or password was incorrect

 What's wrong ?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: crash on startup: java.util.zip.ZipException: Permission denied

2003-09-03 Thread Joseph Shraibman
I've discovered the problem is that I have a symlink to bsh-1.3b2.jar (beanshell) in 
shared/lib.  I don't know why that is a problem but it is.  I tried both 1.3.0 and 2.0b1 
and they both have the problem, but 1.2b7 does not

Joseph Shraibman wrote:
I've been running tomcat 4.1.18 on rh9 with jdk 1.4.2 for a while.  
Suddenly today trying to start tomcat results in:

java.util.zip.ZipException: Permission denied
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(ZipFile.java:112)
at java.util.jar.JarFile.init(JarFile.java:127)
at java.util.jar.JarFile.init(JarFile.java:65)
at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1082) 

at 
org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.java:221) 

at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:204) 

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:155)
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: 
java.util.zip.ZipException: Permission denied
at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1110) 

at 
org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.java:221) 

at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:204) 

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:155)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


crash on startup: java.util.zip.ZipException: Permission denied

2003-09-02 Thread Joseph Shraibman
I've been running tomcat 4.1.18 on rh9 with jdk 1.4.2 for a while.  Suddenly today trying 
to start tomcat results in:

java.util.zip.ZipException: Permission denied
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(ZipFile.java:112)
at java.util.jar.JarFile.init(JarFile.java:127)
at java.util.jar.JarFile.init(JarFile.java:65)
at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1082)
at 
org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.java:221)
at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:204)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:155)
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal: java.util.zip.ZipException: 
Permission denied
at 
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1110)
at 
org.apache.catalina.loader.StandardClassLoader.init(StandardClassLoader.java:221)
at 
org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:204)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:155)

What could be causing this?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  1   2   3   >