• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

connection time out error

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
database call mean jdbc call on same database
I am using only one database
 
Bartender
Posts: 2661
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic