users@glassfish.java.net

Re: Starting a local instance with a cluster

From: Bernhard Thalmayr <bernhard.thalmayr_at_painstakingminds.com>
Date: Wed, 18 Jan 2012 11:54:40 +0100

I did a quick search on GlassFish source but did not find anything.

However the 'DAS' has set '-client' JVM-Option by defaul but the
instances have '-server'.

You could try to set '-client' for the instance as well ... may be
this changes something.

Do you also get the erro if you launch

java - server -XX:LargePageSizeInBytes=256m <some-test-class-with-main>

java -client -XX:LargePageSizeInBytes=256m <some-test-class-with-main>

-Bernhard

On 1/18/12, forums_at_java.net <forums_at_java.net> wrote:
> Morning Bernhard,
>
> On our java version on our Win 2008 R2 installation is as follows ...
>
> C:\Applications\glassfish3\jdk7\bin>java -server -version
> java version "1.7.0_01"
> Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
> Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)
>
> ... and on my desktop is
>
> E:\Applications\glassfish3\jdk7\bin>java -version
> java version "1.7.0"
> Java(TM) SE Runtime Environment (build 1.7.0-b147)
> Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
>
> Thre troublesome jvm argument that seems to get auto inserted in the
> domain.xml file is ...
>
> <jvm-options>-XX:LargePageSizeInBytes=256m</jvm-options>
>
> is there any way to stop this line from being added to the instance domain
> xml file as every time I remove the entry it comes back again when I try
> and start the instance?
>
> My main domain administration server does not have this entry and does not
> have a issues starting.
>
> Thanks in advance for any help.
>
> Chris
>
>
>
>
> --
>
> [Message sent by forum member 'kytie']
>
> View Post: http://forums.java.net/node/882761
>
>
>


-- 
IT-Consulting Bernhard Thalmayr
- Painstaking Minds -
83620 Vagen (Munich area)
Germany