DAC Server As Windows Service in 7.6.1

Hi Everyone,
I hope this is an easy question. I was hoping to start the DAC Server on a Windows Server 2003 64bit OS as a service. When I run startserver.bat and log off, the DAC Server dies and I don't want to leave a user logged in all the time so I would like to run the DAC Server as a Windows Service.
I found this blog: http://obiee-tips.blogspot.com/2010/06/dac-server-as-service-in-101341.html
He shows me how to do it using that javaservice command, which I'm not entirely opposed to, however, is this the correct way to do it? Is it supported by Oracle?
I couldn't find anything to in the documentation that indicated the correct route to take. Ironcially, it shows how to nohup on Unix/Linux but it doesn't show the equivilent for windows. Were they just being lazy?
Thanks for the help.
-Joe

Joe,
In most of OBIEE/OBIA implementations, I have seen customers using javaservice to setup OC4J & DAC server as a Windows service. I never heard of any objections from Oracle, but used to let the client know that this was not a part of Oracle Documentation.
DAC Server as Windows Service
call config.bat
javaservice -install "Oracle BI DAC Server Service" "<Java path>\jre\bin\client\jvm.dll" -Xms256m -Xmx1024m "-Djava.class.path=%DAC_CLASSPATH%"
"-Duser.dir=%DAC_HOME%" -start com.siebel.etl.net.QServer -description "Oracle BI DAC Server Service"
Regards,

