JTS(4.0) has become very unstable/unresponsive
3 answers
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.
Another option is to switch to WebSphere Application Server, which is unlikely to have the same problem.
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/topic/com.ibm.jazz.install.doc/topics/t_migrate_tomcat_was.html
Unfortunately we won't be able to switch to Websphere. I work in the Medical arena and we would have to do this in a test environment first, validate it, create a report from the validation and submit it to doc control. Once that is done we would be able to switch.
I did notice something in the tomcat logs, I see this error all the time (a lot actually)
Jun 3, 2014 9:29:22 AM org.apache.catalina.realm.JNDIRealm open
WARNING: Exception performing authentication
Throwable occurred: javax.naming.CommunicationException: thcg.net:389
Jun 3, 2014 9:29:23 AM org.apache.catalina.realm.JNDIRealm authenticate
SEVERE: Exception performing authentication
Throwable occurred: javax.naming.CommunicationException: localhost:389
When the error is SEVERE it reports as localhost and not thcg.net. In fact our JTS server is going down/unrepsonsive almost a daily basis now. What happens is someone will try to login and they will get the "Loading..." screen for a few seconds and then it goes back to a login dialog. There are times when restarting Tomcat doesn't help at all until we restart the server. Here is part of the trace when I have the issue of it not restarting.
Jun 3, 2014 9:37:05 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
Throwable occurred: org.apache.catalina.LifecycleException: Failed to start component [StandardServer[9005]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.startup.Catalina.start(Catalina.java:646)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:727)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 7 more
We certainly have other services/applications running on other machines, some through tomcat and they don't even remotely have the same issue as the JTS does now. The admin.log & jts.log don't really hold any valuable information to determine what is going on.
Comments
Karl Weinert
JAZZ DEVELOPER Jun 03 '14, 4:14 p.m.Hi Jeff,
Jeff Foege
Jun 03 '14, 4:43 p.m.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.