Creating a windows Service for Weblogic 12c Domain hosting Apex 2.2 listener

Hi Guys,
Does anyone have experience of Weblogic 12c under windows?
I have some difficulties to create a windows service for a domain.
Here is the script to create the service:
echo off
SETLOCAL
set DOMAIN_NAME=PMU
set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\PMU
set SERVER_NAME=LICORNE2012
set WL_HOME=C:\Oracle\Middleware\wlserver_12.1
set PRODUCTION_MODE=true
set JAVA_OPTIONS=-Dweblogic.Name=LICORNE2012
set WLS_USER=weblogic
set WLS_PW=password
set ADMIN_URL=http://LICORNE2012:7001
set MEM_ARGS=-Xms256m –Xmx256m
call "C:\Oracle\Middleware\wlserver_12.1\server\bin\installSvc.cmd"
ENDLOCAL
The service is created and when I start the service, it start then stop few second after.
Here is the error I am getting.
[Tue Jun 25 23:36:01 2013] [I] [initLog] initializing logger
[Tue Jun 25 23:36:01 2013] [E] [initLog] No 'ROTATION_TYPE' header found. 'TIME' based rotation will be used by default.
[Tue Jun 25 23:36:01 2013] [E] [initLog] No 'TIME_START_DATE' header found or value is invalid. Rotation will take place every 24 hours beginning today at 23:59:59
[Tue Jun 25 23:36:01 2013] [E] [initLog] No 'TIME_INTERVAL_MINS' header found. Using the default value of 24 hours.
[Tue Jun 25 23:36:01 2013] [I] [initLog] TIME based log rotation is ON
[Tue Jun 25 23:36:01 2013] [I] [trigger] First rotation due in 1438 secs
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] console allocation successful. THREAD_DUMP redirection enabled
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] About to execute CreateThread()
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszCmdLine = -client -Xms32m -Xmx200m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+UseSpinning -Dweblogic.Name=LICORNE2012 -Xverify:none -Djava.endorsed.dirs=C:\Oracle\MIDDLE~1\JDK160~1/jre/lib/endorsed;C:\Oracle\MIDDLE~1\WLSERV~1.1/endorsed -classpath "C:\Oracle\MIDDLE~1\patch_wls1211\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_oepe101\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_12.1.1.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;" -Dweblogic.Name=LICORNE2012 -Dweblogic.management.username=weblogic -Dweblogic.management.server="http://LICORNE2012:7001" -Dweblogic.ProductionModeEnabled= -Djava.security.policy="C:\Oracle\MIDDLE~1\WLSERV~1.1\server\lib\weblogic.policy" weblogic.Server
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszJavaHome = C:\Oracle\MIDDLE~1\JDK160~1
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszExecDir = C:\Oracle\Middleware\user_projects\domains\PMU
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszOldPath = C:\app\oracle\product\11.2.0.3\jko\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszNewPath = C:\Oracle\MIDDLE~1\WLSERV~1.1\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\Oracle\MIDDLE~1\WLSERV~1.1\server\native\win\32\oci920_8;C:\app\oracle\product\11.2.0.3\jko\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszDelay = 0
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszStopClass = []
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszLog = [c:\temp\web.log]
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Thread created successfully
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Reporting SCM of SERVICE_START_PENDING with delay=0
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszHost = []
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] lpszPort = []
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] Reporting SCM of SERVICE_RUNNING
[Tue Jun 25 23:36:01 2013] [I] [ServiceStart] waiting for multiple events
[Tue Jun 25 23:36:01 2013] [I] [StartJVM] Parsing JVM Arguments
[Tue Jun 25 23:36:01 2013] [I] [StartJVM] Initializing JVM
[Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Loading class - weblogic.Server
[Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Locating method "public static void main([]String)" in main class
[Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Building arguments for main class
[Tue Jun 25 23:36:01 2013] [I] [RunJavaApp] Invoking main class
<25 juin 2013 23 h 36 CEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<25 juin 2013 23 h 36 CEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<25 juin 2013 23 h 36 CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsystems Inc..>
<25 juin 2013 23 h 36 CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
WebLogic Server 12.1.1.0  Wed Dec 7 08:40:57 PST 2011 1445491 >
<25 juin 2013 23 h 36 CEST> <Info> <Management> <BEA-141223> <The server name LICORNE2012 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {AdminServer}.>
<25 juin 2013 23 h 36 CEST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.management.ManagementException: [Management:141223]The server name LICORNE2012 specified with -Dweblogic.Name does not exist. The configuration includes the following servers {AdminServer}.
    at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:149)
    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:883)
    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:570)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
    at weblogic.Server.main(Server.java:74)
