buildbot success in ASF Buildbot on tomcat-trunk

2012-04-10 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-trunk while 
building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/tomcat-trunk/builds/2935

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-vm_ubuntu

Build Reason: scheduler
Build Source Stamp: [branch tomcat/trunk] 1324575
Blamelist: kfujino

Build succeeded!

sincerely,
 -The Buildbot





svn commit: r1324578 - in /tomcat/tc7.0.x/trunk: java/org/apache/catalina/ha/session/BackupManager.java webapps/docs/changelog.xml

2012-04-10 Thread kfujino
Author: kfujino
Date: Wed Apr 11 06:10:25 2012
New Revision: 1324578

URL: http://svn.apache.org/viewvc?rev=1324578&view=rev
Log:
Avoid NPE when reload if a state of a BackupManager is FAILED.

Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/BackupManager.java
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/BackupManager.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/BackupManager.java?rev=1324578&r1=1324577&r2=1324578&view=diff
==
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/BackupManager.java 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/BackupManager.java 
Wed Apr 11 06:10:25 2012
@@ -20,10 +20,12 @@ import java.util.HashSet;
 import java.util.Iterator;
 import java.util.Set;
 
+import org.apache.catalina.Cluster;
 import org.apache.catalina.DistributedManager;
 import org.apache.catalina.LifecycleException;
 import org.apache.catalina.LifecycleState;
 import org.apache.catalina.Session;
+import org.apache.catalina.ha.CatalinaCluster;
 import org.apache.catalina.ha.ClusterManager;
 import org.apache.catalina.ha.ClusterMessage;
 import org.apache.catalina.tribes.Channel;
