cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet JspServlet.java
remm02/03/30 01:36:30 Modified:jasper2/src/share/org/apache/jasper JspEngineContext.java jasper2/src/share/org/apache/jasper/compiler Compiler.java JspCompiler.java jasper2/src/share/org/apache/jasper/servlet JspServlet.java Log: - Add some (experimental) runtime optimizations. - Avoid uneeded file access, as well as try to reuse some objects between requests. - Remove the debug logs which were in the critical path. Revision ChangesPath 1.2 +9 -3 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspEngineContext.java Index: JspEngineContext.java === RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspEngineContext.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JspEngineContext.java 28 Mar 2002 18:46:15 - 1.1 +++ JspEngineContext.java 30 Mar 2002 09:36:29 - 1.2 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspEngineContext.java,v 1.1 2002/03/28 18:46:15 kinman Exp $ - * $Revision: 1.1 $ - * $Date: 2002/03/28 18:46:15 $ + * $Header: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspEngineContext.java,v 1.2 2002/03/30 09:36:29 remm Exp $ + * $Revision: 1.2 $ + * $Date: 2002/03/30 09:36:29 $ * * * @@ -98,6 +98,7 @@ ServletWriter writer; ServletContext context; URLClassLoader loader; +Compiler jspCompiler; String classpath; // for compiling JSPs. boolean isErrPage; String jspFile; @@ -305,6 +306,10 @@ * SunJavaCompiler is used. */ public Compiler createCompiler() throws JasperException { + +if (jspCompiler != null) +return jspCompiler; + String compilerPath = options.getJspCompilerPath(); Class jspCompilerPlugin = options.getJspCompilerPlugin(); JavaCompiler javac; @@ -325,10 +330,11 @@ if (compilerPath != null) javac.setCompilerPath(compilerPath); -Compiler jspCompiler = new JspCompiler(this); +jspCompiler = new JspCompiler(this); jspCompiler.setJavaCompiler(javac); return jspCompiler; + } /** 1.2 +3 -6 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java Index: Compiler.java === RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Compiler.java 28 Mar 2002 18:46:15 - 1.1 +++ Compiler.java 30 Mar 2002 09:36:30 - 1.2 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java,v 1.1 2002/03/28 18:46:15 kinman Exp $ - * $Revision: 1.1 $ - * $Date: 2002/03/28 18:46:15 $ + * $Header: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java,v 1.2 2002/03/30 09:36:30 remm Exp $ + * $Revision: 1.2 $ + * $Date: 2002/03/30 09:36:30 $ * * * @@ -110,9 +110,6 @@ String className = mangler.getClassName(); ctxt.setServletClassName(className); -Constants.message(jsp.message.class_name_is, - new Object[] { className }, - Logger.DEBUG); if (!isOutDated()) return false; 1.2 +10 -0 jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspCompiler.java Index: JspCompiler.java === RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/JspCompiler.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JspCompiler.java 28 Mar 2002 18:46:15 - 1.1 +++ JspCompiler.java 30 Mar 2002 09:36:30 - 1.2 @@ -88,6 +88,8 @@ //ClassFileData cfd; boolean outDated; +long lastChecked = -1; + Logger.Helper loghelper = new Logger.Helper(JASPER_LOG, JspCompiler); public JspCompiler(JspCompilationContext ctxt) throws JasperException { @@ -173,6 +175,13 @@ * from whence it came */ public boolean isOutDated() { + +long time = System.currentTimeMillis(); +if (time lastChecked) +return false; + +lastChecked = time + 2000; + long jspRealLastModified =
DO NOT REPLY [Bug 7626] - classloader not working properly
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7626. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7626 classloader not working properly [EMAIL PROTECTED] changed: What|Removed |Added Summary|rhino javascript unable to |classloader not working |see custom servlet classes |properly --- Additional Comments From [EMAIL PROTECTED] 2002-03-30 20:07 --- I have been doing a lot of troubleshooting on this and I believe it is a classloader issue. According to the hierarchy in the tomcat users guide, the webapp classloader should be used for all classes in the WEB-INF/classes directory as well as for the jarred classes in the WEB-INF/lib directory. The jarred classes (in this case js.jar) do not appear to be using the same classloader as my other classes. And, in fact, the classloader that the js.jar files are using is incapable of seeing my classes. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 6702] - jk_nt_service.exe -i cannot work
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6702. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6702 jk_nt_service.exe -i cannot work --- Additional Comments From [EMAIL PROTECTED] 2002-03-30 22:06 --- I am running the same system. Win2K with SP2 applied. The 3.3.1 release candidate worked fine but when I moved up to the final version I experienced the same issues. The service is added to the list and can be seen in the MMC Services snapin however when you try to start the service you get the standard Service failed to start error message. Tomcat starts up fine using the startup.bat file. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 7637] New: - Tomcat terminates after connecting to a database
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7637. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7637 Tomcat terminates after connecting to a database Summary: Tomcat terminates after connecting to a database Product: Tomcat 3 Version: 3.3.1 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: Webapps AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am running Win2K with SP2 applied and the latest version of MDAC (2.7). When I run a test page that connects to a database, does a query and outputs the results, the page is displayed with the correct results but I then receive the message The instruction at '0x1f9c6bce' referenced memory at '0x1f9c6bce'. The memory could not be 'read' (This is a java.exe application error). Following this Tomcat terminates. Exactly the same code can be put into a java class and run from command line without any problems. If the class is called from a JSP run by Tomcat, the same error occurs. Database:SQLServer2000 and Access2000 Microsoft standard ODBC drivers used SQLSRV32.DLL Version 2000.81.7713.00 ODBCJT32.DLL Version 4.00.6019.00 All MDAC components have been tested using the Microsoft ComCheck.exe component checker. All tested as being OK with no conflicts. Browser is Microsoft IE6.0 Have been using JDK1.2.2 to allow jk_nt_service.exe to work correctly but same issue occurs with JDK1.4. Eventviewer does not give any other information than the above error. The following is tha java class that does the connection and queries: import java.sql.*; public class FruitConnect { private Driver drv = null; private Connection conn = null; private ResultSet rs = null; private Statement stmt = null; public FruitConnect(){} public void dbConnect() throws Exception{ drv = (Driver) Class.forName(sun.jdbc.odbc.JdbcOdbcDriver).newInstance (); conn = DriverManager.getConnection (jdbc:odbc:Fruit,fruit_login,fruit_login); } public boolean getNextItem() throws Exception{ boolean ret = rs.next(); return(ret); } public String getItemNameString(String columnName) throws Exception{ String name = rs.getString(columnName); return(name); } public float getItemNameFloat(String columnName) throws Exception{ float name = rs.getFloat(columnName); return(name); } public boolean selectFruits() throws Exception{ String query = SELECT Id, Name FROM Fruit; stmt = conn.createStatement(); rs = stmt.executeQuery(query); boolean ret = false; if (rs != null) ret = true; return(ret); } public boolean selectMonths() throws Exception{ String query = SELECT Id, Name FROM Month; stmt = conn.createStatement(); rs = stmt.executeQuery(query); boolean ret = false; if (rs != null) ret = true; return(ret); } public boolean selectFruitForSale() throws Exception{ String query = SELECT F.Name AS Fruit, M.Name AS Month, Price, Weight, (Price * Weight) AS TotalPrice FROM FruitMonth AS FM, Fruit AS F, Month AS M WHERE FM.FruitId = F.Id AND FM.MonthId = M.Id ORDER BY M.Id; stmt = conn.createStatement(); rs = stmt.executeQuery(query); boolean ret = false; if (rs != null) ret = true; return(ret); } public int insertFruit(String name) throws Exception{ String query = INSERT INTO Fruit (Name) VALUES (' + name + '); stmt = conn.createStatement(); int ret = stmt.executeUpdate(query); return(ret); } public int insertFruitForSale(String insertValues) throws Exception{ String query = INSERT INTO FruitMonth (FruitId, MonthId, Price, Weight) VALUES ( + insertValues + ); stmt = conn.createStatement(); int ret = stmt.executeUpdate(query); return(ret); } public int deleteFruit(String fruitList) throws Exception{ String query = DELETE FROM Fruit WHERE Name IN ( + fruitList + ); stmt = conn.createStatement(); int ret = stmt.executeUpdate(query); return(ret); } public void dbDisconnect() throws Exception{ stmt.close(); conn.close(); } } The following is the JSP that calls the class: %@ page import=java.sql.* % jsp:include page=adminHeader.html flush=true / div align=center table border=1 cellspacing=2 cellspacing=2 width=150 tr thFruit/th /tr % FruitConnect fruitConnect = new FruitConnect(); % % int counter = 0; String bgColor = ; String mode = request.getParameter(mode); if ( mode == null ) mode = view; fruitConnect.dbConnect(); if
DO NOT REPLY [Bug 7638] New: - Service Name in Windows has space
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7638. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7638 Service Name in Windows has space Summary: Service Name in Windows has space Product: Tomcat 4 Version: 4.0.3 Final Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi all, I noticed that the Windows service name for Tomcat is Apache Tomcat. As far as I can tell, no other service has a space in the name. This because an issue because I am trying to issue a NET STOP command. The way to do it is NET STOP Apache Tomcat. However, in my instance, i am attempting to use ant's exec task via SSH to start and stop my remote service. My string in ant ends up as: execargs value='ssh trujillo NET STOP quot;Apache Tomcatquot;'//exec However, even though it appears that I am passing the string NET STOP Apache Tomcat to the SSH server, it doesn't work, and gives me a service not found with that name error. It justs seems easier to call the service ApacheTomcat or Tomcat, versus Apache Tomcat. I was using OpenSSH, Ant 1.4.1, and Tomcat 4.0.3. My current email is [EMAIL PROTECTED] and I don't mind helping give more information on the bug. Eric PUgh -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 7638] - Service Name in Windows has space
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7638. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7638 Service Name in Windows has space --- Additional Comments From [EMAIL PROTECTED] 2002-03-30 23:42 --- I believe your problem is due to incorrect usage of the arg value=/ element in ant's exec/ task. Try replacing the following: exec args value='ssh trujillo NET STOP quot;Apache Tomcatquot;'/ /exec with the following: exec executable=ssh/ arg value=trujillo/ arg value=NET/ arg value=STOP/ arg value=Apache Tomcat/ /exec The above will execute ssh with 4 arguments. The 4th argument will be Apache Tomcat. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/bin setclasspath.bat setclasspath.sh
patrickl02/03/30 15:50:43 Modified:catalina/src/bin setclasspath.bat setclasspath.sh Log: Remove line that reset JAVA_OPTS so that user's JAVA_OPTS can be used Revision ChangesPath 1.5 +1 -4 jakarta-tomcat-4.0/catalina/src/bin/setclasspath.bat Index: setclasspath.bat === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/bin/setclasspath.bat,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- setclasspath.bat 14 Feb 2002 01:29:47 - 1.4 +++ setclasspath.bat 30 Mar 2002 23:50:43 - 1.5 @@ -1,7 +1,7 @@ rem --- rem Set CLASSPATH and Java options rem -rem $Id: setclasspath.bat,v 1.4 2002/02/14 01:29:47 patrickl Exp $ +rem $Id: setclasspath.bat,v 1.5 2002/03/30 23:50:43 patrickl Exp $ rem --- rem Make sure prerequisite environment variables are set @@ -31,9 +31,6 @@ echo This environment variable is needed to run this program goto end :okBasedir - -rem Set the default Java options for all scripts -set JAVA_OPTS= rem Set the default -Djava.endorsed.dirs argument set JAVA_ENDORSED_DIRS=%BASEDIR%\bin;%BASEDIR%\common\endorsed 1.5 +1 -4 jakarta-tomcat-4.0/catalina/src/bin/setclasspath.sh Index: setclasspath.sh === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/bin/setclasspath.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- setclasspath.sh 14 Feb 2002 01:29:47 - 1.4 +++ setclasspath.sh 30 Mar 2002 23:50:43 - 1.5 @@ -1,7 +1,7 @@ # - # Set CLASSPATH and Java options # -# $Id: setclasspath.sh,v 1.4 2002/02/14 01:29:47 patrickl Exp $ +# $Id: setclasspath.sh,v 1.5 2002/03/30 23:50:43 patrickl Exp $ # - # Make sure prerequisite environment variables are set @@ -25,9 +25,6 @@ echo This environment variable is needed to run this program exit 1 fi - -# Set the default Java options for all scripts -JAVA_OPTS= # Set the default -Djava.endorsed.dirs argument JAVA_ENDORSED_DIRS=$BASEDIR/bin:$BASEDIR/common/endorsed -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/bin setclasspath.bat setclasspath.sh
patrickl02/03/30 15:53:24 Modified:catalina/src/bin Tag: tomcat_40_branch setclasspath.bat setclasspath.sh Log: Remove line that reset JAVA_OPTS so that user's JAVA_OPTS can be used Revision ChangesPath No revision No revision 1.1.2.4 +1 -4 jakarta-tomcat-4.0/catalina/src/bin/setclasspath.bat Index: setclasspath.bat === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/bin/setclasspath.bat,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -r1.1.2.3 -r1.1.2.4 --- setclasspath.bat 30 Jan 2002 23:08:28 - 1.1.2.3 +++ setclasspath.bat 30 Mar 2002 23:53:24 - 1.1.2.4 @@ -1,7 +1,7 @@ rem --- rem Set CLASSPATH and Java options rem -rem $Id: setclasspath.bat,v 1.1.2.3 2002/01/30 23:08:28 patrickl Exp $ +rem $Id: setclasspath.bat,v 1.1.2.4 2002/03/30 23:53:24 patrickl Exp $ rem --- rem Make sure prerequisite environment variables are set @@ -26,9 +26,6 @@ echo This environment variable is needed to run this program goto end :okBasedir - -rem Set the default Java options for all scripts -set JAVA_OPTS= rem Set the default -Djava.endorsed.dirs argument set JAVA_ENDORSED_DIRS=%BASEDIR%\bin;%BASEDIR%\common\lib 1.1.2.4 +1 -4 jakarta-tomcat-4.0/catalina/src/bin/setclasspath.sh Index: setclasspath.sh === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/bin/setclasspath.sh,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -r1.1.2.3 -r1.1.2.4 --- setclasspath.sh 30 Jan 2002 23:08:28 - 1.1.2.3 +++ setclasspath.sh 30 Mar 2002 23:53:24 - 1.1.2.4 @@ -1,7 +1,7 @@ # - # Set CLASSPATH and Java options # -# $Id: setclasspath.sh,v 1.1.2.3 2002/01/30 23:08:28 patrickl Exp $ +# $Id: setclasspath.sh,v 1.1.2.4 2002/03/30 23:53:24 patrickl Exp $ # - # Make sure prerequisite environment variables are set @@ -25,9 +25,6 @@ echo This environment variable is needed to run this program exit 1 fi - -# Set the default Java options for all scripts -JAVA_OPTS= # Set the default -Djava.endorsed.dirs argument JAVA_ENDORSED_DIRS=$BASEDIR/bin:$BASEDIR/common/lib -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4 CoyoteResponse.java
remm02/03/30 20:41:17 Modified:coyote/src/java/org/apache/coyote/tomcat4 CoyoteResponse.java Log: - Don't throw an ISE if the response has been committed. Revision ChangesPath 1.11 +5 -6 jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java Index: CoyoteResponse.java === RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- CoyoteResponse.java 16 Mar 2002 06:09:13 - 1.10 +++ CoyoteResponse.java 31 Mar 2002 04:41:17 - 1.11 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java,v 1.10 2002/03/16 06:09:13 remm Exp $ - * $Revision: 1.10 $ - * $Date: 2002/03/16 06:09:13 $ + * $Header: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/tomcat4/CoyoteResponse.java,v 1.11 2002/03/31 04:41:17 remm Exp $ + * $Revision: 1.11 $ + * $Date: 2002/03/31 04:41:17 $ * * * @@ -116,7 +116,7 @@ * * @author Remy Maucherat * @author Craig R. McClanahan - * @version $Revision: 1.10 $ $Date: 2002/03/16 06:09:13 $ + * @version $Revision: 1.11 $ $Date: 2002/03/31 04:41:17 $ */ public class CoyoteResponse @@ -991,8 +991,7 @@ throws IOException { if (isCommitted()) -throw new IllegalStateException -(sm.getString(coyoteResponse.sendAck.ise)); +return; // Ignore any call from an included servlet if (included) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 7497] - Catalina not loading webapps from specified folders
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7497. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7497 Catalina not loading webapps from specified folders [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|CLOSED --- Additional Comments From [EMAIL PROTECTED] 2002-03-31 06:42 --- Last time, I promise. I found this on the mailing list archive, pretty much by accident and found this: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg49079.html which gives the following snippet that really should highlighted in README.txt notes Don't use StuffIt and don't use tar in Terminal. Use gnutar in Terminal. Works perfectly. I had the exact same SetCharacter... error. and my doing this worked just fine! Thanks anyways Shane -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 7640] New: - JDBC connection and transaction related
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7640. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7640 JDBC connection and transaction related Summary: JDBC connection and transaction related Product: Tomcat 4 Version: 4.0.2 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This is regarding jdbc connection and tyrex transaction manager. When I start the transaction and whenever i get a connection from the datasource in the same thread from the same method, data source gives me new connection always. If I start a transaction and calls get connection from the same datasource with in the same thread, it should not give the new connection. For example, if I get a connection and after I am done with it, I call close connection. In the next method call(transaction is not over yet), If I call the get connection then also it should give me the same physical connection as the previous one(sothat I can do the dirty read). -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]