2 Replies Latest reply on Apr 2, 2013 1:28 PM by Zachary Yadamec

    Issue running RHQ Agent as a Windows Service

    Zachary Yadamec Newbie

      I am starting to deploy RHQ 4.5.1 on my windows 2003 enviorment.  When I start the agent as a console app, it runs just fine, but once I run the agent as a service it seems to stall(Logs below).  The service is set to run as the Local System account and I have also tried an admin level service account with the same results.  I have tried rebuilding and reinstalling the services.  I have a feeling I have looked over something simple, but just cant find it.  Any sugestions would be useful. 

       

       

      Agent.log

      2013-04-02 11:38:37,700 INFO  [WrapperSimpleAppMain] (org.rhq.enterprise.agent.AgentMain)- {AgentMain.identify-version}Version=[RHQ 4.5.1], Build Number=[c880f5a], Build Date=[Oct 2, 2012 4:08 PM]

      2013-04-02 11:38:37,762 INFO  [WrapperSimpleAppMain] (org.rhq.enterprise.communications.ServiceContainer)- {ServiceContainer.global-concurrency-limit-disabled}Global concurrency limit has been disabled - there is no limit to the number of incoming commands allowed

      2013-04-02 11:38:38,450 INFO  [WrapperSimpleAppMain] (org.rhq.enterprise.communications.ServiceContainer)- {ServiceContainer.started}Service container started - ready to accept incoming commands

      2013-04-02 11:39:38,482 INFO  [WrapperSimpleAppMain] (org.rhq.enterprise.agent.AgentMain)- {AgentMain.waiting-to-be-registered-begin}The agent will now wait until it has registered with the server...

       

       

      rhq-agent-wrapper.log

      STATUS | wrapper  | 2013/04/02 11:38:36 | --> Wrapper Started as Service

      STATUS | wrapper  | 2013/04/02 11:38:36 | Launching a JVM...

      INFO   | jvm 1    | 2013/04/02 11:38:37 | Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org

      INFO   | jvm 1    | 2013/04/02 11:38:37 |

      INFO   | jvm 1    | 2013/04/02 11:38:37 | RHQ 4.5.1 [c880f5a] (Tue Oct 02 16:08:57 CDT 2012)

      INFO   | jvm 1    | 2013/04/02 11:39:38 | The agent will now wait until it has registered with the server...

       

       

      SET output

      ALLUSERSPROFILE=C:\Documents and Settings\All Users

      APPDATA=C:\Documents and Settings\admzyadamec\Application Data

      CLIENTNAME=WISK21430003

      ClusterLog=C:\WINDOWS\Cluster\cluster.log

      CommonProgramFiles=C:\Program Files\Common Files

      COMPUTERNAME=USMTNZ-DFINWI05

      ComSpec=C:\WINDOWS\system32\cmd.exe

      FP_NO_HOST_CHECK=NO

      HOMEDRIVE=C:

      HOMEPATH=\Documents and Settings\admzyadamec

      JAVA_HOME=E:\Programs\Java\jdk170_15

      JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.crimson.jaxp.Document

      BuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.crimson.jaxp.

      SAXParserFactoryImpl

      LDMS_LOCAL_DIR=C:\Program Files\LANDesk\LDClient\Data

      LOGONSERVER=\\USMTNZ-PINFDC07

      NUMBER_OF_PROCESSORS=1

      OS=Windows_NT

      Path=E:\Programs\Java\jdk170_15\bin;E:\Programs\Java\jdk170_15\lib;E:\Programs\o

      racle\product\10.2.0\client_1\bin;E:\Programs\oracle\product\10.2.0\client_1\;E:

      \Programs\Java\jdk1.5.0_16\bin;E:\Programs\Java\jdk1.5.0_16\lib;E:\Programs\orac

      le\ora92\bin;E:\Programs\CYGWIN\bin;C:\WINDOWS\system32\;C:\WINDOWS\system32;C:\

      WINDOWS;C:\WINDOWS\System32\Wbem;E:\Programs\Java\j2sdk1.4.2_06\lib;C:\WINDOWS\s

      ystem32\WindowsPowerShell\v1.0;C:\Program Files\System Center Operations Manager

      2007\;C:\WINDOWS\system32\WindowsPowerShell\v1.0

      PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PSC1;.PSC1

      PROCESSOR_ARCHITECTURE=x86

      PROCESSOR_IDENTIFIER=x86 Family 6 Model 26 Stepping 5, GenuineIntel

      PROCESSOR_LEVEL=6

      PROCESSOR_REVISION=1a05

      ProgramFiles=C:\Program Files

      PROMPT=$P$G

      PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\

      RHQ_AGENT_HOME=E:\Programs\rhq-agent

      RHQ_AGENT_JAVA_HOME=E:\Programs\Java\jdk170_15

      SESSIONNAME=RDP-Tcp#13

      SystemDrive=C:

      SystemRoot=C:\WINDOWS

      windir=C:\WINDOWS