Re: So You Want High Performance ( cont )

2013-10-25 Thread Stephen More
On Fri, Oct 25, 2013 at 5:14 AM, Felix Schumacher felix.schumac...@internetallee.de wrote: On Do, 2013-10-24 at 11:29 -0400, Stephen More wrote: I came across this paper by Peter Lin ( http://tomcat.apache.org/articles/performance.pdf ). In a simple xml addressbook war he summarizes how

Re: So You Want High Performance ( cont )

2013-10-25 Thread Stephen More
On Fri, Oct 25, 2013 at 10:30 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stephen, On 10/25/13, 9:13 AM, Stephen More wrote: On Fri, Oct 25, 2013 at 5:14 AM, Felix Schumacher felix.schumac...@internetallee.de wrote: On Do

Re: So You Want High Performance ( cont )

2013-10-25 Thread Stephen More
On Fri, Oct 25, 2013 at 10:30 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stephen, On 10/25/13, 9:13 AM, Stephen More wrote: On Fri, Oct 25, 2013 at 5:14 AM, Felix Schumacher felix.schumac...@internetallee.de wrote: On Do

So You Want High Performance ( cont )

2013-10-24 Thread Stephen More
I came across this paper by Peter Lin ( http://tomcat.apache.org/articles/performance.pdf ). In a simple xml addressbook war he summarizes how different variables affect the speed of the application. In one test he compares: Sun X1 400mhz Ultra Sparc IIe - 5 requests/sec AMD 2ghz XP - 25

Re: So You Want High Performance ( cont )

2013-10-24 Thread Stephen More
On Thu, Oct 24, 2013 at 4:14 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stephen, On 10/24/13, 11:29 AM, Stephen More wrote: I came across this paper by Peter Lin ( http://tomcat.apache.org/articles/performance.pdf

Re: java version 1.7.0_25 + apache-tomcat-7.0.41 = Illegal type for StackMapType: -4

2013-06-22 Thread Stephen More
Mojarra and Spring. On Fri, Jun 21, 2013 at 12:14 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stephen, On 6/21/13 11:10 AM, Stephen More wrote: My web application has been working great with jdk1.6. At this point I am trying

java version 1.7.0_25 + apache-tomcat-7.0.41 = Illegal type for StackMapType: -4

2013-06-21 Thread Stephen More
to make or is this a bug ? -Thanks Stephen More

Re: IE + Flash + mod_jk issue

2009-05-13 Thread Stephen More
On Tue, May 12, 2009 at 4:58 PM, Rainer Jung wrote: On 12.05.2009 22:33, Stephen More wrote: I have a flash application ( Macromedia Breeze Presentation ) that is working fine when I access it directly from tomcat's port 8080. When I access it through apache using mod_jk, IE loads some

IE + Flash + mod_jk issue

2009-05-12 Thread Stephen More
I have a flash application ( Macromedia Breeze Presentation ) that is working fine when I access it directly from tomcat's port 8080. When I access it through apache using mod_jk, IE loads some of the flash files, but not all. The problem is only appearing with IE, it is working fine with

Cookie problem in 5.5.26

2008-10-30 Thread Stephen More
I see in version 5.5.26 there are Cookie handling/parsing changes! 5.5.25 and prior I was able to read cookie values that included colons: cookie-name: lastaccess cookie-value: 10/30/2008%2010:41:00%20AM 5.5.26 and after: cookie-name: lastaccess cookie-value: 10/30/2008%2010 Other

Re: JAASRealm problem moving from 5.5.23 - 5.5.26

2008-06-19 Thread Stephen More
Context path=/ams reloadable=true Take out the path attribute; it's not allowed unless the Context element is in server.xml (where it should never be, these days). It should be ignored, but... Done. Realm className=org.apache.catalina.realm.JAASRealm ...

JAASRealm problem moving from 5.5.23 - 5.5.26

2008-06-18 Thread Stephen More
I have been using 5.5.23 with a JAASRealm for some time now. In trying to upgrade to 5.5.26 I am now seeing a new log entry in catalina.out Jun 18, 2008 8:40:09 AM org.apache.catalina.realm.JAASRealm parseClassNames Just after that I am seeing a SEVERE message that it can not find my classes

Re: JAASRealm problem moving from 5.5.23 - 5.5.26

2008-06-18 Thread Stephen More
Just after that I am seeing a SEVERE message that it can not find my classes where I extend javax.security.Principal. These classes can be found in the deployed war file. Which is not where they're supposed to be. To quote from the doc: Place the compiled classes on Tomcat's classpath;

Re: JAASRealm problem moving from 5.5.23 - 5.5.26

2008-06-18 Thread Stephen More
This setup has worked out of the box on both 5.5.23 and 6.0.16 without any changes to my CLASSPATH environment variable. Do you have anything in CLASSPATH? You shouldn't. Nope. CLASSPATH is empty. If I need to run multiple versions of a realm am I now forced to run multiple instances of

Re: JAASRealm problem moving from 5.5.23 - 5.5.26

2008-06-18 Thread Stephen More
On Wed, Jun 18, 2008 at 2:10 PM, Caldarale, Charles R Just to verify, your Realm declaration is within the webapp's Context, correct? Could you post the Context element for the webapp? I'd like to see if there's anything odd in it. My Realm declaration is stored in META-INF/context.xml of

Re: Storing sessions to disk like Apache HTTP server

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 9:41 AM, Andrew R Feller afe.u wrote: Is there any way to store sessions to disk like Apache HTTP server? Can I ask why do you want to ? -Steve More - To start a new topic, e-mail:

Re: Tomcat Server output console cannot view fully

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 6:40 AM, tlgkumar tlgku.m wrote: using this i can create the project and got output nicely, but my problem is i cannot view the server output cosole printouts, in my project i am using lots of print statements, In general you should move away from print

Re: How do I make a redirection?

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 2:24 AM, nkarytia n.kar..m wrote: every time the user types in http://mysite.com/hello in the address bar of his browser it gets redirected to another site like hello.newsite.com. Is this possible? Is mysite.com running Tomcat, httpd, or something else ? This

access Connector Address from within war file

2008-02-27 Thread Stephen More
From within a war file, I need to access the Connector Address. Currently I am doing this by: javax.management.MBeanServer mBeanServer = org.apache.commons.modeler.Registry.getRegistry( null, null ).getMBeanServer(); javax.management.ObjectName identifier = new javax.management.ObjectName(

Re: Tomcat 6.0 and JSF 1.2

2008-02-27 Thread Stephen More
On Fri, Feb 22, 2008 at 11:04 AM, jean-.et wrote: I would like to work with JSF 1.2 embedded in Tomcat 6.0 Where can I find an How-to ? Give this a try: http://www.exadel.com/tutorial/jsf/jsftutorial-kickstart.html Once you get a handle on JSF, then I would suggest looking into

Re: access Connector Address from within war file

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 12:26 PM, Caldarale, Charles R Chuc...m wrote: From within a war file, I need to access the Connector Address. Why don't you tell us what you're really trying to do, and what Tomcat level you're trying to do it on. It's not at all clear what you mean by

Re: NIO connector in Tomcat 6.0.14

2008-02-25 Thread Stephen More
On Thu, Oct 25, 2007 at 12:19 PM, Filip Hanik - Dev Lists devm wrote: browser don't work the way you might it expect to, firefox for example, will not display anything until the entire request is complete. so the chat example is no good that way. write a client application for your

Re: NIO Java or TC - What are u using it 4?

2008-02-23 Thread Stephen More
On Fri, Feb 22, 2008 at 10:58 PM, Bill Barker wba..com wrote: Well, you need it for Comet Is there a way you can deploy Comet applications to tomcat 5.5 or do you have to upgrade to 6.0 ? -Steve More - To start a new

mod_jk + HTTP Push problems

2008-02-22 Thread Stephen More
I have created a Servlet that uses multipart/x-mixed-replace to push out data. ( See: http://www.servlets.com/jservlet2/examples/ch06/#ex06_13 ) This works perfectly fine between tomcat 5.5 and Firefox. When tomcat is front-ended with httpd + mod_jk, the live push no longer works. Is this a

error page for ViewExpiredException using JSF-RI 1.2

2008-01-22 Thread Stephen More
I am currently using JSF-RI 1.2_07, facelets 1.1.13 and tomcat 5.5.23 Within my web.xml the following works as expected: error-page exception-typejava.lang.Exception/exception-type location/redirect.jsp/location /error-page The following is NOT working: error-page

Re: Certificates, CLIENT-CERT Authentication and Authorization

2007-10-22 Thread Stephen More
There seems to be good documentation for configuring Realms. I currently have a JAASRealm working by implementing a javax.security.auth.spi.LoginModule I have found very little documentation for custom Authenticators. Your _outline_ is helpful, but I am still struggling. My class which extends

Re: Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
not implement ClusterManager, addition to cluster has been aborted. The docs say The default value is the org.apache.catalina.ha.session.DeltaManager and DeltaManager does implement the ClusterManager interface. I must be missing something, but what ? -Steve More On 10/19/07, Stephen More [EMAIL

Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
I am trying to setup a tomcat cluster on 1 box with mod_jk, Engine name=Catalina defaultHost=localhost jvmRoute=worker4 Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster receiver.tcpListenPort=9074 doClusterLog=true / Engine name=Catalina

Re: Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
question that remains is Will JCIFS NTLM HTTP Authentication work in a cluster with session replication ? If anyone has any insights feel free to post. -Thanks Steve More On 10/19/07, Stephen More step..om wrote: I thought I would try this on a off the shelf apache-tomcat-6.0.14: Engine

application-managed security model and isUserInRole getRemoteUser

2007-10-12 Thread Stephen More
If I implement application-managed security ( I need to use cookies for Remember Me ), is there a way to make it such that HttpServletRequest.getRemoteUser() and HttpServletRequest.isUserInRole(java.lang.String role) will respond with values from the actual logged in user ? I see an old thread

Re: JDBCRealm + Expired Passwords

2007-08-22 Thread Stephen More
. Peter Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, Stephen More wrote: Has anyone written or know of a JDBCRealm that supports an expired password ? Can you phrase that in a different way? I wouldn't want my JDBCRealm to allow expired

Re: JDBCRealm + Expired Passwords

2007-08-22 Thread Stephen More
On 8/22/07, Christopher Schultz [EMAIL PROTECTED] wrote: 1. Checks to see if the Session exists and has a Principal. 2. Checks to see if the Session contains my User object. If not, it loads the User object and performs the real login (as opposed to the basic authentication provided by

JDBCRealm + Expired Passwords

2007-08-21 Thread Stephen More
Has anyone written or know of a JDBCRealm that supports an expired password ? -Thanks Steve More - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: JDBCRealm + Expired Passwords

2007-08-21 Thread Stephen More
On 8/21/07, Christopher Schultz [EMAIL PROTECTED] wrote: Stephen More wrote: Has anyone written or know of a JDBCRealm that supports an expired password ? Do you mean that you want expired-password-users to be forced to change their password before doing anything else? Yes

Can one Global JNDI resources reference another ?

2006-10-18 Thread Stephen More
I think I have come across a chicken and egg scenario. I want to have a connection pool that is globally accessible, so I added the following to my GlobalNamingResources Resource name=jdbc/GlobalPool auth=Container type=javax.sql.DataSource

hardening and securing tomcat in a production environment

2006-10-16 Thread Stephen More
Is there a published list of items that need to be configured in order to harden and secure tomcat in a production environment ? What items need to be configured, and what items need to be removed ? I am currently interested in version 5.5. -Thanks Steve More

Re: Help with Tomcat MySQL using JNDI

2006-05-30 Thread Stephen More
have gone wrong ? -Thanks Steve More On 5/19/06, Stephen More [EMAIL PROTECTED] wrote: On 5/17/06, Parsons Technical Services [EMAIL PROTECTED] wrote: Now I will assume you have reviewed http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html for a per context and Yes http

Re: Help with Tomcat MySQL using JNDI

2006-05-19 Thread Stephen More
verified this first layer ( JDBC Driver installed OK ), how can I test the next layer ? $CATALINA_HOME/webapps/DBTest/META-INF/context.xml What can I do to verify that my context.xml is set correctly ? -Thanks Steve More - Original Message - From: Stephen More [EMAIL PROTECTED

Help with Tomcat MySQL using JNDI

2006-05-17 Thread Stephen More
Is there a war file available for download that will do nothing more than: select 'HelloWorld from MySQL'; using JNDI ? I have tried following many examples on the web and I keep ending up with: Cannot create JDBC driver of class '' for connect URL 'null' At this point I am pulling out

Disabling put and delete http methods

2006-03-25 Thread Stephen More
I am having problems trying to disable put and delete. I have searched the Internet and they all say the same thing. Add the following: security-constraint web-resource-collection web-resource-nameDisallowed Location/web-resource-name url-pattern*/url-pattern