DO NOT REPLY [Bug 30744] - Tomcat Crashes randomly.

2004-08-19 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30744.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30744

Tomcat Crashes randomly.





--- Additional Comments From [EMAIL PROTECTED]  2004-08-19 14:25 ---
...or go to java.sun.com and file a bug, attaching your core file, against the
HotSpot VM ;-)

-- Jeanfrancois

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



DO NOT REPLY [Bug 30744] New: - Tomcat Crashes randomly.

2004-08-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30744.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30744

Tomcat Crashes randomly.

   Summary: Tomcat Crashes randomly.
   Product: Tomcat 5
   Version: 5.0.16
  Platform: All
OS/Version: Windows NT/2K
Status: NEW
  Severity: Major
  Priority: Other
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I'm using Tomcat 5.0.19 on Microsoft Windows 2000 Server. I have installed 
jdk1.4.2. Time to time, Tomcat crashes and a hr_ess_pid(random number).log 
error message is placed under the \bin catalogue of Tomcat. 

Thanks in advance for any advice for solving my problem or helping me 
understand what is wrong and where. 

This is the error-message that we get: 


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc005) occurred at 
PC=0x188E6E40
Function=[Unknown.]
Library=C:\WINNT\system32\appmger.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 java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at org.apache.coyote.http11.InternalInputBuffer.fill
(InternalInputBuffer.java:777)
at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead
(InternalInputBuffer.java:807)
at org.apache.coyote.http11.filters.IdentityInputFilter.doRead
(IdentityInputFilter.java:158)
at org.apache.coyote.http11.InternalInputBuffer.doRead
(InternalInputBuffer.java:742)
at org.apache.coyote.Request.doRead(Request.java:469)
at org.apache.coyote.tomcat5.InputBuffer.realReadBytes(InputBuffer.java:317)
at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:379)
at org.apache.coyote.tomcat5.InputBuffer.readByte(InputBuffer.java:326)
at org.apache.coyote.tomcat5.CoyoteInputStream.read(CoyoteInputStream.java:123)
at com.usys.SM.UTIL.ByteBuffer.parseParemeters(ByteBuffer.java:40)
at com.usys.SM.DB.SaveRightMultiServlet.doPost(SaveRightMultiServlet.java:157)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:284)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:204)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:257)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardContextValve.invokeInternal
(StandardContextValve.java:245)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:199)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:732)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:688)
at java.lang.Thread.run(Thread.java:534)

Dynamic libraries:
0x0040 - 0x00406000 D:\JDK\bin\java.exe
0x77F8 - 0x77FFD000 C:\WINNT\system32\ntdll.dll
0x796D - 0x79732000 C:\WINNT\system32\ADVAPI32.dll
0x77E6 - 0x77F37000 C:\WINNT\system32\KERNEL32.DLL
0x786F - 0x78761000 C:\WINNT\system32\RPCRT4.DLL
0x7800 - 0x78045000 C:\WINNT\system32\MSVCRT.dll
0x0800 - 0x08138000 D:\JDK\jre\bin\server\jvm.dll

DO NOT REPLY [Bug 30744] - Tomcat Crashes randomly.

2004-08-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30744.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30744

Tomcat Crashes randomly.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-08-19 02:39 ---
Your vm is crashing, not tomcat.  File a bug with microsoft.

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



DO NOT REPLY [Bug 22353] - Tomcat crashes with unexpected exception when used with MCVE API

2004-02-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22353.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22353

Tomcat crashes with unexpected exception when used with MCVE API

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-02-13 20:40 ---
This looks like a bug with MCVE that is exposed when upgrading tomcat, not a
tomcat bug.

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



DO NOT REPLY [Bug 22353] New: - Tomcat crashes with unexpected exception when used with MCVE API

2003-08-14 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22353.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22353

Tomcat crashes with unexpected exception when used with MCVE API

   Summary: Tomcat crashes with unexpected exception when used with
MCVE API
   Product: Tomcat 4
   Version: 4.1.27
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: Normal
  Priority: Other
 Component: Catalina
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


We have been using Tomcat along with MCVE (a credit card payment engine) for
some time.  We have it working with Tomcat 4.1.24 just fine.  When we tried
testing it out with Tomcat 4.1.27, we started getting this error.

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4002ACF2
Function=__pthread_mutex_lock+0x12
Library=/lib/i686/libpthread.so.0

