Reputation: 654
I have a application deployed on liberty profile that connects to a db server over the network. I'm trying to configure it so when connection time outs happen they are logged in messages or trace log files. At the moment it just gives me an output like Application xyz has not started in 30.004 seconds.
nothing to indicate why.... can anyone tell me how i configure it to output all DB related errors ?
Upvotes: 0
Views: 335
Reputation: 42936
A failure to connect to a database should not be related to whether or not your application starts. As any database access defined by application code would be running after the application has reported that it started.
I suspect there is a separate issue causing your application to not start. To confirm this theory you can comment out database access from your application and see if the app starts then.
Upvotes: 0