DO NOT REPLY [Bug 49372] 7.0.0RC: Starting second instance of Tomcat on the same port results in "An invalid Lifecycle transition was attempted"

2011-01-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49372

Vishal J  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #2 from Vishal J  2011-01-03 07:42:14 EST 
---

I am facing this issue with Apache Tomcat/7.0.5
Check the below Logs...


Jan 3, 2011 6:06:12 PM org.apache.coyote.ajp.AjpProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Jan 3, 2011 6:06:12 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 757 ms
Jan 3, 2011 6:06:12 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 3, 2011 6:06:12 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.5
Jan 3, 2011 6:06:12 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive xxx.war
Jan 3, 2011 6:06:13 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Jan 3, 2011 6:06:13 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Jan 3, 2011 6:06:13 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jan 3, 2011 6:06:13 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Jan 3, 2011 6:06:13 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Jan 3, 2011 6:06:13 PM org.apache.catalina.core.StandardService startInternal
SEVERE: Failed to start connector [Connector[HTTP/1.1-8080]]
LifecycleException:  An invalid Lifecycle transition was attempted
([before_start]) for component [Connector[HTTP/1.1-8080]] in state
[INITIALIZING]
at
org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:336)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:134)
at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:456)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)
at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:674)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)
at org.apache.catalina.startup.Catalina.start(Catalina.java:596)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:303)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
Jan 3, 2011 6:06:13 PM org.apache.coyote.ajp.AjpProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Jan 3, 2011 6:06:13 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1093 ms


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 49372] 7.0.0RC: Starting second instance of Tomcat on the same port results in "An invalid Lifecycle transition was attempted"

2011-01-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49372

Vishal J  changed:

   What|Removed |Added

 CC||vishal.jai...@volvo.com
   Platform|PC  |HP

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 49372] 7.0.0RC: Starting second instance of Tomcat on the same port results in "An invalid Lifecycle transition was attempted"

2011-01-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=49372

Vishal J  changed:

   What|Removed |Added

 OS/Version|Windows XP  |Linux

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 50538] New: Unable to Install Apache in windows XP

2011-01-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50538

   Summary: Unable to Install Apache in windows XP
   Product: Tomcat 7
   Version: 7.0.5
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: blocker
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: shaik.sa...@gmail.com


Created an attachment (id=26453)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26453)
Screenshot when application is installing

Descritpion:

When i try to install the apache-tomcat-7.0.5.exe it is showing an error
"Failed to install Tomacat 7. Check your settings and permissions. Ignore and
continue anyway(not recommended)?"


For more information please see the attachments

Thank You!
Sami Ahmed Shaik

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1054603 - in /tomcat/jk/trunk: jkstatus/build.xml native/NOTICE native/common/jk_status.c native/iis/jk_isapi_plugin.c xdocs/style.xsl

2011-01-03 Thread rjung
Author: rjung
Date: Mon Jan  3 13:03:43 2011
New Revision: 1054603

URL: http://svn.apache.org/viewvc?rev=1054603&view=rev
Log:
Happy new year!
Update Copyright year for JK.

Modified:
tomcat/jk/trunk/jkstatus/build.xml
tomcat/jk/trunk/native/NOTICE
tomcat/jk/trunk/native/common/jk_status.c
tomcat/jk/trunk/native/iis/jk_isapi_plugin.c
tomcat/jk/trunk/xdocs/style.xsl

Modified: tomcat/jk/trunk/jkstatus/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/jkstatus/build.xml?rev=1054603&r1=1054602&r2=1054603&view=diff
==
--- tomcat/jk/trunk/jkstatus/build.xml (original)
+++ tomcat/jk/trunk/jkstatus/build.xml Mon Jan  3 13:03:43 2011
@@ -120,7 +120,7 @@
   version="true"
   windowtitle="Jk Status Internal API Documentation"
   doctitle="Jk Status API"
