how to contribute to Admin ApplicationResources_ko.properties, Korean version

2005-07-25 Thread Kenu Heo
Hi. Korean translation of ApplicationResources.properties is finished. I wonder it would bepossible to add in tomcat-admin.jar release. I wish it would be a helpful resource. untar attatch file in $CATALINA_HOME kenu http://www.okjsp.pe.kr

Sun One Web Server unescaping URLs

2005-07-25 Thread Ashish Tripathi
Sun One Web Server unescapes URL before it sends to the redirector (JK). Does anyone know how to stop this. In case of IIS, the URL is passed as-is to the redirector which does the unescaping before sending to Tomcat. So, with the registry setting of uri_select to be unparsed, the redirector also

Newbie: Connection refused first time on Tomcat

2005-07-25 Thread Bruce E. Stemplewski
I just installed Tomcat for the first time ever so please forgive the newbie question. I installed Apache Tomcat 5.5.9 Server and J2RE JSE 5.0 on an XP operating system. Tomcat starts up fine but when I try to go to the Welcome page, or the Manager Page. I get The connection was refused

Re: how to get the original requestURI after jsp:forward()

2005-07-25 Thread Martin Bromley
I've needed to do this in the past: I created a filter that set the set the requestURI in an attribute in the request. There may be a better way. Martin Marten Lehmann wrote: Hello, I have a forward to a jsp-file. This jsp-file needs to know which URI was requested in the initial request.

AW: how to get the original requestURI after jsp:forward()

2005-07-25 Thread Schwarz
Hello, I have a forward to a jsp-file. This jsp-file needs to know which URI was requested in the initial request. Currently, I can only see the requestURI of the forwarded jsp-file. Any ideas? set a session bean with the original uri.

Realm programmatic authentication

2005-07-25 Thread Bengali Bengali
Hi, I would like to use the configured realm to authenticate users but I don't want to use the standard J2EE mechanism (for many reasons). Also, my needs for authorisations are not limited to URLs and are more fine-grained. Since I configured a JNDI realm I wanted to access the reamù in my webapp

Re: Configure email catcher for dev and stage environments?

2005-07-25 Thread Marc Guillemot
Dirk.Weigenand wrote: You could then set up another 'fake' smtp server that simply sends your messages to /dev/null or stores them locally for later inspection. Have a look at james: http://james.apache.org/ or dumbster: http://quintanasoft.com/dumbster/ thanks for the links. dumbster

Tomcat more tolerant to missing or expired client certificates

2005-07-25 Thread Fabrizio Lippolis
Hi, I am developing an application where I managed to use client authentication requiring a certificate installed in the browser. I have remarked anyway that when a certificate is expired or there is no certificate at all, Tomcat doesn't allow the user to use the application. This is right

RE: Tomcat more tolerant to missing or expired client certificates

2005-07-25 Thread Antonio Albendiz
If you configure tomcat server in SSL mode, you can say what to do. In your server.xml, at the ssl connector it says what to do with the users. If you configure with no authentication, all users can see all. If you say want I think it says what to do with the user and if you put TRUE it means that

Suppressing exceptions in the Tomcat logs?

2005-07-25 Thread Edward Hibbert
I have some JSP which throws an exception, which Tomcat then logs. We catch that exception and deal with it, so I don't want it logged. Previously we've changed the Tomcat code to avoid logging this particular exception, but I'm trying to avoid doing that, so that I don't need to provide my own

Tomcat 5.5.10: APR-SSL generates wrong 302 response

2005-07-25 Thread Markus Schönhaber
Hello! I've configured Tomcat 5.5.10 to use APR. The HTTP-Connector listens on port 80, the HTTPS-Connector listens on port 443. A request for https://www/tomcat-docs generates the following response: GET /tomcat-docs HTTP/1.1 Host: www User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE;

Re: Problem Bringing up Admin

2005-07-25 Thread J. Ryan Kelley
Yes, those files are exactly where you say they should be. Thanks. Ryan Peddireddy Srikanth wrote: may be you would have done this but I want to know... whethere you extracted all files from that admin archive (zip or tar) and placed the files in respective folders like admin.xml in

