Skip to main content

Spontaneous Glassfish Crashes

15 replies [Last post]
Anonymous

We are seeing spontaneous (i.e. with no symptoms beforehand) crashes of GlassFish. We are running 9.1_02 on Windows 2003 Enterprise.

I have looked in the GlassFish log and found NO messages at the time of the crash (even when I go to finest). I suspect, therefore, that this is a crash of the JVM. How do I find the logs for that which could tell me more about the crash?

BTW, has anyone else seen this behavior?

Thanks.

Eric Chamberlain
VentriPoint, Inc. | www.ventripoint.com | Software Engineer
Helping heart care through innovative diagnostic solutions

[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jarol1
Offline
Joined: 2007-12-13

When I tried JDK 1.6 with glassfish in Windows XP, JVM was crashing all the time. So we had to use JDK 1.5. what you see isn't probably a bug in glassfish, but in JVM. Try different version of JDK, or use Linux (where JVM crashes are much more rare).

calderwa
Offline
Joined: 2004-05-16

I am very concerned that I have seen three seemingly spontaneous crashes of glassfish 9 in the last few days. Anyone have any suggestions?
They were VM crashes, some info follows:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d922ed8, pid=2900, tid=4424
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode windows-x86)
# Problematic frame:
# V [jvm.dll+0xb2ed8]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

--------------- T H R E A D ---------------

Current thread (0x2ec28000): VMThread [stack: 0x2ed20000,0x2ed70000] [id=4424]

siginfo: ExceptionCode=0xc0000005, reading address 0x40000000

Registers:
EAX=0x40000000, EBX=0x0d6cb720, ECX=0x31e01cc8, EDX=0x00002661
ESP=0x2ed6f974, EBP=0x22a18d0c, ESI=0x0d6cb71c, EDI=0x22a18d08
EIP=0x6d922ed8, EFLAGS=0x00010206

Top of Stack: (sp=0x2ed6f974)
0x2ed6f974: 002ae120 00000005 0d6cb708 0d430000
0x2ed6f984: 6d9ac148 0d6cb708 0d6c6d94 0d6c6a6c
0x2ed6f994: 6d9ba1cb 00000003 6da7f024 6da7f024
0x2ed6f9a4: 6d9abe2a 0d6c6988 6d9ac20a 00000003
0x2ed6f9b4: 6d9ff941 6da97d30 6da7f024 6da7f024
0x2ed6f9c4: 6da1aded 6da7f024 6da7f024 002ae120
0x2ed6f9d4: 002ae120 6d9e374b 6da7f024 00000000
0x2ed6f9e4: 6da7f024 6da7f024 002ae120 6d916fe1

Instructions: (pc=0x6d922ed8)
0x6d922ec8: b7 4f 02 8d 1c 8e 3b f3 73 20 8b 06 85 c0 74 13
0x6d922ed8: 8b 10 83 e2 03 80 fa 03 74 09 56 e8 68 92 08 00

Stack: [0x2ed20000,0x2ed70000], sp=0x2ed6f974, free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xb2ed8]

VM_Operation (0x301efaf4): GenCollectFull, mode: safepoint, requested by thread 0x2f938800

AND...

#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d9abe20, pid=5968, tid=5980
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode windows-x86)
# Problematic frame:
# V [jvm.dll+0x13be20]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

--------------- T H R E A D ---------------

Current thread (0x2ec28000): VMThread [stack: 0x2ed20000,0x2ed70000] [id=5980]

siginfo: ExceptionCode=0xc0000005, reading address 0x62b5b748

Registers:
EAX=0x12f1c718, EBX=0x6da5ad88, ECX=0x62b5b740, EDX=0x323b0020
ESP=0x2ed6f9f0, EBP=0x00000000, ESI=0x6da7f024, EDI=0x2ed6fa60
EIP=0x6d9abe20, EFLAGS=0x00010212

Top of Stack: (sp=0x2ed6f9f0)
0x2ed6f9f0: 6d9ac20a 00000003 6d9128c5 322aec80
0x2ed6fa00: 00000004 000001df 00000001 2ed6fa74
0x2ed6fa10: 6d9bd328 00000000 6da7f024 2ed6fac0
0x2ed6fa20: 2fdfdaa0 2ec28934 00000000 0000000b
0x2ed6fa30: 6d913568 2ed6fa60 2fc2b400 2ed6fac0
0x2ed6fa40: 00000000 00000001 2ec28934 00000069
0x2ed6fa50: 2ec28938 6d8e6400 2ec28000 2ec28938
0x2ed6fa60: 6da4df88 2ed6fac0 6da7f024 0000000b

