Our admin server of the osb development environment failed to restart because of a full disk.
After cleaning up the admin server still wouldn’t start resulting in the next stack.
[code]
[/code]
Locate the file :
[code]
ORACLE_HOME/user_projects/domain/your_domaim_name/servers/AdminServer/data/ldap/conf/replicas.prop
[/code]
.. and remove it
In our case the file got corrupted (0byte file).
Removing the file, the file will get recreated with something like the next content :
[code]
[weblogic@my_machine conf]$ cat replicas.prop
#Generated property file
#Fri Sep 28 10:27:06 CEST 2012
replica.num=1
replica.0.name=OSB-MS1
replica.0.base=dc\=OSB
replica.0.port=7003
replica.0.hostname=my_hostname
replica.0.masterurl=ldap\://my_hostname\:7001/
replica.0.masterid=AdminServer
replica.0.secure=0
replica.0.binddn=cn\=Admin
replica.0.consumerid=OSB-MS1
[/code]
30 Responses to “Server subsystem failed. Reason: java.lang.NumberFormatException: null”
thanks a ton for ur help. it really helped us in solving the number format exception.
Thanks Eric. It fixed my issue.
Thanks a million! Have been working with the vendor and nothing getting fixed…I am now back up and running!
Thank you It worked .
Thanks this worked.
Thanks Eric. It fixed my issue.
Thanks. It fixed my issue.
thank you soo much
Thanks Eric, it worked for me.
WOW, great stuff. really appreciating
THX, it worked for me too!
Thanks a lot, worked like charm.
I don’t necessarily have right credentials to look into these issues, but ended up in this situation. Exact same symptoms and reasons. /u01 got full and after UNIX team cleaned it up, weblogic was not starting.
Thanks
You are a champ, this article, brought my severup and running in 30 minutes
Thanks, this had me fix and running in 3 mins!! Thanks.
Awesome!! thanks for the help!!!!
[…] Server subsystem failed. Reason: java.lang … – Thanks a lot, worked like charm. I don’t necessarily have right credentials to look into these issues, but ended up in this situation. Exact same … […]
Thanks man!!!!!
Great post! We ran into the exact scenario you ran into. Luckily,I ran into your post and this fix worked like a charm. Thanks for posting! You saved me hours of troubleshooting.
After removing the replicas.prop, when I restart the server it is not creating the file properly. Is there anyway we can create it manually?
Is it a 0byte file after restart or does it contain any content ?
Thank you exactly what I needed!
Ran into the same issue, and came across this post. Followed the exact steps and it fixed my issue.Thank you!
Good one, thanks. In addition, we had the issue with another corrupted file (adapters.os_xml), so we took it from backup dest:
cp /opt/oracle/middleware/oracle_common/modules/oracle.ovd_11.1.1/templates/adapters.os_xml /opt/oracle/middleware/user_projects/domains/FRSDomain/config/fmwconfig/ovd/default/adapters.os_xml
Cheers!
Thank you so much, this fixed my issue.
Eric, thanks for the information.
This resolved my issue.
Reggards,
You are the man, thank you
HI Team,
Getting below exception and the above solution i tried but it did’t work. Kindly help.
All server side log events will be written to this file.>
<Server subsystem failed. Reason: java.lang.ExceptionInInitializerError
java.lang.ExceptionInInitializerError
at weblogic.protocol.ProtocolHandlerAdmin.getDefaultServerChannel(ProtocolHandlerAdmin.java:51)
at weblogic.server.channels.ChannelService.createServerChannels(ChannelService.java:506)
at weblogic.server.channels.ChannelService.initializeServerChannels(ChannelService.java:311)
at weblogic.server.channels.ChannelService.start(ChannelService.java:218)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException
at weblogic.protocol.ProtocolHandlerAdmin.getPriority(ProtocolHandlerAdmin.java:77)
at weblogic.server.channels.BasicServerChannelImpl.(BasicServerChannelImpl.java:485)
at weblogic.server.channels.ServerChannelImpl.(ServerChannelImpl.java:94)
at weblogic.server.channels.ServerChannelImpl.(ServerChannelImpl.java:85)
at weblogic.server.channels.ServerChannelImpl.createDefaultServerChannel(ServerChannelImpl.java:217)
Truncated. see log file for complete stacktrace
>
Thanks so much. This resolved my issue after running out of space on the partition
thanks…..you are a man.
Thank you Eric !! Helped to resolve similar issue which I faced .