Resource Injection

2007-07-28 Thread John McPeek
I want to use Resource Injection and I have been looking around, but all I can find is threads about stuff that doesn't work related to JSF. Does Tomcat 6 support Resource Injection? Thanks, John - To start a new topic, e-mail

Re: valid keystore formats?

2007-03-04 Thread John McPeek
Hi Martin, Isn't it supposed to be "JKS". John Hello All- Attempting to get a self-signed certificate CACERT operational and cannot determine which valid storetype format using the keytool command I have tried storetype=JCEKS but this always displays "invalid keysotre format" Thanks! Martin

Re: reload on demand?

2007-02-24 Thread John McPeek
Hi Kent, If you use eclipse and WTP it does all that for you. Then you can spend almost 0 time thinking about start/stop/reload stuff. John Hi, In a development environment it's desirable to reload a webapp if any of its class files has been changed. I know about the reloadable flag, but it w

Re: How to display chinese chars in JSP / encoding UTF-8 without <@page encoding> tag

2007-01-14 Thread John McPeek
Why are you using UTF8 in stead on UTF16. With UTF8 you have to escape all the characters, right? I was on a project for a Japanese site once and we used UTF16. It was a lot easier to work with. Eclipse will show it to you just like normal text(Chinese). All you have to do is set the encoding to

Re: run service in jdk 6

2007-01-13 Thread John McPeek
Hey Chuck, That sounds like a cool job you have there, where do I sign up. :-) John From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: run service in jdk 6 ported? as in crosscompiled / reimplemented the vm? Much of the former, some of the latter (JIT, GC, threads, etc.). Tha

Re: Peak load of Tomcat-powered server(s)?

2006-12-26 Thread John McPeek
Hi Li, I don't claim to have half the knowledge of some of the people around here, but I read an article about how WalMart upgraded to Java 5. They run WalMart.com on 100 servers running tomcat. I didn't read anything about clustering in the article, however I have got to think that your custo

Re: Custom JAAS LoginModule not authorizing GenericPrincipal roles

2006-12-19 Thread John McPeek
Hi Joe, This is my commit(). I think you are missing the User Principle. When you say request.getUserPrincipal(), that token (1) I am putting in first comes back. The Principles you add after that are the roles you want to test against. This stuff drove me nuts when I was setting it up. Hope

Re: Webapp runs on Tomcat 5.5.9 but not 5.5.20

2006-11-06 Thread John McPeek
Hi John, Are you running this with WTP in eclipse? I see that Chuck was talking about the tag. WTP puts the tag in the server.xml like days gone by. This may be related to your situation. John From: John Langan [mailto:[EMAIL PROTECTED] Subject: Webapp runs on Tomcat 5.5.9 but not 5.5.20

Re: FORM based authentication LOGOUT

2006-11-03 Thread John McPeek
When I call request.getUserPrincipal(); I still get the Principal back and I can still call request.isUserInRole( "Foo" ); and get a valid response for the currently logged in user. John From: John McPeek [mailto:[EMAIL PROTECTED] Subject: FORM based authentication LOGOUT I hav

FORM based authentication LOGOUT

2006-11-02 Thread John McPeek
rticles on the net from around the time servlet 2.4 came out talking about a logout() method. However, when I look in the servlet javadocs there is nothing of the sort. Someone please tell me there is an answer to this. Thanks John McPeek

Re: JNDI inside a JAAS LoginModule

2006-10-09 Thread John McPeek
for JAAS? Is there a way to see Global resources without referencing them in every app Context? Thanks, John McPeek I know we had/have problems with GlobalNamingResources. We have it working with the connection pool ".." and our JAAS realm configured under the webapp context node. Also

JNDI inside a JAAS LoginModule

2006-10-07 Thread John McPeek
NDI in a LoginModule, or am I missing configuration. Thanks, John McPeek - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]