-  bottom="Copyright © 2000-2010 Apache Software Foundation.  All 
Rights Reserved."
+  bottom="Copyright © 2000-2011 Apache Software Foundation.  All 
Rights Reserved."
 />
   
 

Modified: tomcat/jk/trunk/native/NOTICE
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/NOTICE?rev=1054603&r1=1054602&r2=1054603&view=diff
==
--- tomcat/jk/trunk/native/NOTICE (original)
+++ tomcat/jk/trunk/native/NOTICE Mon Jan  3 13:03:43 2011
@@ -1,5 +1,5 @@
 Apache Tomcat Connectors
-Copyright 2002-2010 The Apache Software Foundation
+Copyright 2002-2011 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).

Modified: tomcat/jk/trunk/native/common/jk_status.c
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_status.c?rev=1054603&r1=1054602&r2=1054603&view=diff
==
--- tomcat/jk/trunk/native/common/jk_status.c (original)
+++ tomcat/jk/trunk/native/common/jk_status.c Mon Jan  3 13:03:43 2011
@@ -215,7 +215,7 @@
"http://www.w3.org/1999/xhtml\"; xml:lang=\"en\" lang=\"en\">" \
"JK Status 
Manager"
 
-#define JK_STATUS_COPYRIGHT"Copyright © 1999-2010, The 
Apache Software Foundation" \
+#define JK_STATUS_COPYRIGHT"Copyright © 1999-2011, The 
Apache Software Foundation" \
"Licensed under the http://www.apache.org/licenses/LICENSE-2.0\";>" \
"Apache License, Version 2.0."
 

Modified: tomcat/jk/trunk/native/iis/jk_isapi_plugin.c
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/iis/jk_isapi_plugin.c?rev=1054603&r1=1054602&r2=1054603&view=diff
==
--- tomcat/jk/trunk/native/iis/jk_isapi_plugin.c (original)
+++ tomcat/jk/trunk/native/iis/jk_isapi_plugin.c Mon Jan  3 13:03:43 2011
@@ -207,7 +207,7 @@ char HTML_ERROR_TAIL[] ="\n \n"
 "\n"
 "\n"
-"Copyright © 1999-2010 Apache Software 
Foundation\n"
+"Copyright © 1999-2011 Apache Software 
Foundation\n"
 "All Rights Reserved\n"
 "\n\n\n";
 

Modified: tomcat/jk/trunk/xdocs/style.xsl
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/xdocs/style.xsl?rev=1054603&r1=1054602&r2=1054603&view=diff
==
--- tomcat/jk/trunk/xdocs/style.xsl (original)
+++ tomcat/jk/trunk/xdocs/style.xsl Mon Jan  3 13:03:43 2011
@@ -178,7 +178,7 @@
   PAGE FOOTER
   
 
-Copyright © 1999-2010, Apache Software Foundation
+Copyright © 1999-2011, Apache Software Foundation
 
   
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1054604 - /tomcat/jk/trunk/native/STATUS.txt

2011-01-03 Thread rjung
Author: rjung
Date: Mon Jan  3 13:05:05 2011
New Revision: 1054604

URL: http://svn.apache.org/viewvc?rev=1054604&view=rev
Log:
Update version release history.

Modified:
tomcat/jk/trunk/native/STATUS.txt

Modified: tomcat/jk/trunk/native/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/STATUS.txt?rev=1054604&r1=1054603&r2=1054604&view=diff
==
--- tomcat/jk/trunk/native/STATUS.txt (original)
+++ tomcat/jk/trunk/native/STATUS.txt Mon Jan  3 13:05:05 2011
@@ -18,7 +18,8 @@ Last modified at [$Date$]
 
 Release:
 
-1.2.31  : in development
+1.2.32  : in development
+1.2.31  : released November 1, 2010
 1.2.30  : released March 1, 2010
 1.2.29  : released February 26, 2010, withdrawn February 27, 2010
 1.2.28  : released March 22, 2009



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1054607 - in /tomcat/jk/trunk/native: common/jk_version.h configure.in iis/installer/isapi-redirector-win32-msi.ism

