This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes connection time out error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connection time out error" Watch "connection time out error" New topic
Author

connection time out error

manish gupta
Ranch Hand

Joined: Nov 06, 2005
Posts: 36
I am using MDB with weblogic 8.1 sp server.
I also created connection pool and datasource in admin console of weblogic. I am creating a connection with the help of data source.
it works for one database call but if you call another database call from same method it is giving error

The transaction is no longer active - status: 'Marked rollback. [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out after 29 seconds.

Could any one help me in this,how to reolve this problem?

Thanks
Manish
Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1088
You have access to both the databases. Check the connection String. Check if there's any firewall blocking your access to the other db.
manish gupta
Ranch Hand

Joined: Nov 06, 2005
Posts: 36
database call mean jdbc call on same database
I am using only one database
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

Did you check Investigating Transaction Problems on BEA's support site?
...it will get a TimedOutException which needs to be handled appropriately inside the application code. Information can be found in the API documentation: http://e-docs.bea.com/wls/docs81/javadocs/weblogic/transaction/TimedOutException.html
Regards, Jan


OCUP UML fundamental and ITIL foundation
youtube channel
 
 
subject: connection time out error
 
Similar Threads
data visibility across weblogic pool connection and JDBC connection
Weblogic pool connection Vs JDBC Connection
Error: Transaction: forcibly releasing the Connection
how to define a transaction in servlets?
Connection time out error