I'm using Weblogic 12.1.2.0.0.
I have deleted the contents of /wls_domains/mydomain/servers/admin_mydomain/data/store/default & diagnostics
, and also the contents of /wls_domains/mydomain/servers/admin_mydomain/tmp
Now I cannot start the admin server and it is throwing below exception. Can someone please help me on this?
<27-Feb-2015 08:32:51 o'clock GMT> <Info> <Management> <BEA-141227> <Making a backup copy of the configuration at /wls_domains/mydomain/config-original.jar.>
<27-Feb-2015 08:32:51 o'clock GMT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NullPointerException
java.lang.NullPointerException
at weblogic.utils.jars.JarFileUtils.addFilesToJar(JarFileUtils.java:88)
at weblogic.utils.jars.JarFileUtils.addFilesToJar(JarFileUtils.java:116)
at weblogic.utils.jars.JarFileUtils.addFilesToJar(JarFileUtils.java:116)
at weblogic.utils.jars.JarFileUtils.createJarFileFromDirectory(JarFileUtils.java:214)
at weblogic.utils.jars.JarFileUtils.createJarFileFromDirectory(JarFileUtils.java:190)
at weblogic.utils.jars.JarFileUtils.createJarFileFromDirectory(JarFileUtils.java:149)
at weblogic.utils.jars.JarFileUtils.createJarFileFromDirectory(JarFileUtils.java:135)
at weblogic.management.provider.internal.ConfigBackup.createJarFileFromConfig(ConfigBackup.java:168)
at weblogic.management.provider.internal.ConfigBackup.createJarFileFromConfig(ConfigBackup.java:153)
at weblogic.management.provider.internal.ConfigBackup.saveOriginal(ConfigBackup.java:54)
at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:139)
at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:41)
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:895)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:572)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:471)
at weblogic.Server.main(Server.java:74)
I don't believe you are supposed to remove anything from the data directory. You could try shutting down the environment, moving admin_mydomain directory to a temporary directory (say /tmp/admin_mydomain) and then restarting the environment. WebLogic should then rebuild these directories. Keep the /tmp/admin_mydomain directory in case this does not work then you can just move it back in.