@@ -142,6 +144,15 @@ public class BackupManager extends Clust
 super.startInternal();
 
 try {
+if (getCluster() == null) {
+Cluster cluster = getContainer().getCluster();
+if (cluster instanceof CatalinaCluster) {
+setCluster((CatalinaCluster)cluster);
+} else {
+throw new LifecycleException(
+"no cluster associated with this context: " + 
getName());
+}
+}
 cluster.registerManager(this);
 LazyReplicatedMap map = new LazyReplicatedMap(this,
   cluster.getChannel(),

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1324578&r1=1324577&r2=1324578&view=diff
==
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Wed Apr 11 06:10:25 2012
@@ -77,6 +77,13 @@
   
 
   
+  
+
+  
+Avoid NPE when reload if a state of a BackupManager is FAILED. 
(kfujino)
+  
+
+  
   
 
   



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



[GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed

2012-04-10 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project tomcat-trunk-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 18 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-trunk-test :  Tomcat 8.x, a web server implementing Java Servlet 
3.1,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property 
tomcat-dbcp-src.jar.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
commons-daemon.native.src.tgz.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
tomcat-native.tar.gz.
 -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property 
tomcat-dbcp.home.
 -INFO- Failed with reason build failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/build/logs



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/gump_work/build_tomcat-trunk_tomcat-trunk-test.html
Work Name: build_tomcat-trunk_tomcat-trunk-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 22 mins 53 secs
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-11042012.jar 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-11042012-native-src.tar.gz
 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-11042012-native-src.tar.gz
 -Dexamples.sources.skip=true 
-Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar
 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-11042012.jar
 
-Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-src.jar
 -Dtest.accesslog=true 
-Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x 
-Dcommons-dbcp.home=/
 srv/gump/public/workspace/commons-dbcp-1.x 
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-11042012.jar
 test 
[Working Directory: /srv/gump/public/workspace/tomcat-trunk]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-trunk/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-trunk/outp
 
ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-jni.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-util.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/eclipse/plugins/org
 
.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-11042012.jar:/srv/gump/public/workspac

svn commit: r1324575 - /tomcat/trunk/java/org/apache/catalina/ha/session/BackupManager.java

2012-04-10 Thread kfujino
Author: kfujino
Date: Wed Apr 11 05:58:08 2012
New Revision: 1324575

URL: http://svn.apache.org/viewvc?rev=1324575&view=rev
Log:
Avoid NPE when reload if a state of a BackupManager is FAILED.

Modified:
tomcat/trunk/java/org/apache/catalina/ha/session/BackupManager.java

Modified: tomcat/trunk/java/org/apache/catalina/ha/session/BackupManager.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/session/BackupManager.java?rev=1324575&r1=1324574&r2=1324575&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/ha/session/BackupManager.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/ha/session/BackupManager.java Wed Apr 
11 05:58:08 2012
@@ -20,10 +20,12 @@ import java.util.HashSet;
 import java.util.Iterator;
 import java.util.Set;
 
+import org.apache.catalina.Cluster;
 import org.apache.catalina.DistributedManager;
 import org.apache.catalina.LifecycleException;
 import org.apache.catalina.LifecycleState;
 import org.apache.catalina.Session;
+import org.apache.catalina.ha.CatalinaCluster;
 import org.apache.catalina.ha.ClusterManager;
 import org.apache.catalina.ha.ClusterMessage;
 import org.apache.catalina.tribes.Channel;
@@ -143,6 +145,15 @@ public class BackupManager extends Clust
 super.startInternal();
 
 try {
+if (getCluster() == null) {
+Cluster cluster = getContainer().getCluster();
+if (cluster instanceof CatalinaCluster) {
+setCluster((CatalinaCluster)cluster);
+} else {
+throw new LifecycleException(
+"no cluster associated with this context: " + 
getName());
+}
+}
 cluster.registerManager(this);
 LazyReplicatedMap map =
 new LazyReplicatedMap(this,



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



[GUMP@vmgump]: Project tomcat-tc7.0.x-test (in module tomcat-7.0.x) failed

2012-04-10 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project tomcat-tc7.0.x-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 8 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-tc7.0.x-test :  Tomcat 7.x, a web server implementing Java Servlet 
3.0,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property 
tomcat-dbcp-src.jar.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
commons-daemon.native.src.tgz.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
tomcat-native.tar.gz.
 -DEBUG- Dependency on tomcat-tc7.0.x-dbcp exists, no need to add for property 
tomcat-dbcp.home.
 -INFO- Failed with reason build failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-7.0.x/output/build/logs



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-7.0.x/tomcat-tc7.0.x-test/gump_work/build_tomcat-7.0.x_tomcat-tc7.0.x-test.html
Work Name: build_tomcat-7.0.x_tomcat-tc7.0.x-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 22 mins 58 secs
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-11042012.jar 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-11042012-native-src.tar.gz
 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-11042012-native-src.tar.gz
 -Dexamples.sources.skip=true 
-Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar
 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-11042012.jar
 
-Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-src.jar
 -Dtest.accesslog=true 
-Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x 
-Dcommons-dbcp.home=/
 srv/gump/public/workspace/commons-dbcp-1.x 
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-7.0.x/tomcat-deps/tomcat-dbcp-11042012.jar
 test 
[Working Directory: /srv/gump/public/workspace/tomcat-7.0.x]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-7.0.x/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/outp
 
ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-7.0.x/output/build/lib/tomcat-util.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-7.
 
0.x/tomcat-deps/tomcat-dbcp-11042012.jar:/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-11042012.jar:

[Tomcat Wiki] Update of "LocalBadContent" by ChuckCaldarale

2012-04-10 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "LocalBadContent" page has been changed by ChuckCaldarale:
http://wiki.apache.org/tomcat/LocalBadContent?action=diff&rev1=45&rev2=46

  sh-dzbc\.com\.cn
  shyxbc\.com\.cn
  signalsforex
+ siliconebody\.com
  smbay\.cn
  sprachstudium\.beeplog\.de
  technische-uebersetzung\.blogage\.de
  tiffanyonsale\.org
  tinyurl\.com
  tnb120\.com\.cn
+ toptriactolreviews\.com
  tunfar\.com\.cn
  u-tokyo\.ac\.jp
  uebersetzer\.blogieren\.de

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



[Tomcat Wiki] Update of "triactol" by ACoatsworth5Q

2012-04-10 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "triactol" page has been changed by ACoatsworth5Q:
http://wiki.apache.org/tomcat/triactol

New page:
However this kind of technique can be very overpriced, in addition to, 
dangerous for your health. An invaluable thing in which now, you can find 
Triactol destroy serum. This system will probably be created that can help 
increase the failures, add to the sizing and earn these kinds of harder.Fully 
know what this program is in fact along with precisely what it does to add to 
the breast area, it is advisable to check precisely what Triactol evaluations 
want to say. These types of testamonials are normally created by people who 
definitely have basically put to use the items along with wellness experts who 
look at although track of these kinds of merchandise. Maybe this is these 
Triactol bust-line serum critiques definitely enable new service clients within 
just choosing if it is certainly the piece potentially they are hunting 
for.[[http://toptriactolreviews.com/|triactol]]

Apparently through the optimistic ratings and also tendencies by means of 
current potential buyers, this audio it's actually helpful. From the health 
supplement write-up per se, many clients submitted in the feedback and also 
comments about Triactol. Their useful for arrangement for taking observe that 
when preparing for out of browsing these sorts of stories, you can find that 
will that you really incorporate the same problems in addition dreams coupled 
with plenty of Triactol potential buyers, and case sometimes there're close to 
exhibits your own house.

All women, regardless of bust line measurement, will need to have considered 
with regards to selecting the girl's bust raised, firmed as well as enflamed. 
This is due to the larger the better your chests are, balance more desirable 
along with desirable she could look for. Likewise, surely a lot less cleavage 
along with breast specifications restrict the final look along with figure on 
the woman and it's reality that women having larger together with tighter 
boobies are believed with for being fascinating along with women. It's truly 
consequently reason why you will learn a strong major selection of breast 
implant surgery procedures available in the market area, which usually a huge 
selection of women of all ages are endeavoring out there every day. It happens 
to be reality in which surgical treatment has become the smaller chose choices 
thanks to but not only the value but also the health and fitness potential 
issues of identical. Therefore, women of all ages are likely to use nonsurgical 
tactics for having an ample and greater bosom which unfortunately appears to be 
extra pure. Triactol is among one of the most very helpful non-surgical breast 
augmentation skills available to buy which is possible to have a look at from 
any of the Triactol testimonials to substantiate it reality. 

endure to realize awareness about it  http://www.siliconebody.com/

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



[jira] [Commented] (MTOMCAT-137) Adding a static context to tomcat for static files like images, js, html etc.

2012-04-10 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/MTOMCAT-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251208#comment-13251208
 ] 

Hudson commented on MTOMCAT-137:


Integrated in TomcatMavenPlugin-mvn3.x #125 (See 
[https://builds.apache.org/job/TomcatMavenPlugin-mvn3.x/125/])
[MTOMCAT-137] Adding a static context to tomcat for static files like 
images, js, html etc.
Submitted by Gaurav Vishnoi
feature added for tomcat7 mojo too. (Revision 1312036)

 Result = SUCCESS
olamy : http://svn.apache.org/viewvc/?view=rev&rev=1312036
Files : 
* 
/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
* 
/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java


> Adding a static context to tomcat for static files like images, js, html etc.
> -
>
> Key: MTOMCAT-137
> URL: https://issues.apache.org/jira/browse/MTOMCAT-137
> Project: Apache Tomcat Maven Plugin
>  Issue Type: Improvement
>  Components: tomcat6
>Affects Versions: 2.0-beta-1
> Environment: Eclipse on windows platform with internal tomcat server.
>Reporter: Gaurav Vishnoi
>Assignee: Olivier Lamy (*$^¨%`£)
>Priority: Minor
> Fix For: 2.0
>
> Attachments: patch.txt
>
>
> There is no configuration available in the current tomcat maven plugin to add 
> a static context. If you want to include static context you would need an 
> external Apache server hosting your static files. Instead of setting the 
> Apache I wanted to include the static context in my pom.xml. So, I modified 
> the tomcat maven plugin to include the configurations for static context. 
> I have created a patch and will attach it here.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r1312040 - /tomcat/tc6.0.x/trunk/STATUS.txt

2012-04-10 Thread kkolinko
Author: kkolinko
Date: Tue Apr 10 23:29:58 2012
New Revision: 1312040

URL: http://svn.apache.org/viewvc?rev=1312040&view=rev
Log:
vote

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1312040&r1=1312039&r2=1312040&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Apr 10 23:29:58 2012
@@ -189,13 +189,13 @@ PATCHES PROPOSED TO BACKPORT:
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53056
   Add APR version number to tcnative version INFO log message
 http://svn.apache.org/viewvc?view=revision&revision=1311997
-  +1: schultz
+  +1: schultz, kkolinko
   -1:
 
 * Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53057
   Add OpenSSL version number INFO log message
 http://svn.apache.org/viewvc?view=revision&revision=1312007
-  +1: schultz
+  +1: schultz, kkolinko
   -1:
 
 PATCHES/ISSUES THAT ARE STALLED



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



Re: svn commit: r1312006 - in /tomcat/trunk/java/org/apache/catalina/core: AprLifecycleListener.java LocalStrings.properties LocalStrings_es.properties

2012-04-10 Thread Konstantin Kolinko
2012/4/11  :
> Author: schultz
> Date: Tue Apr 10 21:38:35 2012
> New Revision: 1312006
>
> URL: http://svn.apache.org/viewvc?rev=1312006&view=rev
> Log:
> Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53057
> Add OpenSSL version number to INFO log message when initializing
> +aprListener.initializedOpenSSL=OpenSSL {0} successfully initialized
> +aprListener.initializedOpenSSL=OpenSSL {0} inicializado correctamente


It works. ;)  Though it prints "OpenSSL OpenSSL".


[[[
11.04.2012 3:16:00 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.23 using APR version 1.4
.6.
11.04.2012 3:16:00 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], ra
ndom [true].
11.04.2012 3:16:00 org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL OpenSSL 1.0.0g 18 Jan 2012 successfully initialized
]]]


Maybe redefine the message to print the version at the end, like this:
INFO: OpenSSL successfully initialized, using OpenSSL 1.0.0g 18 Jan 2012

I do not know how that will be in Spanish.

(Maybe there can be some better text. I wish it were more
understandable that it is part of Tomcat-Native).


Best regards,
Konstantin Kolinko

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



svn commit: r1312038 - /tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarMojo.java

2012-04-10 Thread olamy
Author: olamy
Date: Tue Apr 10 23:23:17 2012
New Revision: 1312038

URL: http://svn.apache.org/viewvc?rev=1312038&view=rev
Log:
add javadoc

Modified:

tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarMojo.java

Modified: 
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarMojo.java
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarMojo.java?rev=1312038&r1=1312037&r2=1312038&view=diff
==
--- 
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarMojo.java
 (original)
+++ 
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/ExecWarMojo.java
 Tue Apr 10 23:23:17 2012
@@ -19,6 +19,10 @@ package org.apache.tomcat.maven.plugin.t
  */
 
 /**
+ * This mojo will create a self executable jar file containing all tomcat 
classes.
+ * So you will be able to use only: java -jar createjar.jar to run your 
webapp without need
+ * to install an Apache Tomcat instance.
+ * More details here: http://tomcat.apache.org/maven-plugin-2.0-beta-1/executable-war-jar.html";>http://tomcat.apache.org/maven-plugin-2.0-beta-1/executable-war-jar.html
  * @author Olivier Lamy
  * @goal exec-war
  * @execute phase="package"



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



[jira] [Closed] (MTOMCAT-137) Adding a static context to tomcat for static files like images, js, html etc.

2012-04-10 Thread *$^¨%`£

 [ 
https://issues.apache.org/jira/browse/MTOMCAT-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Lamy (*$^¨%`£) closed MTOMCAT-137.
--

   Resolution: Fixed
Fix Version/s: (was: 2.0-beta-1)
   2.0

patch committed.
Thanks!

> Adding a static context to tomcat for static files like images, js, html etc.
> -
>
> Key: MTOMCAT-137
> URL: https://issues.apache.org/jira/browse/MTOMCAT-137
> Project: Apache Tomcat Maven Plugin
>  Issue Type: Improvement
>  Components: tomcat6
>Affects Versions: 2.0-beta-1
> Environment: Eclipse on windows platform with internal tomcat server.
>Reporter: Gaurav Vishnoi
>Assignee: Olivier Lamy (*$^¨%`£)
>Priority: Minor
> Fix For: 2.0
>
> Attachments: patch.txt
>
>
> There is no configuration available in the current tomcat maven plugin to add 
> a static context. If you want to include static context you would need an 
> external Apache server hosting your static files. Instead of setting the 
> Apache I wanted to include the static context in my pom.xml. So, I modified 
> the tomcat maven plugin to include the configurations for static context. 
> I have created a patch and will attach it here.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r1312036 - in /tomcat/maven-plugin/trunk: tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java tomcat7-maven-plugin/src/main/java/org/apache/tomca

2012-04-10 Thread olamy
Author: olamy
Date: Tue Apr 10 23:18:34 2012
New Revision: 1312036

URL: http://svn.apache.org/viewvc?rev=1312036&view=rev
Log:
[MTOMCAT-137] Adding a static context to tomcat for static files like images, 
js, html etc.
Submitted by Gaurav Vishnoi
feature added for tomcat7 mojo too.

Modified:

tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java

tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java

Modified: 
tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java?rev=1312036&r1=1312035&r2=1312036&view=diff
==
--- 
tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
 (original)
+++ 
tomcat/maven-plugin/trunk/tomcat6-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat6/AbstractRunMojo.java
 Tue Apr 10 23:18:34 2012
@@ -24,9 +24,11 @@ import org.apache.catalina.Context;
 import org.apache.catalina.Engine;
 import org.apache.catalina.Host;
 import org.apache.catalina.LifecycleException;
+import org.apache.catalina.Wrapper;
 import org.apache.catalina.connector.Connector;
 import org.apache.catalina.loader.WebappLoader;
 import org.apache.catalina.realm.MemoryRealm;
+import org.apache.catalina.servlets.DefaultServlet;
 import org.apache.catalina.startup.Catalina;
 import org.apache.catalina.startup.Embedded;
 import org.apache.maven.artifact.Artifact;
@@ -253,7 +255,7 @@ public abstract class AbstractRunMojo
  * @since 1.1
  */
 private String keystorePass;
-
+
 /**
  * Override the type of keystore file to be used for the server 
certificate. If not specified, the default value is "JKS".
  *
@@ -341,6 +343,23 @@ public abstract class AbstractRunMojo
  */
 private ClassRealm tomcatRealm;
 
+/**
+ * The static context
+ *
+ * @parameter expression="${maven.tomcat.staticContextPath}" 
default-value="/"
+ * @since 2.0
+ */
+private String staticContextPath;
+
+/**
+ * The static context docroot base fully qualified path.
+ * if null static context won't be added
+ *
+ * @parameter expression="${maven.tomcat.staticContextPath}"
+ * @since 2.0
+ */
+private String staticContextDocbase;
+
 // --
 // Mojo Implementation
 // --
@@ -730,7 +749,7 @@ public abstract class AbstractRunMojo
 Host host = container.createHost( "localHost", appBase );
 
 host.addChild( context );
-
+createStaticContext( container, context, host );
 if ( addContextWarDependencies )
 {
 Collection dependecyContexts = 
createDependencyContexts( container );
@@ -958,4 +977,20 @@ public abstract class AbstractRunMojo
 }
 return contexts;
 }
+
+
+private void createStaticContext( final Embedded container, Context 
context, Host host )
+{
+if ( staticContextDocbase != null )
+{
+Context staticContext = container.createContext( 
staticContextPath, staticContextDocbase );
+staticContext.setPrivileged( true );
+Wrapper servlet = context.createWrapper();
+servlet.setServletClass( DefaultServlet.class.getName() );
+servlet.setName( "staticContent" );
+staticContext.addChild( servlet );
+staticContext.addServletMapping( "/", "staticContent" );
+host.addChild( staticContext );
+}
+}
 }

Modified: 
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java?rev=1312036&r1=1312035&r2=1312036&view=diff
==
--- 
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
 (original)
+++ 
tomcat/maven-plugin/trunk/tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java
 Tue Apr 10 23:18:34 2012
@@ -19,10 +19,13 @@ package org.apache.tomcat.maven.plugin.t
  */
 
 import org.apache.catalina.Context;
+import org.apache.catalina.Host;
 import org.apache.catalina.LifecycleException;
+import org.apache.catalina.Wrapper;
 import org.apache.catalina.connector.Conn

svn commit: r1312035 - /tomcat/maven-plugin/trunk/src/site/site.xml

2012-04-10 Thread olamy
Author: olamy
Date: Tue Apr 10 23:07:40 2012
New Revision: 1312035

URL: http://svn.apache.org/viewvc?rev=1312035&view=rev
Log:
use last fluido skin

Modified:
tomcat/maven-plugin/trunk/src/site/site.xml

Modified: tomcat/maven-plugin/trunk/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/src/site/site.xml?rev=1312035&r1=1312034&r2=1312035&view=diff
==
--- tomcat/maven-plugin/trunk/src/site/site.xml (original)
+++ tomcat/maven-plugin/trunk/src/site/site.xml Tue Apr 10 23:07:40 2012
@@ -30,7 +30,7 @@
   
 org.apache.maven.skins
 maven-fluido-skin
-1.1
+1.2.1
   
   
   



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



svn commit: r1312011 - /tomcat/tc6.0.x/trunk/STATUS.txt

2012-04-10 Thread schultz
Author: schultz
Date: Tue Apr 10 21:49:52 2012
New Revision: 1312011

URL: http://svn.apache.org/viewvc?rev=1312011&view=rev
Log:
Proposal

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1312011&r1=1312010&r2=1312011&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Apr 10 21:49:52 2012
@@ -192,6 +192,12 @@ PATCHES PROPOSED TO BACKPORT:
   +1: schultz
   -1:
 
+* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53057
+  Add OpenSSL version number INFO log message
+http://svn.apache.org/viewvc?view=revision&revision=1312007
+  +1: schultz
+  -1:
+
 PATCHES/ISSUES THAT ARE STALLED
 
 * Backport JSP unloading patch (BZ48358).



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



svn commit: r1312009 - /tomcat/tc7.0.x/trunk/

2012-04-10 Thread schultz
Author: schultz
Date: Tue Apr 10 21:46:24 2012
New Revision: 1312009

URL: http://svn.apache.org/viewvc?rev=1312009&view=rev
Log:
Updated mergeinfo.

Modified:
tomcat/tc7.0.x/trunk/   (props changed)

Propchange: tomcat/tc7.0.x/trunk/
--
  Merged /tomcat/trunk:r1311995



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



svn commit: r1312007 - in /tomcat/tc7.0.x/trunk: java/org/apache/catalina/core/ webapps/docs/

2012-04-10 Thread schultz
Author: schultz
Date: Tue Apr 10 21:43:30 2012
New Revision: 1312007

URL: http://svn.apache.org/viewvc?rev=1312007&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53057
Add OpenSSL version number INFO log message when initializing

Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/   (props changed)
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/AprLifecycleListener.java
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties

tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Tue Apr 10 21:43:30 2012
@@ -0,0 +1 @@
+/tomcat/trunk/java/org/apache/catalina/core:1156115-1157160,1157162-1157859,1157862-1157942,1157945-1160347,1160349-1163716,1163718-1166689,1166691-1174340,1174342-1175596,1175598-1175611,1175613-1175932,1175934-1177783,1177785-1177980,1178006-1180720,1180722-1183094,1183096-1187753,1187755,1187775,1187801,1187806,1187809,1187826-1188312,1188314-1188401,1188646-1188840,1188842-1190176,1190178-1195223,1195225-1195953,1195955,1195957-1201238,1201240-1203345,1203347-1206623,1206625-1208046,1208073,1208096,1208114,1208145,1208772,1209194-1212125,1212127-1220291,1220293,1220295-1221321,1221323-1222328,1222332-1222401,1222405-1222795,1222850-1222950,1222969-1225326,1225328-1225463,1225465,1225627,1225629-1226534,1226536-1228908,1228911-1228923,1228927-1229532,1229534-1230766,1230768-1231625,1231627-1233414,1233419-1235207,1235209-1237425,1237427,1237429-1237977,1237981,1237985,1237995,1238070,1238073,1239024-1239048,1239050-1239062,1239135,1239256,1239258-1239485,1239785-1240046,1
 
240101,1240106,1240109,1240112,1240114,1240116,1240118,1240121,1240329,1240474-1240850,1240857,1241087,1241160,1241408-1241822,1241908-1241909,1241912-1242110,1242371-1292130,1292134-1292458,1292464-1292670,1292672-1292776,1292780-1293392,1293397-1297017,1297019-1297963,1297965-1299820,1300108,1300111-1300460,1300520-1300948,1300997,1301006,1301280,1302332,1302348,1302608-1302610,1302649,1302837,1303138,1303163,1303338,1303521,1303587,1303698,1303803,1303852,1304011,1304035,1304037,1304135,1304249,1304253,1304260,1304271,1304275,1304468,1304895,1304930-1304932,1305194,1305943,1305965,1306556,1306579-1306580,1307084,1307310,1307511-1307512,1307579,1307591,1307597,1310636,1310639-1310640,1310642,1310701,1311212,1311995,1312006

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/AprLifecycleListener.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/AprLifecycleListener.java?rev=1312007&r1=1312006&r2=1312007&view=diff
==
--- 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/AprLifecycleListener.java 
(original)
+++ 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/AprLifecycleListener.java 
Tue Apr 10 21:43:30 2012
@@ -276,6 +276,8 @@ public class AprLifecycleListener
 }
 }
 
+log.info(sm.getString("aprListener.initializedOpenSSL", 
SSL.versionString()));
+
 sslAvailable = true;
 }
 

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties?rev=1312007&r1=1312006&r2=1312007&view=diff
==
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties 
Tue Apr 10 21:43:30 2012
@@ -65,6 +65,7 @@ aprListener.initializeFIPSFailed=Failed 
 aprListener.tooLateForSSLEngine=Cannot setSSLEngine: SSL has already been 
initialized
 aprListener.tooLateForSSLRandomSeed=Cannot setSSLRandomSeed: SSL has already 
been initialized
 aprListener.tooLateForFIPSMode=Cannot setFIPSMode: SSL has already been 
initialized
+aprListener.initializedOpenSSL=OpenSSL {0} successfully initialized
 
 asyncContextImpl.requestEnded=The request associated with the AsyncContext has 
already completed processing.
 containerBase.threadedStartFailed=A child container failed during start

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties?rev=1312007&r1=1312006&r2=1312007&view=diff
==
--- 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties 
(original)
+++ 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties 
Tue Apr 10 21:43:30 2012
@@ -58,6 +58,7 @@ aprListener.aprDestroy = 

svn commit: r1312006 - in /tomcat/trunk/java/org/apache/catalina/core: AprLifecycleListener.java LocalStrings.properties LocalStrings_es.properties

2012-04-10 Thread schultz
Author: schultz
Date: Tue Apr 10 21:38:35 2012
New Revision: 1312006

URL: http://svn.apache.org/viewvc?rev=1312006&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53057
Add OpenSSL version number to INFO log message when initializing

Modified:
tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java
tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties
tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties

Modified: tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java?rev=1312006&r1=1312005&r2=1312006&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java Tue 
Apr 10 21:38:35 2012
@@ -276,6 +276,8 @@ public class AprLifecycleListener
 }
 }
 
+log.info(sm.getString("aprListener.initializedOpenSSL", 
SSL.versionString()));
+
 sslAvailable = true;
 }
 

Modified: tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties?rev=1312006&r1=1312005&r2=1312006&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties 
(original)
+++ tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties Tue Apr 
10 21:38:35 2012
@@ -58,6 +58,7 @@ aprListener.initializeFIPSFailed=Failed 
 aprListener.tooLateForSSLEngine=Cannot setSSLEngine: SSL has already been 
initialized
 aprListener.tooLateForSSLRandomSeed=Cannot setSSLRandomSeed: SSL has already 
been initialized
 aprListener.tooLateForFIPSMode=Cannot setFIPSMode: SSL has already been 
initialized
+aprListener.initializedOpenSSL=OpenSSL {0} successfully initialized
 
 asyncContextImpl.requestEnded=The request associated with the AsyncContext has 
already completed processing.
 containerBase.threadedStartFailed=A child container failed during start

Modified: tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties?rev=1312006&r1=1312005&r2=1312006&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties 
(original)
+++ tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties Tue 
Apr 10 21:38:35 2012
@@ -51,6 +51,7 @@ aprListener.aprDestroy = No pude apagar 
 aprListener.sslInit = No pude inicializar el SSLEngine (Motor SSL)
 aprListener.tcnValid = Cargada la biblioteca nativa APR de Apache Tomcat {0} 
con la versión APR {1}.
 aprListener.flags = Capacidades APR\: IPv6 [{0}], enviar fichero [{1}], 
aceptar filtros [{2}], aleatorio [{3}].
+aprListener.initializedOpenSSL=OpenSSL {0} inicializado correctamente
 asyncContextImpl.requestEnded = El requerimiento asociado con AsyncContext ya 
ha completado su procesamiento.
 containerBase.backgroundProcess.cluster = Excepci\u00F3n al procesar 
cl\u00FAster {0} de proceso en segundo plano
 containerBase.backgroundProcess.loader = Excepci\u00F3n al procesar cargador 
{0} de proceso en segundo plano



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



DO NOT REPLY [Bug 53057] New: Add OpenSSL version number to INFO log message when initializing

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53057

 Bug #: 53057
   Summary: Add OpenSSL version number to INFO log message when
initializing
   Product: Tomcat 7
   Version: unspecified
  Platform: PC
OS/Version: Mac OS X 10.4
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: ch...@christopherschultz.net
Classification: Unclassified


It would be nice to see a message confirming the initialization of OpenSSL
including its version number.

-- 
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 53056] Add APR version number to tcnative version INFO log message

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53056

Christopher Schultz  changed:

   What|Removed |Added

  Component|Library |Catalina
Version|1.1.23  |unspecified
Product|Tomcat Native   |Tomcat 7

--- Comment #3 from Christopher Schultz  
2012-04-10 21:34:13 UTC ---
Changed product, as this change is entirely in Tomcat itself, and not in the
native component.

-- 
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 53056] Add APR version number to tcnative version INFO log message

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53056

Christopher Schultz  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #2 from Christopher Schultz  
2012-04-10 21:25:17 UTC ---
Fixed in trunk and 7.0.x. Will be in 7.0.28.
Proposed for 6.0.x.

-- 
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: r1311999 - /tomcat/tc6.0.x/trunk/STATUS.txt

2012-04-10 Thread schultz
Author: schultz
Date: Tue Apr 10 21:25:09 2012
New Revision: 1311999

URL: http://svn.apache.org/viewvc?rev=1311999&view=rev
Log:
Proposal

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1311999&r1=1311998&r2=1311999&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Apr 10 21:25:09 2012
@@ -185,7 +185,12 @@ PATCHES PROPOSED TO BACKPORT:
 (The revision to revert in 6.0.x is r769336)
   +1: markt, kkolinko
   -1:
-
+  
+* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53056
+  Add APR version number to tcnative version INFO log message
+http://svn.apache.org/viewvc?view=revision&revision=1311997
+  +1: schultz
+  -1:
 
 PATCHES/ISSUES THAT ARE STALLED
 



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



svn commit: r1311997 - in /tomcat/tc7.0.x/trunk: java/org/apache/catalina/core/AprLifecycleListener.java java/org/apache/catalina/core/LocalStrings.properties java/org/apache/catalina/core/LocalString

2012-04-10 Thread schultz
Author: schultz
Date: Tue Apr 10 21:20:57 2012
New Revision: 1311997

URL: http://svn.apache.org/viewvc?rev=1311997&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53056
Add APR version number to tcnative version INFO log message

Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/AprLifecycleListener.java
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties

tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/AprLifecycleListener.java
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/AprLifecycleListener.java?rev=1311997&r1=1311996&r2=1311997&view=diff
==
--- 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/AprLifecycleListener.java 
(original)
+++ 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/AprLifecycleListener.java 
Tue Apr 10 21:20:57 2012
@@ -213,7 +213,10 @@ public class AprLifecycleListener
 }
 
 log.info(sm.getString("aprListener.tcnValid", major + "."
-+ minor + "." + patch));
++ minor + "." + patch,
+Library.APR_MAJOR_VERSION + "."
++ Library.APR_MINOR_VERSION + "."
++ Library.APR_PATCH_VERSION));
 
 // Log APR flags
 log.info(sm.getString("aprListener.flags",

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties?rev=1311997&r1=1311996&r2=1311997&view=diff
==
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties 
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings.properties 
Tue Apr 10 21:20:57 2012
@@ -57,7 +57,7 @@ aprListener.tcnInvalid=An incompatible v
 aprListener.tcnVersion=An older version {0} of the APR based Apache Tomcat 
Native library is installed, while Tomcat recommends a minimum version of {1}
 aprListener.aprDestroy=Failed shutdown of APR based Apache Tomcat Native 
library
 aprListener.sslInit=Failed to initialize the SSLEngine.
-aprListener.tcnValid=Loaded APR based Apache Tomcat Native library {0}.
+aprListener.tcnValid=Loaded APR based Apache Tomcat Native library {0} using 
APR version {1}.
 aprListener.flags=APR capabilities: IPv6 [{0}], sendfile [{1}], accept filters 
[{2}], random [{3}].
 aprListener.initializingFIPS=Initializing FIPS mode...
 aprListener.initializeFIPSSuccess=Successfully entered FIPS mode

Modified: 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties?rev=1311997&r1=1311996&r2=1311997&view=diff
==
--- 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties 
(original)
+++ 
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/LocalStrings_es.properties 
Tue Apr 10 21:20:57 2012
@@ -56,7 +56,7 @@ aprListener.tcnInvalid = Se encuentra in
 aprListener.tcnVersion = Se encuentra instalada una versi\u00F3n muy vieja {0} 
de la biblioteca nativa APR de Apache Tomcat, mientras que Tomcat recomienda 
una versi\u00F3n mayor de {1}
 aprListener.aprDestroy = No pude apagar la biblioteca nativa de Apache Tomcat
 aprListener.sslInit = No pude inicializar el SSLEngine (Motor SSL)
-aprListener.tcnValid = Cargada la biblioteca nativa APR de Apache Tomcat {0}
+aprListener.tcnValid = Cargada la biblioteca nativa APR de Apache Tomcat {0} 
con la versión APR {1}.
 aprListener.flags = Capacidades APR\: IPv6 [{0}], enviar fichero [{1}], 
aceptar filtros [{2}], aleatorio [{3}].
 asyncContextImpl.requestEnded = El requerimiento asociado con AsyncContext ya 
ha completado su procesamiento.
 containerBase.alreadyStarted = Ya ha sido arrancado el Contenedor {0}

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1311997&r1=1311996&r2=1311997&view=diff
==
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Tue Apr 10 21:20:57 2012
@@ -67,6 +67,10 @@
 Remove potential bottleneck on creation of new WebSocket connections.
 (markt)
   
+  
+53056: Add APR version number to tcnative version INFO log
+message. (schultz)
+  
 
   
   



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

svn commit: r1311995 - in /tomcat/trunk/java/org/apache/catalina/core: AprLifecycleListener.java LocalStrings.properties LocalStrings_es.properties

2012-04-10 Thread schultz
Author: schultz
Date: Tue Apr 10 21:16:01 2012
New Revision: 1311995

URL: http://svn.apache.org/viewvc?rev=1311995&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53056
Add APR version number to tcnative version INFO log message

Modified:
tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java
tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties
tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties

Modified: tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java?rev=1311995&r1=1311994&r2=1311995&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/core/AprLifecycleListener.java Tue 
Apr 10 21:16:01 2012
@@ -213,7 +213,10 @@ public class AprLifecycleListener
 }
 
 log.info(sm.getString("aprListener.tcnValid", major + "."
-+ minor + "." + patch));
++ minor + "." + patch,
+Library.APR_MAJOR_VERSION + "."
++ Library.APR_MINOR_VERSION + "."
++ Library.APR_PATCH_VERSION));
 
 // Log APR flags
 log.info(sm.getString("aprListener.flags",

Modified: tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties?rev=1311995&r1=1311994&r2=1311995&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties 
(original)
+++ tomcat/trunk/java/org/apache/catalina/core/LocalStrings.properties Tue Apr 
10 21:16:01 2012
@@ -50,7 +50,7 @@ aprListener.tcnInvalid=An incompatible v
 aprListener.tcnVersion=An older version {0} of the APR based Apache Tomcat 
Native library is installed, while Tomcat recommends a minimum version of {1}
 aprListener.aprDestroy=Failed shutdown of APR based Apache Tomcat Native 
library
 aprListener.sslInit=Failed to initialize the SSLEngine.
-aprListener.tcnValid=Loaded APR based Apache Tomcat Native library {0}.
+aprListener.tcnValid=Loaded APR based Apache Tomcat Native library {0} using 
APR version {1}.
 aprListener.flags=APR capabilities: IPv6 [{0}], sendfile [{1}], accept filters 
[{2}], random [{3}].
 aprListener.initializingFIPS=Initializing FIPS mode...
 aprListener.initializeFIPSSuccess=Successfully entered FIPS mode

Modified: tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties?rev=1311995&r1=1311994&r2=1311995&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties 
(original)
+++ tomcat/trunk/java/org/apache/catalina/core/LocalStrings_es.properties Tue 
Apr 10 21:16:01 2012
@@ -49,7 +49,7 @@ aprListener.tcnInvalid = Se encuentra in
 aprListener.tcnVersion = Se encuentra instalada una versi\u00F3n muy vieja {0} 
de la biblioteca nativa APR de Apache Tomcat, mientras que Tomcat recomienda 
una versi\u00F3n mayor de {1}
 aprListener.aprDestroy = No pude apagar la biblioteca nativa de Apache Tomcat
 aprListener.sslInit = No pude inicializar el SSLEngine (Motor SSL)
-aprListener.tcnValid = Cargada la biblioteca nativa APR de Apache Tomcat {0}
+aprListener.tcnValid = Cargada la biblioteca nativa APR de Apache Tomcat {0} 
con la versión APR {1}.
 aprListener.flags = Capacidades APR\: IPv6 [{0}], enviar fichero [{1}], 
aceptar filtros [{2}], aleatorio [{3}].
 asyncContextImpl.requestEnded = El requerimiento asociado con AsyncContext ya 
ha completado su procesamiento.
 containerBase.backgroundProcess.cluster = Excepci\u00F3n al procesar 
cl\u00FAster {0} de proceso en segundo plano



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



DO NOT REPLY [Bug 53056] Add APR version number to tcnative version INFO log message

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53056

Christopher Schultz  changed:

   What|Removed |Added

Summary|Add APR version number to   |Add APR version number to
   |"APR Capabilities" INFO log |tcnative version INFO log
   |message |message

--- Comment #1 from Christopher Schultz  
2012-04-10 21:15:26 UTC ---
Looks like APR version is trivial, while OpenSSL version is not. I'll file
separately for OpenSSL version.

-- 
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 53056] New: Add APR version number to "APR Capabilities" INFO log message

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53056

 Bug #: 53056
   Summary: Add APR version number to "APR Capabilities" INFO log
message
   Product: Tomcat Native
   Version: 1.1.23
  Platform: PC
OS/Version: Mac OS X 10.4
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Library
AssignedTo: dev@tomcat.apache.org
ReportedBy: ch...@christopherschultz.net
Classification: Unclassified


When tcnative starts, it emits information like this to catalina.out:

pr 10, 2012 4:54:55 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.23.
Apr 10, 2012 4:54:55 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false],
random [true].

It would be nice if the APR version in use could also be displayed as well as
the tcnative version. Maybe the OpenSSL version, too.

-- 
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



Re: Who wants my Cassandra session manager for Tomcat?

2012-04-10 Thread Christopher Schultz
Mark,

On 4/10/12 2:55 PM, Mark Thomas wrote:
> e) hosted at www.apacheextras.org (or for small amounts of code on the
> Tomcat wiki)

Aah, I had forgotten about apacheextras.org.

IMHO, this is where Morten's code probably belongs due to its
dependencies on Cassandra.

Honestly, I think this can be done as a Filter to avoid tight-coupling
to Tomcat (or a particular version thereof).

-chris



signature.asc
Description: OpenPGP digital signature


Re: Who wants my Cassandra session manager for Tomcat?

2012-04-10 Thread Mark Thomas
On 10/04/2012 19:38, Christopher Schultz wrote:
> On 4/10/12 2:18 PM, Morten Jorgensen wrote:
>> I would imagine that there are several architects out there that
>> are experiencing similar problems, hence I want to share my
>> work.
> 
> I think the best place for this kind of thing is probably directly
> on the Wiki (if the amount of code is small) or if you can host it 
> somewhere and put a link to it on the "AddOns" page.

The options for incorporating new features are:

a) Back-port them to one or more of the current stable release
branches (newest version first)
b) Include them in trunk for the next major release
c) Back-port them to the extras package of one or more of the current
d) Include them in the extras package for the next major release
stable release branches (newest version first)
e) hosted at www.apacheextras.org (or for small amounts of code on the
Tomcat wiki)

Factors that tend to push the likely destination away from a) and
towards e) are:
- features that require large amounts of new code are more likely to
end up at e)
- features that introduce new dependencies are more likely to end up at e)
- features that do not appear to appeal to the majority of Tomcat
users are more likely to end up at e)

Where the best place for a new feature is will always be subjective so
there are no hard and fast rules but hopefully this will give folks an
idea of where a proposed new feature is likely to end up.

Mark

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



Re: Who wants my Cassandra session manager for Tomcat?

2012-04-10 Thread Christopher Schultz
Morten,

On 4/10/12 2:18 PM, Morten Jorgensen wrote:
> I cannot simply replace all
> session data management (currently using HttpSession) across my entire
> applications, as the time/resources required to do this is massive. I
> need to be able to replace the foundation for my applications, while
> retaining as much of the applications as-is. Nor can I rely on the
> existing session managers in Tomcat, as these do not scale to meet the
> traffic volumes that my customers see in their environments.

You can do this without using a replacement SessionManager, and it will
work across all containers. Use a Filter that wraps the
HttpServletRequest and returns a customized HttpSession object.

This custom HttpSession can use the "real" (in-memory) session for
certain attributes and it can use Cassandra for others. You can even
make it configurable on a per-session-key basis.

(We do this for certain non-Serializable data that is also very big,
when the client code can handle it being null: we wrap certain objects
in SoftReferences and let the GC destroy them if it needs memory. Then,
the webapp can discover a null value and re-load the object in question
from primary storage. It works seamlessly through the HttpSession
interface).

I think this would be a better strategy in general, since it will work
with any servlet container.

> I would imagine that there are several architects out there that are
> experiencing similar problems, hence I want to share my work.

I think the best place for this kind of thing is probably directly on
the Wiki (if the amount of code is small) or if you can host it
somewhere and put a link to it on the "AddOns" page.

-chris



signature.asc
Description: OpenPGP digital signature


Re: Who wants my Cassandra session manager for Tomcat?

2012-04-10 Thread Morten Jorgensen

Chris, Pid & all,

I do see the argument for managing session-related data outside of the 
HttpSession, but for me this is an application development life-cycle 
issue. The applications that I manage has evolved over 8 years and has 
thousands of references to data stored in the HttpSession. The 
requirements for the applications have also evolved over the years. The 
traffic volumes for this off-the-shelf application is for some of our 
customers in the millions per day. I also need improved availability, 
resilience, failover and fault tolerance. I cannot simply replace all 
session data management (currently using HttpSession) across my entire 
applications, as the time/resources required to do this is massive. I 
need to be able to replace the foundation for my applications, while 
retaining as much of the applications as-is. Nor can I rely on the 
existing session managers in Tomcat, as these do not scale to meet the 
traffic volumes that my customers see in their environments.


I would imagine that there are several architects out there that are 
experiencing similar problems, hence I want to share my work.


The way caching is currently implemented is quick and dirty, and I agree 
that this should be done in a manner that does not require changes -to 
the existing web application (ref my development life-cycle requirements 
above). A request-scope write-back cache is not 100% reliable with 
multiple concurrent requests. A request-scope write-through cache is 
better (yet not 100% reliable as you can have stale data in the cache), 
but performance is not ideal. I will come up with a better solution for 
this, and I'll revert back to this list.


Thanks to all,
Morten


On 05/04/2012 01:02, Christopher Schultz wrote:

Pid,

On 4/4/12 6:46 AM, Pid wrote:

On 03/04/2012 22:18, Morten Jorgensen wrote:

Thanks to all for your feedback. I am providing some additional
information as requested:

That's interesting.  Can you share some details about how it works?

Sure. It is quite simple. Cassandra is effectively a multi-level
distributed hash-map, so it lends itself very well do storing session
attributes.

The session manager maintains two column families (like tables), one to
hold session meta-data such as the last access timestamp, etc. and one
column family to hold session attributes. Storing or reading a session
attribute is simply a matter of writing it using the session ID as the
row ID, and the session attribute name as the column name, and the
session attribute value as the column value.

Session attributes are read and written independently, so the entire web
session does not have to be loaded into memory - only the session
attributes that are actually required to service a request are read.
This greatly reduces the memory footprint of the web applications that I
am developing for my employer.

I'd be concerned about how chatty that was.

Devil's advocate question: why store data in the session if it's not needed?

Honestly, I was thinking the same thing today: usually, non-memory-based
data management is usually done in such a way as to be completely
divorced from the HttpSession concept, anyway. One needs to use
HttpSession for things like unique ids being assigned to clients, etc.
but then everything else can be done completely separately from that.

There's no reason that a "CassandraSessionManager" would really need to
exist unless you wanted to have completely seamless Cassandra-based
storage. I would argue that you don't actually want that, since you have
to put so much plumbing code in that you end up being a slave to
HttpSession when what you really want to do is store binary data (since
that's all Cassandra *can* store) and have it bound to some unique
identifier (coincidentally the HttpSession id).

I almost think that a Map implementation (with associated identifier,
which could be session-id-based) with a Cassandra backing-store would be
more useful since you could use it in any container and even entirely
outside a container.

I'm starting to be more like +0 to this idea.

-chris




--

Morten Jørgensen
Chief Architect

*OpenJaw Technologies*
T: + 353 (0)1 - 882 5444
W: www.openjawtech.com 

Join OpenJaw Technologies Group on LinkedIn 
 / Follow OpenJawTech 
on Twitter .


We have checked this material for computer viruses and although none has 
been found by us, we cannot guarantee that it is completely virus free 
and we do not accept any liability for loss or damage that may be 
caused. Please therefore check any attachments for viruses before using 
them on your own equipment. If you do find a computer virus please 
inform us immediately so that we may take appropriate action.


This communication is intended solely for the addressee and is 
confidential.


If you are not the intended recipient, please delete this email. Any 
disclosure, copying, distribution or

DO NOT REPLY [Bug 53024] Accessing Servlet while Reloading context gives 404 error

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53024

--- Comment #7 from Ferenc Lutischan  2012-04-10 18:12:03 
UTC ---
> This isn't a bug: it's how Tomcat works. Why would your undeployed context
> still be able to successfully serve requests?

Tomcat 6 doesn't send 404 when context is reloading.

-- 
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 53047] JDBCRealm allRolesMode="authOnly" still needs role table

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53047

--- Comment #5 from Dennis Verbeek  2012-04-10 18:02:42 
UTC ---
(In reply to comment #4)
> FWIW, JDBCRealm isn't appropriate for production use IMO. If you can, you
> should switch to DataSourceRealm which performs much better.

Sure, just using JDBCRealm for kickstarting and rapid prototyping my projects.

The stacktrace as requested:

Apr 10, 2012 11:44:38 AM org.apache.catalina.realm.JDBCRealm getRoles
SEVERE: Exception performing authentication
org.postgresql.util.PSQLException: ERROR: relation "tomcat_role" does not exist
  Position: 18
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
at org.apache.catalina.realm.JDBCRealm.getRoles(JDBCRealm.java:644)
at org.apache.catalina.realm.JDBCRealm.authenticate(JDBCRealm.java:436)
at org.apache.catalina.realm.JDBCRealm.authenticate(JDBCRealm.java:361)
at
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:181)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
at java.lang.Thread.run(Thread.java:679)

-- 
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



[jira] [Updated] (MTOMCAT-137) Adding a static context to tomcat for static files like images, js, html etc.

2012-04-10 Thread Gaurav Vishnoi (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/MTOMCAT-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gaurav Vishnoi updated MTOMCAT-137:
---

Attachment: patch.txt

Added the code to include the static context.
The usage in pom is:


org.apache.tomcat.maven
tomcat6-maven-plugin
2.0-SNAPSHOT

/commerce2

path_to_css_or_js_or_static_files



> Adding a static context to tomcat for static files like images, js, html etc.
> -
>
> Key: MTOMCAT-137
> URL: https://issues.apache.org/jira/browse/MTOMCAT-137
> Project: Apache Tomcat Maven Plugin
>  Issue Type: Improvement
>  Components: tomcat6
>Affects Versions: 2.0-beta-1
> Environment: Eclipse on windows platform with internal tomcat server.
>Reporter: Gaurav Vishnoi
>Assignee: Olivier Lamy (*$^¨%`£)
>Priority: Minor
> Fix For: 2.0-beta-1
>
> Attachments: patch.txt
>
>
> There is no configuration available in the current tomcat maven plugin to add 
> a static context. If you want to include static context you would need an 
> external Apache server hosting your static files. Instead of setting the 
> Apache I wanted to include the static context in my pom.xml. So, I modified 
> the tomcat maven plugin to include the configurations for static context. 
> I have created a patch and will attach it here.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



[jira] [Created] (MTOMCAT-137) Adding a static context to tomcat for static files like images, js, html etc.

2012-04-10 Thread Gaurav Vishnoi (Created) (JIRA)
Adding a static context to tomcat for static files like images, js, html etc.
-

 Key: MTOMCAT-137
 URL: https://issues.apache.org/jira/browse/MTOMCAT-137
 Project: Apache Tomcat Maven Plugin
  Issue Type: Improvement
  Components: tomcat6
Affects Versions: 2.0-beta-1
 Environment: Eclipse on windows platform with internal tomcat server.
Reporter: Gaurav Vishnoi
Assignee: Olivier Lamy (*$^¨%`£)
Priority: Minor
 Fix For: 2.0-beta-1


There is no configuration available in the current tomcat maven plugin to add a 
static context. If you want to include static context you would need an 
external Apache server hosting your static files. Instead of setting the Apache 
I wanted to include the static context in my pom.xml. So, I modified the tomcat 
maven plugin to include the configurations for static context. 
I have created a patch and will attach it here.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



DO NOT REPLY [Bug 53047] JDBCRealm allRolesMode="authOnly" still needs role table

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53047

--- Comment #4 from Christopher Schultz  
2012-04-10 17:52:09 UTC ---
FWIW, JDBCRealm isn't appropriate for production use IMO. If you can, you
should switch to DataSourceRealm which performs much better.

-- 
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 53047] JDBCRealm allRolesMode="authOnly" still needs role table

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53047

--- Comment #3 from Christopher Schultz  
2012-04-10 17:50:37 UTC ---
(In reply to comment #2)
> When userRoleTable is not defined the JDBCRealm simply queries table "null".
> allRolesMode="authOnly" ... It's in the title!

Duh.

> Apr 10, 2012 11:50:00 AM org.apache.catalina.realm.JDBCRealm getRoles
> SEVERE: Exception performing authentication
> org.postgresql.util.PSQLException: ERROR: relation "tomcat_role" does not 
> exist

Can you give the full stack trace, please?

> Apr 10, 2012 12:02:55 PM org.apache.catalina.realm.JDBCRealm getRoles
> SEVERE: Exception performing authentication
> org.postgresql.util.PSQLException: ERROR: syntax error at or near "null"

Same here, if it's different.

Also, can you try with DataSourceRealm? I know it's a bit more work to
configure, but it might be a problem across both of these JDBC-based realms and
we may as well fix it for both.

-- 
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 53050] org.apache.catalina.session.ManagerBase has issues with update the seed (initialized to System.currentTimeMillis()), since only the 32 least significant bits are changed by th

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53050

--- Comment #1 from Christopher Schultz  
2012-04-10 17:44:44 UTC ---
For reference, a short discussion on the dev list:
http://markmail.org/thread/r7kvsx3epauzw5qq

-- 
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 50864] Reconfigure pool on the fly using JMX

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50864

Filip Hanik  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #4 from Filip Hanik  2012-04-10 16:34:19 UTC ---
Trunk fix in r1311844
7.0.x fix in r1311848
Will in be Tomcat 7.0.28 and onwards

-- 
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: r1311848 - in /tomcat/tc7.0.x/trunk: modules/ webapps/docs/changelog.xml

2012-04-10 Thread fhanik
Author: fhanik
Date: Tue Apr 10 16:33:15 2012
New Revision: 1311848

URL: http://svn.apache.org/viewvc?rev=1311848&view=rev
Log:
https://issues.apache.org/bugzilla/show_bug.cgi?id=50864
Allow most pool properties be configured using JMX

Modified:
tomcat/tc7.0.x/trunk/modules/   (props changed)
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc7.0.x/trunk/modules/
--
--- svn:externals (original)
+++ svn:externals Tue Apr 10 16:33:15 2012
@@ -1 +1 @@
-^/tomcat/trunk/modules/jdbc-pool@1306946 jdbc-pool
+^/tomcat/trunk/modules/jdbc-pool@1311844 jdbc-pool

Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1311848&r1=1311847&r2=1311848&view=diff
==
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Tue Apr 10 16:33:15 2012
@@ -79,6 +79,15 @@
   
 
   
+  
+
+  
+50864 (1311844):
+JMX enable most pool properties (fhanik)
+
+
+  
+  
 
 
   



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



svn commit: r1311844 - in /tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool: ConnectionPool.java PoolProperties.java jmx/ConnectionPool.java

2012-04-10 Thread fhanik
Author: fhanik
Date: Tue Apr 10 16:29:42 2012
New Revision: 1311844

URL: http://svn.apache.org/viewvc?rev=1311844&view=rev
Log:
https://issues.apache.org/bugzilla/show_bug.cgi?id=50864
Add in the ability to configure most pool properties even while the pool is 
running

Modified:

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

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

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

Modified: 
tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java?rev=1311844&r1=1311843&r2=1311844&view=diff
==
--- 
tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
 (original)
+++ 
tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java
 Tue Apr 10 16:29:42 2012
@@ -442,11 +442,7 @@ public class ConnectionPool {
 idle = new 
ArrayBlockingQueue(properties.getMaxActive(),properties.isFairQueue());
 }
 
-//if the evictor thread is supposed to run, start it now
-if (properties.isPoolSweeperEnabled()) {
-poolCleaner = new PoolCleaner(this, 
properties.getTimeBetweenEvictionRunsMillis());
-poolCleaner.start();
-} //end if
+initializePoolCleaner(properties);
 
 //create JMX MBean
 if (this.getPoolProperties().isJmxEnabled()) createMBean();
@@ -496,6 +492,15 @@ public class ConnectionPool {
 }
 
 
+public void initializePoolCleaner(PoolConfiguration properties) {
+//if the evictor thread is supposed to run, start it now
+if (properties.isPoolSweeperEnabled()) {
+poolCleaner = new PoolCleaner(this, 
properties.getTimeBetweenEvictionRunsMillis());
+poolCleaner.start();
+} //end if
+}
+
+
 
//===
 // CONNECTION POOLING IMPL LOGIC
 
//===

Modified: 
tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolProperties.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolProperties.java?rev=1311844&r1=1311843&r2=1311844&view=diff
==
--- 
tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolProperties.java
 (original)
+++ 
tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolProperties.java
 Tue Apr 10 16:29:42 2012
@@ -42,55 +42,55 @@ public class PoolProperties implements P
 public static final int DEFAULT_MAX_ACTIVE = 100;
 
 protected static AtomicInteger poolCounter = new AtomicInteger(0);
-protected Properties dbProperties = new Properties();
-protected String url = null;
-protected String driverClassName = null;
-protected Boolean defaultAutoCommit = null;
-protected Boolean defaultReadOnly = null;
-protected int defaultTransactionIsolation = 
DataSourceFactory.UNKNOWN_TRANSACTIONISOLATION;
-protected String defaultCatalog = null;
-protected String connectionProperties;
-protected int initialSize = 10;
-protected int maxActive = DEFAULT_MAX_ACTIVE;
-protected int maxIdle = maxActive;
-protected int minIdle = initialSize;
-protected int maxWait = 3;
-protected String validationQuery;
-protected String validatorClassName;
-protected Validator validator;
-protected boolean testOnBorrow = false;
-protected boolean testOnReturn = false;
-protected boolean testWhileIdle = false;
-protected int timeBetweenEvictionRunsMillis = 5000;
-protected int numTestsPerEvictionRun;
-protected int minEvictableIdleTimeMillis = 6;
-protected final boolean accessToUnderlyingConnectionAllowed = true;
-protected boolean removeAbandoned = false;
-protected int removeAbandonedTimeout = 60;
-protected boolean logAbandoned = false;
-protected String name = "Tomcat Connection 
Pool["+(poolCounter.addAndGet(1))+"-"+System.identityHashCode(PoolProperties.class)+"]";
-protected String password;
-protected String username;
-protected long validationInterval = 3;
-protected boolean jmxEnabled = true;
-protected String initSQL;
-protected boolean testOnConnect =false;
-protected String jdbcInterceptors=null;
-protected boolean fairQueue = true;
-protected boolean useEquals = true;
-protected int abandonWhenPercentageFull = 0;
-protected long maxAge = 0;
-protected boolean useLo

svn commit: r1311841 - in /tomcat/trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test: BorrowWaitTest.java DefaultProperties.java TestInterceptorShortName.java

2012-04-10 Thread fhanik
Author: fhanik
Date: Tue Apr 10 16:28:31 2012
New Revision: 1311841

URL: http://svn.apache.org/viewvc?rev=1311841&view=rev
Log:
fix unit tests

Modified:

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

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

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

Modified: 
tomcat/trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/BorrowWaitTest.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/BorrowWaitTest.java?rev=1311841&r1=1311840&r2=1311841&view=diff
==
--- 
tomcat/trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/BorrowWaitTest.java
 (original)
+++ 
tomcat/trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/BorrowWaitTest.java
 Tue Apr 10 16:28:31 2012
@@ -27,21 +27,21 @@ public class BorrowWaitTest extends Defa
 }
 
 public void testWaitTime() throws Exception {
+
 int wait = 1;
 this.init();
 this.datasource.setMaxActive(1);
 this.datasource.setMaxWait(wait);
 Connection con = datasource.getConnection();
+long start = System.currentTimeMillis();
 try {
 Connection con2 = datasource.getConnection();
 assertFalse("This should not happen, connection should be 
unavailable.",true);
 con2.close();
 }catch (SQLException x) {
-long delta = System.currentTimeMillis();
-boolean inrange = Math.abs(wait-delta) < 1000;
-assertTrue(
-"Connection should have been acquired within +/- 1 
second.",
-inrange);
+long delta = System.currentTimeMillis() - start;
+boolean inrange = Math.abs(wait-delta) <= 1000;
+assertTrue("Connection should have been acquired within +/- 1 
second, but was "+(wait-delta)+" ms.",inrange);
 }
 con.close();
 }

Modified: 
tomcat/trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/DefaultProperties.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/DefaultProperties.java?rev=1311841&r1=1311840&r2=1311841&view=diff
==
--- 
tomcat/trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/DefaultProperties.java
 (original)
+++ 
tomcat/trunk/modules/jdbc-pool/src/test/java/org/apache/tomcat/jdbc/test/DefaultProperties.java
 Tue Apr 10 16:28:31 2012
@@ -29,7 +29,7 @@ public class DefaultProperties extends P
 private static final long serialVersionUID = 1L;
 
 public DefaultProperties() {
-dbProperties = new Properties();
+setDbProperties(new Properties());
 
 //mysql
 //url = 
System.getProperty("url","jdbc:mysql://localhost:3306/mysql?autoReconnect=true");
@@ -39,38 +39,38 @@ public class DefaultProperties extends P
 //url = System.getProperty("url","jdbc:derby:derbyDB;create=true");
 //driverClassName = 
System.getProperty("driverClassName","org.apache.derby.jdbc.EmbeddedDriver");
 
-url = 
System.getProperty("url","jdbc:h2:~/.h2/test;QUERY_TIMEOUT=0;DB_CLOSE_ON_EXIT=FALSE");
-driverClassName = 
System.getProperty("driverClassName","org.h2.Driver");
+
setUrl(System.getProperty("url","jdbc:h2:~/.h2/test;QUERY_TIMEOUT=0;DB_CLOSE_ON_EXIT=FALSE"));
+
setDriverClassName(System.getProperty("driverClassName","org.h2.Driver"));
 System.setProperty("h2.serverCachedObjects", "1");
 
-password = System.getProperty("password","password");
-username = System.getProperty("username","root");
+setPassword(System.getProperty("password","password"));
+setUsername(System.getProperty("username","root"));
 
-validationQuery = System.getProperty("validationQuery","SELECT 1");
-defaultAutoCommit = Boolean.TRUE;
-defaultReadOnly = Boolean.FALSE;
-defaultTransactionIsolation = 
DataSourceFactory.UNKNOWN_TRANSACTIONISOLATION;
-connectionProperties = null;
-defaultCatalog = null;
-initialSize = 10;
-maxActive = 100;
-maxIdle = initialSize;
-minIdle = initialSize;
-maxWait = 1;
-
-testOnBorrow = true;
-testOnReturn = false;
-testWhileIdle = true;
-timeBetweenEvictionRunsMillis = 5000;
-numTestsPerEvictionRun = 0;
-minEvictableIdleTimeMillis = 1000;
-removeAbandoned = true;
-removeAbandonedTimeout = 5000;
-logAbandoned = true;
-validationInterval = 0; //always validate
-initSQL = null;
-testOnConnect = false;
-dbProperties.set

DO NOT REPLY [Bug 53053] New: Apache Tomcat isapi redirector not loading in iis 7.5

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53053

 Bug #: 53053
   Summary: Apache Tomcat isapi redirector not loading in iis 7.5
   Product: Tomcat Connectors
   Version: 1.2.33
  Platform: Other
Status: NEW
  Severity: critical
  Priority: P2
 Component: isapi
AssignedTo: dev@tomcat.apache.org
ReportedBy: moblac...@yahoo.com
Classification: Unclassified


When attempting to configure apache tomcat 1.2.33 in Windows Server 2008 R2
Enterprise with IIS 7.5 continue to receive error message isapi filter failed
to load. I followed the instructions on the Apache isapi redirector page
however I continue to receive the same results. I contacted Microsoft support
and was informed that the dll is old and is not supported. I would greatly
appreciate anyones help in resolving this matter.

-- 
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 53047] JDBCRealm allRolesMode="authOnly" still needs role table

2012-04-10 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=53047

--- Comment #2 from Dennis Verbeek  2012-04-10 10:29:13 
UTC ---
When userRoleTable is not defined the JDBCRealm simply queries table "null".
allRolesMode="authOnly" ... It's in the title!



Apr 10, 2012 11:50:00 AM org.apache.catalina.realm.JDBCRealm getRoles
SEVERE: Exception performing authentication
org.postgresql.util.PSQLException: ERROR: relation "tomcat_role" does not exist



Apr 10, 2012 12:02:55 PM org.apache.catalina.realm.JDBCRealm getRoles
SEVERE: Exception performing authentication
org.postgresql.util.PSQLException: ERROR: syntax error at or near "null"


   ...
   
  
  *
   


-- 
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