tomcat port listening configuration

2005-07-25 Thread Mark
I am trying to configure tomcat to listen on the same port, but different IP's. Is this possible using Tomcat? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Internet Explorer and Content-Type

2005-07-25 Thread Mark
I have a servlet that generates data that I want to write to the client's browser. This data is just ASCII text. The problem that I am running into is that Internet Explorer's Save As window defaults the filename to the name of my servlet. Firefox/Netscape will save the file as the filename

RE: how to get the original requestURI after jsp:forward()

2005-07-25 Thread Caldarale, Charles R
From: Schwarz [mailto:[EMAIL PROTECTED] Subject: AW: how to get the original requestURI after jsp:forward() set a session bean with the original uri. I don't think you want to put a request-specific data item into the session - if there's more than one request being processed

RE: Internet Explorer and Content-Type

2005-07-25 Thread Arup Vidyerthy
Strange... I have identical code and it works IE and FireFox. This is how write it out into the response stream // set up the response header with the content type, the file name and // the file size // res.setContentType(application/zip); res.setHeader(Content-disposition, attachment; filename=

Re: Internet Explorer and Content-Type

2005-07-25 Thread Mark
Could it be that I am writing a text file, where you are writing a zip file ? On 7/25/05, Arup Vidyerthy [EMAIL PROTECTED] wrote: Strange... I have identical code and it works IE and FireFox. This is how write it out into the response stream // set up the response header with the content

Tomcat filter to overwrite the requestURL of incoming httprequest object

2005-07-25 Thread Jaynika Barot
hi all, I want to write a filter which will overwrite the request URL in incoming httprequest. if incoming request's URI contains *./myservletName/extra1/extra2.* I want to reset it to *./myservletName?param1=extra1param2=extra2 and pass this request object to subsequent processing (filter

Tomcat 5.5.10: Location of libapr and libtcnative?

2005-07-25 Thread Jürgen Zimmermann
Where can I find Windows binaries for libapr and libtcnative? Any hint is appreciated. -- Juergen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat filter to overwrite the requestURL of incoming httprequest object

2005-07-25 Thread Martin Bromley
You have to wrap the HttpServletRequest with a class that overrides the methods relating to the URI. I've attached an abstract class that I wrote to make this a bit easier. You will have to implement the rewriteURL method to do the necessary String parsing. Then in your filter doFilter:

Re: Tomcat 5.5.10: APR-SSL generates wrong 302 response

2005-07-25 Thread Remy Maucherat
On 7/25/05, Markus Schönhaber [EMAIL PROTECTED] wrote: Hello! I've configured Tomcat 5.5.10 to use APR. The HTTP-Connector listens on port 80, the HTTPS-Connector listens on port 443. A request for https://www/tomcat-docs generates the following response: GET /tomcat-docs HTTP/1.1 Host:

Re: Tomcat 5.5.10: APR-SSL generates wrong 302 response

2005-07-25 Thread Markus Schönhaber
Am Montag, 25. Juli 2005 17:39 schrieb Remy Maucherat: There's indeed a cut paste error (the default ports for HTTP and HTTPS are inverted), so you need to add an extra '!': Index: Http11AprProcessor.java === RCS file:

Re: how to contribute to Admin ApplicationResources_ko.properties, Korean version

2005-07-25 Thread Mark Thomas
Kenu Heo wrote: Korean translation of ApplicationResources.properties is finished. I wish it would be a helpful resource. untar attatch file in $CATALINA_HOME Many thanks. Many atatchment types are blocked on the list. Please create a bugzilla item and add your properties file to that.

Re: Newbie: Connection refused first time on Tomcat

2005-07-25 Thread David E. Shapiro
I have the same problem here. If you tail -f the catalina log it never completes the startup. It hangs trying to set the context for admin for me. Can somebody let us know what we are doing wrong? Bruce E. Stemplewski wrote on 7/25/05 2:54 am: I just installed Tomcat for the first time ever

Re: Newbie: Connection refused first time on Tomcat

2005-07-25 Thread Larry Meadors
You need the compatibility stuff: http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi Search for compat on that page, and you'll see it. Larry On 25 Jul 2005 18:52:00 GMT, David E. Shapiro [EMAIL PROTECTED] wrote: I have the same problem here. If you tail -f the catalina log it

dubugging tomcat

2005-07-25 Thread blackwater dev
Hello, I have fedora core 3 and have tomcat installed. I can start it up successfully using startup.sh but can't connect to localhost at localhost:8080. How can I debug this to see what is going on? Thanks! - To unsubscribe,

Re: dubugging tomcat

2005-07-25 Thread Edrei Marcelo
this port could be block by the firewall try iptables -L to see the rules an netstat to see wich port your server is listening, sorry but i dont the remember now the best parameter to see this, but you can see it at man netstat - Original Message - From: blackwater dev To:

Re: dubugging tomcat

2005-07-25 Thread blackwater dev
I turned of iptables and it didn't help. I tried nstat and didn't see anything listed with port 8080. Thanks! On 7/25/05, Edrei Marcelo [EMAIL PROTECTED] wrote: this port could be block by the firewall try iptables -L to see the rules an netstat to see wich port your server is listening,

Re: dubugging tomcat

2005-07-25 Thread Larry Meadors
Start it with this (from $CATALINA_HOME/bin): ./catalina.sh jpda run Larry On 7/25/05, blackwater dev [EMAIL PROTECTED] wrote: Hello, I have fedora core 3 and have tomcat installed. I can start it up successfully using startup.sh but can't connect to localhost at localhost:8080. How

restarting tomcat in production

2005-07-25 Thread Ron Heeb
hi, i'm looking for some feedback on whether or not it's a normal procedure to regularly restart tomcat. we have some memory leak somewhere that forces us to restart the process every 6-8 days but we're thinking that just putting in a script to restart daily would prevent this and may not

RE: restarting tomcat in production

2005-07-25 Thread Robert Harper
The best practice is to find the leak and fix it. Restarting is a cover up to a problem that may cause bigger problems down the road as the project scope increases. You can do this but it only hides the real problem and if someone replicates you site and forgets to write or enable the script, then

Re: dubugging tomcat

2005-07-25 Thread blackwater dev
Ah...tells me this relese of tomcat was packaged to run on J2SE 5.0 or later but can run on earlier JVM's by getting a compatibility package. Looks like I need the latest J2SE. Thanks! On 7/25/05, Larry Meadors [EMAIL PROTECTED] wrote: Start it with this (from $CATALINA_HOME/bin):

RE: Multiple Hosts using dyndns

2005-07-25 Thread Adile Abbadi
I'm doing a very similar thing through but my configuration is a little different. I'm using an apache/tomcat configuration with Mod_jk as the connector. Apache handles the bulk of the http requests so to do what you want to do I set it up through apache. I do it by doing one thing only in the

RE: Error 500 messages

2005-07-25 Thread Adile Abbadi
Hi Tim, Thanx for this again - sorry to be a pain - but this is good info - so the bugger size value is a jsp page directive? I'll check into it - but if you can confirm I would appreciate it. Thanx Adile -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: July 24, 2005

Re: Newbie: Connection refused first time on Tomcat

2005-07-25 Thread Bruce E. Stemplewski
Where does this get installed? Remember, I am a total newbie at this. And do I even need this? The error says: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat

Newbie Virtual Host Question

2005-07-25 Thread Steve Delaney
Help! I'm sure my problem boils down to simple syntax, but I've been wrestling with it for days so its time to ask... I'm running a default installation of Tomcat 5.5.9 on Windows XP purely for development/training purposes. As a matter of principal I like to keep all my data separate from my

Init parameter in context.xml

2005-07-25 Thread Arash Ramin
In lieu of using web.xml, I'm trying to add an init parameter in our application's context.xml file: context path=/appName ... parameter name=paramName value=dummyValue/ /context According to the Tomcat docs, this is equivalent to using the following in web.xml: context-param