It's all about the answers!

Ask a question

Problems during CLM 5.0.2 setup


Ernesto Ramirez (13918) | asked Apr 22 '15, 10:28 p.m.
Hi.
I was doing the set up for a new CLM 5.0.2 environment. However there's an error appearing during step 4 (Configure E-mail Notification). It appears ID CRJAZ1579E. In the previous step 3 (Configure Database) no errors appear and the test succeeded.

This is the complete error message:

The configuration test resulted in errors. Resolve the errors to continue. For information about why the configuration did not pass the validity test and how to provide a valid configuration, see the other messages that are provided with this message. For more information, open the help and search for "Running the setup wizard".ID CRJAZ1579E
hide details
The method getPrerequisiteServices() was called on the AbstractActivationManagerOwner for com.ibm.team.repository.service.jts.internal.mailer.MailerService when the service not activated. The method should only be called when the service is activated. If you see this error please report the problem to the Jazz Application Frameworks team, because there is a bug in the Jazz server.
com.ibm.team.repository.common.transport.internal.registry.ServiceNotActivatedException
com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.getPrerequisiteServices(AbstractActivationManagerOwner.java:981)
com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.withServiceDependencies(AbstractActivationManagerOwner.java:1339)
com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.withServiceDependencies(OsgiServicesManager.java:775)
com.ibm.team.repository.common.transport.internal.registry.ServiceConfiguration.validateProperties(ServiceConfiguration.java:430)
com.ibm.team.repository.service.internal.ServerConfigurationRestService$2.processUpdate(ServerConfigurationRestService.java:338)
com.ibm.team.repository.service.internal.ServerConfigurationRestService.processConfigUpdates(ServerConfigurationRestService.java:238)
com.ibm.team.repository.service.internal.ServerConfigurationRestService.postConfigurationValidation(ServerConfigurationRestService.java:334)
sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
com.sun.proxy.$Proxy135.postConfigurationValidation(Unknown Source)
sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:567)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2453)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2244)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1761)
javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)
javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:198)
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:919)
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)
 

Comments
Ernesto Ramirez commented Apr 22 '15, 10:39 p.m. | edited Apr 26 '15, 9:00 p.m.

Hi.

OS is Linux RH 6.6 , database is DB2 10.5.5


Martha (Ruby) Andrews commented Apr 24 '15, 3:12 p.m.
JAZZ DEVELOPER

Hello,

The error is indicating that the MailerService has not been started. Check the server log file to determine if there are any errors before the message. Previous errors may indicate that the server did not start correctly or is in an unexpected state.

Ruby
Martha (Ruby) Andrews
Jazz Foundation L3 Development Team Lead


Martha (Ruby) Andrews commented Apr 24 '15, 3:21 p.m.
JAZZ DEVELOPER

This defect shows the same error. I doubt you have exactly the same cause, but it shows how previous errors affect the MailerService:
CSM: Error during setup (352750)

5 answers



permanent link
Robin Parker (32633738) | answered May 13 '15, 11:26 a.m.
I had this error today... your jts.log doesn't look like it has the same errors in as mine but in my case, the clue in the jts.log was:
Caused by: java.lang.RuntimeException: CRJAZ0911E Error initializing content service. The content temporary directory "/tmp/contentservice" is read-only.
Sure enough, I had installed one CLM server as 'user1' and was installing the new one as 'user2' and user2 didn't have write access to /tmp/contentservice.

An easy one to check and rule out ...

HTH


permanent link
Ernesto Ramirez (13918) | answered May 13 '15, 1:06 p.m.
 Hi Robin.

Thanks

Yes, it was the problem. Same dir /tmp/contentservice

I had done several installations without that error. At the end I used to address to /JazzInstallationDir/server/contentservice but in this case the first contentservice dir searched by JTS setup didn't allow to write.

The solution was to change permissions on the directory to allow full write access.



permanent link
Ernesto Ramirez (13918) | answered May 06 '15, 6:32 p.m.
 Thanks Martha.

I have installed Jazz (CLM and RTC) before on 4.0.6 vesion but I never had this issue.

The server has been restarted and in each time I have cleaned the /temp and /wstemp directories on WAS.

I don't understand why appears a MailerService not started.

Is there a way to start it manually?

Regards.

permanent link
Martha (Ruby) Andrews (3.0k44351) | answered May 07 '15, 1:16 p.m.
JAZZ DEVELOPER
There is not a way to start the service manually. The JTS.log or CCM.log should have an exception stack trace that shows why the service is not started.

permanent link
Ernesto Ramirez (13918) | answered May 12 '15, 8:41 a.m.
It's weird I started a new RTC installation and everything was working well until the mail configuration setup.

Same error.

From JTS log I see:

2015-05-12 06:01:39,456 [WebContainer : 4 @@ 06:01 dstacces@us.ibm.com <Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0@9.78.51.136> /jts/service/com.ibm.team.repository.service.internal.IServerConfigurationRestService/configurationValidation]  WARN .team.repository.servlet.AbstractTeamServerServlet  - CRJAZ1163I ServiceNotActivatedException processing POST request for com.ibm.team.repository.service.internal.IServerConfigurationRestService.postConfigurationValidation(). CRJAZ1170I The request was made by user "dstacces@us.ibm.com" from "9.78.51.136".CRJAZ1167I The stack trace hash is 3E3F9AD0A8EE0091AF3459992B9AD7DC863471C7, use it to locate the previously logged stack trace at Tue May 12 06:01:39 IST 2015.
2015-05-12 06:02:36,075 [WebContainer : 4 @@ 06:02 dstacces@us.ibm.com <Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0@9.78.51.136> /jts/service/com.ibm.team.repository.service.internal.IServerConfigurationRestService/configurationValidation]  WARN com.ibm.team.repository.servlet.TeamServerServlet   - CRJAZ1185W Cannot retrieve user "dstacces@us.ibm.com" because the repository is inaccessible.  Logging in as "ADMIN".  Check the configuration of the server.
2015-05-12 06:02:36,372 [WebContainer : 4 @@ 06:02 dstacces@us.ibm.com <Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0@9.78.51.136> /jts/service/com.ibm.team.repository.service.internal.IServerConfigurationRestService/configurationValidation]  WARN .team.repository.servlet.AbstractTeamServerServlet  - CRJAZ1163I ServiceNotActivatedException processing POST request for com.ibm.team.repository.service.internal.IServerConfigurationRestService.postConfigurationValidation(). CRJAZ1170I The request was made by user "dstacces@us.ibm.com" from "9.78.51.136".CRJAZ1167I The stack trace hash is 3E3F9AD0A8EE0091AF3459992B9AD7DC863471C7, use it to locate the previously logged stack trace at Tue May 12 06:01:39 IST 2015.


However I'm working with that user, I configured the Url and I tested the database connection with the same user. It's like during the setup in step 4 the user suddendly is not recognized as administrator anymore.

Comments
Martha (Ruby) Andrews commented May 12 '15, 12:38 p.m.
JAZZ DEVELOPER

What is the stack trace with this hash: 3E3F9AD0A8EE0091AF3459992B9AD7DC863471C7

Your answer


Register or 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.