RE: URL encoding problem IIS6 / JK1.2.25 / Tomcat 5.5.20

2008-06-24 Thread Jesse Klaasse
André Warnier wrote: >It would appear (from the logs), that there is some double-encoding of the URI >going on. >[snip] >But, if somewhere along the line, a piece of code was receiving the encoded >URI "http://.../test%5Bbrackets%5D.jsp";, and decided to re-encode it again >using the "% hex hex

Installing Tomcat-5.5.25 in Solaris 10 (SPARC-64 bit)

2008-06-24 Thread hareesh
Dear all, I have installed tomcat-5.5.25 in Solaris10 on Sun SPARC 64-bit platform after installing 64-bit JRE. I am able to start the tomcat using the startup.sh script. But when I tried to execute the JSP-Exmples , I am getting Servlet Exception like the following: ( I hav

Re: Log4j Logging

2008-06-24 Thread David Fisher
It now points to http://tomcat.apache.org/tomcat-4.1-doc/config/logger.html That's perfect for me. Thank you very much, Dave On Jun 24, 2008, at 3:30 PM, Mark Thomas wrote: David Fisher wrote: (3) On the logger FAQ page the Configuration link is dead! http://tomcat.apache.org/tomcat-5.0-doc/c

RE: User Authentication - IE doesn't recognize mime type (pdf,xls)of files in protected directory

2008-06-24 Thread Caldarale, Charles R
> From: Ed Marshall [mailto:[EMAIL PROTECTED] > Subject: RE: User Authentication - IE doesn't recognize mime > type (pdf,xls)of files in protected directory > > But when I'm already logged in, IE will never display the pdf. > So it seems that Tomcat is behaving differently in each case. It's not T

RE: User Authentication - IE doesn't recognize mime type (pdf, xls)of files in protected directory

2008-06-24 Thread Ed Marshall
Chuck, Thanks for reply. Yes, it does work with Firefox. Using an http viewer, I repeated my test with IE where the pdf displayed the first time but not the second time. That is, I 1) entered url xxx/xxx/testfile1.pdf 2) got the login form, logged in, and then the pdf displayed ok. 3) but then

Re: Log4j Logging

2008-06-24 Thread Mark Thomas
Walter Thompson wrote: The same one you claimed to have fixed the 404 error on! (3) On the logger FAQ page the Configuration link is dead! http://tomcat.apache.org/tomcat-5.0-doc/config/logger.html gives a 404. Of course it will give a 404. That URL doesn't exist which is why I updated the

RE: Log4j Logging

2008-06-24 Thread Walter Thompson
The same one you claimed to have fixed the 404 error on! > (3) On the logger FAQ page the Configuration link is dead! > http://tomcat.apache.org/tomcat-5.0-doc/config/logger.html gives a 404. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 3:

Re: Log4j Logging

2008-06-24 Thread Mark Thomas
Walter Thompson wrote: OK. It doesn't give 404, how about fixing the page not found on this server error too? I'm not a mind reader. Which link is broken? Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsu

Re: Problem (apparent) with servlet mapping

2008-06-24 Thread Mark Thomas
Ken Bowen wrote: Sorry, I forgot to mention (careless of me) that there are no Exceptions or ERRORs showing in catalina.out or in localhost.2008-06-24.log. . that's why it feels so strange. On Jun 24, 2008, at 2:43 PM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:[EMAIL PROTECTED

RE: Log4j Logging

2008-06-24 Thread Walter Thompson
OK. It doesn't give 404, how about fixing the page not found on this server error too? -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 3:30 PM To: Tomcat Users List Subject: Re: Log4j Logging David Fisher wrote: > (3) On the logger FAQ page th

Re: Log4j Logging

2008-06-24 Thread Mark Thomas
David Fisher wrote: (3) On the logger FAQ page the Configuration link is dead! http://tomcat.apache.org/tomcat-5.0-doc/config/logger.html gives a 404. Fixed. Note, the FAQ is now on a wiki so anyone who spots an error can just fix it. Mark ---

Re: Tomcat 6.0 Clustering

2008-06-24 Thread Filip Hanik - Dev Lists
Shamshad, the tomcat clustering docs are in place for session replication, you may not need that. What you may need is a load balancer in front of Tomcat, so if one tomcat goes down, traffic gets redirected to another. this can be accomplished with an appliance like netscaler, f5 bigip, etc.