>
<25 juin 2013 23 h 36 CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
<25 juin 2013 23 h 36 CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
<25 juin 2013 23 h 36 CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
[Tue Jun 25 23:36:11 2013] [I] [ExitHandler] Fire (-1)
[Tue Jun 25 23:36:11 2013] [I] [ServiceStart] done waiting for multiple events. Wait=0
[Tue Jun 25 23:36:11 2013] [I] [ServiceStart] Informing SCM about SERVICE_STOP
Thanks for your help
jko

- not sure about your script, but obviously it doesn't detect the name of your managed server LICORNE2012 since there seems to be an admin server only in that domain.
- alternatively you might try the approach posted by the AMIS guys
Weblogic Admin and Managed servers as a Windows service
- btw: having your domain under user_projects is not best practice (but not the problem here).
good luck!

Similar Messages

  • Creating the Windows Service for the Database Instance

    Hello, I am using the PeopleTools 8.52 Installation for Oracle documentation and was in Task 6A-2: Creating the Windows Service for the Database Instance.
    After I type in
    oradim -new -sid ORCL -intpwd manager -startmode auto -pfile C:\Oracle\database\initORCL.ora
    I had encountered these errors:
    OPW-00005: File with same name exists - please delete or rename
    DIM-00019: create service error
    O/S-Error: (OS 1073) The specified service already exists.
    Please advise.... Thank you in advance!

    Hi, thank you for your reply!
    After I typed oradim -delete -sid ORCL, it shows this:
    Unable to stop service, OS Error = 1062
    Instance deleted.
    Then, I:
    Set ORACLE_SID=ORCL
    oradim -new -sid ORCL -intpwd manager -startmode auto -pfile C:\Oracle\database\initORCL.ora
    Then, it shows:
    OPW-00005: Files with same name exists - please delete or rename
    Instance created.
    Does it mean no error already and I can proceed?

  • Problem creating a Windows Service to Start Weblogic Adminserver

    Hi, I'm having some trouble starting the windows service for weblogic.
    The creation happens succesfully but, when I try to start the service, it fails.
    Thanks
    Debugging service ....... beasvc bpm11g_A00ASRV304W08R2
    Command Line: ....... -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Xverify:none -classpath ....
    Current Directory: ....... D:\Oracle\Middleware1036\user_projects\domains\bpm11g
    Path: ....... D:\Oracle\MIDDLE~2\WLSERV~1.3\server\native\win\x64\;D:\Oracle\MIDDLE~2\WLSERV~1.3\server\bin;D:\Java\JDK17~1.0_0\jre\bin;D:\Java\JDK17~1.0_0\n
    Java Home: ....... D:\Java\JDK17~1.0_0
    Delay: ....... 0
    Thread created successfully!
    Unrecognized option: -client
    Error in java application .......
    The following line contains specific error details .......
    Unable to initialize the Java virtual machine!

    Hi,
    Remove the word "-client" from command line options. Try to start weblogic server from window services. If you are getting error please let me know.
    Now:
    Command Line: ....... -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:UseSpinning -Xverify:none -classpath..............+
    Changed to:
    Command Line:....... -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Xverify:none -classpath.............
    mark if this helps you.
    Regards,
    Kishore

  • How to create a winsow service for managed server 11g

    Hi
    We have just installed Fusion Middleare 11g weblogic 10.3.6 , our Admin server and managed server are on this very same server.
    we are trying to create a window service for start and stop both admin and managed server, we have created a window service for the admin server followed the instruction, but how can we create a window service for the managed server?
    any idea?
    thanks a lot

    Hi Andrew
    Thanks for the post. I have already followed that document link. My problem is the DTC does not failover to Second node when I try to move the SQL Server Engine to the other Node or I do a simulate failure option.
    But when I shutdown Node 1 all the services move to Node 2 without any issue.
    Thanks & Regards
    Ravinder

  • Identity Management for UNIX (aka Windows Services for Unix) Adding 2012 DC to a prep'd 2003 domain.

    We have been successfully using Windows Services for Unix on a 2003 domain for passwd and group maps.
    I prep'd the domain to allow a 2012 R2 server to be added and then added the IdMU role/feature on this new 2012R2 DC. Now the passwd map is still OK but the group map now shows full usernames rather than short names.
    i.e. what DID show with "ypcat group" as ...
    "infra-shared::65550:gfer,jhug,shig", now shows as
    "infra-shared::65550:Garry Ferguson,Jason Hughes,Steve Higgins"
    and so is not usable. I have had to revert to local /etc/group files on all our unix machines!!
    Help/comments would be really appreciated!
    Garry Ferguson

    Hi Gaz Ferg,
    SFU 3.5 is used to installed on windows 2003 and windows XP. SFU 3.5 cannot used on Windows 2012, that makes customer cannot user NFS and user name Mapping services on Windows
    2012.  From windows 2003 R2, NFS is a build-in component in OS, we need to add Roles/Features to use NFS.
    1. What is change in 2012R2
    IDMU component, which was used to authenticate Linux users has been removed. Now a Windows server cannot play role of NIS Master server. 
    Passwords cannot sync to the Unix Machines. Maps can not sync between Windows and Unix computers.
    2. What has not change in 2012R2
    Following methods to authenticate and map a Unix user to Window user are available:-
    Active Directory
    Active Directory Lightweight Directory Services (AD LDS)
    Username Mapping Protocol store (MS-UNMP
    Local passwd and group files
    Unmapped UNIX Username Access (UUUA) (applies to Server for NFS using AUTH_SYS only)
    You can find more information about this here –
    http://blogs.technet.com/b/filecab/archive/2012/10/09/nfs-identity-mapping-in-windows-server-2012.aspx
    http://blogs.msdn.com/b/shan/archive/2006/12/13/sfu-sua-idmu-fun-with-names.aspx
    More information:
    Install Identity Management for UNIX Components
    http://technet.microsoft.com/en-us/library/cc731178.aspx
    I’m glad to be of help to you!
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Install MS windows Service for WLS_REPORTS

    Hi
    Have installed MS windows Services for WLS "AdminServer" and "WLS_FORMS".
    When installing the service for "WLS_REPORTS" installation end up with "The input line is too long"
    from "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd" on
    set CMDLINE="%JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -classpath \"%CLASSPATH%\" -Dweblogic.Name=%SERVER_NAME% -Dweblogic.management.username=%WLS_USER% -Dweblogic.management.server=\"%ADMIN_URL%\" -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy=\"%WL_HOME%\server\lib\weblogic.policy\" weblogic.Server"
    problably because of the CLASSPATH too long.
    How to solve this or any workaround?
    Do I have to include all jars in the classpath?
    Regards
    Tobias

    It is not working for me.
    I created an external file class.txt. It has:
    set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
    Then I updated installSVC.cmd:
    set CMDLINE="%JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% *-classpath @C:\class.txt* -Dweblogic.Name=%SERVER_NAME% -Dweblogic.management.username=%WLS_USER% -Dweblogic.management.server=\"%ADMIN_URL%\" -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy=\"%WL_HOME%\server\lib\weblogic.policy\" weblogic.Server"
    It creates the service, but when I try to start it, I receive:
    [Mon Mar 12 17:43:20 2012] [RunJavaApp] Loading class - weblogic.Server
    java.lang.NoClassDefFoundError: weblogic/Server
    Caused by: java.lang.ClassNotFoundException: weblogic.Server
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    [Mon Mar 12 17:43:20 2012] [I] [ServiceStart] done waiting for multiple events. Wait=1
    [Mon Mar 12 17:43:20 2012] [E] [ServiceStart] Error in JVM. Cause=Unable to load main class!
    [Mon Mar 12 17:43:20 2012] [I] [ServiceStart] Informing SCM about SERVICE_STOP
    [Mon Mar 12 17:45:21 2012] [I] [initLog] initializing logger
    [Mon Mar 12 17:45:21 2012] [E] [initLog] No 'ROTATION_TYPE' header found. 'TIME' based rotation will be used by default.
    [Mon Mar 12 17:45:21 2012] [E] [initLog] No 'TIME_START_DATE' header found or value is invalid. Rotation will take place every 24 hours beginning today at 23:59:59
    [Mon Mar 12 17:45:21 2012] [E] [initLog] No 'TIME_INTERVAL_MINS' header found. Using the default value of 24 hours.
    [Mon Mar 12 17:45:21 2012] [I] [initLog] TIME based log rotation is ON
    [Mon Mar 12 17:45:21 2012] [I] [trigger] First rotation due in 22478 secs
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] console allocation successful. THREAD_DUMP redirection enabled
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] About to execute CreateThread()
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] lpszCmdLine = -server -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m -Doracle.home=C:\Oracle\Middleware\OraFRS11gR2 -Ddomain.home=C:\Oracle\Middleware\user_projects\domains\frsMSV -Xms256m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=512m -Djava.ext.dirs=C:\Oracle\Middleware\OraFRS11gR2\jdk\jre\lib\ext -Doracle.security.jps.config=C:\Oracle\Middleware\user_projects\domains\frsMSV\config\fmwconfig\jps-config.xml -Doracle.home=C:\Oracle\Middleware\OraFRS11gR2 -Ddomain.home=C:\Oracle\Middleware\user_projects\domains\frsMSV -Doracle.instance=C:\Oracle\Middleware\frsMSV -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV\config\FMWCON~1\servers\WLS_REPORTS -Doracle.domain.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV\servers\WLS_REPORTS\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwc.oracle.home=C:\Oracle\Middleware\OraFRS11gR2 -Dclassic.oracle.home=C:\Oracle\Middleware\OraFRS11gR2 -Dem.oracle.home=C:\Oracle\Middleware\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=false -Dweblogic.management.server=http://192.168.0.12:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_ocp360\profiles\default\sysext_manifest_classpath -classpath @C:\setclasspath.txt -Dweblogic.Name=WLS_REPORTS -Dweblogic.management.username= -Dweblogic.management.server="http://192.168.0.12:7001" -Dweblogic.ProductionModeEnabled=true -Djava.security.policy="C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy" weblogic.Server
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] lpszJavaHome = C:\PROGRA~1\Java\JDK16~1.0_2
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] lpszExecDir = C:\Oracle\Middleware\user_projects\domains\frsMSV
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] lpszOldPath = C:\Oracle\Middleware\OraFRS11gR2\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Oracle\Middleware\OraFRS11gR2\opmn\bin;C:\Oracle\Middleware\OraFRS11gR2\opmn\lib;C:\Oracle\Middleware\OraFRS11gR2\perl\bin;
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] lpszNewPath = C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\JDK16~1.0_2\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8;C:\Oracle\Middleware\OraFRS11gR2\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Oracle\Middleware\OraFRS11gR2\opmn\bin;C:\Oracle\Middleware\OraFRS11gR2\opmn\lib;C:\Oracle\Middleware\OraFRS11gR2\perl\bin;
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] lpszDelay = 0
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] lpszStopClass = []
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] lpszLog = [C:\Oracle\Middleware\WLS_REPORTS-stdout.txt]
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] Thread created successfully
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] Reporting SCM of SERVICE_START_PENDING with delay=0
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] lpszHost = []
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] lpszPort = []
    [Mon Mar 12 17:45:21 2012] [I] [StartJVM] Parsing JVM Arguments
    [Mon Mar 12 17:45:21 2012] [I] [StartJVM] Initializing JVM
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] Reporting SCM of SERVICE_RUNNING
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] waiting for multiple events
    [Mon Mar 12 17:45:21 2012] [I] [RunJavaApp] Loading class - weblogic.Server
    java.lang.NoClassDefFoundError: weblogic/Server
    Caused by: java.lang.ClassNotFoundException: weblogic.Server
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] done waiting for multiple events. Wait=1
    [Mon Mar 12 17:45:21 2012] [E] [ServiceStart] Error in JVM. Cause=Unable to load main class!
    [Mon Mar 12 17:45:21 2012] [I] [ServiceStart] Informing SCM about SERVICE_STOP
    [Mon Mar 12 18:10:09 2012] [I] [initLog] initializing logger
    [Mon Mar 12 18:10:09 2012] [E] [initLog] No 'ROTATION_TYPE' header found. 'TIME' based rotation will be used by default.
    [Mon Mar 12 18:10:09 2012] [E] [initLog] No 'TIME_START_DATE' header found or value is invalid. Rotation will take place every 24 hours beginning today at 23:59:59
    [Mon Mar 12 18:10:09 2012] [E] [initLog] No 'TIME_INTERVAL_MINS' header found. Using the default value of 24 hours.
    [Mon Mar 12 18:10:09 2012] [I] [initLog] TIME based log rotation is ON
    [Mon Mar 12 18:10:09 2012] [I] [trigger] First rotation due in 20990 secs
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] console allocation successful. THREAD_DUMP redirection enabled
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] About to execute CreateThread()
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] lpszCmdLine = -server -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m -Doracle.home=C:\Oracle\Middleware\OraFRS11gR2 -Ddomain.home=C:\Oracle\Middleware\user_projects\domains\frsMSV -Xms256m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=512m -Djava.ext.dirs=C:\Oracle\Middleware\OraFRS11gR2\jdk\jre\lib\ext -Doracle.security.jps.config=C:\Oracle\Middleware\user_projects\domains\frsMSV\config\fmwconfig\jps-config.xml -Doracle.home=C:\Oracle\Middleware\OraFRS11gR2 -Ddomain.home=C:\Oracle\Middleware\user_projects\domains\frsMSV -Doracle.instance=C:\Oracle\Middleware\frsMSV -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV\config\FMWCON~1\servers\WLS_REPORTS -Doracle.domain.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\frsMSV\servers\WLS_REPORTS\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dwc.oracle.home=C:\Oracle\Middleware\OraFRS11gR2 -Dclassic.oracle.home=C:\Oracle\Middleware\OraFRS11gR2 -Dem.oracle.home=C:\Oracle\Middleware\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=false -Dweblogic.management.server=http://192.168.0.12:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_ocp360\profiles\default\sysext_manifest_classpath -classpath @C:\Oracle\Middleware\class.txt -Dweblogic.Name=WLS_REPORTS -Dweblogic.management.username= -Dweblogic.management.server="http://192.168.0.12:7001" -Dweblogic.ProductionModeEnabled=true -Djava.security.policy="C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy" weblogic.Server
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] lpszJavaHome = C:\PROGRA~1\Java\JDK16~1.0_2
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] lpszExecDir = C:\Oracle\Middleware\user_projects\domains\frsMSV
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] lpszOldPath = C:\Oracle\Middleware\OraFRS11gR2\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Oracle\Middleware\OraFRS11gR2\opmn\bin;C:\Oracle\Middleware\OraFRS11gR2\opmn\lib;C:\Oracle\Middleware\OraFRS11gR2\perl\bin;
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] lpszNewPath = C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\JDK16~1.0_2\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8;C:\Oracle\Middleware\OraFRS11gR2\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Oracle\Middleware\OraFRS11gR2\opmn\bin;C:\Oracle\Middleware\OraFRS11gR2\opmn\lib;C:\Oracle\Middleware\OraFRS11gR2\perl\bin;
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] lpszDelay = 0
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] lpszStopClass = []
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] lpszLog = [C:\Oracle\Middleware\WLS_REPORTS-stdout.txt]
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] Thread created successfully
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] Reporting SCM of SERVICE_START_PENDING with delay=0
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] lpszHost = []
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] lpszPort = []
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] Reporting SCM of SERVICE_RUNNING
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] waiting for multiple events
    [Mon Mar 12 18:10:09 2012] [I] [StartJVM] Parsing JVM Arguments
    [Mon Mar 12 18:10:09 2012] [I] [StartJVM] Initializing JVM
    [Mon Mar 12 18:10:09 2012] [I] [RunJavaApp] Loading class - weblogic.Server
    java.lang.NoClassDefFoundError: weblogic/Server
    Caused by: java.lang.ClassNotFoundException: weblogic.Server
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] done waiting for multiple events. Wait=1
    [Mon Mar 12 18:10:09 2012] [E] [ServiceStart] Error in JVM. Cause=Unable to load main class!
    [Mon Mar 12 18:10:09 2012] [I] [ServiceStart] Informing SCM about SERVICE_STOP
    It seems CLASSPATH is not loaded, correct?
    Thanks

  • Unable to start admin server service for weblogic (startWebLogic.sh) Linux

    I installed ECM 11g on Linux 64-bit , installed weblogic 12
    so when I try to start admin server service for weblogic (startWebLogic.sh) and following error its showing
    I found solution to give full access permeation for the user , but it's still same issue
    and i am triyng to start services from the users how installed the Weblogic and ECM
    bash-4.1$ '/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/startWebLogic.sh' .
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar:/home/ecm/Oracle/Middleware/patch_wls1211/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/ecm/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/jdk1.6.0_33/lib/tools.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/weblogic_sp.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/weblogic.jar:/home/ecm/Oracle/Middleware/modules/features/weblogic.server.modules_12.1.1.0.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/webservices.jar:/home/ecm/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/ecm/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/ecm/Oracle/Middleware/oracle_common/soa/modules/commons-cli-1.1.jar:/home/ecm/Oracle/Middleware/oracle_common/soa/modules/oracle.soa.mgmt_11.1.1/soa-infra-mgmt.jar:/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrf.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/common/derby/lib/derbyclient.jar:/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/xqrl.jar:/home/ecm/Oracle/Middleware/Oracle_ECM1/ucm/idc/jlib/idcloader.jar:/home/ecm/Oracle/Middleware/Oracle_ECM1/ucm/idc/components/NativeOsUtils/classes-NativeOsUtils.jar
    PATH=/home/ecm/Oracle/Middleware/wlserver_12.1/server/bin:/home/ecm/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/lib/jvm/jdk1.6.0_33/jre/bin:/usr/lib/jvm/jdk1.6.0_33/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ecm/bin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    java version "1.6.0_33"
    Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
    Starting WLS with line:
    /usr/lib/jvm/jdk1.6.0_33/bin/java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.security.policy=/home/ecm/Oracle/Middleware/wlserver_12.1/server/lib/weblogic.policy -Xverify:none -Djava.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_33/jre/lib/endorsed:/home/ecm/Oracle/Middleware/wlserver_12.1/endorsed -da -Dplatform.home=/home/ecm/Oracle/Middleware/wlserver_12.1 -Dwls.home=/home/ecm/Oracle/Middleware/wlserver_12.1/server -Dweblogic.home=/home/ecm/Oracle/Middleware/wlserver_12.1/server -Dcommon.components.home=/home/ecm/Oracle/Middleware/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain -Djrockit.optfile=/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig/servers/AdminServer -Doracle.domain.config.dir=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig -Digf.arisidbeans.carmlloc=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig/carml -Digf.arisidstack.home=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.ossoiap_11.1.1,/home/ecm/Oracle/Middleware/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dipm.oracle.home=/home/ecm/Oracle/Middleware/Oracle_ECM1 -Ducm.oracle.home=/home/ecm/Oracle/Middleware/Oracle_ECM1 -Dem.oracle.home=/home/ecm/Oracle/Middleware/oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/ecm/Oracle/Middleware/patch_wls1211/profiles/default/sysext_manifest_classpath:/home/ecm/Oracle/Middleware/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
    <Sep 12, 2012 12:08:02 PM EEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Sep 12, 2012 12:08:03 PM EEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Sep 12, 2012 12:08:03 PM EEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.8-b03 from Sun Microsystems Inc..>
    <Sep 12, 2012 12:08:04 PM EEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
    WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
    WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
    WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
    WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
    WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
    WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
    WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
    WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
    WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
    WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >
    <Sep 12, 2012 12:08:06 PM EEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
    <Sep 12, 2012 12:08:06 PM EEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
    <Sep 12, 2012 12:08:06 PM EEST> <Notice> <LoggingService> <BEA-320400> <The log file /home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms, such as Windows.>
    <Sep 12, 2012 12:08:06 PM EEST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/logs/AdminServer.log00009. Log messages will continue to be logged in /home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/logs/AdminServer.log.>
    <Sep 12, 2012 12:08:06 PM EEST> <Notice> <Log Management> <BEA-170019> <The server log file /home/ecm/Oracle/Middleware/user_projects/domains/ecm_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
    Sep 12, 2012 12:08:09 PM oracle.security.jps.internal.keystore.file.FileKeyStoreManager openKeyStore
    WARNING: Opening of file based keystore failed.
    <Sep 12, 2012 12:08:09 PM EEST> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-06514: Opening of file based keystore failed.>
    <Sep 12, 2012 12:08:09 PM EEST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-06514: Opening of file based keystore failed.
    weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-06514: Opening of file based keystore failed.
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)
         at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
         at weblogic.security.SecurityService.start(SecurityService.java:148)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsRuntimeException: JPS-06514: Opening of file based keystore failed.
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:167)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.JpsException: JPS-06514: Opening of file based keystore failed.
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:2855)
         at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3097)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:164)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    Caused By: oracle.security.jps.service.keystore.KeyStoreServiceException: JPS-06514: Opening of file based keystore failed.
         at oracle.security.jps.internal.keystore.file.FileKeyStoreManager.openKeyStore(FileKeyStoreManager.java:374)
         at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.doInit(FileKeyStoreServiceImpl.java:104)
         at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:76)
         at oracle.security.jps.internal.keystore.file.FileKeyStoreServiceImpl.<init>(FileKeyStoreServiceImpl.java:66)
         at oracle.security.jps.internal.keystore.KeyStoreProvider.getInstance(KeyStoreProvider.java:157)
         Truncated. see log file for complete stacktrace
    >
    <Sep 12, 2012 12:08:09 PM EEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>
    <Sep 12, 2012 12:08:09 PM EEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down.>
    <Sep 12, 2012 12:08:09 PM EEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN.>
    bash-4.1$

    Looks to be a cert or keystore issue. How do you have that setup?

  • Failed to start Admin Server for Weblogic Server Domain

    I Created a domain named mydomain in weblogic server 10.3 in server 2003.But when i start Admin Server for Weblogic Server Domain from startmenu, it failed.
    I examined the log under domains\mydomain\servers\AdminServer\logs\AdminServer.log and got the following information:
    java.lang.NoClassDefFoundError:weblogic/ldap/EmbeddedLDAPChange
    at weblogic.ldap.EntryChangeListenerImpl.receiveEntryChanges(EntryChangeListenerImpl.java:28)
    Caused by :java.lang.ClassNotFoundException: weblogic.ldap.EmbeddedLDAPChange
    at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    Caused by :java.util.zip.ZipException: error reading zip file
    at java.util.zip.ZipFile.read(Native Method)
    at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
    weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attemping to load LDIF for provider RoleMapper from file ...\domains\mydomain\security\XACMLRoleMapperInit.ldift.
    at ...(CommonSecurityServiceManagerDelegateImpl.java:465)
    Caused by: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attemping to load LDIF for provider RoleMapper from file ...\domains\mydomain\security\XACMLRoleMapperInit.ldift.
    at .. (ServiceEngineImpl.java:365)
    Caused by: com.bea.common.engine.ServiceInitializationException: weblogic.security.spi.ProviderInitializationException: A failure occurred attemping to load LDIF for provider RoleMapper from file ...\domains\mydomain\security\XACMLRoleMapperInit.ldift.
    at .. (BootStrapServiceImpl.java:910)
    Caused by: <openjpa-1.1.1-SNAPSHOT-r422266:891341 nofatal user error>kodo.jdo.UserException: This operation cannot be perfomed while a Transaction is active.
    at org.apache.openjpa.kernel.BrokerImpl.close(BrokerImpl.java:4087)
    ####<Critical><WebLogicServer><SOA><Adminserver><main><<WLS Kernel>><><><1282012271468><BEA-000362><Server failed. Reason:
    There are 1 nested errors:
    weblogic.security.service.SecurityServiceRuntimeException: [Security:090399] Security Services Unavailable
    at weblogic.security.service.CommonSecurityserviceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:916)
    I ignored some detailed error message.The runtime environment is server 2003 Enterprise Edition sp2.
    Thx in advance for any reply.

    Hello Djam,
    Please review the following:
    The FMW WebLogic Server (WLS) installation has been configured to use a non-default Java temporary files directory,
    i.e. the following has been set in the WebLogic startup or setDomainEnv.sh script:
    EXTRA_JAVA_PROPERTIES="-Djava.io.tmpdir=/appl/oracle/temp_java_files ${EXTRA_JAVA_PROPERTIES}"
    Reference: How to Change the WebLogic Server Location for Temporary Files (Doc ID 1336002.1)
    When the Middleware home was restored the directory specified by java.io.tmpdir parameter was missing,
    Therefore an IOException occurred when opening the wallet and WLS was unable to initialize the OPSS successfully.
    To resolve the issue re-create the directory specified by the java.io.tmp dir parameter, and make sure the owner and group access are the same as for the FMW installation.
    Unable Start AdminServer: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException (Doc ID 1923395.1)
    Bogdan

  • Missing windows service for Oracle Enterprise manager

    I have installed Oracle database 10G R1 (without seed database), and applied patchset 10.1.0.4. I have used the DBCA to create a database instance, which was created successfully (see note1).
    However the windows service for the OEM DBconsole has not been created. I have tried to lookup the manuals how I can manually create this, but with no success. Please can somebody point out the correct procedure?
    Best regards,
    Jesmond
    Note1:
    If using DBCA the optional example schema are selected and saved to scripts, the calling script <ORACLE_SID>.sql must be amended to move the line below to the last entry:
    @E:\oracle\product\10.1.0\admin\ebuscon\scripts\sampleSchema.sql
    This is due to the fact that the sample schema script has an "EXIT" statement which will cause the creation script to terminate prematurely.

    I think you have a similar problem as described in
    Problem starting EM 10g
    emca did not run, on Windows it also creates the corresponding service.

  • Best way to create a Windows service from a LabVIEW executable​?

    What would be the best way to run a LabVIEW executable as a service? I needed this recently and I think I have set up such a service using srvany.exe from the Windows 2003 Resource Kit, but that seems like a bit of a hack. The Kit is not offically supported in Server 2008, but seems to work. I don't know about Server 2012 or beyond.
    So what would be the "proper" way of going about creating a Windows service from a headless LabVIEW application?

    The proper way is to interface to the according Windows service control API. That is however not a trivial task to do. We used to sell a LabVIEW toolkit which supported a full interface to this, but it's not currently actively marketed.
    srvany.exe is sort of a hack but works reasonably well for most use cases, as long as you do not need any further interaction with the service manager interface in Windows than to start and stop your service.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Install window services for managed server

    hi all, i wanted to install window services for managed server. Can anyone advice me how to do it? My weblogic version is 10. Thanks in advance.

    Hi,
    Please refer to the following link....it might be helpful: http://weblogic-wonders.com/weblogic/2010/03/13/managed-server-as-windows-service/

  • How to install Window service for Managed Servers of a Cluster

    Dear All,
              I am preparing a production setup consist of three machines A,B and C. Machines A is the Admin Server which hosts a cluster consist of two managed nodes. I intend to schedule both these nodes, targeted to two different machines (machines B node-b and machine C host node-c), as startup task on daily basis. I have no Node Manager running on machine A, but on machine B and machine C.
              I am only interested to schedule started task for node-b and node-c only. I need to know how to install the Windows services for the node-b and node-c since there are targeted on remote machines. Starting managed server as Win sevice works in the case of standalone managed servers but not sure when it comes to cluster setup.I appreciate if you can throw some light on this question.
              Thanks
              Kris

    Krish,
              >Let say I gracefully shutdown both managed servers while >Admin is running. Do you think both these nodes while be >brought up ? I dont think they will come up.
              If you require an automatic restart when the managed server did not enter a failed state you can use the weblogic.Admin utility to ping the servers and kick off a server startup in the normal way with nodemanger see:
              http://e-docs.bea.com/wls/docs81/admin_ref/cli.html
              http://e-docs.bea.com/wls/docs81/adminguide/confignodemgr.html
              If your servers entered a failed state you can use weblogics self health monitoring.
              >Can we use JMX MBean to start managed servers ?
              Yes.
              As long as the nodemanagers are running you can start the managed servers using scripted commands using the weblogic.Admin class or your own java app using JMX.
              I think you may also be able to use WLST
              http://dev.bea.com/codelibrary/code/wlst.jsp
              hope this helps
              cheers
              Please see the
              Hussein Badakhchani
              www.orbism.com

  • Need WLST for Weblogic portal domain 9.2.2.

    Hi,
    I am very much in-need of it. Can you please provide me the Need WLST for Weblogic portal domain 9.2.2.
    Actually, we are using weblogic 9.2.2 version.
    Actually, I created a portal domain configiuration using configuration wizard and the same I documented with screen shots.
    Now I need the wlst for the same configuration which i created the doc for.
    Please can you help me out doing this.
    If you are ok, then I will share you my doc, so that you can help me out easily.
    Please please please................
    Thanks in Advance..

    You have a few options to build a WLST script from the admin/config operations that you have performed in your development environment using console.
    OPTION 1: (WLST Recording)
    Check the below video. (The only drawback is that this video talks about the WLST recording feature which is available only on WLS10.0. Ofcourse, if you have a 10.0 installation you can still use this feature and then make some small modifications to the generated script to make it suitable for 9.2)
    http://www.youtube.com/watch?v=luhBaviP2uM
    OPTION 2: (Converting the configuration to a script)
    After you have configured your entire domain using the console, you run the configToScript command as per the below documentation (To run this you need to invoke WLST and then run the command with appropriate arguments such as path to the config.xml file etc)
    http://docs.oracle.com/cd/E13222_01/wls/docs92/config_scripting/reference.html#wp1154848
    Then you can use the generated script to create similar domains in your Test AND Production environments.
    Arun

  • Microsoft Windows Services for UNIX 3.5  - unable to sqlplus

    Hi,
    I have installed - Microsoft Windows Services for UNIX 3.5 on my pc running XP 2002 Service Pack2
    Unable to run sqlplus :
    Error 6 initializing SQL*Plus
    Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
    ORACLE_HOME=/dev/fs/D/oracle/product/10.2.0/db_1
    ORACLE_SID=orcl
    ORAHOME=/dev/fs/D/oracle/product/10.2.0/db_1
    ORASID=orcl
    LD_LIBRARY_PATH=/dev/fs/D/oracle/product/10.2.0/db_1/lib
    Thank you in advance!

    Hi,
    Thanks for your post.
    Did you refer to this article?
    Upgrading an Active Directory Domain from Windows Server 2003 to Windows Server 2008 or Windows Server 2008 R2
    http://blogs.msmvps.com/mweber/2010/02/10/upgrading-an-active-directory-domain-from-windows-server-2003-to-windows-server-2008-or-windows-server-2008-r2/
    Regards.
    Vivian Wang

  • Where You can create a support case for weblogic server?

    Hi all,
    I would like to know where I can create a support case for weblogic server?
    I logged me in metalink3 but I did not found a way to create a service request for WLS.
    Thanks in Advance.

    I believe you still need to use BEA's support resources at this point: http://www.oracle.com/bea/support.html

Maybe you are looking for