Instructions: (pc=0x6d9abe20)
0x6d9abe10: 8b 08 8b 50 0c 49 89 08 8b 08 8b 04 8a 8b 48 04
0x6d9abe20: 8b 51 08 83 c1 08 50 ff 52 60 a1 40 15 a9 6d 83

Stack: [0x2ed20000,0x2ed70000], sp=0x2ed6f9f0, free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x13be20]

[error occurred during error reporting (printing native stack), id 0xc0000005]

VM_Operation (0x322addc8): GenCollectForAllocation, mode: safepoint, requested by thread 0x2fc2b400

[b]Thanks.[/b]

Alexis Moussine-Pouchkine

Can you run this with the VM -server flag instead (and still file the
issue: https://glassfish.dev.java.net/servlets/ProjectIssues)?
-Alexis

On Sep 10, 2008, at 12:28, glassfish@javadesktop.org wrote:

> I am very concerned that I have seen three seemingly spontaneous
> crashes of glassfish 9 in the last few days. Anyone have any
> suggestions?
> They were VM crashes, some info follows:
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d922ed8,
> pid=2900, tid=4424
> #
> # Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode windows-
> x86)
> # Problematic frame:
> # V [jvm.dll+0xb2ed8]
> #
> # If you would like to submit a bug report, please visit:
> # http://java.sun.com/webapps/bugreport/crash.jsp
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x2ec28000): VMThread [stack:
> 0x2ed20000,0x2ed70000] [id=4424]
>
> siginfo: ExceptionCode=0xc0000005, reading address 0x40000000
>
> Registers:
> EAX=0x40000000, EBX=0x0d6cb720, ECX=0x31e01cc8, EDX=0x00002661
> ESP=0x2ed6f974, EBP=0x22a18d0c, ESI=0x0d6cb71c, EDI=0x22a18d08
> EIP=0x6d922ed8, EFLAGS=0x00010206
>
> Top of Stack: (sp=0x2ed6f974)
> 0x2ed6f974: 002ae120 00000005 0d6cb708 0d430000
> 0x2ed6f984: 6d9ac148 0d6cb708 0d6c6d94 0d6c6a6c
> 0x2ed6f994: 6d9ba1cb 00000003 6da7f024 6da7f024
> 0x2ed6f9a4: 6d9abe2a 0d6c6988 6d9ac20a 00000003
> 0x2ed6f9b4: 6d9ff941 6da97d30 6da7f024 6da7f024
> 0x2ed6f9c4: 6da1aded 6da7f024 6da7f024 002ae120
> 0x2ed6f9d4: 002ae120 6d9e374b 6da7f024 00000000
> 0x2ed6f9e4: 6da7f024 6da7f024 002ae120 6d916fe1
>
> Instructions: (pc=0x6d922ed8)
> 0x6d922ec8: b7 4f 02 8d 1c 8e 3b f3 73 20 8b 06 85 c0 74 13
> 0x6d922ed8: 8b 10 83 e2 03 80 fa 03 74 09 56 e8 68 92 08 00
>
>
> Stack: [0x2ed20000,0x2ed70000], sp=0x2ed6f974, free space=318k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
> C=native code)
> V [jvm.dll+0xb2ed8]
>
> VM_Operation (0x301efaf4): GenCollectFull, mode: safepoint,
> requested by thread 0x2f938800
>
>
> AND...
>
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d9abe20,
> pid=5968, tid=5980
> #
> # Java VM: Java HotSpot(TM) Client VM (10.0-b19 mixed mode windows-
> x86)
> # Problematic frame:
> # V [jvm.dll+0x13be20]
> #
> # If you would like to submit a bug report, please visit:
> # http://java.sun.com/webapps/bugreport/crash.jsp
> #
>
> --------------- T H R E A D ---------------
>
> Current thread (0x2ec28000): VMThread [stack:
> 0x2ed20000,0x2ed70000] [id=5980]
>
> siginfo: ExceptionCode=0xc0000005, reading address 0x62b5b748
>
> Registers:
> EAX=0x12f1c718, EBX=0x6da5ad88, ECX=0x62b5b740, EDX=0x323b0020
> ESP=0x2ed6f9f0, EBP=0x00000000, ESI=0x6da7f024, EDI=0x2ed6fa60
> EIP=0x6d9abe20, EFLAGS=0x00010212
>
> Top of Stack: (sp=0x2ed6f9f0)
> 0x2ed6f9f0: 6d9ac20a 00000003 6d9128c5 322aec80
> 0x2ed6fa00: 00000004 000001df 00000001 2ed6fa74
> 0x2ed6fa10: 6d9bd328 00000000 6da7f024 2ed6fac0
> 0x2ed6fa20: 2fdfdaa0 2ec28934 00000000 0000000b
> 0x2ed6fa30: 6d913568 2ed6fa60 2fc2b400 2ed6fac0
> 0x2ed6fa40: 00000000 00000001 2ec28934 00000069
> 0x2ed6fa50: 2ec28938 6d8e6400 2ec28000 2ec28938
> 0x2ed6fa60: 6da4df88 2ed6fac0 6da7f024 0000000b
>
> Instructions: (pc=0x6d9abe20)
> 0x6d9abe10: 8b 08 8b 50 0c 49 89 08 8b 08 8b 04 8a 8b 48 04
> 0x6d9abe20: 8b 51 08 83 c1 08 50 ff 52 60 a1 40 15 a9 6d 83
>
>
> Stack: [0x2ed20000,0x2ed70000], sp=0x2ed6f9f0, free space=318k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
> C=native code)
> V [jvm.dll+0x13be20]
>
> [error occurred during error reporting (printing native stack), id
> 0xc0000005]
>
> VM_Operation (0x322addc8): GenCollectForAllocation, mode: safepoint,
> requested by thread 0x2fc2b400
>
> [b]Thanks.[/b]
> [Message sent by forum member 'calderwa' (calderwa)]
>
> http://forums.java.net/jive/thread.jspa?messageID=298276
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