2011-01-03 Thread rjung
Author: rjung
Date: Mon Jan  3 13:13:49 2011
New Revision: 1054607

URL: http://svn.apache.org/viewvc?rev=1054607&view=rev
Log:
Bump version after 1.2.31 release.

Modified:
tomcat/jk/trunk/native/common/jk_version.h
tomcat/jk/trunk/native/configure.in
tomcat/jk/trunk/native/iis/installer/isapi-redirector-win32-msi.ism

Modified: tomcat/jk/trunk/native/common/jk_version.h
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/common/jk_version.h?rev=1054607&r1=1054606&r2=1054607&view=diff
==
--- tomcat/jk/trunk/native/common/jk_version.h (original)
+++ tomcat/jk/trunk/native/common/jk_version.h Mon Jan  3 13:13:49 2011
@@ -26,10 +26,10 @@
 /** START OF AREA TO MODIFY BEFORE RELEASING */
 #define JK_VERMAJOR 1
 #define JK_VERMINOR 2
-#define JK_VERFIX   31
+#define JK_VERFIX   32
 
 /* set JK_VERISRELEASE to 1 when release (do not forget to commit!) */
-#define JK_VERISRELEASE 1
+#define JK_VERISRELEASE 0
 /* Beta number */
 #define JK_VERBETA  0
 #define JK_BETASTRING   "0"

Modified: tomcat/jk/trunk/native/configure.in
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/configure.in?rev=1054607&r1=1054606&r2=1054607&view=diff
==
--- tomcat/jk/trunk/native/configure.in (original)
+++ tomcat/jk/trunk/native/configure.in Mon Jan  3 13:13:49 2011
@@ -26,7 +26,7 @@ AC_CANONICAL_SYSTEM
 
 dnl package and version. (synchronization with common/jk_version.h ?)
 PACKAGE=mod_jk
-VERSION=1.2.31
+VERSION=1.2.32
 
 AM_INIT_AUTOMAKE(${PACKAGE}, ${VERSION})
 

Modified: tomcat/jk/trunk/native/iis/installer/isapi-redirector-win32-msi.ism
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/iis/installer/isapi-redirector-win32-msi.ism?rev=1054607&r1=1054606&r2=1054607&view=diff
==
--- tomcat/jk/trunk/native/iis/installer/isapi-redirector-win32-msi.ism 
(original)
+++ tomcat/jk/trunk/native/iis/installer/isapi-redirector-win32-msi.ism Mon Jan 
 3 13:13:49 2011
@@ -3425,7 +3425,7 @@ TQBzAGkAAQBSAGUAbABlAGEAcwBlAA==
ProductIDnone
ProductLanguage1033
ProductNameTomcat Isapi 
Redirector
-   ProductVersion1.2.29
+   ProductVersion1.2.32
ProgressType0install
ProgressType1Installing
ProgressType2installed



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1054608 - in /tomcat/sandbox/tomcat-oacc/trunk: NOTICE build.xml docs/tomcat-oacc-docs.xsl

2011-01-03 Thread rjung
Author: rjung
Date: Mon Jan  3 13:24:18 2011
New Revision: 1054608

URL: http://svn.apache.org/viewvc?rev=1054608&view=rev
Log:
Update Copyright year.

Modified:
tomcat/sandbox/tomcat-oacc/trunk/NOTICE
tomcat/sandbox/tomcat-oacc/trunk/build.xml
tomcat/sandbox/tomcat-oacc/trunk/docs/tomcat-oacc-docs.xsl

Modified: tomcat/sandbox/tomcat-oacc/trunk/NOTICE
URL: 
http://svn.apache.org/viewvc/tomcat/sandbox/tomcat-oacc/trunk/NOTICE?rev=1054608&r1=1054607&r2=1054608&view=diff
==
--- tomcat/sandbox/tomcat-oacc/trunk/NOTICE (original)
+++ tomcat/sandbox/tomcat-oacc/trunk/NOTICE Mon Jan  3 13:24:18 2011
@@ -1,5 +1,5 @@
 Apache Tomcat OACC
