It's all about the answers!

Ask a question

JTS 4.0.4 setup wizard issues - setting public URI error


Paul Campbell (36912) | asked Dec 06 '13, 12:12 p.m.
Got past my last series of errors.

I have:

JTS/CLM 4.0.4
WAS 8.5.0.0
Windows 8 Enterprise
MS SQL

hosts.txt content:



I am able to login to setup wizard via https://localhost:9443/jts/setup

but I cannot set a Public URI.  I tried:


https://localhost:9443/jts
https://jmini-jtsserver:9443/jtserror:

 

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 CRJAZ1579Ehide details

The method getPrerequisiteServices() was called on the AbstractActivationManagerOwner for com.ibm.team.repository.service.internal.BaseServerDescriptionService 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:976)
com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.withServiceDependencies(AbstractActivationManagerOwner.java:1334)
com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.withServiceDependencies(OsgiServicesManager.java:673)
com.ibm.team.repository.common.transport.internal.registry.ServiceConfiguration.validateProperties(ServiceConfiguration.java:419)
com.ibm.team.repository.service.internal.ServerConfigurationRestService$2.processUpdate(ServerConfigurationRestService.java:350)
com.ibm.team.repository.service.internal.ServerConfigurationRestService.processConfigUpdates(ServerConfigurationRestService.java:243)
com.ibm.team.repository.service.internal.ServerConfigurationRestService.postConfigurationValidation(ServerConfigurationRestService.java:347)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
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)
$Proxy81.postConfigurationValidation(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:555)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2360)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2160)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1988)
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:1214)
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:125)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:92)
com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:139)
com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:172)
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:192)
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:89)
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:926)
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1023)
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:895)
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:522)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:311)
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:282)
com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1048)
com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:642)
com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
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:1783)




Thanks,

Paul


2 answers



permanent link
Paul Campbell (36912) | answered Dec 06 '13, 4:04 p.m.
I looked at the jts.log and see this:
...
2013-12-06 12:53:46,719 [              WebContainer : 0]  INFO pository.service.internal.ServerDescriptionService  - CRJAZ1779I This server is configured as a JTS.
2013-12-06 12:53:47,671 [              WebContainer : 0]  INFO rvice.mapping.internal.ServerRenameProgressService  - CRJAZ2558I Setting the local server rename state to false and the openServerDescriptionServiceTemporarily state to false.
2013-12-06 12:53:49,559 [              WebContainer : 0]  INFO .repository.service.internal.rdb.ConnectionFactory  - CRJAZ1365I The server is attempting to connect to the following database: "//128.49.162.20:1433;databaseName=jts;user=xxxxxxxx;password=xxxxxxxx;"
2013-12-06 12:53:49,559 [              WebContainer : 0] ERROR .repository.service.db.provider.AbstractDbProvider  - CRJAZ1840W The following driver could not be loaded and registered: com.microsoft.sqlserver.jdbc.SQLServerDriver. This JDBC driver JAR file must be provided in a path that is configured by the server scripts. Verify that the driver is in the expected location of ""C:\Program Files\microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\sqljdbc4.jar"" or consult the product setup instructions to change the location.
2013-12-06 12:53:49,559 [              WebContainer : 0] ERROR t.internal.registry.AbstractActivationManagerOwner  - CRJAZ1093E The "com.ibm.team.repository.service.internal.schemagen.PersistentMappingService" feature could not start.



I confirmed the driver exists in that location and WAS was configued wth:

SQLSERVER_JDBC_DRIVER_FILE                     

     "C:\Program Files\microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\sqljdbc4.jar"


Comments
Rosa Naranjo commented Dec 06 '13, 4:54 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

Can you tell us what instructions you were using that are wrong so we may update them?


Paul Campbell commented Dec 06 '13, 4:58 p.m.

https://jazz.net/wiki/bin/view/Deployment/ConfigureCLMOnWASWithLDAP

Step #10:

10.Enter the following new values: (Verify your paths before setting the values. On Windows, if your path has a space in it, then you must put it in quotes)


permanent link
Paul Campbell (36912) | answered Dec 06 '13, 4:39 p.m.
I discovered that the instructions I used were wrong (see:  https://jazz.net/wiki/bin/view/Deployment/ConfigureCLMOnWASWithLDAP)

....I didnt need to double quote the JDBC driver

old :
SQLSERVER_JDBC_DRIVER_FILE                     

     "C:\Program Files\microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\sqljdbc4.jar"

new:
SQLSERVER_JDBC_DRIVER_FILE
      C:\Program Files\microsoft JDBC Driver 4.0 for SQL Server\sqljdbc_4.0\enu\sqljdbc4.jar

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.