Weblogic won't start as a service? Here are a few steps to make it work
- Open up registry editor
- Navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > services > HRDEV-PIA (your service name here) > Parameters
- Double click on CmdLine and paste " -server -Xms256m -Xmx256m -XX:MaxPermSize=128m -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform -classpath ";foobar,D:/Psoft/HRDEV\webserv\HRDEV\lib\ps_patch.jar;D:/Psoft/HRDEV\webserv\HRDEV\applications\peoplesoft\PSIGW\WEB-INF\lib\mail.jar;D:/Psoft/HRDEV\webserv\HRDEV\lib\portlet-api-1.0.jar;D:/Psoft/HRDEV\webserv\HRDEV\lib\pluto-1.0.1.jar;D:/Psoft/HRDEV\webserv\HRDEV\applications\peoplesoft\PORTAL\WEB-INF\lib\saaj.jar;D:/Psoft/HRDEV\webserv\HRDEV\applications\peoplesoft\PORTAL\WEB-INF\lib\xml-apis.jar;D:/Psoft/HRDEV\webserv\HRDEV\applications\peoplesoft\PORTAL\WEB-INF\lib\xercesImpl.jar;;C:\bea\patch_weblogic920\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\jdk150_04\lib\tools.jar;C:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;C:\bea\WEBLOG~1\server\lib\weblogic.jar" -Djava.util.logging.config.file=D:\Psoft\HRDEV\webserv\HRDEV\applications\peoplesoft\logging.properties -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Dweblogic.Name=PIA -Dweblogic.management.username=operator -Dweblogic.ProductionModeEnabled=true -Dps_vault=D:\Psoft\HRDEV\webserv\HRDEV\psvault -Djava.security.policy="C:\bea\WEBLOG~1\server\lib\weblogic.policy" -Dssl.debug=false -Dps_home=D:/Psoft/HRDEV weblogic.Server"
- Double click on path and paste "C:\bea\WEBLOGIC92\server\bin;C:\bea\WEBLOGIC92\server\native\win\32;C:\bea\jdk150_04\bin;D:/Psoft/HRDEV\bin\server\winx86;D:/Psoft/HRDEV\verity\winx86\_nti40\bin"
- Make directory changes as per your configuration
- I have seen the error when path is abbreviated