Current Java thread:
at com.mainstreetsoftworks.MCVE.M_DestroyConn(Native Method)
at com.mainstreetsoftworks.MCVE.finalize(MCVE.java:15)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)

Am running Redhat 8.0 (kernel 2.4.20-19.8) with Sun java version 1.4.2.  We are
using the newest MCVE Java API 3.1 which is build on the MCVE C API 3.2.1. These
libraries can be downloaded from http://www.mcve.com/?page=17.  

The error only seems to come when the MCVE.finalize() is called.  This however
is what closes the connection to MCVE.  Without this call the socket connections
are left open and can start to be a problem.

Here is the error log that gets genereated:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4EE1C4F3
Function=Java_com_mainstreetsoftworks_MCVE_M_1DestroyConn+0x1D
Library=/usr/java/j2sdk1.4.2/jre/lib/i386/libmcvejni.so

Current Java thread:
at com.mainstreetsoftworks.MCVE.M_DestroyConn(Native Method)
at com.mainstreetsoftworks.MCVE.finalize(MCVE.java:15)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)

Dynamic libraries:
08048000-0804e000 r-xp  03:09 276833 /usr/java/j2sdk1.4.2/bin/java
0804e000-0804f000 rw-p 5000 03:09 276833 /usr/java/j2sdk1.4.2/bin/java
4000-40013000 r-xp  03:03 71485  /lib/ld-2.3.2.so
40013000-40014000 rw-p 00013000 03:03 71485  /lib/ld-2.3.2.so
40014000-4001c000 r-xp  03:09 601211
/usr/java/j2sdk1.4.2/jre/lib/i386/native_threads/libhpi.so
4001c000-4001d000 rw-p 7000 03:09 601211
/usr/java/j2sdk1.4.2/jre/lib/i386/native_threads/libhpi.so
40021000-40024000 r--s  03:09 633999
/usr/java/j2sdk1.4.2/jre/lib/ext/dnsns.jar
40024000-40031000 r-xp  03:03 79565  /lib/i686/libpthread-0.10.so
40031000-40034000 rw-p d000 03:03 79565  /lib/i686/libpthread-0.10.so
40075000-40077000 r-xp  03:03 71414  /lib/libdl-2.3.2.so
40077000-40078000 rw-p 2000 03:03 71414  /lib/libdl-2.3.2.so
40078000-4046f000 r-xp  03:09 634006
/usr/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
4046f000-4048a000 rw-p 003f6000 03:09 634006
/usr/java/j2sdk1.4.2/jre/lib/i386/client/libjvm.so
4049d000-404b r-xp  03:03 71418  /lib/libnsl-2.3.2.so
404b-404b1000 rw-p 00012000 03:03 71418  /lib/libnsl-2.3.2.so
404b3000-404d4000 r-xp  03:03 79563  /lib/i686/libm-2.3.2.so
404d4000-404d5000 rw-p 00021000 03:03 79563  /lib/i686/libm-2.3.2.so
404d5000-404e2000 r--s  03:09 634000
/usr/java/j2sdk1.4.2/jre/lib/ext/ldapsec.jar
404e2000-404e5000 r--s  03:05 1233088   
/web/tomcat-4.1.27/bin/commons-daemon.jar
404e5000-404f r-xp  03:03 71434  /lib/libnss_files-2.3.2.so
404f-404f1000 rw-p a000 03:03 71434  /lib/libnss_files-2.3.2.so
404f1000-40501000 r-xp  03:09 1250648   
/usr/java/j2sdk1.4.2/jre/lib/i386/libverify.so
40501000-40503000 rw-p f000 03:09 1250648   
/usr/java/j2sdk1.4.2/jre/lib/i386/libverify.so
40503000-40523000 r-xp  03:09 1250634   
/usr/java/j2sdk1.4.2/jre/lib/i386/libjava.so
40523000-40525000 rw-p 0001f000 03:09 1250634   
/usr/java/j2sdk1.4.2/jre/lib/i386/libjava.so
40525000-40539000 r-xp  03:09 1250649   
/usr/java/j2sdk1.4.2/jre/lib/i386/libzip.so
40539000-4053c000 rw-p

Re: tomcat crashes

2002-08-29 Thread Bojan Smojver

Quoting Taral Shah [EMAIL PROTECTED]:

Try a different JDK. This doesn't look a Tomcat problem.

