I have tried the change you recommended :
my config now looks like this :
%SERVICE_NAME%.exe //IS//%SERVICE_NAME% --Startup=auto --JvmOptions=-Xrs;-XX:PermSize=128M;-XX:MaxPermSize=256M;-Xbootclasspath/p:"%APM_HOME_DIR%\connectors\AutoProbeConnector.jar;%APM_HOME_DIR%\Agent.jar";-
Dcom.wily.introscope.agentProfile="%APM_HOME_DIR%\core\config\IntroscopeAgent.profile";-Xms3072M;-Xmx3072M;-Dlogback.configurationFile="%CLIENT_SOLUTION%\conf\system\logback.xml";-
Dclient.solution.home="%CLIENT_SOLUTION%";-Dib.home="%IB_HOME%";-Duser.dir="%CLIENT_SOLUTION%";-Dgroovy.source.encoding=UTF-8;-Dderby.stream.error.file="%DERBY_LOG%";%BOOTSTRAP_DEBUG_OPT%;%SECURITY_POLICY_OPT%;
--Jvm=auto --Classpath="%IB_HOME%\lib\core\enterprise-bootstrap.jar";"%IB_HOME%\bin";"%CLIENT_SOLUTION%\conf\system" --StartPath="%IB_HOME%\lib\core" --StartClass=com.experian.eda.enterprise.startup.Bootstrap --
StartParams=-fa;"%CLIENT_SOLUTION%\conf\system\camel-context.xml"; --StartMode=jvm --StopPath="%IB_HOME%\lib\core" --StopClass=com.experian.eda.enterprise.startup.Bootstrap --StopMethod=stopApplication --
StopMode=jvm --StopTimeout=0 --LogPrefix=service --StdOutput=auto --StdError=auto --LogPath="%CLIENT_SOLUTION%\logs\service" --LogLevel=Info --JavaHome="C:\Program Files\Java\jre7"
@echo Successfully installed Connectivity service.
The batch file runs successfully and we can now see the entries on separate lines in the registry but now the "E:\apm\Agent.jar is on a separate line.
-Xrs
-XX:PermSize=128M
-XX:MaxPermSize=256M
-Xbootclasspath/p:E:\apm\connectors\AutoProbeConnector.jar
E:\apm\Agent.jar
-Dcom.wily.introscope.agentProfile=E:\apm\core\config\IntroscopeAgent.profile
-Xms3072M
-Xmx3072M
-Dlogback.configurationFile=E:\Experian\PCE_CON_Solution\conf\system\logback.xml
-Dclient.solution.home=E:\Experian\PCE_CON_Solution
-Dib.home=E:\Experian\PowerCurve\Connectivity\Connectivity v1.2SP6
-Duser.dir=E:\Experian\PCE_CON_Solution
-Dgroovy.source.encoding=UTF-8
-Dderby.stream.error.file=E:\Experian\PCE_CON_Solution\logs\derby.log
The Service fails to start - no logs
If i then add single quotations between the following : -Xbootclasspath/p:"%APM_HOME_DIR%\connectors\AutoProbeConnector.jar';'%APM_HOME_DIR%\Agent.jar";
I then get the following output in the registry :
-Xrs
-XX:PermSize=128M
-XX:MaxPermSize=256M
-Xbootclasspath/p:E:\apm\connectors\AutoProbeConnector.jar;E:\apm\Agent.jar
-Dcom.wily.introscope.agentProfile=E:\apm\core\config\IntroscopeAgent.profile
-Xms3072M
-Xmx3072M
-Dlogback.configurationFile=E:\Experian\PCE_CON_Solution\conf\system\logback.xml
-Dclient.solution.home=E:\Experian\PCE_CON_Solution
-Dib.home=E:\Experian\PowerCurve\Connectivity\Connectivity v1.2SP6
-Duser.dir=E:\Experian\PCE_CON_Solution
-Dgroovy.source.encoding=UTF-8
-Dderby.stream.error.file=E:\Experian\PCE_CON_Solution\logs\derby.log
The bat is sucessfully run and the service starts however i now see this entry in the logs :
2015-05-12 08:38:10 Commons Daemon procrun stderr initialized
Unrecognized option: E:\apm\Agent.jar
2015-05-12 08:44:55 Commons Daemon procrun stderr initialized
May 12, 2015 8:45:43 AM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass