Re: What can url-pattern accept?

2008-08-20 Thread Guojun Zhu
I ended up with something interesting with tomcat. I basically have two security-constraint, in the first one I put url-pattern*.do/url-pattern and in the second one, I put url-pattern/admin/*/url-pattern. Tomcat just did what I want, the user with role matching the first constraint does not

tomcat 5.5 unicode issiues!

2008-08-20 Thread Shahar Cohen
Hi, I have some files in my site that contain some characters that the tomcat 5.5 dont parse them correctly and thus I get 404 error file not found. For instance the file names are: bbb%e2%80%99s-bbb-.htm ggg-xx-eee’s-car.htm got-it….htm catch-a-f….htm this file

RE: How to tell Tomcat to use an additional classpath other than web-inf/classes?

2008-08-20 Thread Dave Bender
Why not add the path to the CLASSPATH variable in the 'TOMCAT_HOME/bin/setclasspath.sh' script (or setclasspath.bat for Windows)? We've done that for getting Tomcat to recognize server-specific properties files and it seems to do the trick. Dave -Original Message- From: [EMAIL

RE: How to tell Tomcat to use an additional classpath other than web-inf/classes?

2008-08-20 Thread Caldarale, Charles R
From: Dave Bender [mailto:[EMAIL PROTECTED] Subject: RE: How to tell Tomcat to use an additional classpath other than web-inf/classes? Why not add the path to the CLASSPATH variable in the 'TOMCAT_HOME/bin/setclasspath.sh' script (or setclasspath.bat for Windows)? Because that prevents the

Re: starting tomcat at system boot

2008-08-20 Thread Zemian Deng
On Tue, Aug 19, 2008 at 10:33 PM, Bill Barker [EMAIL PROTECTED] wrote: Markus Schönhaber [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Zemian Deng wrote: When setting up tomcat during boot startup on a linux/unix, is there more advantage using jsrv that comes with Tomcat

Re: tomcat 5.5 unicode issiues!

2008-08-20 Thread Johnny Kewl
- Original Message - From: Shahar Cohen [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Wednesday, August 20, 2008 2:33 PM Subject: tomcat 5.5 unicode issiues! Hi, I have some files in my site that contain some characters that the tomcat 5.5 dont parse them correctly and thus

Custom error page with stacktrace

2008-08-20 Thread Tom van Wietmarschen
L.S, I'm running tomcat to serve out XML to a custom client (not a webbrowser). In order to show an error page that this client can actually display I use custom error pages in Tomcat. For this I have specified a JSP as an error page, this works very well. However, during the test phase of

RE: tomcat 5.5 Unicode issues!

2008-08-20 Thread Shahar Cohen
Hi, Well I didn’t quite understand you all the way but trying to use your example lats say I have a file named Hello%20There.html when I try to access this file I get 404. Probably because the tomcat recognize the character % as illegitimate. So is there a way to tell tomcat that special

Re: tomcat 5.5 Unicode issues!

2008-08-20 Thread Mark Thomas
Shahar Cohen wrote: Hi, Well I didn’t quite understand you all the way but trying to use your example lats say I have a file named Hello%20There.html when I try to access this file I get 404. Probably because the tomcat recognize the character % as illegitimate. So is there a way to tell

Tomcat5.0.27 - javax.net.ssl.SSLException: Unrecognized SSL handshake

2008-08-20 Thread sridharmnj
Hi, My application is deployed into Solaris box and java version is 1.3, Tomcat 5.0.27, apache 2.0.50. This appication access a webservice whose end point is https://. I configured this app with JSSE 1.0.3 and also configured with the below code. System.setProperty(java.protocol.handler.pkgs,

RE: tomcat 5.5 Unicode issues!

2008-08-20 Thread Shahar Cohen
Changing the URIEncoding=UTF-8 just worked. thanks -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2008 5:29 PM To: Tomcat Users List Subject: Re: tomcat 5.5 Unicode issues! Shahar Cohen wrote: Hi, Well I didn’t quite understand you all the

Dual-Independent Tomcat servers, on Single Win32 host sharing IIS server.

2008-08-20 Thread dOE
Hello, Can anyone guide me in the right direction with my issue. Windows Server 2003, IIS 6.0, tomcat-connector 1.2.8, and Tomcat 5.0.16. I have been tasked to do the following. To get two separate Tomcat server instances running on the same host independent of each other and working off of the

Re: tomcat 5.5 Unicode issues!

2008-08-20 Thread Johnny Kewl
- Original Message - From: Shahar Cohen [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, August 20, 2008 4:15 PM Subject: RE: tomcat 5.5 Unicode issues! Hi, Well I didn’t quite understand you all the way but trying to use your example lats say I have

Re: tomcat 5.5 Unicode issues!

2008-08-20 Thread Johnny Kewl
Thanks Mark ;) --- HARBOR : http://www.kewlstuff.co.za/index.htm The most powerful application server on earth. The only real POJO Application Server. See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm

Re: Dual-Independent Tomcat servers, on Single Win32 host sharing IIS server.

2008-08-20 Thread André Warnier
dOE wrote: I tried to do the following, and it did not work. worker.list=ajp13w worker.ajp13w.type=ajp13 worker.ajp13w.host=192.168.0.1 worker.ajp13w.port=8009 worker.list=ajp13w2 worker.ajp13w2.type=ajp13 worker.ajp13w2.host=192.168.0.2 worker.ajp13w2.port=8109 Maybe you just need to do

Re: Dual-Independent Tomcat servers, on Single Win32 host sharing IIS server.

2008-08-20 Thread Johnny Kewl
- Original Message - From: dOE [EMAIL PROTECTED] To: Tomcat User-List users@tomcat.apache.org Sent: Wednesday, August 20, 2008 5:10 PM Subject: Dual-Independent Tomcat servers, on Single Win32 host sharing IIS server. Hello, Can anyone guide me in the right direction with my

Re: tomcat 5.5 Unicode issues!

2008-08-20 Thread André Warnier
Shahar Cohen wrote: Changing the URIEncoding=UTF-8 just worked. Shahar, what Mark and in a more verbose way Johnny are trying to tell you, is 1) the first problem is to figure out how and why these files arrived on your system's disk with such names, and if possible correct that. They are

Re: Dual-Independent Tomcat servers, on Single Win32 host sharing IIS server.

2008-08-20 Thread Mark Thomas
Johnny Kewl wrote: The systems are both on localhost... you said same machine... it can only have one IP nit-picking Not true. The most obvious case is a machine with multiple NICs. You can also assign multiple IP addresses to the same physical interface. You don't see it often but you would

Re: Disabling catalina.out log

2008-08-20 Thread emerson cargnin
Truncating? It should be a rolling file, rolling over daily. You can just remove the old versions. Is this a stock tomcat, one from the ports, or maybe a particularly old one? catalina.out is set at the catalina.sh: $CATALINA_BASE/logs/catalina.out 21 This file is not rateable, as it is

tomcat 5.5 DataSourceRealm not taken in charge

2008-08-20 Thread lmk
hello all, I try ti use tomcat security management with DataSourceRealm but I never get authentication console, log shows that user 'Successfully passed all security constraints' I declare Realm inside server.xml: Realm className=org.apache.catalina.realm.DataSourceRealm

Re: Custom error page with stacktrace

2008-08-20 Thread Len Popp
In your error page, the variable exception is set to the exception (if any). You can get the error message and stack trace from the exception like this: pException message: %= (exception == null) ? : exception.getMessage() %/p % String stStack = ; if (exception != null) {

Re: Disabling catalina.out log

2008-08-20 Thread Kees Jan Koster
Dear Emerson, Truncating? It should be a rolling file, rolling over daily. You can just remove the old versions. Is this a stock tomcat, one from the ports, or maybe a particularly old one? catalina.out is set at the catalina.sh: $CATALINA_BASE/logs/catalina.out 21 This file is not

Mod_proxy apache balance to 1 Tomcat app works, fails with another?

2008-08-20 Thread Bob Kimble
I am a newbie to Tomcat. I am tasked with deploying a couple of applications from our software vendor. I am an Oracle DBA, not a software developer, so this question is probably very rudimentary. I have read the 'Tomcat Definitive Guide', and used it to set up load balancing for the 2

Re: Dual-Independent Tomcat servers, on Single Win32 host sharing IIS server.

2008-08-20 Thread Rainer Jung
First before trying to find the right configuration, upgrade! Version 1.2.8 is s old and whatever hints you get on how to use the redirector, you'd always need to find out, which of those are true for 1.2.8. We are at 1.2.26, just use that version. André Warnier schrieb: dOE wrote: I

Instructions for setting up CGI

2008-08-20 Thread Ted Byers
I looked at the page for setting up CGI on Tomcat 6, but the paragraph that follows leads to some confusion. Remove the XML comments from around the CGI servlet and servlet-mapping configuration in $CATALINA_BASE/conf/web.xml. Apparently the jar the XML file refers to no longer exists. And it

Multiple Websites on IIS using SSL

2008-08-20 Thread John Cuddihy
I was looking for some help here. I have 2 websites - unique URLs using SSL using IIS with asp.net with JRun to run servlet code. I need to convert jrun to tomcat. I need to keep IIS and use ISAPI redirect. Using Tomcat with SSL - do I need to run 2 instances of tomcat for each unique URL and

Re: Instructions for setting up CGI

2008-08-20 Thread Mark Thomas
Ted Byers wrote: I looked at the page for setting up CGI on Tomcat 6, but the paragraph that follows leads to some confusion. Remove the XML comments from around the CGI servlet and servlet-mapping configuration in $CATALINA_BASE/conf/web.xml. Apparently the jar the XML file refers to no

HOW TO install/setup 2 instances of tomcat on same server

2008-08-20 Thread edponce
I know this question has been asked a lot but I've read different solutions depending on the needs of the problem. I need to have 2 instances of tomcat on the same server for the same application. One would be for production and the other for development (which can be start and stopped whenever

Re: Dual-Independent Tomcat servers, on Single Win32 host sharing IIS server.

2008-08-20 Thread André Warnier
Rainer Jung wrote: First before trying to find the right configuration, upgrade! Version 1.2.8 is s old and whatever hints you get on how to use the redirector, you'd always need to find out, which of those are true for 1.2.8. We are at 1.2.26, just use that version. André Warnier

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-20 Thread André Warnier
edponce wrote: I know this question has been asked a lot but I've read different solutions depending on the needs of the problem. I need to have 2 instances of tomcat on the same server for the same application. One would be for production and the other for development (which can be start and

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-20 Thread André Warnier
André Warnier wrote: edponce wrote: I know this question has been asked a lot but I've read different solutions depending on the needs of the problem. I need to have 2 instances of tomcat on the same server for the same application. One would be for production and the other for development

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-20 Thread Markus Schönhaber
André Warnier wrote: edponce wrote: depending on the needs of the problem. I need to have 2 instances of tomcat on the same server for the same application. One would be for production and the other for development (which can be start and stopped whenever without affecting the production

Another confused person trying to get jconsole to monitor tomcat.

2008-08-20 Thread Bill Davidson
I've been through the docs. I've been through Google. I can't seem to figure this out. Server: Tomcat 6.0.18, JDK: 1.6.0_07, Redhat Server 5.2 Client: jconsole from JDK 1.6.0_07 on Windows XP I've got all of these in $CATALINA_OPTS and they do show up in the java command line when I run ps:

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-20 Thread André Warnier
Markus Schönhaber wrote: André Warnier wrote: edponce wrote: depending on the needs of the problem. I need to have 2 instances of tomcat on the same server for the same application. One would be for production and the other for development (which can be start and stopped whenever without

Tomcat can't see a new function

2008-08-20 Thread Daniel L. Gross
I have a strange problem. I am using Borland to compile my source files and create jar files. For some reason things are not working correctly. In one jar library, I can create new functions, rebuild the library, and when I put them up in Tomcat 5.5 WEB-INF, it recognizes them. However, I

Re: Tomcat can't see a new function

2008-08-20 Thread Len Popp
Is there an older copy of the jar in another directory where it gets picked up before your new one? -- Len On Wed, Aug 20, 2008 at 21:33, Daniel L. Gross [EMAIL PROTECTED] wrote: I have a strange problem. I am using Borland to compile my source files and create jar files. For some reason

Receiving duplicate requests when code that processes the initial request blocks for a long time ...

2008-08-20 Thread Mashama McFarlane
Hi, I am not sure if this is a bug, feature, or whatever but I definitely need some answers here. I ran into some issues when sending a request to a servlet that executes native code that takes a long time to terminate (I am talking 10s of seconds here). I am consistently getting a second,

Re: Receiving duplicate requests when code that processes the initial request blocks for a long time ...

2008-08-20 Thread Juha Laiho
Mashama McFarlane wrote: I am not sure if this is a bug, feature, or whatever but I definitely need some answers here. I ran into some issues when sending a request to a servlet that executes native code that takes a long time to terminate (I am talking 10s of seconds here). I am

Re: HOW TO install/setup 2 instances of tomcat on same server

2008-08-20 Thread Thomas Haines
edponce wrote: I know this question has been asked a lot but I've read different solutions depending on the needs of the problem. I need to have 2 instances of tomcat on the same server for the same application. One would be for production and the other for development (which can be start