Bojan

 Hi
 
 I am facing strange problem at one of my customers side.
 I am using tomcat 3.3 for my devlopment and its working fine.
 
 But at one of customers side tomcat crases unknowingly. It even does not
 compile a simple jsp. The os at the client side is solaris,
 WHen tomcat starts and a simple jsp(containg just 2 html tags like html and
 title) is run it throws following error:
 
 
 An unexpected exception has been detected in native code outside the VM.
 Unexpected Signal : 10 occurred at PC=0x10a1fc
 Function name=(N/A)
 Library=(N/A)

-
This mail sent through IMP: http://horde.org/imp/

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




Re: tomcat crashes

2002-08-29 Thread Taral Shah


But same thing works with different solaris. Here I have solaris 5.7 and
with 5.8 it works fine, even in one of 5.7 solaris machine tomcat runs fine.

I checked with memory and space, initially it showed that it had occupied
99% of disk space, so i moved whole code to another partition and there only
50% space is used. Still its giving me same problem.

Any other solution,
Or if i change JDK then which jdk should i go, as I need jdk 1.3 and here i
am using same, do u suggest me to go with jdk1.4?

Thanks
Taral Shah

- Original Message -
From: Bojan Smojver [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]; Taral Shah
[EMAIL PROTECTED]
Sent: Thursday, August 29, 2002 12:13 PM
Subject: Re: tomcat crashes


Quoting Taral Shah [EMAIL PROTECTED]:

Try a different JDK. This doesn't look a Tomcat problem.

Bojan

 Hi

 I am facing strange problem at one of my customers side.
 I am using tomcat 3.3 for my devlopment and its working fine.

 But at one of customers side tomcat crases unknowingly. It even does not
 compile a simple jsp. The os at the client side is solaris,
 WHen tomcat starts and a simple jsp(containg just 2 html tags like html
and
 title) is run it throws following error:


 An unexpected exception has been detected in native code outside the VM.
 Unexpected Signal : 10 occurred at PC=0x10a1fc
 Function name=(N/A)
 Library=(N/A)

-
This mail sent through IMP: http://horde.org/imp/

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



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




Re: tomcat crashes

2002-08-29 Thread Bojan Smojver

One more thing - check if the OS has all the relevant patches. Sometimes it's
the libraries that JDK's using.

Bojan

Quoting Bojan Smojver [EMAIL PROTECTED]:

 Quoting Taral Shah [EMAIL PROTECTED]:
 
 Try a different JDK. This doesn't look a Tomcat problem.
 
 Bojan
 
  Hi
  
  I am facing strange problem at one of my customers side.
  I am using tomcat 3.3 for my devlopment and its working fine.
  
  But at one of customers side tomcat crases unknowingly. It even does not
  compile a simple jsp. The os at the client side is solaris,
  WHen tomcat starts and a simple jsp(containg just 2 html tags like html
 and
  title) is run it throws following error:
  
  
  An unexpected exception has been detected in native code outside the VM.
  Unexpected Signal : 10 occurred at PC=0x10a1fc
  Function name=(N/A)
  Library=(N/A)
 
 -
 This mail sent through IMP: http://horde.org/imp/
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 




-
This mail sent through IMP: http://horde.org/imp/

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




Re: tomcat crashes

2002-08-29 Thread Bojan Smojver

Quoting Taral Shah [EMAIL PROTECTED]:

 But same thing works with different solaris. Here I have solaris 5.7 and
 with 5.8 it works fine, even in one of 5.7 solaris machine tomcat runs fine.

And they all have the same patches applied? I don't use Solaris, so I can't tell
you specifically what to do or patch, but the errors indicate a VM problem (or
something outside affecting the VM). Even if you feed VM total garbage, it
shouldn't crash. That's the theory, at least.

 I checked with memory and space, initially it showed that it had occupied
 99% of disk space, so i moved whole code to another partition and there only
 50% space is used. Still its giving me same problem.

I never had such crowded partitions, so I can tell if that might affect the VM.

 Any other solution,
 Or if i change JDK then which jdk should i go, as I need jdk 1.3 and here i
 am using same, do u suggest me to go with jdk1.4?

I think there is a 1.3.1_04 available for Solaris. If you're aren't familiar
with 1.4 (like I'm not), I think it's better to stick with the same minor
version, unless, of course, that doesn't fix it. And given the error message (An
unexpected exception has been detected in native code outside the VM), I would
investigate the patch status of the machine quite seriously.