-Copyright 1999-2010 The Apache Software Foundation
+Copyright 1999-2011 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).

Modified: tomcat/sandbox/tomcat-oacc/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/sandbox/tomcat-oacc/trunk/build.xml?rev=1054608&r1=1054607&r2=1054608&view=diff
==
--- tomcat/sandbox/tomcat-oacc/trunk/build.xml (original)
+++ tomcat/sandbox/tomcat-oacc/trunk/build.xml Mon Jan  3 13:24:18 2011
@@ -163,7 +163,7 @@
   version="true"
   windowtitle="Catalina Cluster Internal API Documentation"
   doctitle="Catalina Cluster API"
-  bottom="Copyright © 2000-2010 Apache Software Foundation.  All 
Rights Reserved."
+  bottom="Copyright © 2000-2011 Apache Software Foundation.  All 
Rights Reserved."
 />
   
 

Modified: tomcat/sandbox/tomcat-oacc/trunk/docs/tomcat-oacc-docs.xsl
URL: 
http://svn.apache.org/viewvc/tomcat/sandbox/tomcat-oacc/trunk/docs/tomcat-oacc-docs.xsl?rev=1054608&r1=1054607&r2=1054608&view=diff
==
--- tomcat/sandbox/tomcat-oacc/trunk/docs/tomcat-oacc-docs.xsl (original)
+++ tomcat/sandbox/tomcat-oacc/trunk/docs/tomcat-oacc-docs.xsl Mon Jan  3 
13:24:18 2011
@@ -156,7 +156,7 @@
   PAGE FOOTER
   
 
-Copyright © 1999-2010, Apache Software Foundation
+Copyright © 1999-2011, Apache Software Foundation
 
   
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1054609 - in /tomcat/native/trunk: NOTICE build.xml xdocs/style.xsl

2011-01-03 Thread rjung
Author: rjung
Date: Mon Jan  3 13:28:39 2011
New Revision: 1054609

URL: http://svn.apache.org/viewvc?rev=1054609&view=rev
Log:
Update copyright year.

Modified:
tomcat/native/trunk/NOTICE
tomcat/native/trunk/build.xml
tomcat/native/trunk/xdocs/style.xsl

Modified: tomcat/native/trunk/NOTICE
URL: 
http://svn.apache.org/viewvc/tomcat/native/trunk/NOTICE?rev=1054609&r1=1054608&r2=1054609&view=diff
==
--- tomcat/native/trunk/NOTICE (original)
+++ tomcat/native/trunk/NOTICE Mon Jan  3 13:28:39 2011
@@ -1,5 +1,5 @@
 Apache Tomcat Native Library
-Copyright 2002-2010 The Apache Software Foundation
+Copyright 2002-2011 The Apache Software Foundation
 
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).

Modified: tomcat/native/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/native/trunk/build.xml?rev=1054609&r1=1054608&r2=1054609&view=diff
==
--- tomcat/native/trunk/build.xml (original)
+++ tomcat/native/trunk/build.xml Mon Jan  3 13:28:39 2011
@@ -30,7 +30,7 @@
 
 
 
-
+
 
 
 
@@ -179,7 +179,7 @@
 packagenames="org.apache.tomcat.*"
 windowtitle="${title} (Version ${version})"
 doctitle="

${title} (Version ${version})