calderwa
Offline
Joined: 2004-05-16

I start my server via the "Start Default Server" option on my Java EE 5 SDK tray icon's menu. Does this not use the -server option? If not, where would i set it explicitly?

It has behaved fine for the last 5 hours, of course.

Cheers.

Alexis Moussine-Pouchkine

Sorry I should have been more explicit.
This is done in domains\domain1\config\domain.xml in the arguments> section.
You can also set this in the JVM Options in the admin console.
Which precise JDK version are you using (AS_JAVA value in
GLASSFISH_HOME\config\asenv.conf)?
-Alexis

On Sep 10, 2008, at 16:51, glassfish@javadesktop.org wrote:

> I start my server via the "Start Default Server" option on my Java
> EE 5 SDK tray icon's menu. Does this not use the -server option? If
> not, where would i set it explicitly?
>
> It has behaved fine for the last 5 hours, of course.
>
> Cheers.
> [Message sent by forum member 'calderwa' (calderwa)]
>
> http://forums.java.net/jive/thread.jspa?messageID=298364
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

calderwa
Offline
Joined: 2004-05-16

Hi.
I don't have an args sections in my domain.xml file. Looking in admin console, i can see that the flag specified is "-client". I think this is the value I got "out of the box". Is it normal to run it as -server (for heap sizes etc.) or is this something you do for debugging/diagnostics?

glassfish: 9.1_01 (build b09d-fcs)

JDK: i don't have an asenv.conf file either! In my asenv.bat file i have
"set AS_JAVA=C:\Sun\SDK\jdk"

Running "java -version" in the bin directory below this gives me:
"java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)"

Hope this is the info you need.
Cheers, Alan

