Starting Business Connector as a window service

Hi All,
I have installed BC server 4.6. I need to run this as a window service. Any idea on this ? Currently i start the server from the command prompt. But if i close the window, the server goes down.
Your help is much appreciated.
Thanks,
sathya

Hi,
Normally the steps are:
1) Install BC Application
2) Download and implement Core Fix2 and Service Pack 3a (for 4.6)
3) Install all packages and connections to SAP Production
4) Set up BC application as Windows service
have you refer to SAP Notes:
516504     Business Connector 4.6 as Windows NT Service
421525     Business Connector as Windows NT Service
Regards.

Similar Messages

  • Starting Hyperion 9.3.1 Windows services

    Hi All.
    I use Hyperion 9.3.1
    In what order should i start hyperion 9.3.1 windows services.
    Thanks.

    Hi,,
    Here is the starting order,,,,,,,,and stop order should be exactly in reverse.
    Hyperion S9 OpenLDAP
    Hyperion S9 Shared Services
    Hyperion S9 Administration Services WLS9
    HyperionRMIRegistry
    Hyperion S9 BI+ 9.3 Core Services 1
    Hyperion S9 BI+ 9.3 Interactive Reporting Service 1
    Hyperion S9 Planning
    Hyperion S9 BI+ 9.3 Financial Reporting Java RMI Registry
    Hyperion S9 BI+ 9.3 Financial Reporting Print Server
    Hyperion S9 BI+ 9.3 Financial Reporting Report Server
    Hyperion S9 BI+ 9.3 Financial Reporting Scheduler Server
    Integration Server
    Hyperion S9 EPM Architect Data Synchronization WLS9
    Hyperion S9 EPM Architect Process Manager
    Hyperion S9 EPM Architect Web WLS9
    Hyperion S9 EPM Architect Engine Manager
    Hyperion S9 EPM Architect Event Manager
    Hyperion S9 EPM Architect Job Manager
    Hyperion S9 BI+ 9.3 Workspace
    Hyperion S9 Apache 2.0
    Hyperion S9 BI+ 9.3 Financial Reporting Web application
    Hyperion S9 BI+ 9.3 Web Analysis
    Hyperion S9 Provider Services WLS9
    IIS Admin Service
    World Wide Web Publishing Service
    Hyperion S9 Financial Management DME Listener
    HFMWebServiceManager
    Hyperion S9 Financial Data Quality Management Task Manager Service
    -K-

  • Can we start Node server as a windows service?

    Hi,
    I am starting admin server, managed server as windows service. I've also started node manager as windows service on a node machine. But, now if i want to start the node server, I am starting it from windows console. Instead of this, can i start the node server as windows service? If yes, please give the details.
    Thanks

    When you also want the WebLogic Server as a service - Re: Installing Weblogic Admin Server as service -  service won't start

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

  • Weblogic Server does not show managed server started when I used the Windows service to start it.

    I created a windows service to start a managed server and the services was created successfully and stated.  WHen I go to the Weblogic Server Admn console, the server is still showing shutdown.  Whenm I try to start it, it returns with error that the the service is not able to start.  Has anyone ran into anything similar.  I am running on Windows Server 2008R2 and running Weblogic Server 10.3.6 and Fusion Middleware 11.1.6.
    C

    Hi,
    For starting managed server as windows service there is no need of nodemanager .
    Please follow the steps given in the below doc:
    How to Install MS Windows Services For FMW 11g WebLogic Domain Admin and Managed Servers (Doc ID 1060058.1)
    Thanks,
    Sharmela

  • Starting a class as a Windows Service??

    I�ve developed a server which has a startup class. What is the best way for me to install this class as a windows service that start up automatically at computer startup??
    please help... I�m dying here
    thanx Iceland

    You could create a BAT script that starts your Java program and then use the program SRVANY.EXE to register the BAT-file as a Service.
    SRVANY is on the Resource Kit.
    Perhaps you can use http://www.firedaemon.com/ instead.
    /rolex

  • Starting oracle weblogic server as windows Service

    hi dear friends,
    i am working with oracle Weblogic server 10.3 and oracle Jdeveloper 11g
    i have an Ear file and deployed it on weblogic server and that work truly
    now,i want to start my server with windows Services
    for this goal i read some of the documents and created a windows service for my server
    when i started windows Service of the server just console of weblogic is start
    when i used debug mode for checking errors
    i saw bottom errors:
    java.lang.ClassNotFoundException: oracle.dms.wls.DMSStartup
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    >
    <Jul 26, 2009 9:09:32 AM IRDT> <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.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    >
    <Jul 26, 2009 9:09:32 AM IRDT> <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.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    >
    <Jul 26, 2009 9:09:32 AM IRDT> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\NEWORA~1\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
    <Jul 26, 2009 9:09:32 AM IRDT> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\NEWORA~1\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
    <Jul 26, 2009 9:09:33 AM IRDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jul 26, 2009 9:09:33 AM IRDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jul 26, 2009 9:09:34 AM IRDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'requestEar' due to error weblogic.management.DeploymentException: .
    weblogic.management.DeploymentException:
    at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:171)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:99)
    at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:117)
    Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
    Truncated. see log file for complete stacktrace
    >
    how do solve their?

    hi
    i used your recommendation and set %WL_HOME%\common\bin\*commEnv.cmd to my path
    in this case when i am starting service of my server from windows Service console
    and then checked Deployment Files on my server
    i saw my EAR File could not start and it state was failed
    when i started from weblogic console
    it had error deploying time
    that error was :
    weblogic.common.ResourceException: weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was: Locale not recognized
    how do i solve it
    regards
    aghaluie

  • JMS resource not located when starting Weblogic 8.1 as windows service

    I have a Weblogic 8.1 cluster which I am trying to configure as a Windows service.
              The managed servers startup up without errors when started from the command line, but when I start it up as a service they do not seem to find the JMSConnectionFactory that has been configured.
              Any ideas on what I am missing ?
              Malini

    Can you post the error message? Are your custom connection factories targeted to the cluster?

  • Unable to start Latitude Studio as a Windows Service

    I installed endeca-portal-2.2.2 on 64 bit windows server.
    It is working fine if I manually start the portal's Tomcat instance.
    But I am unable to start as a Windows Service.
    I followed the directions in "Running Latitude Studio as a Windows Service" in the Installation Guide.
    But I am getting the following error.
    [2012-09-20 06:18:27] [info] Commons Daemon procrun (1.0.2.0) started
    [2012-09-20 06:18:27] [info] Running Service...
    [2012-09-20 06:18:27] [info] Starting service...
    [2012-09-20 06:18:27] [206 javajni.c] [error] %1 is not a valid Win32 application.
    [2012-09-20 06:18:27] [985 prunsrv.c] [error] Failed creating java D:\Endeca\Latitude\2.2.2\Studio\endeca-portal\tomcat-6.0.29\jre1.6.0_21\win\bin\server\jvm.dll
    [2012-09-20 06:18:27] [1280 prunsrv.c] [error] ServiceStart returned 1
    [2012-09-20 06:18:27] [info] Run service finished.
    Any help will be greatly appreciated.

    What version of the Apache tomcat zip did you extract the service.bat, tomcat6.exe and tomcat6w.exe? It looks like you are using the default java install, and the services is trying to start using the 64bit tomcat.exe.
    Pete

  • Failed to start applications after deployed as Windows service.

    I deployed Administration server as a Windows service. Started Administration server in Windows Serivices control panel. The applications FMW Welcome Page Application (11.1.0.0.0), DMS Application (11.1.1.1.0) failed. I also installed adf-richclient-demo, this application in prepared status.
    It reported "java.lang.ClassNotFoundException: oracle.dms.wls.DMSServletFilter", when I tried to start the applications. However the applications are Ok by starting Administration server with domain\bin\startWebLogic.cmd.
    Do any one know how to solve the issue?
    Thanks!

    I asume you are using NodeManager to start AdminServer when you says "I deployed Administration server as a Windows service".
    If so, make sure the jar file (jar that contains oracle.dms.wls.DMSServletFilter class) is added to CLASSPATH, that NodeManager uses to start the server. Node Manager starts a Server using the startup arguments configured for the Managed Server in the Server—>Configuration—>Server Start tab.
    I suggest restart the NodeManager when you modify this properties.
    Check [http://e-docs.bea.com/wls/docs81/adminguide/nodemgr.html#1144313]

  • How to start JMS Grid daemon as Windows service

    In JMS Grid 5.1.x documentation (3.2.3 Starting a Daemon), the preferred way to dameon on Windows is to start as an NT Service. But I couldn't find the way of doing this. Does anyone know if and how this can be done?
    Thanks in advance!

    I'm replying to myself .... ;-) ahah
    All we need for this purpose is JavaService, at link
    http://www.alexandriasc.com/software/JavaService/index.html

  • SAP Business Connector on Windows XP

    I've been trying to get the SAP Business Connector 4.7 to work on Windows XP professional but haven't been very successful. The business connector seems to install okay, but when I try to start the business connector through the server.bat file it generates the following errors:
    (loglevel = 4) 
    Loading WmPartners package
    00000E  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.EmailTransport:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.EmailTransport
    00000F  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:saveMessage: [B2BSERV.0026.9106] No method saveMessage in class wm.PartnerMgr.xtn.admin
    000010  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:view: [B2BSERV.0026.9106] No method view in class wm.PartnerMgr.xtn.admin
    000011  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.admin:saveRoutingRule: [B2BSERV.0026.9106] No method saveRoutingRule in class wm.PartnerMgr.gateway.admin
    000012  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.admin:convertWildCards: [B2BSERV.0026.9106] No method convertWildCards in class wm.PartnerMgr.gateway.admin
    000013  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.B2B:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.B2B
    000014  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:editStore: [B2BSERV.0026.9106] No method editStore in class wm.PartnerMgr.xtn.admin
    000015  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.FTPTransport:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.FTPTransport
    000016  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:invokeViewService: [B2BSERV.0026.9106] No method invokeViewService in class wm.PartnerMgr.xtn.admin
    000017  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:viewMsgContent: [B2BSERV.0026.9106] No method viewMsgContent in class wm.PartnerMgr.xtn.admin
    000018  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.admin:updateTransports: [B2BSERV.0026.9106] No method updateTransports in class wm.PartnerMgr.gateway.admin
    000019  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.admin:invokeService: [B2BSERV.0026.9106] No method invokeService in class wm.PartnerMgr.gateway.admin
    00001A  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.xtn.admin:log: [B2BSERV.0026.9106] No method log in class wm.PartnerMgr.xtn.admin
    00001B  [B2BSERV.0028.0005] Loading SAP package
    00001C  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.RFC:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.RFC
    00001D  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.BAPI:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.BAPI
    00001E  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.XML:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.XML
    00001F  [B2BSERV.0026.0002] Failure while loading service sap.bapi:encodeToFile: [B2BSERV.0026.9106] No method encodeToFile in class com.wm.pkg.sap.bapi.BusinessDocumentCoder
    000020  [B2BSERV.0026.0002] Failure while loading service sap.bapi.Mapper:bapi2rfc: [B2BSERV.0026.9104] Missing class sap.bapi.Mapper
    000021  [B2BSERV.0026.0002] Failure while loading service sap.bapi.Mapper:rfc2bapi: [B2BSERV.0026.9104] Missing class sap.bapi.Mapper
    000022  [B2BSERV.0026.0002] Failure while loading service sap.bapi.Mapper:bapi2ale: [B2BSERV.0026.9104] Missing class sap.bapi.Mapper
    000023  [B2BSERV.0026.0002] Failure while loading service sap.admin:listGatewayServices: [B2BSERV.0026.9106] No method listGatewayServices in class sap.admin
    000024  [B2BSERV.0026.0002] Failure while loading service sap.bapi.Mapper:ale2bapi: [B2BSERV.0026.9104] Missing class sap.bapi.Mapper
    000025  [B2BSERV.0026.0002] Failure while loading service wm.PartnerMgr.gateway.transport.ALE:startup: [B2BSERV.0026.9106] No method startup in class wm.PartnerMgr.gateway.transport.ALE
    000026  [B2BSERV.0028.0005] Loading WmSamples package
    000027  [B2BSERV.0028.0026] Warning: Deprecated service type (webtap) in service sample.webtap:logApp in package WmSamples
    000028  [B2BSERV.0028.0005] Loading WmDB package
    These errors don't stop the business connector from starting up, but the errors are not normal behaviour. When I try to start the business connector through a Windows service then I get the message "Could not start the SAP Business Connector Service on Local Computer. Error 126: The specified module could not be found".
    I have a working business connector installation on a Windows 2000 server, and when I checked the error log of that installation I noticed that it had logged the same errors about the 'WmPartners' package. It on the other hand didn't have any problems loading the 'SAP' package.
    I tried installing the business connector on two different systems with identical results. Has anybody been able to get the business connector to work on Windows XP?

    HI,
    I have no idea clearly about BC.. but ..
    See the following links.. may be helpfull..
    Business connector
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a8609b90-0201-0010-c6bc-a41b611c6dac
    SAP Business Connector on Windows XP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/92e5bd90-0201-0010-b799-dfdc27f3100a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a8424011-0d01-0010-e19d-e5bd8ca52244
    If usefull .. points rewarded..
    Regards
    Chilla..

  • Starting Admin Server with SSL as Windows service

    Using Admin Server 5.2, SP3:
    How (or can) I start the admin server as windows service after enabling SSL? When I try to start it as a service, I get prompted with a dialog box for the cert/key database password, but I want this start seemlessly. I tried creating a text file containing the password (as advised for normal directory server) - of the form: admin-serv-<inst>-pin.txt in the /alias subdirectory, containing the line "internal (software) Token:<password>", but this did not work - I still get the dialog box prompt.
    Do I need to put this password file somewhere else? Do I need tweak something to make this work? Or is it impossible to start the admin server seemlessly as a service after enabling SSL?
    Thx.
    R

    Hi Gary-
    Thanks for responding. I tried making the file read-only in Windows, but it yielded the same result. I also tried different combinations of removing spaces and new-line inside the file, all to no avail.
    I think this is a different beast than the slapd server - the admin server is actually an 'ns-httpd' process; Since I saw that this was the case, I also tried updating the <server-root>\admin-serv\config\magnus.conf by adding an SSLPassPhraseDialog directive to a command that echo'ed back the password, but I just got a warning that this directive was ignored.
    Any other thoughts? Does anyone else even try securing the admin server?

  • Can we start JavaWebStart Application as Windows service

    Hi,
    Can we have JavaWebStart application as windows service?
    Thanks
    LeoSun

    Hi LeoSun,
    I dont exactly how to start this is as a window service, but if your requirement is just to start your application when the machine boots,
    then you can create a shortcut for ur webstart app, using the jnlp tag <shortcut>
    then add this shortcut to your windows startup folder.

  • Windows service write to event log

    Have strange conduct of code within my application. I've created windows service the same as according to MSDN default instruction:
    https://msdn.microso...=vs.110%29.aspx
    its working and logging to event log correctly. After that i copied that project and based on it i started to create second one almost similar one. my issue is within below part of code belongs to ProjectInstaller.vb when i installed it and tried to Start i
    get message that Windows service started and stoped imedietly.
    Imports System.ComponentModel
    Imports System.Configuration.Install
    Public Class ProjectInstaller
    Public Sub New()
    MyBase.New()
    'This call is required by the Component Designer.
    InitializeComponent()
    'Add initialization code after the call to InitializeComponent
    End Sub
    Protected Overrides Sub OnBeforeInstall(ByVal savedState As IDictionary)
    Dim parameter As String = "MySvcDeon2"" ""MyLogFileSvcDeon2"
    Context.Parameters("assemblypath") = """" + Context.Parameters("assemblypath") + """ """ + parameter + """"
    MyBase.OnBeforeInstall(savedState)
    End Sub
    End Class
    Within this line: Dim parameter As String = "MySvcDeon2"" ""MyLogFileSvcDeon2"
    When i change it to this form then service its starting correctly without any error meassage:
    Dim parameter As String = "MySvcDeon1"" ""MyLogFileSvcDeon1"
    its working. But Deon2 is already created by my first windows service. Whats wrong?

    i also tried from official msdn site  but same error, anyhow, see my code below:
    ProjectInstaller.vb:
    Imports System.ComponentModelImports System.Configuration.InstallPublic Class ProjectInstaller    Public Sub New()        MyBase.New()        'This call is required by the Component Designer.        InitializeComponent()        'Add initialization code after the call to InitializeComponent    End SubEnd Class
    ProjectInstaller.Designer.vb
    <System.ComponentModel.RunInstaller(True)> Partial Class ProjectInstaller    Inherits System.Configuration.Install.Installer    'Installer overrides dispose to clean up the component list.    <System.Diagnostics.DebuggerNonUserCode()> _    Protected Overrides Sub Dispose(ByVal disposing As Boolean)        Try            If disposing AndAlso components IsNot Nothing Then                components.Dispose()            End If        Finally            MyBase.Dispose(disposing)        End Try    End Sub    'Required by the Component Designer    Private components As System.ComponentModel.IContainer    'NOTE: The following procedure is required by the Component Designer    'It can be modified using the Component Designer.      'Do not modify it using the code editor.    <System.Diagnostics.DebuggerStepThrough()> _    Private Sub InitializeComponent()        Me.ServiceProcessInstaller1 = New System.ServiceProcess.ServiceProcessInstaller()        Me.ServiceInstaller1 = New System.ServiceProcess.ServiceInstaller()        '        'ServiceProcessInstaller1        '        Me.ServiceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem        Me.ServiceProcessInstaller1.Password = Nothing        Me.ServiceProcessInstaller1.Username = Nothing        '        'ServiceInstaller1        '        Me.ServiceInstaller1.Description = "Chorus windows service collector"        Me.ServiceInstaller1.DisplayName = "SvcChorusCollector"        Me.ServiceInstaller1.ServiceName = "SvcChorusCollector"        Me.ServiceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic        '        'ProjectInstaller        '        Me.Installers.AddRange(New System.Configuration.Install.Installer() {Me.ServiceProcessInstaller1, Me.ServiceInstaller1})    End Sub    Friend WithEvents ServiceProcessInstaller1 As System.ServiceProcess.ServiceProcessInstaller    Friend WithEvents ServiceInstaller1 As System.ServiceProcess.ServiceInstallerEnd Class
    SvcChorusCollector.vb:
    Public Class SvcChorusCollector
        Private Const EvtLogSource As String = "MySourceSvcChorusCollector"
        Private Const EvtLogName As String = "MyLogSvcChorusCollector"
        Private syncRoot As New Object
        Dim timer As System.Timers.Timer = New System.Timers.Timer()
        Sub New()
            ' This call is required by the designer.
            InitializeComponent()
            ' Add any initialization after the InitializeComponent() call.
            If Not System.Diagnostics.EventLog.SourceExists(EvtLogSource) Then
                System.Diagnostics.EventLog.CreateEventSource(EvtLogSource, EvtLogName)
            End If
            EventLog1.Source = EvtLogSource
        End Sub
        Protected Overrides Sub OnStart(ByVal args() As String)
            ' Add code here to start your service. This method should set things
            ' in motion so your service can do its work.
            EventLog1.WriteEntry("In OnStart")
            ' Set up a timer to trigger every minute.
            timer.Interval = 1000 ' 1 seconds
            'unfortunetly OnTimer event handler will be executed even already one is running if Interval is riched by default.
            'This is because it will go multiple threading and not in main thread unless a SynchronizingObject is supplied. (Which it wasn't.) below :
            'timer.SynchronizingObject = Me
            'this is solving problem. OTher way is to make lock within OnTimer event handler as its done right now.
            AddHandler timer.Elapsed, AddressOf Me.OnTimer
            timer.Start()
        End Sub
        Protected Overrides Sub OnStop()
            ' Add code here to perform any tear-down necessary to stop your service.
            EventLog1.WriteEntry("In OnStop")
        End Sub
        Protected Overrides Sub OnContinue()
            EventLog1.WriteEntry("In OnContinue.")
        End Sub
        Private Sub OnTimer(ByVal sender As Object, ByVal e As Timers.ElapsedEventArgs)
        End Sub
    End Class
    SvcChorusCollector.Designer.vb
    Imports System.ServiceProcess<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _Partial Class SvcChorusCollector    Inherits System.ServiceProcess.ServiceBase    'UserService overrides dispose to clean up the component list.    <System.Diagnostics.DebuggerNonUserCode()> _    Protected Overrides Sub Dispose(ByVal disposing As Boolean)        Try            If disposing AndAlso components IsNot Nothing Then                components.Dispose()            End If        Finally            MyBase.Dispose(disposing)        End Try    End Sub    ' The main entry point for the process    <MTAThread()> _    <System.Diagnostics.DebuggerNonUserCode()> _    Shared Sub Main()        Dim ServicesToRun() As System.ServiceProcess.ServiceBase        ' More than one NT Service may run within the same process. To add        ' another service to this process, change the following line to        ' create a second service object. For example,        '        '   ServicesToRun = New System.ServiceProcess.ServiceBase () {New Service1, New MySecondUserService}        '        ServicesToRun = New System.ServiceProcess.ServiceBase() {New SvcChorusCollector}        System.ServiceProcess.ServiceBase.Run(ServicesToRun)    End Sub    'Required by the Component Designer    Private components As System.ComponentModel.IContainer    ' NOTE: The following procedure is required by the Component Designer    ' It can be modified using the Component Designer.      ' Do not modify it using the code editor.    <System.Diagnostics.DebuggerStepThrough()> _    Private Sub InitializeComponent()        Me.EventLog1 = New System.Diagnostics.EventLog()        CType(Me.EventLog1, System.ComponentModel.ISupportInitialize).BeginInit()        '        'EventLog1        '        '        'SvcChorusCollector        '        Me.ServiceName = "SvcChorusCollector"        Me.CanStop = True                   'if this is not set to true then will be not possible to stop service manually from service window services.msc !!!        Me.AutoLog = True        CType(Me.EventLog1, System.ComponentModel.ISupportInitialize).EndInit()    End Sub    Friend WithEvents EventLog1 As System.Diagnostics.EventLogEnd Class
    The second service is on same basis, of course service names, source,logname are diffrent. What i do wrong? Error message appearing really fast after ~8 sec

Maybe you are looking for