Similar Messages

  • SQL Server Agent Windows Service

    I have created a override for parameter, Alert only if service startup type is automatic in monitor SQL Server Agent Windows Service to false, as my SQL Admin informs that this service startup type is Manual. As SQL servers are clustered, even SQL agent
    service runs on even node and odd SQL agent service runs on the odd node. Should this resolve the issue my SQL Admin's are complaining they were not receiving notifications for SQL Agent stopping. Or, should it create noise as I should expect alerts from odd
    SQL Agent service that are not running on even node and vice versa.
    From SQL Server end,
    Thanks, Harry :-)

    Hi,
    The below article should be helpful:
    Monitoring Clusters by Using Operations Manager
    http://technet.microsoft.com/en-us/library/hh212773.aspx
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Running Weblogic managed server as Windows service

    Hi,
    i'm using Weblogic 6.0 SP2 and i'm trying to run Managed Server as windows
    service (i'm using Win2k). I use a pretty long CLASSPATH in order to run my
    WebApplication and it looks like beasvc.exe truncates my CLASSPATH - that
    way my application wouldn't work.
    Is there any workaround to my problem ?
    Thanks alot for any help,
    Bybye.

    Windows has a command line limitation of 2K.
    Since you invoke beasvc.exe from command line, it will obviously get's
    truncated
    1)
    One work around will be to set the registry manually after invoking
    the beasvc.exe
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
    <service-name>\Parameters
    Alter cmdLine parameter to include everything. After this if you start
    the service, it should work.
    2)
    Put all the classpath in a file called C:/temp/foo.tmp (since classpath is
    long)
    Invoke beasvc.exe with cmdLine set as
    -cmdLine:... -classpath "@C:/temp/foo.tmp ...
    Since jvm pulls the classpath from the file, this should also solve your
    problem.
    Sun VM's support this feature as of 1.2 and above.
    Kumar
    Evgenya Borisenko wrote:
    Hi,
    i'm using Weblogic 6.0 SP2 and i'm trying to run Managed Server as windows
    service (i'm using Win2k). I use a pretty long CLASSPATH in order to run my
    WebApplication and it looks like beasvc.exe truncates my CLASSPATH - that
    way my application wouldn't work.
    Is there any workaround to my problem ?
    Thanks alot for any help,
    Bybye.

  • 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

  • How to create a client console to connect to server in windows service using c#

    my code is error
    can you check the code please
    client console code
    partial class Program : ServiceBase
            public static void Main(string[] args)
                serverservice ss = new serverservice();
                ss.myserver();
                    TcpClient tcpc = new TcpClient();
                    Console.WriteLine("connecting.......");
                    tcpc.Connect("10.128.1.116", 80);
                    Console.WriteLine("connected........");
                    Console.Write("enter msg to be transimitt");
                    string str = Console.ReadLine();
                    Stream stm = tcpc.GetStream();
                    ASCIIEncoding asc = new ASCIIEncoding();
                    byte[] ba = asc.GetBytes(str);
                    Console.WriteLine("transmitting..........");
                    stm.Write(ba, 0, ba.Length);
                    byte[] bb = new byte[100];
                    int k = stm.Read(bb, 0, 100);
                    for (int i = 0; i < k; i++)
                        Console.Write(Convert.ToChar(bb[i]));
                    tcpc.Close();
                windows service for server code is
      public partial class serverservice : ServiceBase
            public serverservice()
                InitializeComponent();
            protected override void OnStart(string[] args)
                myserver();
               Thread mythread = new Thread(new ThreadStart(myserver));
                 mythread.Start();
            public void myserver()
                char d;
                IPAddress ipad1 = IPAddress.Parse("10.128.1.116");
                TcpListener tcpc = new TcpListener(ipad1, 80);
                tcpc.Start();
               // System.Diagnostics.Process.Start(@"C:\Users\PC\Documents\Visual Studio 2010\Projects\WindowsFormsApplication1\webs\webs\clientconsole\clientconsole\bin\Debug\clientconsole.exe");
                Console.WriteLine("server is running at port 80");
                Console.WriteLine("local end point is" + tcpc.LocalEndpoint);
                Console.WriteLine("waiting for connection");
              // var client=new TestExecutionEngine
                Socket s = tcpc.AcceptSocket();
                Console.WriteLine("connection is accepted from" + s.RemoteEndPoint);
                byte[] b = new byte[100];
                int k = s.Receive(b);
                Console.WriteLine("received");
                for (int i = 0; i < k; i++)
                    d = Convert.ToChar(b[i]);
              Console.WriteLine(char.ToUpper(d));
                ASCIIEncoding asc = new ASCIIEncoding();
                s.Send(asc.GetBytes("msg is recveived"));
                Console.WriteLine("\n send aknwldge");
                s.Close();
                tcpc.Stop();
               protected override void OnStop()
                EventLog.WriteEntry("stopped");

    kavya --
    You have erroneously posted this question in a user forum dedicated to questions about Project Online, an enterprise project management application.  I would recommend you repost your question in a user forum that deals with C sharp programming questions. 
    Hope this helps.
    Dale A. Howard [MVP]

  • BPEL server as Windows Service

    Hi there,
    Can you tell me how to install the BPEL server (OC4J) as a Windows Service so that it can be started and stopped through the Windows ServiceManager.
    I cant find any documentation about this.....
    thx
    Mark

    Hallo Edwin,
    I´m also trying to install the BPEL Server as a Windows Serivce with Windows XP. Are there any samples, that show how to do that? The solution that is provided here is quite uncomfortable.
    Thanks for any help.
    Kay

  • SQL server Analysis Windows service Alerts on cluster nodes

    Hi,
    I was wondering if others may be experiencing the same issue with the SQL Server MP.
    We are monitoring SQL server Analysis Service using monitor SQL Server Analysis Service Windows Service.
    We had overrided “Alert only if service startup type is automatic”
    option to false.
    It will create the false alerts from the other nodes in the cluster on which service is not running, but since it's in clustered configuration, it should not generate alerts from other node as it's running on another node on the same cluster.
    Please share if anyone has been through this issue and any remediation for this kind of issue.
    Regards,
    Daya Ram

    Hi,
    Here is a similar thread for your reference, in the thread, this issue has been confirmed as bug, and the poster provided a work arround for it, please try the work around:
    Problem with the discovery of clustered SQL Server Analysis Services objects
    http://social.technet.microsoft.com/Forums/en-US/ead946fd-38d1-4627-b60d-a5645d3627fb/problem-with-the-discovery-of-clustered-sql-server-analysis-services-objects?forum=operationsmanagergeneral
    Hope this helps.
    Regards,
    Yan Li
    Regards, Yan Li

  • 10.3 registering Admin and Managed server as windows service.

    I have not found anything in the new documentation on how to do this which left me wondering if there is a reason it was omitted? I found procedures from the 8.1 docs but would rather have something more up to date. I'm installing on win 2003 server. Thank you.
    Edit: I found the installSvc.cmd script in the %wlshome%\server\bin directory and tried it. According to instructions you set SERVER_NAME and then call the script. It seems to install the services ok but when I start them they stop immediately with no specific errors in event viewer.

    Dear,
    I assume you now have at least 3 windows services:
    -node manager service
    -adminserver service
    -1 or more service for your managed servers (which start after adminserver service)
    All of them start on system startup.
    My question: If let's say one managed server crashes, is it then automatically restarted by the nodemanager? Since the managed server is not started by node manager itself, I guess the answer is no. If so, what is the usage of having nodemanager running as a service?
    Thanks.

  • How to set Essbase Administration Server as Windows service?

    Hi,I have installed the Essbase Admin Services 7.1.0.0 Build 261 under Tomcat application server. Now from Start menu I have to select "Start Administration Server". Is there any way to set this option as Windows Service.My system:Windows 2003 SP1,Essbase 7.1.0,Essbase Admin Services 7.1.0.0 Build 261Thanks,Grofaty

    This information is in the Install Guide that comes with EAS.Running EAS as a Windows service is an option you can select when you install it. If you did not do that, you can set it up to run as service by doing the following: (From the EAS Install Guide)----------------------------------------Adding Administration Server as a Windows ServiceYou can add Administration Server as a Windows service, even if it was not installed as a Windows service.?To add Administration Server to the list of Windows services:1. From a command prompt, navigate to the following directory: EASPATH\eas\server\bin2. Run the following command: install_service.batAdministration Services installs the Windows service as Hyperion-Essbase_Administration_Server Windows service. A message displayed in the command prompt window indicates that the service is installed.3. Start the Hyperion-Essbase_Administration_Server Windows service. See ?Starting the Administration Server Windows Service? on page 49.The Hyperion-Essbase_Administration_Server Windows service is set to start automatically each time you reboot.

  • Start DAC Server on Windows

    I have installed DAC 11g on windows32 bit(winodws 7) but I coouldn't able to start the server in windows. In All Programs I can see only client application under Oracle Business Intelligence Data Warehouse Administration Console 11g folder. I cannot see start server/stop server which used to come in DAC 10g.
    I tried to start the server from windows batch file startserver but it's showing an error windows cannot find '-server'. Make sure you tyoed the name correctly, and then try again.
    Could any please come guide me one above issue. Thanks in advance.

    Hi,
    startserver.bat call another file (config.bat)
    Make sure DAC home and Java Home are set properly in it.
    In my cause following config worked in config.bat file.
    set JAVA_HOME=C:\Progra~1\Java\jdk1.6.0_25
    set DAC_HOME="E:\DAC\dac"
    Make sure you have installed proper version of JDK (i.e 64bit version for 64 bit OS)
    Thanks
    Naeem Akhtar

  • Start WebLogic Server as windows service !

    hello,
    How can setup WebLogic 8.1 to start as a windows service in win2000?

    Please see this link:
    http://e-docs.bea.com/wls/docs81/adminguide/winservice.html#1190977
    Thanks,
    Vishwas

  • Problem running DAC Server as Service on Windows

    I have used JavaService to setup the DAC server as a service on my Windows 2003 server. It seems to install and then start fine. The DAC client sees the server as running. But as soon as I try to execute an ETL the run fails immediately with " Unable to ping :'srn_integration_service', that being the name of my Informatica server as defined. I can then shutdown the service, start the server using the BAT file and the ETL runs as expected. I am creating the JavaService command line with the following BAT file which uses the same configuration as the startserver BAT file:
    cd C:\OracleBi\DAC\bifoundation\dac
    call config.bat
    javaservice -install "DAC Server Service" "%JAVA_HOME%\jre\bin\client\jvm.dll" -Xms256m -Xmx1024m "-Djava.class.path=%DACCLASSPATH%" "-Duser.dir=%DAC_HOME%" -start com.siebel.etl.net.QServer -current "C:\OracleBI\DAC\bifoundation\dac" -description "Oracle BI DAC Server Service"
    The DAC version from the console is "Dac Build AN 10.1.3.4.1.20090415.0146, Build date: April 15 2009"
    I know people are doing this successfully so I am probably overlooking something simple (I'm a DAC novice.) Any ideas?

    I create the service with this command:
    javaservice -install "Oracle BI: DAC Service" "C:\Java\jdk1.5.0_18\jre\bin\client\jvm.dll" -Xms256m -Xmx1024m "-Djava.class.path=C:\OracleBI\DAC\lib\ojdbc14.jar;C:\OracleBI\DAC\DAWSystem.jar;C:\OracleBI\;C:\OracleBI\DAC\lib\ant-1.6.5.jar;C:\OracleBI\DAC\lib\antlr-2.7.6.jar;C:\OracleBI\DAC\lib\ant-antlr-1.6.5.jar;C:\OracleBI\DAC\lib\asm.jar;C:\OracleBI\DAC\lib\asm-attrs.jar;c3p0-0.9.0.jar;C:\OracleBI\DAC\lib\cglib-2.1.3.jar;C:\OracleBI\DAC\lib\checkstyle-all.jar;C:\OracleBI\DAC\lib\cleanimports;C:\OracleBI\DAC\lib\concurrent-1.3.2.jar;C:\OracleBI\DAC\lib\connector.jar;C:\OracleBI\DAC\lib\dom4j-1.6.1.jar;C:\OracleBI\DAC\lib\ehcache-1.2.3.jar;C:\OracleBI\DAC\lib\hibernate3.jar;C:\OracleBI\DAC\lib\jaas.jar;C:\OracleBI\DAC\lib\jacc-1_0-fr.jar;C:\OracleBI\DAC\lib\javassist.jar;C:\OracleBI\DAC\lib\jaxen-1.1-beta-7.jar;C:\OracleBI\DAC\lib\jboss-cache.jar;C:\OracleBI\DAC\lib\jboss-common.jar;C:\OracleBI\DAC\lib\jboss-jmx.jar;C:\OracleBI\DAC\lib\jboss-system.jar;C:\OracleBI\DAC\lib\jdbc2_0-stdext.jar;C:\OracleBI\DAC\lib\jgroups-2.2.8.jar;C:\OracleBI\DAC\lib\jta.jar;C:\OracleBI\DAC\lib\junit-3.8.1.jar;C:\OracleBI\DAC\lib\log4j-1.2.11.jar;C:\OracleBI\DAC\lib\proxool-0.8.3.jar;C:\OracleBI\DAC\lib\versioncheck.jar;C:\OracleBI\DAC\lib\xerces-2.6.2.jar;C:\OracleBI\DAC\lib\xml-apis.jar;C:\OracleBI\DAC\lib\jsr173_api.jar;C:\OracleBI\DAC\lib\sjsxp.jar" "-Duser.dir=C:\OracleBI\DAC" -start com.siebel.etl.net.QServer -description "Oracle BI DAC Server Service"
    The only issue that I've encountered with this DAC Service is that Email Notification doesn't work.
    Best regards

  • 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

  • Install window services for managed server

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

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

  • I Would like to add Weblogic server 10.1 as windows service

    I have installed weblogic server 10.1 ,but I would like to add the Weblogic server as windows service .can you please help me out in briefing the steps for that. you earliest help is appreciated
    Regards
    Satya

    Curious as to why this continues in a Database forum when there is a completely separate forum for WLS at " Forum Home » Application Server » WebLogic Server - General "
    Not that I mind, but it seems to me that asking where there is a community of expertise williing to talk (instead of just Toni) might provide more, better and/or faster responses.

Maybe you are looking for

  • Rejeição do validador do GRC dos campos IND_PRES e IND_FINAL

    Bom dia, Estou implementando o layout 3.10 da NF-e e encontrei um problema na validação dos campos IND_PRES e IND_FINAL. O cliente possui SAP_APPL 600 SP 24. O problema é na chamada do método FILL_HEADER da BAdI CL_NFE_PRINT: antes da chamada do méto

  • Archive log gap is created is standby when ever audit trail is set to DB

    Hi I am a new dba. I am facing a problem at production server that whenever audit_trail parameter is set to db , archive log gap is created at the standby site. My database version is 10.2.0.4 Os is windows 2003 R2 Audit_trail parameter is set to db

  • Business Area - Reports - Urgent

    Hi, I have encountered a problem with business area wise document splitting. I have selected business area wise document splitting after posting values in the cost centers. now I need to assign business area in the cost center master data. Because of

  • Filter Gallery in CS5 diasabled

    Filter Gallery as well as some other contents (such as Artistic) are greyed out in CS5. How do I enable it?

  • WebBrowser Input data and get data

    I have been trying to get a complete example on the following Open facebook using the WebBrowser control in VB.net  Then, on the next page, enter all the form fields and  publish  page code: DIV class=innerWrap><TEXTAREA aria-haspopup=true style="HEI