Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Retail Training Forum
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

×

Warning

JUser: :_load: Unable to load user with ID: 2803

Difference in setting JAVA_OPTIONS Doubt

0
Q: What is the difference in setting JAVA_OPTIONS in below 2 files:
$DOMAIN_HOME/bin/setDomainEnv.sh and
$DOMAIN_HOME/bin/startWeblogic.sh

What is the good practice for JAVA_OPTIONS setting?

Accepted Answer

Sunday, November 22 2015, 04:29 AM - #Permalink
0
1)${DOMAINHOME}/bin/startWebLogic.sh calls ${DOMAINHOME}/bin/setDomainEnv.sh.

2)setDomainEnv.sh calls ${WL_HOME}/common/bin/commEnv.sh. commEnv.sh sets a series of common environment variables, none of which are directly related to the particular domain: for example, WL_HOME, JVM memory options, other JVM parameters, and system properties. These variables are set for use by any WebLogic Server domains, as well as system utilities like Node Manager, etc. A particular domain can (and usually does) override these settings, so setting them here may not actually change the settings for your particular domain. It probably will impact the settings for Node Manager, however.

3)After commEnv.sh is executed, setDomainEnv.sh will set other memory parameters and variables. In fact, the settings from commEnv.sh are overridden here.

4)After setDomainEnv.sh completes, the system returns to ${DOMAINHOME}/bin/startWebLogic.sh, organizes the parameters, and calls java to start up the JVM and start WebLogic Server.


5)If we want to change the HVM parameters, the best location is in startWebLogic.sh or setDomainEnv, either will do . There is not much difference for setting JAVA_OPTIONS in startWebLogic.sh or setDomainEnv . Generally its used to improve the performance .

Thanks
The reply is currently minimized Show
Responses (0)
  • There are no replies here yet.
Your Reply

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  May 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
    1  2  3  4  5
  6  7  8  9101112
13141516171819
20212223242526
2728293031  

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner