Running 2.0 as a Windows service - "friends service&quo
I've been trying to set up the RTC 2.0 Beta 2 server to run as a service on WinXP, having done so successfully with 1.0.1.1 in the past. After struggling through a number of things which are different for 2.0 (and not noted in the doc, see WI 77807) it nearly works, but when I reach the admin page through the web UI I see the following errors:
================================
Service Error Summary
com.ibm.team.repository.service.internal.discovery.IFriendsAdminRestService
CRJAZ1092I The service class "com.ibm.team.repository.service.internal.discovery.FriendsService" failed during activation.
com.ibm.team.repository.service.internal.discovery.IFriendsService
CRJAZ1092I The service class "com.ibm.team.repository.service.internal.discovery.FriendsService" failed during activation.
com.ibm.team.repository.service.internal.discovery.IInternalFriendsService
CRJAZ1092I The service class "com.ibm.team.repository.service.internal.discovery.FriendsService" failed during activation.
com.ibm.team.repository.service.oauth.IOAuthConsumerService
CRJAZ1092I The service class "com.ibm.team.repository.service.internal.discovery.FriendsService" failed during activation.
================================
I suspect there's a new bit of configuration required for 2.0. Can anybody tell me what it is or where to look? The server works fine when started by hand; I see these errors only when run as a service.
================================
Service Error Summary
com.ibm.team.repository.service.internal.discovery.IFriendsAdminRestService
CRJAZ1092I The service class "com.ibm.team.repository.service.internal.discovery.FriendsService" failed during activation.
com.ibm.team.repository.service.internal.discovery.IFriendsService
CRJAZ1092I The service class "com.ibm.team.repository.service.internal.discovery.FriendsService" failed during activation.
com.ibm.team.repository.service.internal.discovery.IInternalFriendsService
CRJAZ1092I The service class "com.ibm.team.repository.service.internal.discovery.FriendsService" failed during activation.
com.ibm.team.repository.service.oauth.IOAuthConsumerService
CRJAZ1092I The service class "com.ibm.team.repository.service.internal.discovery.FriendsService" failed during activation.
================================
I suspect there's a new bit of configuration required for 2.0. Can anybody tell me what it is or where to look? The server works fine when started by hand; I see these errors only when run as a service.
3 answers
In RTC 2.0, we've changed the Java system properties that are needed
(and hopefully simplified that sort of setup in the process).
In the past you needed to specify a configURL and a provision_profiles
directory, but now you should only need one property "JAZZ_HOME" which
is a URL that points to "file:<your>/jazz/server/conf".
-
Matt Lavin
Jazz Server Team
On Thu, 2009-05-28 at 00:07 +0000, Mervyn.Keene wrote:
(and hopefully simplified that sort of setup in the process).
In the past you needed to specify a configURL and a provision_profiles
directory, but now you should only need one property "JAZZ_HOME" which
is a URL that points to "file:<your>/jazz/server/conf".
-
Matt Lavin
Jazz Server Team
On Thu, 2009-05-28 at 00:07 +0000, Mervyn.Keene wrote:
I've been trying to set up the RTC 2.0 Beta 2 server to run as a
service on WinXP, having done so successfully with 1.0.1.1 in the
past. After struggling through a number of things which are different
for 2.0 (and not noted in the doc, see WI 77807) it nearly works, but
when I reach the admin page through the web UI I see the following
errors:
================================
Service Error Summary
com.ibm.team.repository.service.internal.discovery.IFriendsAdminRestService
CRJAZ1092I The service class
"com.ibm.team.repository.service.internal.discovery.FriendsService"
failed during activation.
com.ibm.team.repository.service.internal.discovery.IFriendsService
CRJAZ1092I The service class
"com.ibm.team.repository.service.internal.discovery.FriendsService"
failed during activation.
com.ibm.team.repository.service.internal.discovery.IInternalFriendsService
CRJAZ1092I The service class
"com.ibm.team.repository.service.internal.discovery.FriendsService"
failed during activation.
com.ibm.team.repository.service.oauth.IOAuthConsumerService
CRJAZ1092I The service class
"com.ibm.team.repository.service.internal.discovery.FriendsService"
failed during activation.
================================
I suspect there's a new bit of configuration required for 2.0. Can
anybody tell me what it is or where to look? The server works fine
when started by hand; I see these errors only when run as a service.
Thanks Matt. After adding
-DJAZZ_HOME=file:///C:/RTC/2B2/jazz/server/conf
(where C:/RTC/2B2 is where I've placed it) everything works fine.
However, I haven't yet removed the other properties. Are you saying that
ALL of the other added system properties:
-Dcatalina.base=C:\RTC\2B2\jazz\server\tomcat
-Dcatalina.home=C:\RTC\2B2\jazz\server\tomcat
-Djava.endorsed.dirs=C:\RTC\2B2\jazz\server\tomcat\common\endorsed
-Djava.io.tmpdir=C:\RTC\2B2\jazz\server\tomcat\temp
-Dcom.ibm.team.server.configURL=file:///c:/RTC/2B2/jazz/server/conf/jazz/teamserver.properties
-Dcom.ibm.team.repository.provision.profile=file:///c::/RTC/2B2/jazz/server/conf/jazz/provision_profiles
-Dlog4j.configuration=file:///c:/RTC/2B2/jazz/server/conf/jazz/log4j.properties
-Djava.awt.headless=true
-Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true
-Dcom.ibm.team.repository.tempDir=C:\Temp
can now go away? If not, which ones?
Last, I'd like to think there's a plan for updating the documentation. I
filed WI 77807 on this but it's languishing and I don't know how much
more data to contribute if the entire model is changing anyway.
Matt Lavin wrote:
-DJAZZ_HOME=file:///C:/RTC/2B2/jazz/server/conf
(where C:/RTC/2B2 is where I've placed it) everything works fine.
However, I haven't yet removed the other properties. Are you saying that
ALL of the other added system properties:
-Dcatalina.base=C:\RTC\2B2\jazz\server\tomcat
-Dcatalina.home=C:\RTC\2B2\jazz\server\tomcat
-Djava.endorsed.dirs=C:\RTC\2B2\jazz\server\tomcat\common\endorsed
-Djava.io.tmpdir=C:\RTC\2B2\jazz\server\tomcat\temp
-Dcom.ibm.team.server.configURL=file:///c:/RTC/2B2/jazz/server/conf/jazz/teamserver.properties
-Dcom.ibm.team.repository.provision.profile=file:///c::/RTC/2B2/jazz/server/conf/jazz/provision_profiles
-Dlog4j.configuration=file:///c:/RTC/2B2/jazz/server/conf/jazz/log4j.properties
-Djava.awt.headless=true
-Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true
-Dcom.ibm.team.repository.tempDir=C:\Temp
can now go away? If not, which ones?
Last, I'd like to think there's a plan for updating the documentation. I
filed WI 77807 on this but it's languishing and I don't know how much
more data to contribute if the entire model is changing anyway.
Matt Lavin wrote:
In RTC 2.0, we've changed the Java system properties that are needed
(and hopefully simplified that sort of setup in the process).
In the past you needed to specify a configURL and a provision_profiles
directory, but now you should only need one property "JAZZ_HOME" which
is a URL that points to "file:<your>/jazz/server/conf".
-
Matt Lavin
Jazz Server Team
On Thu, 2009-05-28 at 00:07 +0000, Mervyn.Keene wrote:
I've been trying to set up the RTC 2.0 Beta 2 server to run as a
service on WinXP, having done so successfully with 1.0.1.1 in the
past. After struggling through a number of things which are different
for 2.0 (and not noted in the doc, see WI 77807) it nearly works, but
when I reach the admin page through the web UI I see the following
errors:
================================
Service Error Summary
com.ibm.team.repository.service.internal.discovery.IFriendsAdminRestService
CRJAZ1092I The service class
"com.ibm.team.repository.service.internal.discovery.FriendsService"
failed during activation.
com.ibm.team.repository.service.internal.discovery.IFriendsService
CRJAZ1092I The service class
"com.ibm.team.repository.service.internal.discovery.FriendsService"
failed during activation.
com.ibm.team.repository.service.internal.discovery.IInternalFriendsService
CRJAZ1092I The service class
"com.ibm.team.repository.service.internal.discovery.FriendsService"
failed during activation.
com.ibm.team.repository.service.oauth.IOAuthConsumerService
CRJAZ1092I The service class
"com.ibm.team.repository.service.internal.discovery.FriendsService"
failed during activation.
================================
I suspect there's a new bit of configuration required for 2.0. Can
anybody tell me what it is or where to look? The server works fine
when started by hand; I see these errors only when run as a service.
No, not all of those should go away but the following can:
-Dcom.ibm.team.server.configURL=file:///c:/RTC/2B2/jazz/server/conf/jazz/teamserver.properties
-Dcom.ibm.team.repository.provision.profile=file:///c::/RTC/2B2/jazz/server/conf/jazz/provision_profiles
-Dlog4j.configuration=file:///c:/RTC/2B2/jazz/server/conf/jazz/log4j.properties
-
Matt Lavin
Jazz Server Team
On Thu, 2009-05-28 at 09:47 -0400, Mervyn Keene wrote:
-Dcom.ibm.team.server.configURL=file:///c:/RTC/2B2/jazz/server/conf/jazz/teamserver.properties
-Dcom.ibm.team.repository.provision.profile=file:///c::/RTC/2B2/jazz/server/conf/jazz/provision_profiles
-Dlog4j.configuration=file:///c:/RTC/2B2/jazz/server/conf/jazz/log4j.properties
-
Matt Lavin
Jazz Server Team
On Thu, 2009-05-28 at 09:47 -0400, Mervyn Keene wrote:
Thanks Matt. After adding
-DJAZZ_HOME=file:///C:/RTC/2B2/jazz/server/conf
(where C:/RTC/2B2 is where I've placed it) everything works fine.
However, I haven't yet removed the other properties. Are you saying that
ALL of the other added system properties:
-Dcatalina.base=C:\RTC\2B2\jazz\server\tomcat
-Dcatalina.home=C:\RTC\2B2\jazz\server\tomcat
-Djava.endorsed.dirs=C:\RTC\2B2\jazz\server\tomcat\common\endorsed
-Djava.io.tmpdir=C:\RTC\2B2\jazz\server\tomcat\temp
-Dcom.ibm.team.server.configURL=file:///c:/RTC/2B2/jazz/server/conf/jazz/teamserver.properties
-Dcom.ibm.team.repository.provision.profile=file:///c::/RTC/2B2/jazz/server/conf/jazz/provision_profiles
-Dlog4j.configuration=file:///c:/RTC/2B2/jazz/server/conf/jazz/log4j.properties
-Djava.awt.headless=true
-Dorg.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin=true
-Dcom.ibm.team.repository.tempDir=C:\Temp
can now go away? If not, which ones?
Last, I'd like to think there's a plan for updating the documentation. I
filed WI 77807 on this but it's languishing and I don't know how much
more data to contribute if the entire model is changing anyway.
Matt Lavin wrote:
In RTC 2.0, we've changed the Java system properties that are needed
(and hopefully simplified that sort of setup in the process).
In the past you needed to specify a configURL and a provision_profiles
directory, but now you should only need one property "JAZZ_HOME" which
is a URL that points to "file:<your>/jazz/server/conf".
-
Matt Lavin
Jazz Server Team
On Thu, 2009-05-28 at 00:07 +0000, Mervyn.Keene wrote:
I've been trying to set up the RTC 2.0 Beta 2 server to run as a
service on WinXP, having done so successfully with 1.0.1.1 in the
past. After struggling through a number of things which are different
for 2.0 (and not noted in the doc, see WI 77807) it nearly works, but
when I reach the admin page through the web UI I see the following
errors:
================================
Service Error Summary
com.ibm.team.repository.service.internal.discovery.IFriendsAdminRestService
CRJAZ1092I The service class
"com.ibm.team.repository.service.internal.discovery.FriendsService"
failed during activation.
com.ibm.team.repository.service.internal.discovery.IFriendsService
CRJAZ1092I The service class
"com.ibm.team.repository.service.internal.discovery.FriendsService"
failed during activation.
com.ibm.team.repository.service.internal.discovery.IInternalFriendsService
CRJAZ1092I The service class
"com.ibm.team.repository.service.internal.discovery.FriendsService"
failed during activation.
com.ibm.team.repository.service.oauth.IOAuthConsumerService
CRJAZ1092I The service class
"com.ibm.team.repository.service.internal.discovery.FriendsService"
failed during activation.
================================
I suspect there's a new bit of configuration required for 2.0. Can
anybody tell me what it is or where to look? The server works fine
when started by hand; I see these errors only when run as a service.