| mored201 2005-12-30, 5:54 pm |
| Hi All,
I'm pretty new to installing WebLogic and need to pose a question:
Ok, so I'm installing WebLogic 8.1 sp4 and using a newer JRE besides
the JRE_142_05 which it comes with by default. But here is my problem.
When I'm attempting to go and start up the weblogic admin console by
running a script called startWebLogic.sh I get the following error:
****************************************
***********
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://[hostname]:[port]/console *
****************************************
***********
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working
directory.
The funny thing is that if I type "java -version" in some directories
I get the same error :
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working
directory.
Now if I go to some other directories I get:
$directory> Java -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
One more thing and I'll end this long posting ... I walked through
the steps in the script being called to see where the problem may be
stemming from and it's baffling. If I run this script (startWebLogic)
which contains :
echo "."
echo " ****************************************
***********"
echo "* To start WebLogic Server, use a username and *"
echo "* password assigned to an admin-level user. For *"
echo "* server administration, use the WebLogic Server *"
echo "* console at http://[hostname]:[port]/console *"
echo " ****************************************
***********"
${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS}
-Dweblogic.Name=${SERVER_NAME} -
This will fail....with the above error!
But when I run this script (startNodeManager.sh) with this in the
script which basically calls the same Java_Home and Java_VM as well as
Mem_Args and Java_Options ..
set -x
CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${CLASSPATH}${CLASSPATHSEP}${BEA_HOME}"
export CLASSPATH
export PATH
cd "${NODEMGR_HOME}"
set -x
"${JAVA_HOME}/bin/java" ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS}
-Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy"
-Dweblogi
This will work and start the NodeManager. They both call the same
Java_Home and Java VM....totally strange to me. Any help or insight
into the matter that you see is appreciated.
|