Welllington Lacerda <[EMAIL PROTECTED]>
>Hi,
>
>I'm trying to deploy a servlet based app that uses Cloudscape as its
>database. When I run a connection to a database A from a servlet,
>everything is going well. When I try to run a second set to a database B
>it fails.
>...
>- The database connections are made from an object (not a servlet) that
>deals with connections (a conn manager). Is it possible that JServ is
>not dealing with this class/servlet mix ?
Apache JServ doesn't care about the difference between generic classes and
servlets. The Java part of Apache JServ itself is a bunch of classes and
objects that implement the servlet API.
>- I'm using a zone to deal with the servlets/classes the database
>(cloudscape is a java based database) and the mail api. Are one of those
>fellows are putting Apache down ?
Objects created in one zone are not accessible from another zone. If you
are splitting up your program across multiple zones then this could be a
problem. But generally, zones should not cause any unusual problems like
this provided your entire servlet and connection manager are contained in
the same zone.
I've been connecting to multiple databases from various servlets using a
connection pool and it works ok, so at least it's not apache jserv that is
causing the problem.
-- Ari Halberstadt mailto:[EMAIL PROTECTED] <http://www.magiccookie.com/>
PGP public key available at <http://www.magiccookie.com/pgpkey.txt>
-- --------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]