This content has been marked as final. Show 4 replies
Is this an admin server or a managed server started by NodeManager?
If it's an admin server, you can edit the "setDomainEnv.sh" or "startWebLogic.sh" script (I'm not sure which is best, or where in the script it's best to make this change) in the domain/bin directory.
If it's a managed server controlled by NodeManager, then go into the WebLogic admin console and edit the "Environment"->"Servers"->server definition, going to "General"->"Server Start", and edit the "Arguments" field.
Edited by: david.karr on Jul 29, 2009 11:34 AM
You must specify -Djava.awt.headless=true in the setDomainEnv.sh file. This has nothing to do with Unix systems as this option is available on every platform.
I am getting this error on my browser when I try to load my ADF application hosted on weblogic managed server. What do I do to fix this and where do i specify this parameter in which file? Can this be done from the console too? Do i need to restart the weblogic server after?
If you start the WLS server on the command line, set the JAVA_OPTIONS environment variable before starting the WLS Server.
Ie (on Unix/Linux):