JTS(4.0) has become very unstable/unresponsive
![]()
We used to have a problem with RTC not responding to user's request to login. Now it appears as JTS has this problem. The second time this week users weren't able to log into JTS but were able to log into RTC without trouble. The only way I'm able to correct this is to restart the PC, restarting the service doesn't seem to work. I've checked the JTS logs but I'm not seeing anything that stands out. In the admin log we have an entry on 4/21 then the next one is 5/12. I've checked the JTS.log and didn't see any errors there either. I do see a bunch of entries in the catalina log.
May 21, 2014 9:30:41 AM org.apache.catalina.realm.JNDIRealm open
WARNING: Exception performing authentication
Throwable occurred: javax.naming.ServiceUnavailableException: thcg.net:389; socket closed
at com.sun.jndi.ldap.Connection.readReply(Connection.java:423)
at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:338)
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:190)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2720)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:296)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
(not the whole trace)
May 21, 2014 9:30:42 AM org.apache.catalina.realm.JNDIRealm authenticate
SEVERE: Exception performing authentication
Throwable occurred: javax.naming.CommunicationException: localhost:389 [Root exception is java.net.ConnectException: Connection refused: connect]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:198)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:116)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2678)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:296)
I checked the RTC logs and I'm seeing a ton of messages from the com.ibm.team.workitem.service.
2014-05-21 11:41:25,326 [ http-bio-9443-exec-2358] ERROR com.ibm.team.workitem.service - com.ibm.team.workitem.service.internal.oslc.UnacceptableMediaTypeException: Content type '[application/x-oslc-compact+xml, application/x-jazz-compact-rendering]' is not supported.
java.lang.IllegalArgumentException: com.ibm.team.workitem.service.internal.oslc.UnacceptableMediaTypeException: Content type '[application/x-oslc-compact+xml, application/x-jazz-compact-rendering]' is not supported.
at com.ibm.team.workitem.service.internal.oslc.ResourceETagProvider.getETagFor(ResourceETagProvider.java:33)
at sun.reflect.GeneratedMethodAccessor384.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
In fact the workitem.service error gets entered in the log every few seconds. In a span of about 20 minutes I counted over 30.
We have RTC 4.0.0 (with a hot fix applied, number 221037.) Why all of a sudden has JTS become so unstable. I've had to restart the PC twice already this week. Also at times it prevents users from getting work done because its so unstable now. I'd be happy to post more of the trace if need be. I also understand this might be two separate issues.
|
3 answers
![]()
Your JTS server had some problems with connection to the LDAP server. At the time the unresponsiveness occurs, use command "telnet <server> 389" to see if you can connect to the LDAP server manually. Or in a browser on the JTS server, enter the URL ldap://<server> and see if you can search any users.
BTW, did you modify the logs before posting to the forum? It shows that the JTS server was connecting to two LDAP servers, one is "thcg" and the other "localhost". |
![]() No I didn't modify the logs at all before posting. I'm not sure why it would have localhost. I also tried adding adCompat=true to the tomcat server.xml file based off this thread https://jazz.net/forum/questions/120073/rtc-v402-tomcat7-ldap-connection-problem This is now happening every few days. We have contractors in India and are often blocked from logging into RTC/JTS. Comments I don't think the adCompat=true parameter can do anything to your issue, but it does seem like a Tomcat issue than a JTS issue. It is quote hard to imagine that Tomcat will switch the LDAP server form thcg.net to localhost all of a sudden. You may have to analyze network trace to understand why it happens like that.
|
Comments
Hi Jeff,
The only errors that I can find are ones I've posted in this thread. We get the login window, input our credentials and hit enter. The login dialog does away for a bit with a "Loading..." text in its place. Then it comes back with red text on the login window saying "Invalid ID/PW"
As far as the LDAP server, I'm not sure what the specs are on that since its in the IT department. We have multiple other apps that don't have a problem with the LDAP server.
Its becoming a real pain since there are times people can't login at all until we restart the service and/or restart the machine.