aspose file tools*
The moose likes BEA/Weblogic and the fly likes setting java options   Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "setting java options   " Watch "setting java options   " New topic
Author

setting java options

srini carry
Ranch Hand

Joined: Nov 30, 2007
Posts: 83
I am completely new to unix. We have weblogic in unix box and I want to set some java options

-Duser.country=us -Duser.language=en and java -Djava.awt.headless=true

please tell me which file and what changes I have to make so that weblogic starts with these java options.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

Have you tried modifying setenv.sh ? I have not used weblogic under unix but there should be a setenv or equivalent executable.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
srini carry
Ranch Hand

Joined: Nov 30, 2007
Posts: 83
Deepak Bala wrote:Have you tried modifying setenv.sh ? I have not used weblogic under unix but there should be a setenv or equivalent executable.


I did not try that , I am totally foreigner to unix , I have no clue where that file is ,
but weblogic startup script sets some java options and I would like to add these additional options.
Please tell me about the weblogic startup script file in unix.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

I have no clue where that file is ,


Use the linux find command to search for files
Kris Ko
Greenhorn

Joined: Jul 29, 2009
Posts: 2
I believe you can also set it via the Weblogic console. That way you don't have to worry about logging into the unix box. Obviously this will require a reboot of the managed server.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: setting java options