ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » WAS JVM environment variable

Post new topic  Reply to topic
 WAS JVM environment variable « View previous topic :: View next topic » 
Author Message
RogerLacroix
PostPosted: Fri Apr 16, 2010 8:41 am    Post subject: WAS JVM environment variable Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

All,

How do you set a JVM environment variable from the WAS console?

i.e For a regular Java application from the command line, I would do:
Code:
java -DMYVAR=YES classname


I don't know anything about WAS. If I want to set a JVM environment variable called "MYVAR" with a value of "YES" from the WAS console, how do I do it?

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Fri Apr 16, 2010 9:05 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

I'm told (by a very nice lady ) that from the admin console it's:

servers - > application servers -> <your server> -> java and process management -> process definition -> java virtual machine -> generic JVM arguments
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Fri Apr 16, 2010 9:23 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

Thanks. Could you send me a screen-print of it? (roger .dot. lacroix .at. capitalware .dot. biz).

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Fri Apr 16, 2010 9:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/trun_jvm.html
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Apr 16, 2010 11:44 am    Post subject: Re: WAS JVM environment variable Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

RogerLacroix wrote:
All,

How do you set a JVM environment variable from the WAS console?

i.e For a regular Java application from the command line, I would do:
Code:
java -DMYVAR=YES classname


I don't know anything about WAS. If I want to set a JVM environment variable called "MYVAR" with a value of "YES" from the WAS console, how do I do it?

Regards,
Roger Lacroix


Roger,

One way is to do this is to pass the jvm the variables (command line like) as described by the reference jeff gave you.

The other way is through the WAS admin console. You need to find on the admin console where the variable definitions happens and assign the value to the variable... This way you will have the MQ_INSTALL and MQ_JMS_INSTALL directories to define etc...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
RogerLacroix
PostPosted: Mon Apr 19, 2010 1:43 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

Thanks for the info.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » WAS JVM environment variable
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.