" -bottom="Copyright 2002-2010 The Apache Software Foundation. (https://issues.apache.org/bugzilla/attachment.cgi?id=26455) Patch to allow the call DataSource.getConnection(username,password) Here is the patch for allowing DataSource.getConnection(username, password) to be used. In the case of a connection that is connected, is used with a different username, password it is reconnected. I'm hesitant to apply this patch at this time as it does slow down the pool doing the passwords checks every time a connection is requested. I will experiment with a flag to enable/disable the check -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org

svn commit: r1054801 - in /tomcat/trunk/modules/jdbc-pool: doc/ java/org/apache/tomcat/jdbc/pool/ java/org/apache/tomcat/jdbc/pool/jmx/ test/org/apache/tomcat/jdbc/test/ test/org/apache/tomcat/jdbc/te

2011-01-03 Thread fhanik
Author: fhanik
Date: Mon Jan  3 22:14:21 2011
New Revision: 1054801

URL: http://svn.apache.org/viewvc?rev=1054801&view=rev
Log:
add in ability to pass through credentials
https://issues.apache.org/bugzilla/show_bug.cgi?id=50025


Added:

tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/AlternateUsernameTest.java
   (with props)
Modified:
tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml

tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java

tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/DataSourceFactory.java

tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/DataSourceProxy.java

tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/PoolConfiguration.java

tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/PoolProperties.java

tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/PooledConnection.java

tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java

tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Connection.java

tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Driver.java

Modified: tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml?rev=1054801&r1=1054800&r2=1054801&view=diff
==
--- tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml (original)
+++ tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml Mon Jan  3 22:14:21 2011
@@ -416,6 +416,19 @@
logged and a JMX notification gets sent once. 
   
 
+
+  (boolean) By default, the jdbc-pool will ignore the 
+ http://download.oracle.com/javase/6/docs/api/javax/sql/DataSource.html#getConnection(java.lang.String,%20java.lang.String)">DataSource.getConnection(username,password)
+ call, and simply return a previously pooled connection under the 
globally configured properties username and password, 
for performance reasons.
+ The pool can however be used with different credentials each time a 
connection is used. Should you request a connection with the credentials 
user1/password1 and the connection
+ was previously connected using user2/password2, the connection will 
be closed, and reopened with the requested credentials. This way, the pool size 
is still managed
+ on a global level, and not on a per schema level. To enable the 
functionality described in the 
+ http://download.oracle.com/javase/6/docs/api/javax/sql/DataSource.html#getConnection(java.lang.String,%20java.lang.String)">DataSource.getConnection(username,password)
+ call, simply set the property alternateUsernameAllowed 
to true. 
+ The default value is false.
+ This property was added as an enhancement to https://issues.apache.org/bugzilla/show_bug.cgi?id=50025";>bug 50025.
+  
+
 
   (javax.sql.DataSource)  
   

Modified: 
tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java?rev=1054801&r1=1054800&r2=1054801&view=diff
==
--- 
tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
 (original)
+++ 
tomcat/trunk/modules/jdbc-pool/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
 Mon Jan  3 22:14:21 2011
@@ -161,10 +161,29 @@ public class ConnectionPool {
  */
 public Connection getConnection() throws SQLException {
 //check out a connection
-PooledConnection con = borrowConnection(-1);
+PooledConnection con = borrowConnection(-1,null,null);
 return setupConnection(con);
 }
 
+   
+/**
+ * Borrows a connection from the pool. If a connection is available (in the
+ * idle queue) or the pool has not reached {...@link 
PoolProperties#maxActive
+ * maxActive} connections a connection is returned immediately. If no
+ * connection is available, the pool will attempt to fetch a connection for
+ * {...@link PoolProperties#maxWait maxWait} milliseconds.
+ * 
+ * @return Connection - a java.sql.Connection/javax.sql.PooledConnection
+ * reflection proxy, wrapping the underlying object.
+ * @throws SQLException
+ * - if the wait times out or a failure occurs creating a
+ * connection
+ */
+public Connection getConnection(String username, String password) throws 
SQLException {
+// check out a connection
+PooledConnection con = borrowConnection(-1, username, password);
+return setupConnection(con);
+}
 
 /**
  * Returns the name of this pool
@@ -422,7 +441,7 @@ public class Connectio

svn commit: r1054803 - /tomcat/trunk/modules/jdbc-pool/build.properties.default

2011-01-03 Thread fhanik
Author: fhanik
Date: Mon Jan  3 22:15:35 2011
New Revision: 1054803

URL: http://svn.apache.org/viewvc?rev=1054803&view=rev
Log:
Increment version number

Modified:
tomcat/trunk/modules/jdbc-pool/build.properties.default

Modified: tomcat/trunk/modules/jdbc-pool/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/build.properties.default?rev=1054803&r1=1054802&r2=1054803&view=diff
==
--- tomcat/trunk/modules/jdbc-pool/build.properties.default (original)
+++ tomcat/trunk/modules/jdbc-pool/build.properties.default Mon Jan  3 22:15:35 
2011
@@ -28,7 +28,7 @@
 version.major=1
 version.minor=0
 version.build=9
-version.patch=0
+version.patch=1
 version.suffix=
 
 # - Default Base Path for Dependent Packages -



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1054804 - /tomcat/trunk/modules/jdbc-pool/sign.sh

2011-01-03 Thread fhanik
Author: fhanik
Date: Mon Jan  3 22:18:11 2011
New Revision: 1054804

URL: http://svn.apache.org/viewvc?rev=1054804&view=rev
Log:
version

Modified:
tomcat/trunk/modules/jdbc-pool/sign.sh

Modified: tomcat/trunk/modules/jdbc-pool/sign.sh
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/sign.sh?rev=1054804&r1=1054803&r2=1054804&view=diff
==
--- tomcat/trunk/modules/jdbc-pool/sign.sh (original)
+++ tomcat/trunk/modules/jdbc-pool/sign.sh Mon Jan  3 22:18:11 2011
@@ -15,7 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-VERSION=v1.0.8
+VERSION=v1.0.9.1
 for i in $(find output/release/$VERSION -name "*.zip" -o -name "*.tar.gz"); do
   echo Signing $i
   echo $1|gpg --passphrase-fd 0 -a -b $i



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1054812 - /tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/AlternateUsernameTest.java

2011-01-03 Thread fhanik
Author: fhanik
Date: Mon Jan  3 22:33:06 2011
New Revision: 1054812

URL: http://svn.apache.org/viewvc?rev=1054812&view=rev
Log:
Up the number of iterations the test runs

Modified:

tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/AlternateUsernameTest.java

Modified: 
tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/AlternateUsernameTest.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/AlternateUsernameTest.java?rev=1054812&r1=1054811&r2=1054812&view=diff
==
--- 
tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/AlternateUsernameTest.java
 (original)
+++ 
tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/AlternateUsernameTest.java
 Mon Jan  3 22:33:06 2011
@@ -34,7 +34,7 @@ import org.apache.tomcat.jdbc.test.drive
 
 public class AlternateUsernameTest extends DefaultTestCase {
 
-private static final int iterations = (new 
Random(System.currentTimeMillis())).nextInt(10)+1000;
+private static final int iterations = (new 
Random(System.currentTimeMillis())).nextInt(1000)+10;
 public AlternateUsernameTest(String name) {
 super(name);
 }



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1054824 - in /tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test: AlternateUsernameTest.java driver/Driver.java

2011-01-03 Thread fhanik
Author: fhanik
Date: Mon Jan  3 23:28:42 2011
New Revision: 1054824

URL: http://svn.apache.org/viewvc?rev=1054824&view=rev
Log:
one 0 too many on username test
make sure the driver correctly checks url

Modified:

tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/AlternateUsernameTest.java

tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Driver.java

Modified: 
tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/AlternateUsernameTest.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/AlternateUsernameTest.java?rev=1054824&r1=1054823&r2=1054824&view=diff
==
--- 
tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/AlternateUsernameTest.java
 (original)
+++ 
tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/AlternateUsernameTest.java
 Mon Jan  3 23:28:42 2011
@@ -34,12 +34,12 @@ import org.apache.tomcat.jdbc.test.drive
 
 public class AlternateUsernameTest extends DefaultTestCase {
 
-private static final int iterations = (new 
Random(System.currentTimeMillis())).nextInt(1000)+10;
+private static final int iterations = (new 
Random(System.currentTimeMillis())).nextInt(100)+10;
 public AlternateUsernameTest(String name) {
 super(name);
 }
 
-public void testGeneric() throws Exception {
+public void testUsernameCompare() throws Exception {
 
 this.init();
 this.datasource.setDriverClassName(Driver.class.getName());
@@ -74,6 +74,10 @@ public class AlternateUsernameTest exten
 
 }
 
+public void testUsernameCompareAgain() throws Exception {
+testUsernameCompare();
+}
+
 public static class TestResult {
 public int iterations;
 public int failures;

Modified: 
tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Driver.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Driver.java?rev=1054824&r1=1054823&r2=1054824&view=diff
==
--- 
tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Driver.java
 (original)
+++ 
tomcat/trunk/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/driver/Driver.java
 Mon Jan  3 23:28:42 2011
@@ -46,7 +46,7 @@ public class Driver implements java.sql.
 }
 
 public boolean acceptsURL(String url) throws SQLException {
-return url == Driver.url;
+return url!=null && url.equals(Driver.url);
 }
 
 public Connection connect(String url, Properties info) throws SQLException 
{



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 50025] getConnection method in class DataSourceProxy is ignoring credentials

2011-01-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50025

Filip Hanik  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #7 from Filip Hanik  2011-01-03 18:36:22 EST ---
Fixed in version 1.0.9.1
http://people.apache.org/~fhanik/jdbc-pool/

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1054827 - /tomcat/tags/JDBC_POOL_1_0_9_1/

2011-01-03 Thread fhanik
Author: fhanik
Date: Mon Jan  3 23:38:12 2011
New Revision: 1054827

URL: http://svn.apache.org/viewvc?rev=1054827&view=rev
Log:
1.0.9.1 tag

Added:
tomcat/tags/JDBC_POOL_1_0_9_1/   (props changed)
  - copied from r1054826, tomcat/trunk/modules/jdbc-pool/

Propchange: tomcat/tags/JDBC_POOL_1_0_9_1/
--
--- svn:ignore (added)
+++ svn:ignore Mon Jan  3 23:38:12 2011
@@ -0,0 +1,3 @@
+build.properties
+includes
+output

Propchange: tomcat/tags/JDBC_POOL_1_0_9_1/
--
svn:mergeinfo = /tomcat/tc6.0.x/trunk/modules/jdbc-pool:742915



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 50538] Unable to Install Apache in windows XP

2011-01-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50538

Sami Shaik  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |

--- Comment #2 from Sami Shaik  2011-01-03 23:31:51 EST 
---
Thank u! sebb, i'll follow your instructions and let you know whether it is
install or not.

Thanks
Sami

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 41861] Tomcat Windows installer behaves unexpectedly

2011-01-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=41861

Sami Shaik  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #5 from Sami Shaik  2011-01-03 23:59:54 EST 
---
Hi there,

Could anyone please tell me step by step procedure to install tomacat 6. I
tried to install version 5,6 and 7 but i'm getting same error. Please help me
to install tomcat it is very urgent.

Thanks,
Sami

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 41861] Tomcat Windows installer behaves unexpectedly

2011-01-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=41861

Chuck Caldarale  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #6 from Chuck Caldarale  2011-01-04 
00:10:57 EST ---
(In reply to comment #5)
> Could anyone please tell me step by step procedure to install tomacat 6. I
> tried to install version 5,6 and 7 but i'm getting same error. Please help me
> to install tomcat it is very urgent.

It's extremely obnoxious to hijack a bugzilla entry.  Bugzilla is not a support
forum; if you have usage questions, ask them on the Tomcat users mailing list.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org