This content has been marked as final. Show 9 replies
Try to double check your setDomainEnv.cmd and commEnv.cmd file
if you wise to increase JVM heap memory try to set like this, -Xms1024m -Xmx2048m
I edited my commEnv file and setDomainEnv file and changed every occurance of -Xms256m to -Xms1024m and -Xmx512m to -Xmx2048m but still i am getting the same error. Where am I missing? What other files I may need to edit which AdminServer refers while staring the service through windows service?
Is there any variables or environment variables which I am missing to set? Please help.
Check Doc ID 1157875.1 or
Try with editing the existing Registry Entry:
1. Select the Windows "Start" -> "Run" -> "regedit"
2. In the Registry Editor, navigate to: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/beasvc <Domain_ServerName>/Parameters
3. Double Click on the "CmdLine" variable and change the "value data" from "-client" to "-server". For example change:
-client -Xms32m -Xmx200m -XX:MaxPermSize=128m etc..
-server -Xms32m -Xmx200m -XX:MaxPermSize=128m etc..
or if using JRockit JDK:
-jrockit -Xms32m -Xmx200m -XX:MaxPermSize=128m etc..
4. Attempt to start the service again and it should start successfully. Check the <ServerName>-stdout.txt to make sure the server is up and running.
OR delete the exisitng service and create it again:
1. Delete the existing service from the registry and reboot the server.
2. Edit the $MIDDLEWARE_HOME\wlserver_10.3\server\bin\installSvc.cmd
3. Add "set JAVA_VM=-server", or for JRockit only "set JAVA_VM=-jrockit" at the following section:
if "%ADMIN_URL%" == "" goto runAdmin
set CMDLINE="%JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -classpath \"%CLASSPATH%\" -Dweblogic.Name=%SERVER_NAME%
If helps pls mark
Thanks Veeravalli, I did exactly the same. Editing the registry didn't help so I deleted the service from registry and create it again and before that added the following in my installSVC file in the section you mentioned
set MEM_ARGS==-Xms1024m -Xmx1024m -XX:MaxPermSize=2048m -XX:-UseSSE42Intrinsics
But it is still not working, I am getting the same error but now it says
[Tue Dec 11 07:38:45 2012] [RunJavaApp] Loading class - =-Xms1024m
Caused by: java.lang.ClassNotFoundException: =-Xms1024m
at java.security.AccessController.doPrivileged(Native Method)
one of the things I didn't mention though was that when I create the service, I run the installAdmServer_Service.cmd file as "Run as Administrator", only then the service gets installed. Can this be related to the fact that this windows service needs to be run under admin account? or Run as Administrator? I am guessing because I tried various heap sizes and also edited my setDomainEnv.cmd and commEnv.cmd file to use 1024 as heap size it but still didn't work and it is failing may be while loading the class? If that is the case then how to run this services as administrator? Am I missing anything else?
When you say Java path , you mean to say JAVA_HOME system env variable or the path system env variable?
JAVA_HOME variable is set and the value is E:\MW_OBI\Oracle_BI1\jdk
and my path variable has the following entries
Am I missing anything? unfortunately, I don't have access to that doc id :(. So can't check that? I really not sure what I am missing on this as I guess I did everything which could have been done.
Somehow I was able to get the service started however it has stuck at the following point, it says waiting for multiple events, what events it is waiting for? What can I do to fix this? This is log from my adminserver-stdout.txt file
<Dec 11, 2012 11:10:30 AM EST> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "oracle_bi_instance:wls_server" has no key column. It will not be collected.>
<Dec 11, 2012 11:10:30 AM EST> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "oracle_bi_instance:obis_rollup" has no key column. It will not be collected.>
<Dec 11, 2012 11:10:30 AM EST> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "oracle_bi_instance:obips_rollup" has no key column. It will not be collected.>
<Dec 11, 2012 11:10:30 AM EST> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "oracle_bi_instance:obips_requests_rate" has no key column. It will not be collected.>
<Dec 11, 2012 11:10:31 AM EST> <Warning> <oracle.dms.collector> <BEA-000000> <Metric table "essbaseapp:appMetrics" has no key column. It will not be collected.>
INFO: Loading ActionFramework Config file E:\MW_OBI\USER_P~1\domains\BIFOUN~1\config\fmwconfig\biinstances\coreapplication\ActionFrameworkConfig.xml
[Tue Dec 11 11:10:59 2012] [ServiceStart] Reporting SCM of SERVICE_RUNNING
[Tue Dec 11 11:10:59 2012] [I] [ServiceStart] waiting for multiple events