Re: Tomcat cluster problem - null pointer exeptions - bad members

2008-06-24 Thread Filip Hanik - Dev Lists
you should add the TcpFailureDetector interceptor into the stack, as well as the async interceptor these should be defined before your static membership interceptor. you might also want to add in TCP ping interceptor, before both of the above one className="org.apach

RE: User Authentication - IE doesn't recognize mime type (pdf, xls)of files in protected directory

2008-06-24 Thread Caldarale, Charles R
> From: Ed Marshall [mailto:[EMAIL PROTECTED] > Subject: User Authentication - IE doesn't recognize mime type > (pdf, xls)of files in protected directory > > Problem: When accessing files other than a .jsp (pdf, > xls, etc.) within the protected directory, the browser > does not recognize the mime

RE: SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/finalServer,J2EEApplication=none,J2EEServer=none

2008-06-24 Thread Walter Thompson
1) What OS are you running? 2) What JRE or JDK have you installed? 3) If in windows did you set environment variables? Walter -Original Message- From: reena george [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 1:42 PM To: users@tomcat.apache.org Subject: SEVERE: Null component

User Authentication - IE doesn't recognize mime type (pdf, xls) of files in protected directory

2008-06-24 Thread Ed Marshall
Problem: When accessing files other than a .jsp (pdf, xls, etc.) within the protected directory, the browser does not recognize the mime type and does not allow me to open the file. Pdf and xls files that are not in protected folders can be opened without any problem. Error Message: The file yo

Re: Problem (apparent) with servlet mapping

2008-06-24 Thread Ken Bowen
Sorry, I forgot to mention (careless of me) that there are no Exceptions or ERRORs showing in catalina.out or in localhost.2008-06-24.log. . that's why it feels so strange. On Jun 24, 2008, at 2:43 PM, Caldarale, Charles R wrote: From: Ken Bowen [mailto:[EMAIL PROTECTED] Subject: Proble

RE: Problem (apparent) with servlet mapping

2008-06-24 Thread Caldarale, Charles R
> From: Ken Bowen [mailto:[EMAIL PROTECTED] > Subject: Problem (apparent) with servlet mapping > > "POST /hnm1/www/com.herenow.hnm.userMain.UserMain/messageInfo HTTP/ > 1.1" 500 3046 > "POST /hnm1/www/com.herenow.hnm.userMain.UserMain/messageInfo HTTP/ > 1.1" 500 3046 If you're getting a 500,

SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/finalServer,J2EEApplication=none,J2EEServer=none

2008-06-24 Thread reena george
-- Forwarded message -- From: reena george <[EMAIL PROTECTED]> Date: Wed, Jun 25, 2008 at 12:06 AM Subject: SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/finalServer,J2EEApplication=none,J2EEServer=none To: users@tomcat.apache.org hi, When am ru

Problem (apparent) with servlet mapping

2008-06-24 Thread Ken Bowen
Hi All, Using OS = Mac OS/X 5.2; Tomcat 5.5.26 [unzipped from Apache site]; Java 1.5.0_13 Using Eclipse/MyEclipse 6.0 as a development env (plus startup.sh/ shutdown.sh/printfs as needed). Is there a way get a grip on the servlet mapping Tomcat tries to apply? Here's my problem [from the

Re: Log4j Logging

2008-06-24 Thread David Fisher
(This must be national logging questions month :-) More like International logging month - everyone upgrading to tomcat 5.5 or better is forced to confront this issue, many are under a lot of pressure, and they don't all read English. The differences are subtle and lost in translation.

[OT/stupid] Re: Log4j Logging

2008-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: |> From: Hexsel, Gustavo [mailto:[EMAIL PROTECTED] |> Subject: Log4j Logging | | (This must be national logging questions month :-) Logging too much is bad for the environment. You should recycle your telephone boo

Re:

2008-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André Warnier wrote: | What else does need to be done at the Tomcat configuration level so that | it would handle UTF-8 requests properly, and produce UTF-8 responses | properly ? I hate responding with the same old stuff, but these sources of inf

Re: general info on proxying, load balancing, connectors

2008-06-24 Thread André Warnier
Thanks, that's the kind of info I was looking for. Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | 1) use Apache as a HTTP proxy, and proxy some requests via HTTP to | back-end Tomcats, using the HTTP connector of Tomcat. | | 2) use mod_pr

RE: Rebuilding Tomcat from sources

2008-06-24 Thread Caldarale, Charles R
> From: JLucas ZB [mailto:[EMAIL PROTECTED] > Subject: Rebuilding Tomcat from sources > > I don't know where to find the tomcat-native.tar.gz Did you do the ant download step as documented here: http://tomcat.apache.org/tomcat-6.0-doc/building.html#Building%20Tomcat > Note CLASSPATH= > $ECLIPSE_H

Re: java.lang.LinkageError

2008-06-24 Thread Fátima Milla Olaya
I resolved the problem. I put this lines in the config JAVA of Tomcat: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\logging.properties Caldarale, Charles R a écrit : From: Fátima Mi

RE: Log4j Logging

2008-06-24 Thread Hexsel, Gustavo
Cool, that helps! Sorry about the previous message, I think in my rage I probably skipped the most important details :) Does anyone know any project that has some flexible formatters a la log4j for java.logging? SimpleFormatter and that XML formatter are way too verbose (having the 2 lines p

RE: Log4j Logging

2008-06-24 Thread Caldarale, Charles R
> From: Hexsel, Gustavo [mailto:[EMAIL PROTECTED] > Subject: Log4j Logging (This must be national logging questions month :-) > if, according to > http://tomcat.apache.org/tomcat-6.0-doc/logging.html, > log4j is the recommended logger I don't see anything on that page that implies log4j is recom

Rebuilding Tomcat from sources

2008-06-24 Thread JLucas ZB
Hi everybody, i would like to rebuild Tomcat (6.0.14) from sources; jvm = jrockit-jdk1.5.0_06 'Ant (1.6.5) build' give me the following message (at deploy target): /exec/products/jlzb/sources/apache-tomcat-6.0.14-src/build.xml:457: Warning: Could not find file /usr/share/java/tomcat-native-1.1.1

Re: Tomcat caching and deployment issues

2008-06-24 Thread Johnny Kewl
- Original Message - From: "Johnny Kewl" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, June 24, 2008 4:21 PM Subject: Re: Tomcat caching and deployment issues - Original Message - From: Steven Probetts To: users@tomcat.apache.org Sent: Tuesday, June 24, 20

RE: [Logging] Facility Specific Properties

2008-06-24 Thread Caldarale, Charles R
> From: Ole Ersoy [mailto:[EMAIL PROTECTED] > Subject: Re: [Logging] Facility Specific Properties > > Good catch! I just checked the 5.5 documentation and it's > the same as Tomcat 6. Not quite. The procedure for replacing java.util.logging with log4j is a bit different. - Chuck THIS COMMUN

Log4j Logging

2008-06-24 Thread Hexsel, Gustavo
Hey folks, quick question: if, according to http://tomcat.apache.org/tomcat-6.0-doc/logging.html, log4j is the recommended logger, and Tomcat uses commons-logging, why is log4j not shipped as the default logger??? I suspect "as Tomcat uses a package renamed logging implementation which is

Re: [Logging] Facility Specific Properties

2008-06-24 Thread Ole Ersoy
| From what I understand Tomcat 6 logging has been overhauled and the | java.util.logging implementation was replaced with JULI, which | understands how to load per web app configuration files and make the | corresponding configuration available via the LogManager to the web app. I think that ha

Re:

2008-06-24 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | The good news is that Tomcat and Java basically default to | Unicode/UTF-8, so unless you do things really wrong, it should not be a | big problem to support UTF-8 requests and responses. N

Re: Tomcat caching and deployment issues

2008-06-24 Thread Johnny Kewl
- Original Message - From: Steven Probetts To: users@tomcat.apache.org Sent: Tuesday, June 24, 2008 10:58 AM Subject: Tomcat caching and deployment issues Hi all, I am running Tomcat 5.5.25 on MACOSX Server. I seem to be having a problem with what seems to be caching

RE: URL encoding problem IIS6 / JK1.2.25 / Tomcat 5.5.20

2008-06-24 Thread Walter Thompson
Try taking out the square brackets from the jsp part and see if it works without them (http://localhost/testbrackets.jsp). Also, you shouldn't need the /webapp if Tomcat is configured correctly. Make sure your directory structure is correct. Walter -Original Message- From: Jesse Klaasse

Re:

2008-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | The good news is that Tomcat and Java basically default to | Unicode/UTF-8, so unless you do things really wrong, it should not be a | big problem to support UTF-8 requests and responses. No, you need to configure Tomca

Re: general info on proxying, load balancing, connectors

2008-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | 1) use Apache as a HTTP proxy, and proxy some requests via HTTP to | back-end Tomcats, using the HTTP connector of Tomcat. | | 2) use mod_proxy_ajp at the Apache level to forward some requests to | Tomcat, using the AJP

Re: New and first question ...

2008-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edi, Edi Stojicevic wrote: | * Wiki on one host (apache port 80) | * intranet on an other host (tomcat port 80) | * Ticketing system on a third host (tomcat 80 and 8080) | | We want to migrate everything on the the third host and I was wo

Re: Tomcat caching and deployment issues

2008-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steven, Steven Probetts wrote: | I am running Tomcat 5.5.25 on MACOSX Server. | I seem to be having a problem with what seems to be caching through | deployments. | | I deploy a newer version of my application (which uses Icefaces) or | make a change

Re: Nginx Front End

2008-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, Stephen Nelson-Smith wrote: |> If Nginx can do HTTP proxying, you can use that instead of ajp13 if you |> wish. | | It certainly can - and very fast indeed. So would I then be | reconfiguring Tomcat to use its own http server? At present a

Re: [Logging] Facility Specific Properties

2008-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ole, Ole Ersoy wrote: | From what I understand Tomcat 6 logging has been overhauled and the | java.util.logging implementation was replaced with JULI, which | understands how to load per web app configuration files and make the | corresponding confi

RE:

2008-06-24 Thread Raghuveer
Hi Andre, Thanks for hint. I have read your solutions on other threads. I will implement your solution of filters in my project. Regards, Raghu -Original Message- From: André Warnier [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2008 5:57 PM To: Tomcat Users List Subject: Re: Enco

Access port either from Apache and Tomcat?

2008-06-24 Thread Tan, Liao
Folks, As Im not expert, ask you a simple question: im told that you can either acess the port, or connect to the port (not sure the correct terms) thru apache or tomcat. I was talking to people, and doing searches, and heard something about that. Currently, Im trying to enable my http to http

RE: Tomcat

2008-06-24 Thread Caldarale, Charles R
> From: André Warnier [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat > > Can you run Tomcat 5.5 on top of a java 1.4 ? Yes - you just have to install the 1.4 compatibility package from the download area. Tomcat 6 does require 1.5 or greater. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTI

Re: Tomcat

2008-06-24 Thread André Warnier
Can you run Tomcat 5.5 on top of a java 1.4 ? I thought one needed at least Java 1.5. Philip Wigg wrote: What does your Tomcat logfile say is the problem? Look in catalina.out. 2008/6/24 Arumuganainar S <[EMAIL PROTECTED]>: Hi, I installed J2SE 1.4 (SDK and JRE) and Tomcat 5.5. When I laun

Re:

2008-06-24 Thread André Warnier
Raghuveer wrote: Encoding attribute is used for request and response only or for any other purpose? To handle Http request and response in utf8 I have added following code in my web.xml in JSP application Is this correct procedure In short, no. It will not hurt, but it has nothing to do with

Re: Tomcat

2008-06-24 Thread Philip Wigg
What does your Tomcat logfile say is the problem? Look in catalina.out. 2008/6/24 Arumuganainar S <[EMAIL PROTECTED]>: > Hi, > > I installed J2SE 1.4 (SDK and JRE) and Tomcat 5.5. > > When I launched the Tomcat Manager through the Start->Programs menu, it > gives, "Page can not be displayed" error

general info on proxying, load balancing, connectors

2008-06-24 Thread André Warnier
Hi. I am a total ignorant in these questions, just looking for some basic pointers. Neither do I need proxying or load balancing at the moment, or at least I don't think I do. So this is not urgent in any way. But I do have some applications that work with an Apache front-end, delegating to

Tomcat

2008-06-24 Thread Arumuganainar S
Hi, I installed J2SE 1.4 (SDK and JRE) and Tomcat 5.5. When I launched the Tomcat Manager through the Start->Programs menu, it gives, "Page can not be displayed" error in the Internet Explorer. I started the Tomcat service. But it is getting stopped soon after I started it. The status is always

users@tomcat.apache.org

2008-06-24 Thread Raghuveer
Encoding attribute is used for request and response only or for any other purpose? To handle Http request and response in utf8 I have added following code in my web.xml in JSP application

New and first question ...

2008-06-24 Thread Edi Stojicevic
Hi, I'm new to tomcat and need a couple of advices ... Currently, I have this configuration : * Wiki on one host (apache port 80) * intranet on an other host (tomcat port 80) * Ticketing system on a third host (tomcat 80 and 8080) We want to migrate everything on the the third host

Re: java.lang.LinkageError

2008-06-24 Thread Fátima Milla Olaya
I'm using Tomcat 5.5 and Sun JDK 1.5.0 update 11. I have configured it to use this JDK's virtual machine, but it seems it's using Sun JRE 1.6 VM despite it not being declared anywhere ( neither on classpath nor anywhere else ) I think it is executing the java.exe of Windows/System32 because it

Re: Tomcat, Radware AppDirector,IE6 Blank Page

2008-06-24 Thread André Warnier
Dhanisworo Dhanisworo wrote: Dear All, I have encountered a problem using the configuration below 4 Clustered Tomcat + Radware AppDirector as Load balancer. The problem was when accessing the page produced by tomcat using IE6 by first hitting to the load balancer, intermittently we got a blan

Tomcat, Radware AppDirector,IE6 Blank Page

2008-06-24 Thread Dhanisworo Dhanisworo
Dear All, I have encountered a problem using the configuration below 4 Clustered Tomcat + Radware AppDirector as Load balancer. The problem was when accessing the page produced by tomcat using IE6 by first hitting to the load balancer, intermittently we got a blank page, but not so if using FireF

Re: tomcat 5.5 loads a blank page

2008-06-24 Thread Johnny Kewl
- Original Message - From: "Adam Posner" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 24, 2008 3:37 AM Subject: tomcat 5.5 loads a blank page Hi, I'm new to this newsgroup and have a vexing problem. I run tomcat using the startup script, for ex. /usr/share/tomcat5.5/bin startup.sh an

Re: URL encoding problem IIS6 / JK1.2.25 / Tomcat 5.5.20

2008-06-24 Thread André Warnier
Jesse Klaasse wrote: [snip] Now, we try the whole link through the JK connector: http://localhost/webapp/test[brackets].jsp This doesn't work, and results in a 404 error (appearing in both IIS and Tomcat's log as test%5Bbrackets%5D.jsp, Tomcat with a 404, IIS with a 200). Thanks for the exc

Permissions for Sun JSF RI and Security Manager under Tomcat 6.0?

2008-06-24 Thread Michael Anstis
Hi, Firstly, sorry for the long stack traces in here but I included the lot incase what I discount somebody else picks up on. Anyway, when trying to use JSF 1.2-b20-FCS on Tomcat 6.0 with Java 2 Security Manager enabled I receive the below. This can be replicated by creating a new WAR and simply

Tomcat and JDeveloper - installing ADF runtime

2008-06-24 Thread jan
I am learning Oracle JDeveloper at the moment for a project that I pioneer, and I want to use it with Tomcat. According to Oracle's documentation it is possible, but there aren't many details. Does anybody here have any experience with this? Any documentation or howto?

URL encoding problem IIS6 / JK1.2.25 / Tomcat 5.5.20

2008-06-24 Thread Jesse Klaasse
I have recently migrated a production server from IIS5 / Resin 3.0.14 to IIS6 / JK1.2.25 / Tomcat 5.5.20. Now, there seems to be a problem with the URL translation from IIS to Tomcat. I have this file in a webapp, called test[brackets].jsp. When I try http://localhost:8080/webapp/test[brackets].js

Re: Nginx Front End

2008-06-24 Thread Stephen Nelson-Smith
Hi, > If Nginx can do HTTP proxying, you can use that instead of ajp13 if you > wish. It certainly can - and very fast indeed. So would I then be reconfiguring Tomcat to use its own http server? At present apache serves http and passes the ajp stuff to tomcat. S. -

RE: UTF-8 handling differs between two servlets within the same application

2008-06-24 Thread Christoph Pirkl
Hi all, thank you very much for your helpful answers! We could resolve the encoding problem by adding the attribute enctype="multipart/form-data" to the html form. All special chars are received correctly now. Additionally we will add accept-charset="UTF-8" to avoid further problems. Kind re