Re: So You Want High Performance ( cont )

2013-10-25 Thread Stephen More
On Fri, Oct 25, 2013 at 10:30 AM, Christopher Schultz 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 >> wrote: >>> On Do, 2013-1

Re: So You Want High Performance ( cont )

2013-10-25 Thread Stephen More
On Fri, Oct 25, 2013 at 10:30 AM, Christopher Schultz 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 >> wrote: >>> On Do, 2013-1

Re: So You Want High Performance ( cont )

2013-10-25 Thread Stephen More
On Fri, Oct 25, 2013 at 5:14 AM, Felix Schumacher 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 different

Re: So You Want High Performance ( cont )

2013-10-24 Thread Stephen More
On Thu, Oct 24, 2013 at 4:14 PM, Christopher Schultz 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/perform

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

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

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

2013-06-21 Thread Stephen More
? -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 throu

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

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 threa

Re: JAASRealm problem moving from 5.5.23 -> 5.5.26

2008-06-19 Thread Stephen More
>> > > Take out the path attribute; it's not allowed unless the element is > in server.xml (where it should never be, these days). It should be ignored, > but... Done. >> ... >> useContextClassLoader="false" /> > > Just for grins, what happens if you set useContextClassloader to

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 declaration is within the webapp's , > correct? > Could you post the element for the webapp? I'd like to see if > there's anything odd in it. My declaration is stored in META-INF/context.xml of the war.

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 insta

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 cl

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 whe

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

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( "Cata

Re: Tomcat 6.0 and JSF 1.2

2008-02-27 Thread Stephen More
On Fri, Feb 22, 2008 at 11:04 AM, 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 facelets. http:

Re: How do I make a redirection?

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 2:24 AM, nkarytia 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 can be done

Re: Tomcat Server output console cannot view fully

2008-02-27 Thread Stephen More
On Wed, Feb 27, 2008 at 6:40 AM, tlgkumar 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 statements and

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 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: users@tomcat.apache.org To

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 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 comet, to

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 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 topic, e-mail: us

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 know

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: java.lang.Exception /redirect.jsp The following is NOT working: javax.faces.application.ViewExpiredException /redirect.jsp

Re: application-managed security model and isUserInRole getRemoteUser

2007-10-23 Thread Stephen More
On 10/12/07, Christopher Schultz wrote: > Yes, this is how to do it. If you don't want to do it yourself, you can > use securityfilter (http://securityfilter.sourceforge.net), which has > already been written. Thanks, securityfilter is a great example. > > ?? - stick with container-based securit

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 o

Re: Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
rk in a cluster with session replication" ? If anyone has any insights feel free to post. -Thanks Steve More On 10/19/07, Stephen More wrote: > I thought I would try this on a off the shelf apache-tomcat-6.0.14: > > > > receiver.tcpListenPort="9074"

Re: Debugging session replication in 5.5.23

2007-10-19 Thread Stephen More
" and DeltaManager does implement the ClusterManager interface. I must be missing something, but what ? -Steve More On 10/19/07, Stephen More <[EMAIL PROTECTED]> wrote: > I am trying to setup a tomcat cluster on 1 box with mod_jk, > > >

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, my web.xml has session data is NOT getting replicated. My logs are showing: DEBUG TP-Processor1 org.apache.catalina.cluster.tcp.ReplicationValve - Context /tomcatTest: Found session 73F82C596FCE430AB6B7208B03E58BB4.worker6 but i

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

Re: JDBCRealm + Expired Passwords

2007-08-22 Thread Stephen More
rt of extension or customization > to Tomcat is required. > > Peter > > Christopher Schultz wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Stephen, > > > > Stephen More wrote: > > > >> Has anyone written or kn

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 be

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

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 I tested this section and can access this resource fine from any webapp. Now I want to make a PersistenceManagerFactory global. I end up w

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
re I might 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 >

Re: Help with Tomcat & MySQL using JNDI

2006-05-19 Thread Stephen More
epassword"); I have this working fine. Now that we have 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 -

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 my

Re: Disabling put and delete http methods

2006-03-26 Thread Stephen More
m guessing that there is more that you're not telling us. While I'm way > too lazy to test this myself, I'm having trouble believing that your > particular mis-configuration would result in the error you are seeing. > > "Stephen More" <[EMAIL PROTECTED]> wr

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: Disallowed Location * DELETE PUT * So I added that to jakarta