Contact Neel at neel.dho...@contractor.tatacommunications.com  , He recently 
restored our important financial app which is running same setup. Tomcat, Db2 , 
IBM ldap, Redhat, oracle, etc. There is a endorsement  on the same at LinkedIn. 

https://www.linkedin.com/search/results/all/?heroEntityKey=urn%3Ali%3Afsd_profile%3AACoAACADWwIBThx_g07SfFQUZas66XuOTn6xQNU&keywords=Neel%20D&origin=ENTITY_SEARCH_HOME_HISTORY&sid=~UW

SD

-----Original Message-----
From: Michael Lau <mlau83w...@gmail.com> 
Sent: 24 September 2024 13:28
To: users@tomcat.apache.org
Cc: reggie.v.gokot...@accenture.com; neil.james.perdi...@accenture.com
Subject: tomcat startup error, IBM DB2 related (database)

Good afternoon,

we've been having trouble trying to start-up our server for a while, tried 
restarting again and again and error still persists we can't run our website. 
It's been ok for the past few weeks it's just we failed to shut down the server 
properly and may have messed things up with residue processes/threads that 
wasn't closed (my friend just clicked the x button on the cmd window of the 
server running). Trying to find solutions to get the server up and running 
again. I downloaded the driver pack for IBM DB2 and may try to put it in the 
lib folder of apache, or install the entire software (1.3GB) from the IBM 
download I got too. not sure if it's the .jar file that's the problem, but the 
error does indicate the .properties file of db2 configuration. not sure if this 
should be auto-generated in the web app or it's just plain missing. My 
colleague suggested to revert to the default settings of apache but this would 
create problems with the web app since I think it uses db2 by default as it's 
database, plus I'm kind of new to tomcat so I don't know which xml file to pick 
to set the database or library/software used. Would like to get this resolved 
as it's a minor roadblock to finishing our task. currently I think it's just a 
.jar library problem or just a configuration problem, could also be an improper 
shutdown problem. I can't access apache manager to see if the program really 
shutdown entirely since we can't run the server.. I read there might be a 
detailed log of the error.

here's a clip of the error from the cmd window of my friend:

0-Sep-2024 13:51:51.584 INFO [Timer-0]
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading
Illegal access: this web application instance has been stopped already.
Could not load [com/ibm/db2/jcc/DB2JccConfiguration.properties]. The following 
stack trace is thrown for debugging purposes as well as to attempt to terminate 
the thread which caused the illegal access.

        java.lang.IllegalStateException: Illegal access: this web application 
instance has been stopped already. Could not load 
[com/ibm/db2/jcc/DB2JccConfiguration.properties]. The following stack trace is 
thrown for debugging purposes as well as to attempt to terminate the thread 
which caused the illegal access.

                at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1384)

                at
org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:1034)

                at com.ibm.db2.jcc.am.vd.run(vd.java:70)

                at java.security.AccessController.doPrivileged(Native
Method)

                at
com.ibm.db2.jcc.am.GlobalProperties.a(GlobalProperties.java:152)

                at
com.ibm.db2.jcc.am.GlobalProperties.d(GlobalProperties.java:100)

                at com.ibm.db2.jcc.am.ar.run(ar.java:124)

                at java.util.TimerThread.mainLoop(Timer.java:555)

                at java.util.TimerThread.run(Timer.java:505)


THANK YOU!!!!!!!!


best regards,

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to