Bojan

-
This mail sent through IMP: http://horde.org/imp/

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




Re: tomcat crashes

2002-08-29 Thread Bill Barker


- Original Message -
From: Bojan Smojver [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]
Sent: Wednesday, August 28, 2002 11:50 PM
Subject: Re: tomcat crashes


 One more thing - check if the OS has all the relevant patches. Sometimes
it's
 the libraries that JDK's using.

This is **especially** true of Solaris.  In my experience, almost all
Solaris JVM crashes are due to un-patched kernels.


 Bojan

 Quoting Bojan Smojver [EMAIL PROTECTED]:

  Quoting Taral Shah [EMAIL PROTECTED]:
 
  Try a different JDK. This doesn't look a Tomcat problem.
 
  Bojan
 
   Hi
  
   I am facing strange problem at one of my customers side.
   I am using tomcat 3.3 for my devlopment and its working fine.
  
   But at one of customers side tomcat crases unknowingly. It even does
not
   compile a simple jsp. The os at the client side is solaris,
   WHen tomcat starts and a simple jsp(containg just 2 html tags like
html
  and
   title) is run it throws following error:
  
  
   An unexpected exception has been detected in native code outside the
VM.
   Unexpected Signal : 10 occurred at PC=0x10a1fc
   Function name=(N/A)
   Library=(N/A)
 
  -
  This mail sent through IMP: http://horde.org/imp/
 
  --
  To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 
 




 -
 This mail sent through IMP: http://horde.org/imp/

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




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




Re: tomcat crashes

2002-08-29 Thread Taral Shah

Hi,
I checked with solaris and no patch is installed, but surprisingly on the
other solaris(i.e. 5.7) where tomcat is running there also no patch is
installed. In my solaris 8 where sun had asked to install one patch that is
not installed and still my system is running perfectly.

So now I am surprised with this as if for two same OS if tomcat is running
in one then it should work in other, do you think should be something like
memory or harddisk space like proble?

Any other suggestions??

Thanks
Taral Shah

- Original Message -
From: Bojan Smojver [EMAIL PROTECTED]
To: Tomcat Developers List [EMAIL PROTECTED]; Taral Shah
[EMAIL PROTECTED]
Sent: Thursday, August 29, 2002 12:46 PM
Subject: Re: tomcat crashes


Quoting Taral Shah [EMAIL PROTECTED]:

 But same thing works with different solaris. Here I have solaris 5.7 and
 with 5.8 it works fine, even in one of 5.7 solaris machine tomcat runs
fine.

And they all have the same patches applied? I don't use Solaris, so I can't
tell
you specifically what to do or patch, but the errors indicate a VM problem
(or
something outside affecting the VM). Even if you feed VM total garbage, it
shouldn't crash. That's the theory, at least.

 I checked with memory and space, initially it showed that it had occupied
 99% of disk space, so i moved whole code to another partition and there
only
 50% space is used. Still its giving me same problem.

I never had such crowded partitions, so I can tell if that might affect the
VM.

 Any other solution,
 Or if i change JDK then which jdk should i go, as I need jdk 1.3 and here
i
 am using same, do u suggest me to go with jdk1.4?

