Missing locale on Coyote restart

2005-06-04 Thread h-taguchi
Hello, Attached file is a log file "catalina.out". I didn't edit it. The top 6 lines have Japanese characters, and rest are not. At this time I restarted apache httpd server. I disn't restart tomcat. After this, I get unreadable msgs of my application like " ?? ". I

Re: when web.xml changes webapp does not reload if not in webapps (only TC 5.5.9!!)

2005-06-04 Thread charly
I do not mean manually reloading using the manager webinterface. I mean automatically reloading when (e.g. class or web.xml) files are changed. The manager webapp is only an example webapp which is not located in the %catalina_base%/webapps folder. I have tried with TC 5.0.30 right now. TC

apache2+mod_jk + ssl: howto

2005-06-04 Thread jfc100
Hi, My environment: linux 2.4.22, httpd2 running on its own machine with an appropriate mod_jk module, tomcat4.1.24+jboss3 running on a seperate machine. I have searched this list for an answer to my question but so far have come up empty handed. My question is simply, 'If I want to front

RE: apache2+mod_jk + ssl: howto

2005-06-04 Thread faisal
i used mod_jk2 when i was integrating tomcat with apache2. i also tried my hands on mod_jk and i find mod_jk2 a bit simpler of the two. regarding SSL, ur gonna ve to enable SSL on both server. apache2 on fedora core 3 comes SSL ebabled so i did't ve to do anything there. my java web application

Re: apache2+mod_jk + ssl: howto

2005-06-04 Thread jfc100
faisal wrote: i used mod_jk2 when i was integrating tomcat with apache2. i also tried my hands on mod_jk and i find mod_jk2 a bit simpler of the two. I have been using mod_jk2 to forward requests on the httpd2 web server to tomcat4 successfully - but this was before I tried to implement SSL.

Re: How to get user's password from tomcat

2005-06-04 Thread Larry Meadors
The principle may contain it, but you would have to get it via reflection or cast it to it's original type to see it. Larry On 6/2/05, Jo [EMAIL PROTECTED] wrote: Hi all, Once Tomcat has authenticated a login, we can get the the authenticated user's name from the request's getRemoteUser()

need compatability package for tomcat

2005-06-04 Thread Frank
Ok, I installed and had working tomcat 5.5.6. Also JDK 1.5 I was having problem with library/jar capability between 1.4 compiles and 1.5 from the server machine. So decided to revert back to 1.4.x JDK all around. Well no it seem I need some type of compatibly package to get tomcat to work

RE: need compatability package for tomcat

