users@glassfish.java.net

RE: Really unstable

From: Kenneth Clark <kenneth_at_rabiddog.co.za>
Date: Fri, 1 Jun 2007 09:16:22 +0200

If I do it from the glassfish/jdk/bin directory (the jstack exec) I get

Attaching to process ID 11287, please wait...
Exception in thread "main" sun.jvm.hotspot.debugger.UnmappedAddressException
        at sun.jvm.hotspot.debugger.PageCache.checkPage(PageCache.java:191)
        at sun.jvm.hotspot.debugger.PageCache.getData(PageCache.java:46)
        at
sun.jvm.hotspot.debugger.DebuggerBase.readBytes(DebuggerBase.java:188)
        at
sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.readCInteger(LinuxDebugger
Local.java:453)
        at
sun.jvm.hotspot.debugger.linux.LinuxAddress.getCIntegerAt(LinuxAddress.java:
52)
        at
sun.jvm.hotspot.HotSpotTypeDataBase.getLongValueFromProcess(HotSpotTypeDataB
ase.java:381)
        at
sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:86)
        at
sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:68)
        at
sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:550)
        at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:476)
        at
sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:314)
        at sun.jvm.hotspot.tools.Tool.start(Tool.java:146)
        at sun.jvm.hotspot.tools.JStack.main(JStack.java:58)

The OS is Ubuntu 6.10

Kenneth Clark
System Architect / Lead Developer

Rabid Dog Laboratories T
Putting the art back into development

tel: +27 11 475 7409
mobile: +27 82 500 5090
e-mail: kenneth_at_rabiddog.co.za
website: http://www.rabiddog.co.za/

-----Original Message-----
From: Kedar.Mhaswade_at_Sun.COM [mailto:Kedar.Mhaswade_at_Sun.COM]
Sent: 01 June 2007 09:11
To: users_at_glassfish.dev.java.net
Subject: Re: Really unstable

Are you using jstack from the same JDK installation
as the server?

BTW, which platform?

Kenneth Clark wrote:
> When I try and execute the Jstack I get
>
> Attaching to process ID 11287, please wait...
> Error attaching to process: sun.jvm.hotspot.debugger.DebuggerException:
> Can't attach to the process
>
> I am inside the glassfish/lib dir when executing the call
>
> Kenneth Clark
> System Architect / Lead Developer
>
> Rabid Dog Laboratories T
> Putting the art back into development
>
> tel: +27 11 475 7409
> mobile: +27 82 500 5090
> e-mail: kenneth_at_rabiddog.co.za
> website: http://www.rabiddog.co.za/
>
> -----Original Message-----
> From: Binod.Pg_at_Sun.COM [mailto:Binod.Pg_at_Sun.COM]
> Sent: 01 June 2007 08:52
> To: users_at_glassfish.dev.java.net
> Subject: Re: Really unstable
>
> Binod.Pg_at_Sun.COM wrote:
>
>
>> Are you running in FreeBSD? Are you using latest build? Which JDK
>> version?
>>
>> Please post the jstack output of the stack when you glassfish not
>> responding.
>>
>
> I meant jstack output of the proecess.
>
>
>> thanks,
>> Binod.
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net




-- 
No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.5/826 - Release Date: 31/05/2007
16:51