RE: Success with MySQL 4.0.2 and com.mysql.jdbc.Driver on Win2000

2002-09-09 Thread Curwen, Michael

Hello,

Have you tried to setup a TX-aware datasource, through either Tyrex or DBCP (jakarta 
commons)?  

-Original Message-
From: Virender Singh [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 09, 2002 8:01 AM
To: [EMAIL PROTECTED]
Subject: Success with MySQL 4.0.2 and com.mysql.jdbc.Driver on Win2000


Just wanted to report that I have been able to successfully connect
Tomcat 4.1.10 with MySQL 4 series on Win 2000

OS  : Win 2000 (Service Pack 1)
MySQL server: 4.0.2-alpha-max-nt
jdbc driver : mysql-connector-java-3.0.0-beta-bin.jar
driverClassName : com.mysql.jdbc.Driver

Instructions that were greatly helpful:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples
-howto.html


Thanks for all the good stuff,
Viru

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Best recommendation for DataSource / Connection Pooling

2002-09-06 Thread Curwen, Michael


Hi everyone,

Before you admonish me to search the archives, I've done so, and I've seen a few posts 
on tyrex/commons.  

When I read the documentation for TC4.1.10, 
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.10/RELEASE-NOTES I 
see that Tyrex has been upgraded to 1.0
 
Well.. where is it?  Ah... according to other documentation, 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html I 
need to download up to 6 jars.  

That doesn't seem right.  I think the RELEASE-NOTES should be reflective of what's 
actually in the distribution. (the windows installer exe in case there's a difference).
 
Adding to my woes, is that I've never done JNDI DataSource or Connection Pooling with 
Tomcat before. What I'm *actually* trying to do is deploy the JIRA package 
(http://www.atlassian.com/software/jira), in case anyone has experience with this 
package.  It uses XADataSources, so I need to get this working in Tomcat.
 
Can someone point out the latest thinking on what package (commons or Tyrex) I should 
be expending my efforts on?  Hopefully my JIRA package will not care who gives it the 
DataSource (that's the point of J2EE, right?), as long as it gets one, either from 
Tyrex or commons.


Mike Curwen
Programmer Analyst
Qunara Inc.
 
* 136 Market Ave., 7th Floor, Winnipeg, MB, R3B 0P4
*  Phone: 204.925.1292
*  Web: www.qunara.com

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Error in tomcat but not in resin (caucho)

2002-09-06 Thread Curwen, Michael

Because this:
%
response.setHeader(Cache-Control,no-cache);
response.setHeader(Pragma,no-cache);

will commit the response, after which you cannot redirect.

Not sure why Resin would allow this.



-Original Message-
From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 5:28 PM
To: [EMAIL PROTECTED]
Subject: Error in tomcat but not in resin (caucho)


Why bellow code is error in tomcat?
this code runs well in resin.
there is any error?
thanks

code:


%
response.setHeader(Cache-Control,no-cache);
response.setHeader(Pragma,no-cache);

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]