Welcome to Dream.In.Code
Become a Java Expert!

Join 150,062 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 1,743 people online right now. Registration is fast and FREE... Join Now!




Starting tomcat with a db2 connection via eclipse

 
Reply to this topicStart new topic

Starting tomcat with a db2 connection via eclipse

rushfederico
5 Jun, 2008 - 07:51 AM
Post #1

New D.I.C Head
*

Joined: 5 Jun, 2008
Posts: 2

Hello, I'm getting this message when trying to start the tomcat application from eclipse, it says that a connection has been created but it stays there and after a few minutes the conection is closed and tomcat never really starts...

PC: Found init-command - Initializing application ...
There are 1 active DB2 connections
DB2Connection: The static properties are ...
DB2Driver=com.ibm.db2.jcc.DB2Driver
DB2Path=jdbc:db2:
DB2Connection: created Connection for [user] in region [region]

maybe I should post more information... if anyone can help me, let me know

thanks!!
User is offlineProfile CardPM
+Quote Post

lordms12
RE: Starting Tomcat With A Db2 Connection Via Eclipse
8 Jun, 2008 - 05:58 AM
Post #2

D.I.C Regular
Group Icon

Joined: 16 Feb, 2008
Posts: 322



Thanked: 17 times
Dream Kudos: 225
My Contributions
Can you explain more and specify versions and names of what you use
User is offlineProfile CardPM
+Quote Post

rushfederico
RE: Starting Tomcat With A Db2 Connection Via Eclipse
24 Jun, 2008 - 09:13 AM
Post #3

New D.I.C Head
*

Joined: 5 Jun, 2008
Posts: 2

Hello!
I dug a bit more into the problem and during the debugging of the "start tomcat" process found that when trying to instantiate a cursor the process dies, it doesn't give me any kind of message, it just stays there.
Before geting to this point the connection to the data base is created ok, but it seems that this is the first access that is made and there is where it fails. I'm connecting to the database through Serena Changeman Client

I can't determine if I'm having a client configuration problem or it's something else that is missing
User is offlineProfile CardPM
+Quote Post

lordms12
RE: Starting Tomcat With A Db2 Connection Via Eclipse
25 Jun, 2008 - 12:55 AM
Post #4

D.I.C Regular
Group Icon

Joined: 16 Feb, 2008
Posts: 322



Thanked: 17 times
Dream Kudos: 225
My Contributions
What is version of eclipse you work on, version of tomcat ,and your OS?
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 10:37PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month