2005-06-04 Thread David Short
Look here - http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi - the package is called 5.5.9 Compat tar.gz. Just click the link and it will download. -Original Message- From: Frank [mailto:[EMAIL PROTECTED] Sent: Saturday, June 04, 2005 5:52 AM To:

Re: need compatability package for tomcat

2005-06-04 Thread Frank
thanks! David Short wrote: Look here - http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi - the package is called 5.5.9 Compat tar.gz. Just click the link and it will download. -Original Message- From: Frank [mailto:[EMAIL PROTECTED] Sent: Saturday, June 04, 2005

RE: apache2+mod_jk + ssl: howto

2005-06-04 Thread Richard Mixon (qwest)
faisal mailto:[EMAIL PROTECTED] scribbled on Saturday, June 04, 2005 4:40 AM: i used mod_jk2 when i was integrating tomcat with apache2. i also tried my hands on mod_jk and i find mod_jk2 a bit simpler of the two. regarding SSL, ur gonna ve to enable SSL on both server. Not sure what you

RE: apache2+mod_jk + ssl: howto

2005-06-04 Thread Richard Mixon (qwest)
faisal mailto:[EMAIL PROTECTED] scribbled on Saturday, June 04, 2005 4:40 AM: i used mod_jk2 when i was integrating tomcat with apache2. i also tried my hands on mod_jk and i find mod_jk2 a bit simpler of the two. regarding SSL, ur gonna ve to enable SSL on both server. Not sure what you

tomcat newbie : cant make a simple servlet work

2005-06-04 Thread Michael Echavez
Greetings everyone! I'm a newbie with Tomcat and i've already been trying out a simple server example for about 2 days now and still it wouldnt work. I really hope someone would help me out. Specifications: 1. operating system : windows xp sp2 2. java : jdk 1.5 3. tomcat : version 5.5 *i'm

RE: Poor Performance Tomcat5.5.7, Apache2.0.52, Solaris 9

2005-06-04 Thread George Sexton
It's almost certainly your application. I would start with findbugs http://findbugs.sourceforge.net/ And if it doesn't help you sort it out, look at an application profiler. I run about 40 virtual hosts, with a fairly complex calendar app, that gets 10s of thousands of hits per day, on a PIII

Re: tomcat newbie : cant make a simple servlet work

2005-06-04 Thread Rahul Akolkar
On 6/4/05, Michael Echavez [EMAIL PROTECTED] wrote: Greetings everyone! I'm a newbie with Tomcat and i've already been trying out a simple server example for about 2 days now and still it wouldnt work. I really hope someone would help me out. snip/ !DOCTYPE web-app PUBLIC -//Sun

Which is best practice for stowing objects, request or session context?

2005-06-04 Thread Adrian Beech
Hi all, A work colleague mentioned on Friday it would be better to place objects (beans and the like) which had been created in a servlet into the request context when exposing them to the JSP. To date all the code I've written stores beans and the like in the session context and all has

Re: How to get user's password from tomcat

2005-06-04 Thread Digby
I'm not sure you're supposed to be able to get it. Also, what would you expect to get if the password was hashed? Can you not just read the password from the database / ldap source? Digby Larry Meadors wrote: The principle may contain it, but you would have to get it via reflection or cast

Re: Which is best practice for stowing objects, request or session context?

2005-06-04 Thread Digby
IMHO, I would suggest storing objects for the shortest time possible. If an object is only going to be used once, there's no point clogging up memory with lots of unused objects, which won't be garbage collected until the session is destroyed. My rule of thumb is to use the request when it's

Re: Which is best practice for stowing objects, request or session context?

2005-06-04 Thread Frank W. Zammetti
Digby has the right idea... It's not a question of which is better, it's a question of which is appropriate for what you are doing. Many people do not deal in clustered environments, nor do they deal frankly with high scalability requirements. I have to deal with both of those concerns in my

JSP-specific newsgroups/mailing list

2005-06-04 Thread David Wall
Can anybody recommend a good JSP/servlet newsgroups or mailing lists for questions. Obviously, this list is directed towards Tomcat in particular, but while I'm using Tomcat, I'm trying to get an answer regarding some a way in JSP to allow a page developer to create his own bean that can be

Re: JSP-specific newsgroups/mailing list

2005-06-04 Thread Barry Kimelman
Javalobby - Sun Java, JSP and J2EE technology programming forums, software downloads, jobs and tutorials http://www.javalobby.org/ * Barry KimelmanToronto, Ontario, Canada ---Original Message--- From: David Wall Date: 06/04/05 16:08:00 To: Tomcat Users

Invitation to join the Web Services Discussion Forum

2005-06-04 Thread John Eliacy
Dear Madam/Sir, We, a group of enthusiastic web services developers and researchers, have started a new discussion forum at http://www.ws-talk.com to bring together academics and industry people interested in the subject of Web Services and related technologies, such as agents, distributed

Re: How to get user's password from tomcat

2005-06-04 Thread Larry Meadors
Since we're talking tomcat, you can generally cast the principle to generic principle: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/realm/GenericPrincipal.html It has a getPassword() method. I do not know if that password gets hashed...it never was with

Re: tomcat newbie : cant make a simple servlet work

2005-06-04 Thread Steve Ochani
Hi, This servlet worked for me: http://www.matcmp.ncc.edu/~steve/servlets/simpleservlet I used the following inside my web.xml servlet servlet-nameSimpleServlet/servlet-name servlet-classservlets.SimpleServlet/servlet-class /servlet servlet-mapping

Issue with a class not being resolved with a strange error

2005-06-04 Thread Thomas Polliard
Has anyone seen this before and if so what does it mean? org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 5 in the jsp file: /index.jsp Generated servlet error: RidDB cannot be resolved or is not a type The code that makes the call is: %@ page

Re: Force Non-SSL

2005-06-04 Thread Duong BaTien
On Thu, 2005-05-26 at 06:34 -0400, Tim Funk wrote: From a config point of view no. The simple workaround - Ditch the web.xml config for requiring SSL - Create a filter which checks the scheme and URL - if the do not match what you desire - you can issue a redirect in the filter to https (or

Re: Issue with a class not being resolved with a strange error

2005-06-04 Thread Parsons Technical Services
Unless you made a typo in your email, you have a typo in index.jsp. The error says RidDB. The a is missing. Search the file for RidDB. Doug - Original Message - From: Thomas Polliard [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Saturday, June 04, 2005

Re: Issue with a class not being resolved with a strange error

2005-06-04 Thread Thomas Polliard
Thanks I would have never seen that error. I had typed it multiple times. I feel like an idiot. Thanks again, Thomas Parsons Technical Services wrote: Unless you made a typo in your email, you have a typo in index.jsp. The error says RidDB. The a is missing. Search the file for RidDB. Doug

Re: Multiple source directories for one webapp

2005-06-04 Thread Scott Dudley
Laurent, Exact same scenario here. I've tried multiple approaches in the past. I run Eclipse on Linux. The soft link approach worked but was not trivial to implement. Your configuration sounds much like mine. My applications are comprised of multiple sub-projects - each has an html