Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Running RRC as a windows service.

I followed the instructions to execute RRC server as a windows service. Service starts fine and dont see any errors.

Only when I try to shutdown the process, I receive an error message:

"Error 109: The pipe has been ended."



Log4j contents:
################################
# File Appender #
################################
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=5
log4j.appender.file.File=D:/IBM_Jazz/IBM/RRCS20/server/logs/jazz.log
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{ISO8601} %5p %-50.50c - %m%n



RRC Service configuration:
Java Tab
JVM: D:\IBM_Jazz\IBM\RRCS20\server\jre\bin\j9vm\jvm.dll
Classpath: D:\IBM_Jazz\IBM\RRCS20\server\tomcat\bin\bootstrap.jar

Java Options:
-Dcatalina.base=D:\IBM_Jazz\IBM\RRCS20\server\tomcat
-Dcatalina.home=D:\IBM_Jazz\IBM\RRCS20\server\tomcat
-Djava.endorsed.dirs=D:\IBM_Jazz\IBM\RRCS20\server\tomcat\common\endorsed
-Djava.io.tmpdir=D:\IBM_Jazz\IBM\RRCS20\server\tomcat\temp
-DJAZZ_HOME=file:///D:/IBM_Jazz/IBM/RRCS20/server/conf
-Djava.awt.headless=true
-Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true
-Dcom.ibm.team.repository.tempDir=%TEMP%
-Dcom.ibm.team.jfs.app.servlet.useGzip=true
-Dcom.ibm.team.jfs.conf=file:///D:/IBM_Jazz/IBM/RRCS20/server/conf/rdm




Tomcat Standard Output:
Nov 19, 2010 11:53:22 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\IBM_Jazz\IBM\RRCS20\server\jre\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Windows\system32\windowspowershell\v1.0\;d:\program files\ibm\gsk7\bin;d:\program files\ibm\gsk7\lib;d:\tivoli\itm\bin;d:\tivoli\itm\bin\dll;d:\tivoli\itm\tmaitm6;d:\tivoli\itm\installitm;c:\program files\ibm\gsk8\lib64;D:\PROGRA~1\IBM\SQLLIB\BIN;D:\PROGRA~1\IBM\SQLLIB\FUNCTION;D:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;D:\IBM_ReqPro\IBM\RationalSDLC\common;
Nov 19, 2010 11:53:22 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-9080
Nov 19, 2010 11:53:23 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-9443
Nov 19, 2010 11:53:23 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2672 ms
Nov 19, 2010 11:53:24 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 19, 2010 11:53:24 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.28
Nov 19, 2010 11:53:24 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
javax.servlet.ServletException: Plug-in "com.ibm.rdm.web.htmlgen.servlet" was unable to instantiate class "com.ibm.rdm.web.htmlgen.servlet.HtmlgenServlet".
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.initializeDelegate(ServletManager.java:198)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.init(ServletManager.java:171)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:64)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:142)
at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:59)
at org.eclipse.equinox.http.registry.internal.HttpRegistryManager.registerServlet(HttpRegistryManager.java:223)
at org.eclipse.equinox.http.registry.internal.HttpRegistryManager.addServletContribution(HttpRegistryManager.java:114)
at org.eclipse.equinox.http.registry.internal.ServletManager.added(ServletManager.java:136)
at org.eclipse.equinox.http.registry.internal.ExtensionPointTracker.open(ExtensionPointTracker.java:75)
at org.eclipse.equinox.http.registry.internal.ServletManager.start(ServletManager.java:62)
at org.eclipse.equinox.http.registry.internal.HttpRegistryManager.start(HttpRegistryManager.java:85)
at org.eclipse.equinox.http.registry.internal.HttpServiceTracker.addingService(HttpServiceTracker.java:58)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
at org.eclipse.equinox.http.registry.internal.HttpServiceTracker.open(HttpServiceTracker.java:42)
at org.eclipse.equinox.http.registry.internal.Activator.addingService(Activator.java:59)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
at org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
at org.eclipse.equinox.http.registry.internal.Activator.start(Activator.java:37)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:1009)
at java.security.AccessController.doPrivileged(AccessController.java:241)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1003)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:984)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:355)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1074)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:616)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:299)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:489)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:211)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:321)
Nov 19, 2010 11:53:27 AM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:393)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:254)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:241)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:389)
at java.net.Socket.connect(Socket.java:551)
at java.net.Socket.connect(Socket.java:501)
at java.net.Socket.<init>(Socket.java:409)
at java.net.Socket.<init>(Socket.java:223)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)




Thanks,
Pratik

0 votes



One answer

Permanent link
Hi,

my Java properties for the Tomcat service definition looking like this, I don't have this message you have in your log on service shutdown (RRCS2.0.0.3). You have less properties than I have set. Did you follow the technote here (there are additional properties need to be set which are defined in server.startup.bat which are only mentioned indirectly):
http://www-01.ibm.com/support/docview.wss?uid=swg21410222

Best Regards,
Ren


-Dcatalina.base=C:\IBM\RRCS20\server\tomcat
-Dcatalina.home=C:\IBM\RRCS20\server\tomcat
-Djava.endorsed.dirs=C:\IBM\RRCS20\server\tomcat\common\endorsed
-Djava.io.tmpdir=C:\IBM\RRCS20\server\tomcat\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\IBM\RRCS20\server\tomcat\conf\logging.properties
-Dcom.ibm.team.jfs.app.context.conf=file:///C:/IBM/RRCS20/server/conf/rdm
-Dcom.ibm.team.jfs.app.servlet.useGzip=true
-Dcom.ibm.team.jfs.app.transport.useDispatch=false
-Djava.awt.headless=true
-Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true
-DJAZZ_HOME=file:///C:/IBM/RRCS20/server/conf
-Dcom.ibm.team.repository.tempDir=%TEMP%
-Duser.dir=C:\IBM\RRCS20\server

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 22 '10, 12:22 p.m.

Question was seen: 4,341 times

Last updated: Nov 22 '10, 12:22 p.m.

Confirmation Cancel Confirm