I think there is a 1.3.1_04 available for Solaris. If you're aren't familiar
with 1.4 (like I'm not), I think it's better to stick with the same minor
version, unless, of course, that doesn't fix it. And given the error message
(An
unexpected exception has been detected in native code outside the VM), I
would
investigate the patch status of the machine quite seriously.

Bojan

-
This mail sent through IMP: http://horde.org/imp/

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



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




tomcat crashes

2002-08-28 Thread Taral Shah

Hi

I am facing strange problem at one of my customers side.
I am using tomcat 3.3 for my devlopment and its working fine.

But at one of customers side tomcat crases unknowingly. It even does not
compile a simple jsp. The os at the client side is solaris,
WHen tomcat starts and a simple jsp(containg just 2 html tags like html and
title) is run it throws following error:


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 10 occurred at PC=0x10a1fc
Function name=(N/A)
Library=(N/A)

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:

Dynamic libraries:
0x1 /export/home/aliki/csl/monitor/jakarta-tomcat-3.3.1/../j
2sdk1_3_1_03/bin/../bin/sparc/native_threads/java
0xff35  /usr/lib/libthread.so.1
0xff39  /usr/lib/libdl.so.1
0xff28  /usr/lib/libc.so.1
0xff27  /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
0xfe48  /export/home/aliki/csl/monitor/j2sdk1_3_1_03/jre/lib/spa
rc/client/libjvm.so
0xff21  /usr/lib/libCrun.so.1
0xff1f  /usr/lib/libsocket.so.1
0xff10  /usr/lib/libnsl.so.1
0xff1b  /usr/lib/libm.so.1
0xff24  /usr/lib/libw.so.1
0xff0d  /usr/lib/libmp.so.2
0xff0a  /export/home/aliki/csl/monitor/j2sdk1_3_1_03/jre/lib/spa
rc/native_threads/libhpi.so
0xff06  /export/home/aliki/csl/monitor/j2sdk1_3_1_03/jre/lib/spa
rc/libverify.so
0xff02  /export/home/aliki/csl/monitor/j2sdk1_3_1_03/jre/lib/spa
rc/libjava.so
0xfe45  /export/home/aliki/csl/monitor/j2sdk1_3_1_03/jre/lib/spa
rc/libzip.so
0xfafe  /export/home/aliki/csl/monitor/j2sdk1_3_1_03/jre/lib/spa
rc/libnet.so
0xfafc  /usr/lib/nss_files.so.1

Local Time = Thu Aug 29 07:08:44 2002
Elapsed Time = 43
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_03-b03 mixed mode)
#
# An error report file has been saved as hs_err_pid975.log.
# Please refer to the file for further information.
#

I have checked the class path, java_home and tomcat_home, all seems to be
set and fine.

DOes any one has ever faced such a proble.
Help required urgent.

Thanks in advace

Taral Shah
Software Engineer,
Contech Software Ltd.
[EMAIL PROTECTED]

Experience is what you get when you were expecting something else.


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




DO NOT REPLY [Bug 8630] New: - TomCat crashes and server shutdown automatically, when error occurs

2002-04-29 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8630.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8630

TomCat crashes and server shutdown automatically, when error occurs

   Summary: TomCat crashes and server shutdown automatically, when
error occurs
   Product: Tomcat 4
   Version: 4.0 Release Candidate 2
  Platform: PC
OS/Version: Other
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Servlet  JSP API
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I don't know if this is a TomCat or ODBC driver problem, but basically I am 
trying to update the MS Access database; and within 3 trials, the server 
crashes.  In other words, the crash point varies; but reproducable. If it 
doesn't crashes, then the database is updated correctly.

here is the update database code:
-
/*
**  ProcCheckout.java
**
*/

import java.io.*;
import java.text.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.Connection;
import java.sql.Statement;
import java.sql.ResultSet;
import java.sql.DriverManager;
import java.net.*;
import java.util.*;

public class ProcCheckout extends HttpServlet
{
  public static final int MAXCART = 20;
  public static final double SHIPPINGRATE = 5.99;
  public static final double DISCOUNTRATE = 0.10;

  private ShoppingCart[] myCart;
  private Integer numItem;
  private ServletConfig config;
  private Connection theConnection;
  private Statement theStatement;
  private ResultSet theResult;
  private String LastName, FirstName, Street, City, State, ZipCode, Phone, 
Email,
 sLastName, sFirstName, sStreet, sCity, sState, sZipCode,
 CardNum, CardType, ExpireDate, strError, orderid, password;

/***
***/
public void init(ServletConfig config) throws ServletException
{
  try
  { 
Class.forName(sun.jdbc.odbc.JdbcOdbcDriver);
theConnection = DriverManager.getConnection(jdbc:odbc:Sale, admin, ); 
theStatement = theConnection.createStatement
(ResultSet.TYPE_SCROLL_SENSITIVE,

ResultSet.CONCUR_UPDATABLE);
  }catch(Exception e){
//out.println(e.getMessage());
  }
}

/***
***/
public void doGet (HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException 
{
  HttpSession session = req.getSession(true);
  PrintWriter out = res.getWriter();
  String Receipt = ;
  res.setContentType(text/html);

  if (! getBilling(req))//not valid billing information
  {
out.println(htmlheadtitleBilling Information 
Error/title/head/body);
out.println(strError);
out.println(/body/head);
return;
  }

  myCart  = (ShoppingCart[]) session.getAttribute(ShoppingCart);
  numItem = (Integer) session.getAttribute(NumItem);

  if ((numItem == null) || (myCart == null) || (myCart[0] == null))
  {
out.println(htmlheadtitleInvalid Transaction 
Checkout/title/head/body);
out.println(font color=\red\Sorry, your Shopping Cart is empty. Please 
continue
  +  your shopping./font);
out.println(/body/head);
return;
  }

  Date transDate = new Date();
  orderid  = Phone + transDate.toString();
  password = CardNum;

  Receipt = bCustomer:/b  + FirstName +   + LastName 
+ brbPhone:/b  + Phone
  + brbEmail:/b  + Email 
+ brbuAddress:/u/bbrnbsp;nbsp;nbsp;nbsp; 
  + Street + brnbsp;nbsp;nbsp;nbsp;
  + City + ,  + State +   + ZipCode + \nbrbrbShip 
To:/bbrnbsp;nbsp;nbsp;nbsp;
  + sFirstName +   + sLastName + brnbsp;nbsp;nbsp;nbsp; + 
sStreet + brnbsp;nbsp;nbsp;nbsp;
  + sCity + ,  + sState +   + sZipCode + \n
  + brbrhr width=\90%\
  + table align=\center\ width=\90%\
  + tr 
  + th bgcolor=\#FF\ align=\left\Items Bought/th
  + th bgcolor=\#FF\ align=\center\Qty/th
  + th bgcolor=\#FF\ align=\right\Unit Price/th
  + th bgcolor=\#FF\ align=\right\Cost/th 
  + /tr\n;

  double cost = 0.0,
 subtotal = 0.0,
 discount = 0.0,
 shipping = 0.0;

  for (int x = 0;x  numItem.intValue();x++)
  {
cost = myCart[x].getPrice() * myCart[x].getQty();
subtotal = subtotal + cost;
shipping = shipping + SHIPPINGRATE * myCart[x].getQty();

if (myCart[x].getQty()  1)  //give 10% off each additional item for qty  1
  discount = discount + (myCart[x].getQty() - 1) * myCart[x].getPrice() * 
DISCOUNTRATE;

Receipt = Receipt + tr
+ td + myCart[x].getProdName

DO NOT REPLY [Bug 8630] - TomCat crashes and server shutdown automatically, when error occurs

2002-04-29 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8630.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8630

TomCat crashes and server shutdown automatically, when error occurs

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2002-04-29 19:55 ---
This is not a Tomcat issue, but rather a SEGFAULT in the ntdll.dll provided with 
your Win32 
distribution, or a mishap in your JDBC provider.

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




DO NOT REPLY [Bug 3802] - Tomcat crashes without any error on HP UX 11

2001-09-25 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3802.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3802

Tomcat crashes without any error on HP UX 11

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2001-09-25 13:40 ---
Most likely it's a JVM problem. Make sure you have the latest patches for the OS, and 
the latest VM ( or latest stable VM ). There is nothing we can do in tomcat to 'crash' 
a vm - if any java code will crash the VM, the bug is in the VM ( and it can happen at 
any time, including user code )



DO NOT REPLY [Bug 3802] New: - Tomcat crashes without any error on HP UX 11

2001-09-24 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3802.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3802

Tomcat crashes without any error on HP UX 11

   Summary: Tomcat crashes without any error on HP UX 11
   Product: Tomcat 3
   Version: 3.2.1 Final
  Platform: HP
OS/Version: HP-UX
Status: NEW
  Severity: Critical
  Priority: Other
 Component: Unknown
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Hi,

We have an web based application that runs on Tomcat 3.2.1, HP UX 11. For the 
most part it is great. However, the app crashes approximately twice a day 
without any trace. Nothing in jasper.log or servlet.log.

Can the machine load cause Tomcat to crash without any exceptions logged?

Please can you point me to some known bugs and fixes, tuning tips or 
approaches to find the problem.

Thanks,
Ravi.



RE: tomcat crashes VM under NT

2001-04-30 Thread Wang, Wanlin
Title: RE: tomcat crashes VM under NT





I'm using Tomcat 3.2.1 in NT with JVM 1.3.0, and it crashes with Dr. Watson error when
I make jdbc-odbc connection to SQL server70 from my java servlet program. Does Tomcat
have a bug here or I need to change some conf file?