> Sorry I should have been more explicit.
> This is done in domains\domain1\config\domain.xml in
> the > arguments> section.
> You can also set this in the JVM Options in the admin
> console.
> Which precise JDK version are you using (AS_JAVA
> value in
> GLASSFISH_HOME\config\asenv.conf)?
> -Alexis
>
>
>
> On Sep 10, 2008, at 16:51, glassfish@javadesktop.org
> wrote:
>
> > I start my server via the "Start Default Server"
> option on my Java
> > EE 5 SDK tray icon's menu. Does this not use the
> -server option? If
> > not, where would i set it explicitly?
> >
> > It has behaved fine for the last 5 hours, of
> course.
> >
> > Cheers.
> > [Message sent by forum member 'calderwa'
> (calderwa)]
> >
> >
> http://forums.java.net/jive/thread.jspa?messageID=2983
> 64
> >
> >
> ------------------------------------------------------
> ---------------
> > To unsubscribe, e-mail:
> users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail:
> users-help@glassfish.dev.java.net
> >
>
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail:
> users-help@glassfish.dev.java.net

Marina Vatkina

Look for -D's in the domain.xml - this is the section for various JVM options.

Regards,
-marina

glassfish@javadesktop.org wrote:
> Hi.
> I don't have an args sections in my domain.xml file. Looking in admin console, i can see that the flag specified is "-client". I think this is the value I got "out of the box". Is it normal to run it as -server (for heap sizes etc.) or is this something you do for debugging/diagnostics?
>
> glassfish: 9.1_01 (build b09d-fcs)
>
> JDK: i don't have an asenv.conf file either! In my asenv.bat file i have
> "set AS_JAVA=C:\Sun\SDK\jdk"
>
> Running "java -version" in the bin directory below this gives me:
> "java version "1.6.0_04"
> Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
> Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)"
>
> Hope this is the info you need.
> Cheers, Alan
>
>
>
>>Sorry I should have been more explicit.
>>This is done in domains\domain1\config\domain.xml in
>>the >>arguments> section.
>>You can also set this in the JVM Options in the admin
>>console.
>>Which precise JDK version are you using (AS_JAVA
>>value in
>>GLASSFISH_HOME\config\asenv.conf)?
>>-Alexis
>>
>>
>>
>>On Sep 10, 2008, at 16:51, glassfish@javadesktop.org
>>wrote:
>>
>>
>>>I start my server via the "Start Default Server"
>>
>>option on my Java
>>
>>>EE 5 SDK tray icon's menu. Does this not use the
>>
>>-server option? If
>>
>>>not, where would i set it explicitly?
>>>
>>>It has behaved fine for the last 5 hours, of
>>
>>course.
>>
>>>Cheers.
>>>[Message sent by forum member 'calderwa'
>>
>>(calderwa)]
>>
>>>
>>http://forums.java.net/jive/thread.jspa?messageID=2983
>>64
>>
>>>
>>------------------------------------------------------
>>---------------
>>
>>>To unsubscribe, e-mail:
>>
>>users-unsubscribe@glassfish.dev.java.net
>>
>>>For additional commands, e-mail:
>>
>>users-help@glassfish.dev.java.net
>>
>>
>>------------------------------------------------------
>>---------------
>>To unsubscribe, e-mail:
>>users-unsubscribe@glassfish.dev.java.net
>>For additional commands, e-mail:
>>users-help@glassfish.dev.java.net
>
> [Message sent by forum member 'calderwa' (calderwa)]
>
> http://forums.java.net/jive/thread.jspa?messageID=298392
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

calderwa
Offline
Joined: 2004-05-16

Yeah, there was no "jvm-arguments" section, but there are indeed a number of "" elements nested in "", including:
"-client"

Midnight now, and it's still working perfectly, lol.

Thanks.

