.JAR as a Windows Service

Would very much appreciate how to install a jar on Windows 2000 as a service.
Anybody could help me ?
Thanks

what do you mean by windows service?

Similar Messages

  • Jar as Windows Service

    Is there any way that i can run the jar as an Windows Service?

    Hi,
    Your question is often asked, and there are lots of information on the web. Google on: java windows service
    /Kaj

  • Run .jar as window services.

    Hi,
    I?ve tried running .jar using batch file in window scheduler. The program will auto end if we logoff from the OS(window server 2003).
    How can we run .jar as window services, beside using Java wrapper?
    Most window wrapper need license to execute. I will like to deploy this .jar as window services in our customer side.

    You have to chose the option while creating the task as "When my computer starts", this will work as soon system boots up and until the task is explicity stopped later. This works independent of user logging into the computer; as soon the machine boots up to windows.
    If you choose "When I login" during task scheduling, the task becomes active as log as you have logged on to that desktop.
    Hope this helps.

  • Problem in executing client application as windows service

    Hi
    I have a client program that sends client ip address to server.
    My Requirement is to run this client program as windows service.
    For this, i have created a jar and after that i have created a .exe file.
    now using sc command in DOS i was created a service named as ClientService
    But when i am trying to start this service like other services, it is giving error saying that "The Service did not respond to the start in a timely fashion"
    Please help me in this issue

    1.Can i lock my mobile phone from J2Me Application.In J2ME you can not.
    2.How can i register J2ME application as service,means
    it started when mobile start and continously Run on my
    mobile. can these problem have a solution ,if yes then
    how..I haven't seen any device that lets you run a J2ME app at start up as a service like windowsNT. May be you can do the above two things if you dig more in to Symbian OS programming.
    Good luck
    Manas

  • Unable to start Admin Server as a windows service

    I installed Admin Server as a windows service and when I started it, I got the below errors. Do you have any ideas?
    I'm using SOA Suite 11.1.1.2.0 and WL 10.3.2 on Windows
    Thanks,
    [Mon Mar 15 11:16:19 2010] [initLog] initializing logger
    [Mon Mar 15 11:16:19 2010] [E] [initLog] No 'ROTATION_TYPE' header found. 'TIME' based rotation will be used by default.
    [Mon Mar 15 11:16:19 2010] [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 15 11:16:19 2010] [E] [initLog] No 'TIME_INTERVAL_MINS' header found. Using the default value of 24 hours.
    [Mon Mar 15 11:16:19 2010] [I] [initLog] TIME based log rotation is ON
    [Mon Mar 15 11:16:19 2010] [I] [trigger] First rotation due in 45820 secs
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] console allocation successful. THREAD_DUMP redirection enabled
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] About to execute CreateThread()
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] lpszCmdLine = -jrockit -Xms128m -Xmx256m -Xverify:none -classpath "C:\ORACLE~1\MIDDLE~1\patch_wls1032\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\ORACLE~1\MIDDLE~1\JROCKI~1.5-3\lib\tools.jar;C:\ORACLE~1\MIDDLE~1\utils\config\10.3\config-launch.jar;C:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\ORACLE~1\MIDDLE~1\modules\features\weblogic.server.modules_10.3.2.0.jar;C:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\ORACLE~1\MIDDLE~1\modules\ORGAPA~1.0/lib/ant-all.jar;C:\ORACLE~1\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\ORACLE~1\MIDDLE~1\JROCKI~1.5-3\jre\lib\rt.jar;C:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;" -Dweblogic.Name=AdminServer -Dweblogic.management.username= -Dweblogic.ProductionModeEnabled= -Djava.security.policy="C:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy" weblogic.Server
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] lpszJavaHome = C:\ORACLE~1\MIDDLE~1\JROCKI~1.5-3
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] lpszExecDir = C:\Oracle11112\Middleware\user_projects\domains\soadev_domain
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] lpszOldPath = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] lpszNewPath = C:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\bin;C:\ORACLE~1\MIDDLE~1\JROCKI~1.5-3\jre\bin;C:\ORACLE~1\MIDDLE~1\JROCKI~1.5-3\bin;C:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] lpszDelay = 0
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] lpszStopClass = []
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] lpszLog = [C:\Oracle11112\Middleware\user_projects\domains\soadev_domain\servers\AdminServer\logs\AdminServerSvc.log]
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] Thread created successfully
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] Reporting SCM of SERVICE_START_PENDING with delay=0
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] lpszHost = []
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] lpszPort = []
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] Reporting SCM of SERVICE_RUNNING
    [Mon Mar 15 11:16:19 2010] [I] [ServiceStart] waiting for multiple events
    [Mon Mar 15 11:16:19 2010] [I] [StartJVM] Parsing JVM Arguments
    [Mon Mar 15 11:16:19 2010] [I] [StartJVM] Initializing JVM
    [Mon Mar 15 11:16:20 2010] [I] [RunJavaApp] Loading class - weblogic.Server
    [Mon Mar 15 11:16:20 2010] [I] [RunJavaApp] Locating method "public static void main([]String)" in main class
    [Mon Mar 15 11:16:20 2010] [I] [RunJavaApp] Building arguments for main class
    [Mon Mar 15 11:16:20 2010] [I] [RunJavaApp] Invoking main class
    <Mar 15, 2010 11:16:22 AM PDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version R27.6.5-32_o-121899-1.6.0_14-20091001-2107-windows-ia32 from BEA Systems, Inc.>
    <Mar 15, 2010 11:16:23 AM PDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.2.0 Tue Oct 20 12:16:15 PDT 2009 1267925 >
    <Mar 15, 2010 11:16:27 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Mar 15, 2010 11:16:27 AM PDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Mar 15, 2010 11:16:27 AM PDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle11112\Middleware\user_projects\domains\soadev_domain\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Mar 15, 2010 11:16:27 AM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle11112\Middleware\user_projects\domains\soadev_domain\servers\AdminServer\logs\AdminServer.log00005. Log messages will continue to be logged in C:\Oracle11112\Middleware\user_projects\domains\soadev_domain\servers\AdminServer\logs\AdminServer.log.>
    <Mar 15, 2010 11:16:27 AM PDT> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle11112\Middleware\user_projects\domains\soadev_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
    <Mar 15, 2010 11:16:34 AM PDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Mar 15, 2010 11:16:41 AM PDT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JRF Startup Class", java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup
    java.lang.ClassNotFoundException: oracle.jrf.wls.JRFStartup
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:41 AM PDT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JPS Startup Class", java.lang.ClassNotFoundException: oracle.security.jps.wls.JpsWlsStartupClass
    java.lang.ClassNotFoundException: oracle.security.jps.wls.JpsWlsStartupClass
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:41 AM PDT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "ODL-Startup", java.lang.ClassNotFoundException: oracle.core.ojdl.weblogic.ODLConfiguration
    java.lang.ClassNotFoundException: oracle.core.ojdl.weblogic.ODLConfiguration
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:41 AM PDT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "AWT Application Context Startup Class", java.lang.ClassNotFoundException: oracle.jrf.AppContextStartup
    java.lang.ClassNotFoundException: oracle.jrf.AppContextStartup
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:41 AM PDT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JMX Framework Startup Class", java.lang.ClassNotFoundException: oracle.as.jmx.framework.wls.spi.StartupListener
    java.lang.ClassNotFoundException: oracle.as.jmx.framework.wls.spi.StartupListener
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:41 AM PDT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "JOC-Startup", java.lang.ClassNotFoundException: oracle.ias.cache.Startup
    java.lang.ClassNotFoundException: oracle.ias.cache.Startup
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:41 AM PDT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "DMS-Startup", java.lang.ClassNotFoundException: oracle.dms.wls.DMSStartup
    java.lang.ClassNotFoundException: oracle.dms.wls.DMSStartup
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:43 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Mar 15, 2010 11:16:43 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Mar 15, 2010 11:16:47 AM PDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Oracle11112\Middleware\user_projects\domains\soadev_domain\servers\AdminServer\tmp\_WL_user\FMW Welcome Page Application_11.1.0.0.0\cb7uge\fmw-welcome.war. Please make sure that the annotations are valid. The error is oracle.dms.wls.DMSServletFilter>
    <Mar 15, 2010 11:16:47 AM PDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'FMW Welcome Page Application [Version=11.1.0.0.0]' due to error weblogic.application.ModuleException: Failed to load webapp: '/'.
    weblogic.application.ModuleException: Failed to load webapp: '/'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:378)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.dms.wls.DMSServletFilter
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         Truncated. see log file for complete stacktrace
    >
    When processing WebService module 'wsil.war'. Failed to load servlet Class: oracle.j2ee.ws.server.wsil.WSILServlet
    Ignoring: unable to load class:java.lang.ClassNotFoundException: oracle.j2ee.ws.server.wsil.WSILServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    When processing WebService module 'wsil.war'. Failed to load servlet Class: oracle.j2ee.ws.server.wsil.WSILServlet
    Ignoring: unable to load class:java.lang.ClassNotFoundException: oracle.j2ee.ws.server.wsil.WSILServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    <Mar 15, 2010 11:16:47 AM PDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'em' due to error weblogic.management.DeploymentException: .
    weblogic.management.DeploymentException:
         at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:176)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:104)
         at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:140)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:47 AM PDT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: ServletContext@11450347[app:DMS Application module:dms.war path:/dms spec-version:2.5 version:11.1.1.1.0] oracle.dms.wls.DMSServletFilter.
    java.lang.ClassNotFoundException: oracle.dms.wls.DMSServletFilter
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:47 AM PDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'DMS Application [Version=11.1.1.1.0]'.
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.dms.wls.DMSServletFilter
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:47 AM PDT> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: ServletContext@12124116[app:wsil-wls module:/inspection.wsil path:/inspection.wsil spec-version:2.5] oracle.dms.wls.DMSServletFilter.
    java.lang.ClassNotFoundException: oracle.dms.wls.DMSServletFilter
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:47 AM PDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'wsil-wls'.
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.dms.wls.DMSServletFilter
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:48 AM PDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle11112\Middleware\user_projects\domains\soadev_domain\servers\AdminServer\logs\soadev_domain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Mar 15, 2010 11:16:48 AM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle11112\Middleware\user_projects\domains\soadev_domain\servers\AdminServer\logs\soadev_domain.log00004. Log messages will continue to be logged in C:\Oracle11112\Middleware\user_projects\domains\soadev_domain\servers\AdminServer\logs\soadev_domain.log.>
    <Mar 15, 2010 11:16:48 AM PDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Mar 15, 2010 11:16:48 AM PDT> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "Audit Loader Startup Class", java.lang.ClassNotFoundException: oracle.security.audit.ajl.loader.JEEAuditLoader
    java.lang.ClassNotFoundException: oracle.security.audit.ajl.loader.JEEAuditLoader
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.invokeClass(ClassDeploymentManager.java:253)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager.access$000(ClassDeploymentManager.java:54)
         at weblogic.management.deploy.classdeployment.ClassDeploymentManager$1.run(ClassDeploymentManager.java:205)
         Truncated. see log file for complete stacktrace
    >
    <Mar 15, 2010 11:16:48 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Mar 15, 2010 11:16:48 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Mar 15, 2010 11:16:48 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:0:5efe:a01:1b5:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Mar 15, 2010 11:16:48 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:0:100:7f:fffe:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Mar 15, 2010 11:16:48 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default[5]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Mar 15, 2010 11:16:48 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Mar 15, 2010 11:16:48 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:4b5:ea73:59f2:2e1a:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Mar 15, 2010 11:16:48 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.1.1.181:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Mar 15, 2010 11:16:48 AM PDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "soadev_domain" running in Development Mode>
    <Mar 15, 2010 11:16:48 AM PDT> <Warning> <Server> <BEA-002611> <Hostname "mycomputer.abc.com", maps to multiple IP addresses: 10.1.1.100, bf80:0:0:0:3gr:kdab:43f3:2e1a%10>
    <Mar 15, 2010 11:16:49 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Mar 15, 2010 11:16:49 AM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

    Hi,
    If you see your logs, you server has actually started in "RUNNING" mode. Its only throwing lot of "ClassNotFoundException" because I guess they classes are not available in classpaths. If you know the "jar" which contains which are being complained, copy the jar files to "DOMAIN_HOME/lib" which is simple way to add jars to classpath.
    <Mar 15, 2010 11:16:49 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Mar 15, 2010 11:16:49 AM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    Thanks.
    Vijay Bheemineni.

  • 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!

  • Registering tnameserv as a windows service

    Hi,
    Could anyone help me on registering and starting tnameserv as a windows service.
    Any help would be very very helpful.
    Regards,
    Hayath

    Here is code I have written to do this. It is deployed using the wrapper utility (see http://wrapper.tanukisoftware.org), and I am including the wrapper config file that I use. You need to have the tnameserv.exe executable and tools.jar available - I simply deploy them in the same directory as the jar file I build form the cod below.
    This may not be very elegant, but it works, and is in use on a daily basis in live newspaper publishing sites that use our software, so it works well.
    Here is the code, which I provide as is with no liabilities etc.:
    import java.io.*;
    public class corbaasservice {
    public static void main(String arguments[]) {
    try {
    String tnameservpath = "./tnameserv.exe";
    if (arguments.length > 0) tnameservpath=arguments[0];
    startCorbaThread(tnameservpath);
    catch (Exception e) {
    e.printStackTrace();
    static SetantaThread setanta;
    private static void startCorbaThread(String tnameservpath) throws IOException {
    setanta = new SetantaThread(tnameservpath);
    setanta.start();
    class shutdowncorbaasservice extends Thread {
    private SetantaThread setanta;
    public shutdowncorbaasservice(SetantaThread s) {
    setanta = s;
    public void run() {
    try {
    Process tnameservProcess = setanta.getTnameservProcess();
    tnameservProcess.destroy();
    System.out.println("CORBA As Service interrupted");
    catch (Exception e) {
    e.printStackTrace();
    // we do this to make it possible to start the program as a Windows Service without problems
    // using a separate thread, prevents the service manager locking up if the startup time is too long
    class SetantaThread extends Thread {
    private String tnameservPath;
    private Process tnameservProcess;
    public SetantaThread(String path) {;
    tnameservPath = path;
    tnameservProcess = null;
    public Process getTnameservProcess() { return tnameservProcess; }
    public void run() {
    int status = 0;
    try {
    System.out.println("CORBA As Service starting");
    Runtime.getRuntime().addShutdownHook(new shutdowncorbaasservice(this));
    tnameservProcess = Runtime.getRuntime().exec(tnameservPath);
    status = tnameservProcess.waitFor();
    catch (Exception e) {
    e.printStackTrace();
    finally {
    System.out.println("CORBA As Service exiting with status: "+status);
    Here is the wrapper configuration file I use. You can install the service by running the wrapper progam with this config file:.
    wrapper.java.command=java
    wrapper.java.maxmemory=128
    wrapper.java.mainclass=com.silveregg.wrapper.WrapperSimpleApp
    wrapper.app.parameter.1=corbaasservice
    wrapper.java.classpath.1=./corbaasservice.jar
    wrapper.java.classpath.2=./wrapper.jar
    wrapper.java.classpath.3=./tools.jar
    wrapper.java.library.path=.
    wrapper.port=1777
    wrapper.startup.timeout=300
    wrapper.ping.timeout=300
    wrapper.shutdown.timeout=300
    wrapper.disable_shutdown_hook=TRUE
    wrapper.request_thread_dump_on_failed_jvm_exit=TRUE
    wrapper.ntservice.name=CORBAServices
    wrapper.ntservice.displayname=CORBA Services
    wrapper.ntservice.description=Provide CORBA Services for Java Applications
    wrapper.ntservice.starttype=AUTO_START
    wrapper.ntservice.process_priority=NORMAL
    Hope this helps,
    Colin Manning
    Setanta-Media Limited

  • Installing BI Services as Windows Service

    Hi All,
    I am on 64 bit windows server 2008, I have done a simple install of obiee 11g. So I have only Admin Server
    and no managed server.
    I need to install the weblogic as windows service. And this is what i have done till now
    1. Modified the boot properties file to enter the login and password (weblogic/Welcome1)
    2. Set system environment variables BI_ORACLE_HOME and JAVA_HOME
    3. Modified the installsvc.cmd file to enter the following
         a.
         b.
         c.-log:"E:\MW_OBI\user_projects\domains\bifoundation_domain\AdminServer-stdout.txt
    4. created the installAdminServer_service.cmd file with following contents
    echo off
    SETLOCAL
    set DOMAIN_NAME=bifoundation_domain
    set USERDOMAIN_HOME=%Middlewarehome%\user_projects\domains\bifoundation_domain
    set SERVER_NAME=AdminServer
    set PRODUCTION_MODE=true
    call "%Middlewarehome%\user_projects\domains\bifoundation_domain\bin\setDomainEnv.cmd"
    call "%Middlewarehome%\wlserver_10.3\server\bin\installSvc.cmd"
    ENDLOCAL
    5.Now when I run this, it does run something but doesn't install the "beasvc %DOMAIN_NAME%_%SERVER_NAME%"
    service as expected.
    This is the extract from my installsvc.cmd file. What is that I am missing? Is there any variable which
    needs to be set. What could be the issue. Does this work for 64 bit machine?
    @rem *************************************************************************
    @rem This script is used to install WebLogic Server as a Windows Service.
    @rem
    @rem To create your own start script for your domain, simply set the
    @rem SERVER_NAME variable to your server name then call this script from your
    @rem domain directory.
    @rem
    @rem This script sets the following variables before installing
    @rem WebLogic Server as a Windows Service:
    @rem
    @rem WL_HOME - The root directory of your WebLogic installation
    @rem JAVA_HOME - Location of the version of Java used to start WebLogic
    @rem Server. This variable must point to the root directory of a
    @rem JDK installation and will be set for you by the installer.
    @rem See the Oracle Fusion Middleware Supported System Configurations page
    @rem (http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html)
    @rem for an up-to-date list of supported JVMs.
    @rem PATH - Adds the JDK and WebLogic directories to the system path.
    @rem CLASSPATH - Adds the JDK and WebLogic jars to the classpath.
    @rem
    @rem Other variables that installSvc takes are:
    @rem
    @rem WLS_USER - admin username for server startup
    @rem WLS_PW - cleartext password for server startup
    @rem ADMIN_URL - if this variable is set, the server started will be a
    @rem managed server, and will look to the url specified (i.e.
    @rem http://localhost:7001) as the admin server.
    @rem PRODUCTION_MODE - set to true for production mode servers, false for
    @rem development mode
    @rem JAVA_OPTIONS - Java command-line options for running the server. (These
    @rem will be tagged on to the end of the JAVA_VM and MEM_ARGS)
    @rem JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
    @rem -client, etc.)
    @rem MEM_ARGS - The variable to override the standard memory arguments
    @rem passed to java
    @rem
    @rem
    @rem MAX_CONNECT_RETRIES - Number of attempts the Windows Service will make to check
    @rem if the Weblogic Server is started. If this variable
    @rem is specified along with HOST and PORT, the Windows Service will
    @rem wait until the Weblogic Server is started.
    @rem HOST - IP address of the Weblogic Server
    @rem PORT - Port number where the WebLogic Server is listening for requests
    @rem
    @rem jDriver for Oracle users: This script assumes that native libraries
    @rem required for jDriver for Oracle have been installed in the proper
    @rem location and that your system PATH variable has been set appropriately.
    @rem
    @rem For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
    @rem (http://download.oracle.com/docs/cd/E17904_01/web.1111/e13708/overview.htm).
    @rem *************************************************************************
    @echo off
    SETLOCAL
    set WL_HOME=E:\MW_OBI\wlserver_10.3
    call "%WL_HOME%\common\bin\commEnv.cmd"
    @rem Check that the WebLogic classes are where we expect them to be
    :checkWLS
    if exist "%WL_HOME%\server\lib\weblogic.jar" goto checkJava
    echo The WebLogic Server wasn't found in directory %WL_HOME%\server.
    echo Please edit your script so that the WL_HOME variable points
    echo to the WebLogic installation directory.
    goto finish
    @rem Check that java is where we expect it to be
    :checkJava
    if exist "%JAVA_HOME%\bin\java.exe" goto runWebLogic
    echo The JDK wasn't found in directory %JAVA_HOME%.
    echo Please edit your script so that the JAVA_HOME variable
    echo points to the location of your JDK.
    goto finish
    :runWebLogic
    if not "%JAVA_VM%" == "" goto noResetJavaVM
    if "%JAVA_VENDOR%" == "BEA" set JAVA_VM=-jrocket
    if "%JAVA_VENDOR%" == "HP" set JAVA_VM=-server
    if "%JAVA_VENDOR%" == "Sun" set JAVA_VM=-server
    :noResetJavaVM
    if not "%MEM_ARGS%" == "" goto noResetMemArgs
    set MEM_ARGS=-Xms32m -Xmx200m
    :noResetMemArgs
    @echo on
    set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%
    @echo ***************************************************
    @echo * To start WebLogic Server, use the password *
    @echo * assigned to the system user. The system *
    @echo * username and password must also be used to *
    @echo * access the WebLogic Server console from a web *
    @echo * browser. *
    @echo ***************************************************
    rem *** Set Command Line for service to execute within created JVM
    @echo off
    set JAVA_VM=-server
    set MEM_ARGS=-Xms512m -Xmx512m -XX:MaxPermSize=512m-XX:+UseSpinning
    if "%ADMIN_URL%" == "" goto runAdmin
    @echo 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"
    goto finish
    :runAdmin
    @echo on
    set CMDLINE="%JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -classpath \"%CLASSPATH%\" -Dweblogic.Name=%SERVER_NAME% -Dweblogic.management.username=%WLS_USER% -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy=\"%WL_HOME%\server\lib\weblogic.policy\" weblogic.Server"
    :finish
    rem *** Set up extrapath for win32 and win64 platform separately
    if "%WL_USE_X86DLL%" == "true" set EXTRAPATH=%WL_HOME%\server\native\win\32;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\32\oci920_8
    if "%WL_USE_IA64DLL%" == "true" set EXTRAPATH=%WL_HOME%\server\native\win\64\;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\64\oci920_8
    if "%WL_USE_AMD64DLL%" == "true" set EXTRAPATH=%WL_HOME%\server\native\win\x64\;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\x64\oci920_8
    rem *** Install the service
    "%WL_HOME%\server\bin\beasvc" -install -svcname:"beasvc %DOMAIN_NAME%_%SERVER_NAME%" -delay:120000 -javahome:"%JAVA_HOME%" -execdir:"%USERDOMAIN_HOME%" -maxconnectretries:"%MAX_CONNECT_RETRIES%" -host:"%HOST%" -port:"%PORT%" -extrapath:"%EXTRAPATH%" -password:"%WLS_PW%" -cmdline:%CMDLINE% -log:"E:\MW_OBI\user_projects\domains\bifoundation_domain\AdminServer-stdout.txt"
    ENDLOCAL

    Hi Ronny,
    The procedure does work for 64-bit machines. I have done for OBIEE 11.1.1.5 on Windows 2008 64-bit machine.
    In your installAdminServer_service.cmd file, turn on echo and check if you get additional information. This will help you know which steps are getting executed and which aren't.
    Also, you can cross check your steps with document on Oracle Support - How to Install MS Windows Services For FMW 11g WebLogic Domain Admin and Managed Servers.
    Thanks

  • Tomcat as windows service

    Hi everybody,
    Im trying to make Tomcat (5.0.25) run as a windows service. I tried using service.bat, which installs a windows service of type manual. As this is for client machines, setting the service type to automatic is not an option. So what I am looking for is either a way to use service.bat to create an automatic windows service, or a way to change a services type from manual to autmatic.

    Ignore my last post about the options. As of August 16, 2004, the page is out of date and the options are incorrect for the verison shipped with Tomcat 5.0.27.
    However, to find out how to use tomcat5.exe, look at the "service.bat" file in the bin directory. This wraps a call to it with the most common options you will need. I had some troubling customizing the script (using Tomcat 5.0.27) for my own needs, but eventually figured it out (with much help from posts on the Tomcat newsgroups.)
    The changes I made were:
    1) To allow allow compilation of JSPs, changed PR_CLASSPATH to include J2SDK tools.jar:
    Before
    set PR_CLASSPATH=%CATALINA_HOME%\bin\bootstrap.jar
    After
    set PR_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar2a) To use a specific JVM location, changed jvm option from 'auto'
    2b) To make service automatic instead of manual, added Startup option
    2c) To use customized server.xml file and pass multiple parameters to StartClass, changed StartParams by separating additional values by semi-colons:
    Before
    "%EXECUTABLE%" //IS//%SERVICE_NAME% --Jvm auto
    --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootstrap
    --StartParams start --StopParams stop
    After
    "%EXECUTABLE%" //IS//%SERVICE_NAME% --Jvm "%JAVA_HOME%\jre\bin\server\jvm.dll"
    --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootstrap
    --StartParams "-config;%CUSTOM_SERVERXML_FILE%;-nonaming;start" --StopParams stop
    --Startup Automatic3) To specify min and max memory limits, added extra jvm startup parameters
    Before
    "%EXECUTABLE%" //US//%SERVICE_NAME% --JvmOptions
    "-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\common\endorsed"
    --StartMode jvm --StopMode jvm
    After
    "%EXECUTABLE%" //US//%SERVICE_NAME% --JvmOptions
    "-Xms128M;-Xmx256M;-Dcatalina.base=%CATALINA_BASE%;-Dcatalina.home=%CATALINA_HOME%;-Djava.endorsed.dirs=%CATALINA_HOME%\common\endorsed"
    --StartMode jvm --StopMode jvm

  • Error in configuring OC4J as a Windows Service

    I created a batch file and placed it in my drive C. It has the following code:
    SET PATH=C:\Program Files\Java\jdk1.6.0_01\bin
    cd C:\OracleBI\oc4j_bi\j2ee\home
    java -jar oc4j.jarWhen i double click on the batch file OC4J starts correctly. However, when i configure it as a windows service using the same batch file i get the error:
    Error 1053: The service did not respond to start or control request in a timely fashion
    I created a windows service are as follows:
    sc.exe create "Oracle BI OC4J" binPath= "c:\Start_OC4J.bat"
    Thats it. I did only this much. I feel i am missing out on some steps. I can see the service but not able to start it. The error is:
    Error 1053: The service did not respond to start or control request in a timely fashion

    Windows bit also matters and you need to use specific javaservice
    Try something like below
    Windows 64 BIT
    Download "JavaService-2.0.7.64" from http://forge.ow2.org/project/download.php
    javaservice -install "Oracle BI OC4J Service" "C:\Program Files\Java\jre6\bin\server\jvm.dll" -XX:MaxPermSize=128m -Xmx512m "-Djava.class.path=D:\OracleBI\oc4j_bi\j2ee\home\oc4j.jar" -start oracle.oc4j.loader.boot.BootStrap
    Windows 32 BIT
    Download "JavaService-2.0.10" from http://forge.ow2.org/project/download.php
    javaservice -install "Oracle BI OC4J" "D:\Java\jre7\bin\client\jvm.dll" -XX:MaxPermSize=128m -Xmx512m "-Djava.class.path=D:\OracleBI\oc4j_bi\j2ee\home\oc4j.jar" -start oracle.oc4j.loader.boot.BootStrap -out "D:\OracleBI\oc4j_bi\j2ee\home\log\oc4j.log.txt" -err "D:\OracleBI\oc4j_bi\j2ee\home\log\oc4j.err.txt" -description "Oracle BI OC4J"
    Edited by: Srini VEERAVALLI on May 20, 2013 9:13 AM

  • Setting up Weblogic 6.1 as Windows Service

    Hi All,
    I have installed my weblogic 6.1 server and also installed it as the windows
    service. Thru service my server starts up but its unable to run my application.
    If I start my server from Command Prompt then the application works fine.
    When server is started from the Win Services and I hit my application then I
    get following exception on the page:
    Compilation of 'C:\beaTEST\wlserver6.1\config\mydomain\applications\.wlnotdelete\wlap8436\WEB-INF\_tmp_war_myserver_myserver_tasktoolWebApp\jsp_servlet\__index.java'
    failed:
    C:\beaTEST\wlserver6.1\config\mydomain\applications\.wlnotdelete\wlap8436\WEB-INF\_tmp_war_myserver_myserver_tasktoolWebApp\jsp_servlet\__index.java
    error=2
    Full compiler error(s):
    java.io.IOException: CreateProcess: javac -classpath C:\beaTEST\wlserver6.1\config\mydomain\applications\.wlnotdelete\wlap8436\tasktoolWebApp.war;C:\beaTEST\wlserver6.1\config\mydomain\applications\.wlnotdelete\wlap8436\WEB-INF\_tmp_war_myserver_myserver_tasktoolWebApp\cls4153.jar;C:\beaTEST\wlserver6.1\config\mydomain\applications\.wlnotdelete\wlap8436\WEB-INF\_tmp_war_myserver_myserver_tasktoolWebApp;C:\beaTEST\wlserver6.1\.\config\mydomain\applications\.wlnotdelete\wlap8436\com_solutionsny_projecttasktool.jar;C:\beaTEST\jdk131\jre\lib\rt.jar;C:\beaTEST\jdk131\jre\lib\i18n.jar;C:\beaTEST\jdk131\jre\lib\sunrsasign.jar;C:\beaTEST\jdk131\jre\classes;.;C:\beaTEST\wlserver6.1\lib\weblogic_sp.jar;C:\beaTEST\wlserver6.1\lib\weblogic.jar
    -d C:\beaTEST\wlserver6.1\config\mydomain\applications\.wlnotdelete\wlap8436\WEB-INF\_tmp_war_myserver_myserver_tasktoolWebApp
    C:\beaTEST\wlserver6.1\config\mydomain\applications\.wlnotdelete\wlap8436\WEB-INF\_tmp_war_myserver_myserver_tasktoolWebApp\jsp_servlet\__index.java
    error=2
         at java.lang.Win32Process.create(Native Method)
         at java.lang.Win32Process.<init>(Win32Process.java:66)
         at java.lang.Runtime.execInternal(Native Method)
         at java.lang.Runtime.exec(Runtime.java:551)
         at java.lang.Runtime.exec(Runtime.java:477)
         at java.lang.Runtime.exec(Runtime.java:443)
         at weblogic.utils.Executable.exec(Executable.java:209)
         at weblogic.utils.Executable.exec(Executable.java:134)
         at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:545)
         at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
         at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:382)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:189)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:154)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:368)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:304)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Please help on this
    Thanks
    Amit Tyagi

    I ran into the same problem. It was driving me crazy. Then Duh! The path to run the javac.exe was not specified in the system environment variables, which is used by any service.
    Hope this helps....

  • Problem: Deployment to WL10.3 Server Instance started as Windows Service

    Hi Everybody,
    I have deployed my J2EE Application to a Standalone WebLogic Server Instance (in development mode) started from the Windows Command Level via startWebLogic.cmd. I also tested the deployment to a Clustered Managed Server Environment(1 AdminServer+2 MS Servers in the cluster; development mode), all servers started from the command line. The application could be tested and everything worked fine.
    But:
    When I set up the WebLogic Server Instance(s) as a Windows Service(s) (following the instructions http://e-docs.bea.com/wls/docs103/server_start/winservice.html) my application can’t be deployed at startup time.
    I get 3 ClassNotFoundExceptions:
    - on startup class "DMS-Startup" (oracle.dms.wls.DMSStartup)
    - on startup class "ODL-Startup" (oracle.core.ojdl.weblogic.ODLConfiguration)
    - on startup class "JPS Startup Class" (oracle.security.jps.wls.JpsWlsStartupClass)
    The Service is started but under Administration Console/Deployments the Enterprise Application is marked as “New” and not as “ Active”. The other Deployments: adf.oracle.domain(1.0, 11.1.1.0.0), jsf(1.2, 1.2.7.1) and jstl(1.2, 1.2.0.1) are shown as “Active”.
    I tried to redeploy the Application directly from the JDeveloper to the running Standalone WLS Instance (Single Server) - as I did before.
    The Deployment failed:
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application ... on AdminServer.: .
    weblogic.management.DeploymentException:
    #### Deployment incomplete.
    #### Nov 25, 2008 9:58:53 PM
    Deployment Failed
    Why does the deployment work on the WLS Instance started from command line and why does it fail when started as Windows Service?
    I am Using WLServer 10.3 and the JDeveloper 11g on a Windows Vista OS - both installed via jdevstudio11110install.exe. My Web Application uses BC and ADF Faces.
    The Windows Service is set up by doing the following in a server-specific script placed under the USERDOMAIN_HOME directory:
    set DOMAIN_NAME=mydomain
    set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\mydomain
    set JAVA_OPTIONS=Dweblogic.Stdout = … Dweblogic.Stderr=…
    set MEM_ARGS=-Xms40m –Xmx250m
    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd"
    And there’s one more problem with the Windows Service:
    I’m not able to Uninstall the service from a server-specific script, first setting the DOMAIN_NAME and the SERVER_NAME=AdminServer and than
    using call "C:\Oracle\Middleware\wlserver_10.3\server\bin\uninstallSvc.cmd".
    I must do this directly in the registry.
    Is anything missing? What’s wrong?
    Please help!
    Thanks
    Anita
    Edited by: user586097 on 26.11.2008 11:55
    Edited by: user586097 on 26.11.2008 12:00
    Edited by: user586097 on 26.11.2008 12:02

    This thread was very helpful to get WebLogic 11g running as a Windows service. My problem was that I couldn't get the Enterprise Manager application to deploy correctly on startup, so I had to tweak both the installSvc.cmd and my script that installs the service (by copying important Java Options from the startup script that works as noted above). It was too hard to discern what exactly Enterprise Manager needed, so I copied a whole bunch.
    What I ended up doing was using this as a script to install the Windows service:
    echo off
    SETLOCAL
    set DOMAIN_NAME=base_domain
    set USERDOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\base_domain
    set SERVER_NAME=AdminServer
    set PRODUCTION_MODE=false
    set JAVA_OPTIONS=-client -Xms512m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -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 -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1 -Doracle.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -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 -Dsso.filter.enable=true -DUSE_JAAS=false -Djps.policystore.hybrid.mode=false -Djps.combiner.optimize.lazyeval=true -Djps.combiner.optimize=true -Djps.auth=ACC -noverify -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.logging.impl.UserContextImpl -Dtangosol.coherence.log=jdk -Dwc.oracle.home=C:\Oracle\Middleware\Oracle_WC1 -DjiveHome=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\fmwconfig\servers\AdminServer\owc_discussions_11.1.1.1.0 -Dtangosol.coherence.log=jdk -Doracle.core.ojdl.logging.usercontextprovider=oracle.core.ojdl.logging.impl.UserContextImpl -Doracle.mds.bypassCustRestrict=true -Djava.awt.headless=true -XX:+UseParallelGC -XX:+DisableExplicitGC -Dem.oracle.home=C:\Oracle\Middleware\Oracle_WC1 -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1031\profiles\default\sysext_manifest_classpath
    call "C:\Oracle\Middleware\wlserver_10.3\server\bin\installSvc.cmd"
    ENDLOCAL
    and slightly modifying my installSvc.cmd to:
    set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\commons-cli-1.1.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\Middleware\Oracle_WC1\webcenter\modules\oracle.portlet.server_11.1.1\oracle-portlet-api.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    It needed those extra .jars to deploy properly.
    Edited by: user11090163 on Sep 2, 2009 9:04 AM

  • Error 1053 comes out while starting oc4j service through windows services

    HI EVERYBODY
    I face some problem and I'll be very happy if i recieved any reply from u.
    here is my problem :
    I used the code which starts/stops OC4J-standalone as a Windows service using
    java service for install and uninstall the service(the code is shown down),however the code works well
    and the service install and uninstall successfully.
    but when I start the service throught the windows servecis manager this error comes out:
    * Error 1053: The service did not respond to the start or control request in a timely fashion"
    and the status of the service stay "starting"*
    I found solution by adding "DWORD Value" in the registry and modify it to 60000
    but it didn't work and still this error come out.
    Any help will be appreciated.
    the code is :
    install_OC4J_Service :
    Setlocal
    @rem Note that if JVM not found, service 'does not report an error' when startup fails, although event is logged
    if "%JAVA_HOME%" == "" set "JAVA_HOME"=C:\Program Files\Java
    REM set the display name of the service
    set JSNAME=OC4J_Service
    REM Set the Java server directory
    set JVMDIR=%JAVA_HOME%\jre1.6.0_01\bin\client
    REM Setting a bind directory for the software
    set JSBINDIR=%CD%
    REM Setting path and filename of the (renamed) javaservice executable
    set JSEXE=%JSBINDIR%\OC4J_Service.exe
    REM Stating the directory of the OC4J-home
    set OC4J_HOME=E:\DevSuiteHome_1\j2ee\home
    REM just to check the used version @echo . To install the service "%JSNAME%" the following version of JavaService executable is used: @ echo . %JSEXE% -version @echo .
    @echo Installing service OC4J_Service ... Press Enter to continu or press Control-C to abort installation
    @pause
    @echo
    %JSEXE% -install %JSNAME% %JVMDIR%\jvm.dll -Djdbc.debug=true java.class.path=%OC4J_HOME%\oc4j.jar –Xmx256M -start com.evermind.server.OC4JServer -params -config %OC4J_HOME%\config\server.xml -out %OC4J_HOME%\log\OC4J_service_stdout.log -err %OC4J_HOME%\log\OC4J_service_stderr.log -current %JSBINDIR% -manual -description "OC4JService"
    @echo
    @echo End of Installation
    @pause
    uninstall_OC4J_Service:
    @echo off
    @echo . Uninstall_OC4JService.cmd - de-install of JavaService executable using OC4J.jar
    @echo .
    setlocal
    @rem Note that if JVM not found, service 'does not report an error' when startup fails, although event logged
    if "%JAVA_HOME%" == "" set JAVA_HOME=c:\java\j2sdk142
    set JVMDIR=%JAVA_HOME%\jre1.6.0_01\bin\client
    set JSBINDIR=%CD%
    set JSEXE=%JSBINDIR%\OC4J_Service.exe
    @echo . Using following version of JavaService executable:
    @echo .
    %JSEXE% -version
    @echo .
    @echo Un-installing service OC4J_Service ... Press Control-C to abort
    @pause
    @echo .
    %JSEXE% -uninstall OC4J_Service
    @echo .
    @echo End of script
    @pause
    -------------------------------------------------------------------------

    Any recent change? Use below command to validate the opmn.xml file.
    opmnctl validate
    Replace the opmn.xml backup file in $ORACLE_HOME/opmn/conf and try starting opmn.
    Also ipm.log file in $ORACLE_HOME/opmn/log folder

  • ODI Agent as Windows services

    Hi,
    I am trying to create ODI 11.1.1.6 agent as windows services ( followed jhon blog ) but getting fail with below errors.
    Configured ohs opmn of Hyperion 11.1.2.1.
    (I am able to configure in 11.1.1.5 but i hope there is no difference in 11.1.1.6 of ODI)
    ODI-1604: Unable to parse Opmns Snippet Xml
    ODI-1600: Unable to update Opmn Xml file.java.io.FileNotFoundException: C:\Oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\bin\Oracle_Ho
    me Directory\oracledi\agent\bin\odi_opmn_standaloneagent_template.xml (The system cannot find the path specified)
    ODI-1600: Unable to update Opmn Xml file.java.lang.NullPointerException
    opmnctl reload: reconfiguring opmn...
    Here are updates in files
    agentcreate.property
    ORACLE_ODI_HOME=Oracle_Home Directory
    INSTANCE_HOME=INSTANCE_HOME Directory
    COMPONENT_TYPE=odiagent
    COMPONENT_NAME=ODIAGENT
    ODI_MASTER_DRIVER=oracle.jdbc.OracleDriver
    ODI_MASTER_URL=jdbc:oracle:thin:@xyz.abc.com:1521:DEV
    ODI_MASTER_USER=ODI_Repo
    ODI_MASTER_ENCODED_PASS=e3yHXTyLvogAGJYiddyU4ZVg
    ODI_SECU_WORK_REPO=WORKREP
    ODI_SUPERVISOR_ENCODED_PASS=d,yHvBA9Vb79z3f4w86cnZ0Fa
    PORTNO=20910
    JAVA_HOME=C:/Progra~1/Java/jdk1.6.0_33
    ORACLE_OPMN_HOME=D:/Oracle/Middleware/Oracle_WT1
    JMXPORTNO=21910
    odi_opmn_addagent.bat
    if "%ODI_HOME%" == "" set ODI_HOME=C:\Oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent
    REM call "%ODI_HOME%\bin\odiparams.bat"
    if "%OPMN_HOME%" == "" set OPMN_HOME=D:\Oracle\Middleware\Oracle_WT1
    if "%INSTANCE_HOME%" == "" set INSTANCE_HOME=D:\Oracle\Middleware\Oracle_WT1\instances\instance1
    REM set CLASSPATH=%ODI_CLASSPATH%;%OPMN_HOME%\opmn\lib\opmneditor.jar
    set CLASSPATH=%ODI_HOME%\lib\odi-standalone-agent.jar;%OPMN_HOME%\opmn\lib\opmneditor.jar;%ODI_HOME%\..\..\setup\manual\oracledi-sdk\oracle.odi-sdk-jse_11.1.1.jar
    java -classpath %CLASSPATH% oracle.odi.AddAgentToOpmn %*

    I tried it today, it works well, generally the issue is caused home not set correctly.
    on window platform, for all pathes please use / not \
    odi_opmn_addagent.bat
    if "%ODI_HOME%" == "" set ODI_HOME=..
    REM call "%ODI_HOME%\bin\odiparams.bat"
    if "%OPMN_HOME%" == "" set OPMN_HOME=C:/Oracle/Middleware/Oracle_WT1
    if "%INSTANCE_HOME%" == "" set INSTANCE_HOME=C:/Oracle/Middleware/Oracle_WT1/instances/instance2
    agentcreate.properties
    # Use / as path seperator to specify path in Unix as well as Windows.
    ORACLE_ODI_HOME=C:/Oracle/Middleware/Oracle_ODI1
    INSTANCE_HOME=C:/Oracle/Middleware/Oracle_WT1/instances/instance2
    COMPONENT_TYPE=odiagent
    COMPONENT_NAME=myagent
    ODI_MASTER_DRIVER=oracle.jdbc.OracleDriver
    ODI_MASTER_URL=jdbc:oracle:thin:@jjpeng-lab10.us.oracle.com:1521:oditest01
    ODI_MASTER_USER=jini_01pfx
    ODI_MASTER_ENCODED_PASS=hpfX,Dc,hJLYSgD.m,LnNr9zf
    ODI_SECU_WORK_REPO=JINI_01PFX_WORK
    ODI_SUPERVISOR_ENCODED_PASS=hpfX,Dc,hJLYSgD.m,LnNr9zf
    PORTNO=9787
    JAVA_HOME=C:/java_64bit/jdk1.6.0_29
    ORACLE_OPMN_HOME=C:/Oracle/Middleware/Oracle_WT1
    JMXPORTNO=21910
    PROXY_PORT=98767
    MASTER_REPO_EXTERNAL_ID=1329894428167

  • Please help me on installing OC4J as windows Service

    Hi, Guys:
    Could anyone help me on installing OC4J service as a windows service in my computer? I always got the following error message when I tried to start OC4J service:
    The Oracle BI: OC4J Service service on local computer started and then stopped. Some services stop automatically if they are not in use by other servies or programs.
    I am using Windows server 2008, service pack 1, 64 bit operating system.
    OC4J has been successfully installed and I can see enterprise manager from http://localhost:8888/em.
    I set envionment parameters as follows:
    ORACLE_HOME: C:\OC4J\oc4j_extended_101350
    JAVA_HOME: C:\java\JDK7u7 (I use jdk-7-windows-i586)
    J2EE_HOME: %ORACLE_HOME%\j2ee\home
    and I run cmd as administrator, cd to javaservice subdirectory, use javaservices to install OC4J as follows:
    javaservice -install "Oracle BI: OC4J Service" "C:\java\JDK7u7\jre\bin\server\jvm.dll" -XX:MaxPermSize=128m -Xmx512m "-Djava.class.path=C:\OC4J\oc4j_extended_101350\j2ee\home\oc4j.jar" -start oracle.oc4j.loader.boot.BootStrap
    I was told it is installed successfully. But I got the problem as I said before. It was strange though I did it on my local computer which is a windows7, service pack 1, 64 bit operating system successfully. I struggleed for 3 weeks with the same problem on my local PC and suddenly it worked without problem. I did not remember I changed anything. Is there anything that I missed?
    Any suggestion would be appreciated!
    Sam

    Well, I added two lines in OC4J.cmd
    set ORACLE_HOME=C:\OC4J\oc4j_extended_101350
    set JAVA_HOME=C:\JAVA\JDK7u7
    before
    set J2EE_HOME=%ORACLE_HOME%\j2ee\home
    and I restarted the windows. It looks try to run OC4J but failed, as I open services window, it shows OC4J is "stopping". When I try to run it manually, I got the same problem again. is there anything I missed? What is your OC4J, JDK and javaservice version?
    Sam

Maybe you are looking for

  • Query on Mitigation Control

    Hi all, We have configured Mitigation Controls and mitigated some of the users. We have the following queries in this regard: a) When we run the SoD anlaysis for that particular user we could able to see only half description of the Mitigation Contro

  • How to get work JavaFX WebViewBrowser sample in debian linux wheezy?

    How to get work JavaFX WebViewBrowser sample in debian linux wheezy You may also check latest version of this problem here...  The Starting point I have Debian wheezy java version "1.7.0_40" Java(TM) SE Runtime Environment (build 1.7.0_40-b43) Java H

  • Regarding too upload videos

    I've created a playlist on my computer to put videos in, but the ipod doesn't show the playlist to update it, basically, how do I upload music video playlist into the ipod ????

  • SAP HCM CERTIFICATION

    Hi All,          I have the 5+ years exprience in the SAP-ABAP and 3+ Years in SAP-ABAP-HR.          Shall i go for the SAP HCM CERTIFICATION with this much exprience? Is any benifit to me after certification?         Please give me suggestion? Regar

  • Question on use of discretionary hyphens

    Hello, I hope someone can solve the following conundrum! I want to make sure that compound words (ex: official-looking) do not break at any syllable at the end of the line. It then looks unsightly when the word has two hyphens. If I put a discretiona