users@glassfish.java.net

Re: How to pass properties to glassfishv2 startup/domain.xml?

From: <glassfish_at_javadesktop.org>
Date: Wed, 05 Sep 2007 18:23:44 PDT

Apologies.

I was on vacation.

You are absolutely right! The startserv script is NOT called asadmin start-domain.
The reasons for this are detailed extensively at:
http://wiki.glassfish.java.net/attach/GlassFishV2AdminRelatedOnePagers/admin-fs.html#pl

Now coming yo your question:

*In both V1 and V2*, you should be able to provide additional system properties to the server VM
at the Java-config element in domain.xml. It is pretty straightforward.
- use admin console.
- use asadmin create-jvm-options command.

Both of these end up creating a jvm-options element that is passed to the server VM mostly as is.

Please let me know if this works.

Regards,
Kedar
[Message sent by forum member 'km' (km)]

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