> Look for -D's in the domain.xml - this is the section
> for various JVM options.
>
> Regards,
> -marina
>
> glassfish@javadesktop.org wrote:
> > Hi.
> > I don't have an args sections in my domain.xml
> file. Looking in admin console, i can see that the
> flag specified is "-client". I think this is the
> value I got "out of the box". Is it normal to run it
> as -server (for heap sizes etc.) or is this something
> you do for debugging/diagnostics?
> >
> > glassfish: 9.1_01 (build b09d-fcs)
> >
> > JDK: i don't have an asenv.conf file either! In my
> asenv.bat file i have
> > "set AS_JAVA=C:\Sun\SDK\jdk"
> >
> > Running "java -version" in the bin directory below
> this gives me:
> > "java version "1.6.0_04"
> > Java(TM) SE Runtime Environment (build
> 1.6.0_04-b12)
> > Java HotSpot(TM) Client VM (build 10.0-b19, mixed
> mode)"
> >
> > Hope this is the info you need.
> > Cheers, Alan
> >
> >
> >
> >>Sorry I should have been more explicit.
> >>This is done in domains\domain1\config\domain.xml
> in
> >>the > >>arguments> section.
> >>You can also set this in the JVM Options in the
> admin
> >>console.
> >>Which precise JDK version are you using (AS_JAVA
> >>value in
> >>GLASSFISH_HOME\config\asenv.conf)?
> >>-Alexis
> >>
> >>
> >>
> >>On Sep 10, 2008, at 16:51,
> glassfish@javadesktop.org
> >>wrote:
> >>
> >>
> >>>I start my server via the "Start Default Server"
> >>
> >>option on my Java
> >>
> >>>EE 5 SDK tray icon's menu. Does this not use the
> >>
> >>-server option? If
> >>
> >>>not, where would i set it explicitly?
> >>>
> >>>It has behaved fine for the last 5 hours, of
> >>
> >>course.
> >>
> >>>Cheers.
> >>>[Message sent by forum member 'calderwa'
> >>
> >>(calderwa)]
> >>
> >>>
> >>http://forums.java.net/jive/thread.jspa?messageID=29
> 83
> >>64
> >>
> >>>
> >>----------------------------------------------------
> --
> >>---------------
> >>
> >>>To unsubscribe, e-mail:
> >>
> >>users-unsubscribe@glassfish.dev.java.net
> >>
> >>>For additional commands, e-mail:
> >>
> >>users-help@glassfish.dev.java.net
> >>
> >>
> >>----------------------------------------------------
> --
> >>---------------
> >>To unsubscribe, e-mail:
> >>users-unsubscribe@glassfish.dev.java.net
> >>For additional commands, e-mail:
> >>users-help@glassfish.dev.java.net
> >
> > [Message sent by forum member 'calderwa'
> (calderwa)]
> >
> >
> http://forums.java.net/jive/thread.jspa?messageID=2983
> 92
> >
> >
> ------------------------------------------------------
> ---------------
> > To unsubscribe, e-mail:
> users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail:
> users-help@glassfish.dev.java.net
> >
>
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail:
> users-help@glassfish.dev.java.net

qtxdaer
Offline
Joined: 2007-09-28

Is there a bugreport on this?

A spontaneous chrash is really the worst thing you can have in an applicationserver. If there is such a bug in GlassFish the fix should be highly prioritized.. Give us as much information as possible so that we can help out in the search for the problem.

Regards, Daniel

Alexis Moussine-Pouchkine

Exactly. It's nasty but probably not really GlassFish-related.
A bug report would be highly appreciated.
(sorry about the erroneous option in domain.xml btw)

-Alexis

On Sep 11, 2008, at 10:17, glassfish@javadesktop.org wrote:

> Is there a bugreport on this?
>
> A spontaneous chrash is really the worst thing you can have in an
> applicationserver. If there is such a bug in GlassFish the fix
> should be highly prioritized.. Give us as much information as
> possible so that we can help out in the search for the problem.
>
> Regards, Daniel
> [Message sent by forum member 'qtxdaer' (qtxdaer)]
>
> http://forums.java.net/jive/thread.jspa?messageID=298572
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

calderwa
Offline
Joined: 2004-05-16

I have just submitted a bug report for this.
Impossible to reproduce, as it is, indeed, seemingly "spontaneous".
I have a sneaking feeling that it may coincide with changeover to JDK1.6 a couple of weeks ago. I am on Windows XP.

> Exactly. It's nasty but probably not really
> GlassFish-related.
> A bug report would be highly appreciated.
> (sorry about the erroneous option in domain.xml btw)
>
> -Alexis
>
> On Sep 11, 2008, at 10:17, glassfish@javadesktop.org
> wrote:
>
> > Is there a bugreport on this?
> >
> > A spontaneous chrash is really the worst thing you
> can have in an
> > applicationserver. If there is such a bug in
> GlassFish the fix
> > should be highly prioritized.. Give us as much
> information as
> > possible so that we can help out in the search for
> the problem.
> >
> > Regards, Daniel
> > [Message sent by forum member 'qtxdaer' (qtxdaer)]
> >
> >
> http://forums.java.net/jive/thread.jspa?messageID=2985
> 72
> >
> >
> ------------------------------------------------------
> ---------------
> > To unsubscribe, e-mail:
> users-unsubscribe@glassfish.dev.java.net
> > For additional commands, e-mail:
> users-help@glassfish.dev.java.net
> >
>
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail:
> users-help@glassfish.dev.java.net

