-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Weblogic pool connection lost, cant get new connections
PostPosted: Fri Jun 03, 2005 8:34 pm 
Newbie

Joined: Wed Jun 01, 2005 9:39 pm
Posts: 2
Location: Mexico DF
Hi, I hope anyone can help, this is my problem

Im using Struts - Hibernate with Oracle and Weblogic....everything works fine until I lost the pool connection (I can down the pool from weblogic console with 'Force Suspend' and then 'Resume')

so, after do that, hibernate can't do anything with the database, i get this error : "Could not execute query", but thats because i get this error first : " Connection has been administratively destroyed. Reconnect." And I know the pool its fine because i can tested and it works

theres a weblogic class "ConnectionEnv" and have a method named "checkIfEnabled" :

public void checkIfEnabled()
throws SQLException
{
setUsed(true);
if(destroyed)
throw new SQLException("Connection has been administratively destroyed. Reconnect.");
if(!enabled)
throw new SQLException("Connection has been administratively disabled. Try later.");
else
return;
}


and, after the pool was down, that method throws an Exception because the boolean "destroyed" is true

so, my question is, what can I do to avoid get that error, I mean, how can I get the new connections from the restored pool ??


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.