users@glassfish.java.net

Re: Spontaneous Glassfish Crashes

From: <glassfish_at_javadesktop.org>
Date: Wed, 10 Sep 2008 16:22:36 PDT

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

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_at_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 <jvm-
> >>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_at_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_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
> >
> > [Message sent by forum member 'calderwa'
> (calderwa)]
> >
> >
> http://forums.java.net/jive/thread.jspa?messageID=2983
> 92
> >
> >
> ------------------------------------------------------
> ---------------
> > 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
[Message sent by forum member 'calderwa' (calderwa)]

http://forums.java.net/jive/thread.jspa?messageID=298487