in nodemanager.log :
<Jun 3, 2012 5:20:07 PM> <INFO> <osbpp1do> <osbpp1ms3> <Boot identity properties saved to "/opt/oracle/domains/osbpp1do/servers/osbpp1ms3/data/nodemanager/boot.properties">
<Jun 3, 2012 5:20:07 PM> <INFO> <osbpp1do> <osbpp1ms3> <Startup configuration properties saved to "/opt/oracle/domains/osbpp1do/servers/osbpp1ms3/data/nodemanager/startup.properties">
<Jun 3, 2012 5:20:07 PM> <INFO> <osbpp1do> <osbpp1ms3> <Rotated server output log to "/opt/oracle/domains/osbpp1do/servers/osbpp1ms3/logs/osbpp1ms3.out00116">
<Jun 3, 2012 5:20:07 PM> <INFO> <osbpp1do> <osbpp1ms3> <Server error log also redirected to server log>
<Jun 3, 2012 5:20:07 PM> <INFO> <osbpp1do> <osbpp1ms3> <Starting WebLogic server with command line: /opt/oracle/domains/osbpp1do/bin/startWebLogic.sh >
<Jun 3, 2012 5:20:07 PM> <INFO> <osbpp1do> <osbpp1ms3> <Working directory is '/opt/oracle/domains/osbpp1do'>
<Jun 3, 2012 5:20:07 PM> <INFO> <osbpp1do> <osbpp1ms3> <Rotated server output log to "/opt/oracle/domains/osbpp1do/servers/osbpp1ms3/logs/osbpp1ms3.out00117">
<Jun 3, 2012 5:20:07 PM> <INFO> <osbpp1do> <osbpp1ms3> <Server error log also redirected to server log>
<Jun 3, 2012 5:20:07 PM> <INFO> <osbpp1do> <osbpp1ms3> <Server output log file is '/opt/oracle/domains/osbpp1do/servers/osbpp1ms3/logs/osbpp1ms3.out'>
<Jun 3, 2012 5:20:11 PM> <INFO> <Successfully brought 10.56.5.174 with netmask 255.255.255.0 online on bond0:1>
<Jun 3, 2012 5:20:13 PM> <INFO> <Successfully removed 10.56.5.174 from bond0:1.>
<Jun 3, 2012 5:20:13 PM> <INFO> <osbpp1do> <osbpp1ms3> <Server failed during startup so will not be restarted>
<Jun 3, 2012 5:20:13 PM> <WARNING> <Exception while starting server 'osbpp1ms3'>
java.io.IOException: Server failed to start up. See server output log for more details.
at weblogic.nodemanager.server.AbstractServerManager.start(AbstractServerManager.java:200)
at weblogic.nodemanager.server.ServerManager.start(ServerManager.java:23)
at weblogic.nodemanager.server.Handler.handleStart(Handler.java:604)
at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:121)
at weblogic.nodemanager.server.Handler.run(Handler.java:71)
at java.lang.Thread.run(Thread.java:662)
in /opt/oracle/domains/osbpp1do/servers/osbpp1ms3/logs/osbpp1ms3.out:
<Jun 3, 2012 5:20:13 PM CEST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.management.DeploymentException: Exception occured while downloading files
at weblogic.deploy.internal.targetserver.datamanagement.ConfigDataUpdate.doDownload(ConfigDataUpdate.java:83)
at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)
at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97)
at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.downloadFiles(RuntimeAccessDeploymentReceiverService.java:920)
at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.updateFiles(RuntimeAccessDeploymentReceiverService.java:879)
at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.handleRegistrationResponse(RuntimeAccessDeploymentReceiverService.java:728)
at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.registerHandler(RuntimeAccessDeploymentReceiverService.java:699)
at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.start(RuntimeAccessDeploymentReceiverService.java:169)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.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)
Caused by: java.io.IOException: Posted content doesn't set it's Content-Length
at weblogic.deploy.service.datatransferhandlers.MultipartParser.parseResponse(MultipartParser.java:98)
at weblogic.deploy.service.datatransferhandlers.MultipartParser.<init>(MultipartParser.java:83)
at weblogic.deploy.service.datatransferhandlers.MultipartParser.<init>(MultipartParser.java:46)
at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:88)
at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:153)
at weblogic.deploy.internal.targetserver.datamanagement.ConfigDataUpdate.doDownload(ConfigDataUpdate.java:75)
... 13 more
>
(btw it's not "it's Content-Length", but "its Content-Length"... lot of IT people are illiterate...)
Here I google and find the solution:
http://robin4444.blogspot.ch/2011/10/high-availability-of-admin-server.html
“As per KM 1294379.1, Released that there were 0sized files under the config directory of domain which were not being synchronized, removing those files fixed the problem.”
on the admin box (105):
find /opt/oracle/domains/osbpp1do/config -type f -size 0 -exec ls {} \; | xargs ls -ltr
-rw-r----- 1 soa soa 0 Nov 24 2011 /opt/oracle/domains/osbpp1do/config/fmwconfig/servers/osbpp1as/applications/OracleBamAdapter/config/BAMCommonConfig.xml.jmxori
-rw-r----- 1 soa soa 0 Nov 24 2011 /opt/oracle/domains/osbpp1do/config/fmwconfig/servers/osbpp1as/applications/OracleBamAdapter/config/BAMCommonConfig.xml
-rw-r----- 1 soa soa 0 Nov 24 2011 /opt/oracle/domains/osbpp1do/config/fmwconfig/servers/osbpp1ms1/applications/OracleBamAdapter/config/BAMCommonConfig.xml.jmxori
-rw-r----- 1 soa soa 0 Nov 24 2011 /opt/oracle/domains/osbpp1do/config/fmwconfig/servers/osbpp1ms1/applications/OracleBamAdapter/config/BAMCommonConfig.xml
-rw-r----- 1 soa soa 0 Jun 3 15:14 /opt/oracle/domains/osbpp1do/config/fmwconfig/servers/osbpp1ms4/applications/OracleBamAdapter/config/BAMCommonConfig.xml.jmxori
-rw-r----- 1 soa soa 0 Jun 3 15:14 /opt/oracle/domains/osbpp1do/config/fmwconfig/servers/osbpp1ms4/applications/OracleBamAdapter/config/BAMCommonConfig.xml
deleted those 2 files in bold. All works again.
Those 2 files were generated by a MS which was migrated to the same box of the Admin, and who left behind some config files... when you start any MS, they fetch the latest configuration files from the Admin, and if one of those files has length = 0, it fails! Bummer!
Sunday, June 3, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment