Home » Fusion Middleware & Colab Suite » Weblogic & Application Server » NESTED ERROR when making admin server a windows service (oracle, weblogic server 11g, windows server 2008)
NESTED ERROR when making admin server a windows service [message #583893] Mon, 06 May 2013 10:38 Go to next message
eortiz10
Messages: 4
Registered: May 2013
Location: new york
Junior Member
I created a script to make my admin server a windows service. I successfully made it a service but when it starts it then shuts itself down. i ran a debug and found a error. I dont get what to do. I have tried changing the variables in the script and try it over and over again .....here is my script code and here is the error i got from debug output:

script

SETLOCAL

set DOMAIN_NAME=FRClassicDomain

set USERDOMAIN_HOME=C: /Oracle /Middleware/ user_projects/domains/FRClassicDomain

set SERVER_NAME=FRweblogic

set WLS_USER=FRweblogic

set WLS_PW=hidden

set ADMIN_URL=h t t p //hidden:70001(did this so i could post this topic smh)
set JAVA_VENDOR=Sun

set JAVA_HOME=C:/Program Files/Java/jdk1.7.0

set PRODUCTION_MODE=true

set MEM_ARGS=-Xms512m Xmx512m

call "C:/Oracle/Middleware/user_projects/domains/FRClassicDomain/bin/setDomainEnv.cmd"

call "C:/Oracle/Middleware/wlserver_10.3/server/bin/installSvc.cmd"

ENDLOCAL

my debug output:

...............

There are 1 nested errors:

weblogic.management.ManagementException: [Management:141223]The server name FRwe
blogic specified with -Dweblogic.Name does not exist. The configuration includes
the following servers {AdminServer,WLS_FORMS,WLS_REPORTS,FRasserver}.
at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(Runtim
eAccessImpl.java:149)
at weblogic.management.provider.internal.RuntimeAccessService.start(Runt
imeAccessService.java:41)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan
ager.java:461)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ
icesManager.java:166)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
at weblogic.Server.main(Server.java:71)


<Apr 30, 2013 9:49:06 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server sta
te changed to FAILED>
<Apr 30, 2013 9:49:06 AM EDT> <Error> <WebLogicServer> <BEA-000383> <Apr 30, 2013 9:49:06 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server sta
te changed to FORCE_SHUTTING_DOWN>

C:\Oracle\Middleware\wlserver_10.3\server\bin
Re: NESTED ERROR when making admin server a windows service [message #583894 is a reply to message #583893] Mon, 06 May 2013 10:40 Go to previous messageGo to next message
eortiz10
Messages: 4
Registered: May 2013
Location: new york
Junior Member
set ADMIN_URL actually reads as http//hidden:7001. It looks like that because i havent posted more than 5 messages to be able to post anything containing a link eveen though it is not my intention to post a link.
Re: NESTED ERROR when making admin server a windows service [message #583895 is a reply to message #583894] Mon, 06 May 2013 10:46 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
root cause & solution have NOTHING to do with Oracle DB.
Re: NESTED ERROR when making admin server a windows service [message #583897 is a reply to message #583893] Mon, 06 May 2013 11:09 Go to previous messageGo to next message
John Watson
Messages: 8922
Registered: January 2010
Location: Global Village
Senior Member
I've moved the topic to the Application Server forum, as BS said it shouldn't be in the Server Admin forum.

As for your problem, what advice were you following? The last time I did this, I used MOS notes 1060058.1, 1178935.1, and many others. One anomaly is that when starting your WebLogic server as a service, the environment file it reads is %WL_HOME%\common\bin\commEnv.cmd have you made appropriate edits to that? I had to reverse engineer all the batch files to track the flow of control: what file calls what other file.

Good luck.
Re: NESTED ERROR when making admin server a windows service [message #584077 is a reply to message #583897] Wed, 08 May 2013 09:23 Go to previous messageGo to next message
eortiz10
Messages: 4
Registered: May 2013
Location: new york
Junior Member
ok thank you, i will try that
Re: NESTED ERROR when making admin server a windows service [message #584078 is a reply to message #584077] Wed, 08 May 2013 09:24 Go to previous message
eortiz10
Messages: 4
Registered: May 2013
Location: new york
Junior Member
additional info
I am running:
windows 2008 server
oracle weblogic server 11g
oracle forms and reports
JDK 1.7

I am trying to make my admin server start as a window service. Basically i want the adminserver to automatically start itself when the server/computer is turned on and also if for some reason it is turned off it will automatically restart (if this is possible).
Previous Topic: oid synchronization with AD
Next Topic: Check Oracle Report Server.
Goto Forum:
  


Current Time: Thu Mar 28 09:46:59 CDT 2024