tatome
Offline
Joined: 2010-01-14

Hi calderwa,

It's been more than a year since you posted this, but would you still happen to have a link to your bug report? I'm experiencing spontaneous crashes of my glassfish servers that look a lot like yours and it would be so great to see if anyone's found a solution yet.

Cheers,
Johannes

Kedar Mhaswade

I strongly suspect a VM crash. Please find hs_.log files either at:

- glassfish-domain-folder/config, or
- your home folder

I haven't seen this behavior in a long time.

-Kedar
km@dev.java.net

Chamberlain, Eric wrote:
> We are seeing spontaneous (i.e. with no symptoms beforehand) crashes of
> GlassFish. We are running 9.1_02 on Windows 2003 Enterprise.
>
> I have looked in the GlassFish log and found NO messages at the time of
> the crash (even when I go to finest). I suspect, therefore, that this
> is a crash of the JVM. How do I find the logs for that which could tell
> me more about the crash?
>
> BTW, has anyone else seen this behavior?
>
> Thanks.
>
> Eric Chamberlain
> /VentriPoint, Inc. /| /www.ventripoint.com /
> | /Software Engineer /
> /Helping heart care through innovative diagnostic solutions/
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

attachio
Offline
Joined: 2008-08-20

You know, I've seen spontaneous crashes with glassfish twice this week. I think it started after I started using the latest jsf woodstock components, but have no real evidence except for the following strange exception. Does anyone have an idea what happened here? Thanks in advance.

[#|2008-08-10T05:59:01.779-0500|WARNING|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=32;_ThreadName=httpSSLWorkerThread-8080-3;_RequestID=69731a9a-2504-43ae-a956-4859d4bf2662;|executePhase(RENDER_RESPONSE
6,com.sun.faces.context.FacesContextImpl@1c1e465) threw exception
javax.faces.FacesException
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:135)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:106)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: ClientAbortException: java.io.IOException: Broken pipe
at org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:412)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:417)
at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:359) at org.apache.coyote.tomcat5.OutputBuffer.flush(OutputBuffer.java:336)
at org.apache.coyote.tomcat5.CoyoteResponse.flushBuffer(CoyoteResponse.java:639)
at org.apache.coyote.tomcat5.CoyoteResponseFacade.flushBuffer(CoyoteResponseFacade.java:291)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:203)
at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:320)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
... 35 more
Caused by: java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
at sun.nio.ch.IOUtil.write(IOUtil.java:75)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
at com.sun.enterprise.web.connector.grizzly.OutputWriter.flushChannel(OutputWriter.java:94)
at com.sun.enterprise.web.connector.grizzly.OutputWriter.flushChannel(OutputWriter.java:67)
at com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.java:167)
at com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.flushBuffer(SocketChannelOutputBuffer.java:202)
at com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.flush(SocketChannelOutputBuffer.java:178)
at com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.realWriteBytes(SocketChannelOutputBuffer.java:145)
at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:851)
at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:149)
at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:626)
at org.apache.coyote.Response.doWrite(Response.java:599)
at org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:407)
... 43 more
|#]

Alexis Moussine-Pouchkine

On Aug 11, 2008, at 23:51, Chamberlain, Eric wrote:

> We are seeing spontaneous (i.e. with no symptoms beforehand) crashes
> of GlassFish. We are running 9.1_02 on Windows 2003 Enterprise.
>
> I have looked in the GlassFish log and found NO messages at the time
> of the crash (even when I go to finest). I suspect, therefore, that
> this is a crash of the JVM. How do I find the logs for that which
> could tell me more about the crash?
>
> BTW, has anyone else seen this behavior?

I've heard of calls to System.exit() triggering that exact behavior ;)
-Alexis

>
> Thanks.
>
> Eric Chamberlain
> VentriPoint, Inc. | www.ventripoint.com | Software Engineer
> Helping heart care through innovative diagnostic solutions
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net