struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Hunter" <ihun...@hunterweb.net>
Subject Re: Can I avoid bouncing app when database goes down? (struts 1.0 .2) (try poolman)
Date Wed, 30 Oct 2002 16:18:16 GMT
http://www.codestudio.com/index.shtml allowed me to download it.  That's so
weird.

Anyway, is there any way to implement this just by specifying the class in
struts-config.xml, so I wind up with code like this?

            ds = (PoolmanConnection)
servlet.getServletContext().getAttribute(Constants.DATABASE_KEY);
            conn = ds.getConnection();

Or do I have to jump through all kinds of hoops?

----- Original Message -----
From: "Ian Hunter" <ihunter@hunterweb.net>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Wednesday, October 30, 2002 11:04 AM
Subject: Re: Can I avoid bouncing app when database goes down? (struts 1.0
.2) (try poolman)


> http://www.codestudio.com says it is no longer supported.  I'll keep
> looking, but if you have any suggestions...
>
> ----- Original Message -----
> From: "Zeltser, Mark" <Mark.Zeltser@lehman.com>
> To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
> Sent: Wednesday, October 30, 2002 9:49 AM
> Subject: RE: Can I avoid bouncing app when database goes down? (struts 1.0
> .2)
>
>
> > I had the same problem. Try using poolman (I had to patch it since it
was
> > running in endless loop whenever sybase server was rebooted)
> >
> > -----Original Message-----
> > From: Ian Hunter [mailto:ihunter@hunterweb.net]
> > Sent: Wednesday, October 30, 2002 8:39 AM
> > To: Struts Users Mailing List
> > Subject: Re: Can I avoid bouncing app when database goes down? (struts
> > 1.0.2)
> >
> >
> > 1.0.2; kinda old, I guess...
> >
> > ----- Original Message -----
> > From: "James Mitchell" <jmitchtx@telocity.com>
> > To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > Sent: Wednesday, October 30, 2002 12:14 AM
> > Subject: RE: Can I avoid bouncing app when database goes down?
> >
> >
> > > What version of Struts are you using?
> > >
> > > There were some changes made in DBCP a few weeks ago that might help
> with
> > > that, but I could be wrong.
> > >
> > > James Mitchell
> > > Software Engineer/Struts Evangelist
> > > http://www.open-tools.org
> > >
> > > "Only two things are infinite, the universe and human stupidity, and
I'm
> > not
> > > sure about the former."
> > > - Albert Einstein (1879-1955)
> > >
> > >
> > > > -----Original Message-----
> > > > From: Ian Hunter [mailto:ihunter@hunterweb.net]
> > > > Sent: Tuesday, October 29, 2002 11:29 PM
> > > > To: struts-user@jakarta.apache.org
> > > > Subject: Can I avoid bouncing app when database goes down?
> > > >
> > > >
> > > > I have struts app that works great until MSDE (MS SQL Server) drops
a
> > > > connection, then I have to reset the whole app.  I'm connecting to a
> > > > datasource defined in struts-config.xml and using the ms sql native
> jdbc
> > > > drivers.
> > > >
> > > > Any ideas?
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > > <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > > <mailto:struts-user-help@jakarta.apache.org>
> > > >
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:struts-user-help@jakarta.apache.org>
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:struts-user-help@jakarta.apache.org>
> >
> >
>
> --------------------------------------------------------------------------
> ----
> > This message is intended only for the personal and confidential use of
the
> designated recipient(s) named above.  If you are not the intended
recipient
> of this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited.  This
> communication is for information purposes only and should not be regarded
as
> an offer to sell or as a solicitation of an offer to buy any financial
> product, an official confirmation of any transaction, or as an official
> statement of Lehman Brothers.  Email transmission cannot be guaranteed to
be
> secure or error-free.  Therefore, we do not represent that this
information
> is complete or accurate and it should not be relied upon as such.  All
> information is subject to change without notice.
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> >
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message