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

2008-06-25 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

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

2008-06-25 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 method,

Re: Tomcat caching and deployment issues

2008-06-25 Thread Mark Thomas
Steven Probetts wrote: Thanks for your replies. Couple of things, I'm in Australia so that is why I don't get back to you straight away. Also, I hope I'm replying properly and that this message get put in the correct location in the thread list. To deploy I: Stopped tomcat added the war

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

2008-06-25 Thread Mark Thomas
hareesh wrote: Please let me know that is there restriction to run Servlet in this platform ( SPARC 64-bit with Solaris 10 ) . There is no restriction that I am aware of. This should just work. Is there any restriction that jfreeshat (*version 1.0.0.*) will not work on

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

2008-06-25 Thread hareesh
Thanks for the reply. Is there any special step that I should do for these examples to work ? Is so, please give those steps. Thanks in advance. On Wed, Jun 25, 2008 at 7:22 AM, Mark Thomas [EMAIL PROTECTED] wrote: hareesh wrote: Please let me know that is there

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

2008-06-25 Thread André Warnier
Jesse Klaasse wrote: [...] Good. Now, I should add that using [ and ] in URL's is not really something I would recommend, if only for legibility reasons. It will always make people wonder if what they're seeing in the logfile is normal, or if it's some programming syntax which escaped

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

2008-06-25 Thread André Warnier
Jesse Klaasse wrote: [...] Good. Now, I should add that using [ and ] in URL's is not really something I would recommend, if only for legibility reasons. It will always make people wonder if what they're seeing in the logfile is normal, or if it's some programming syntax which escaped

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

2008-06-25 Thread André Warnier
Caldarale, Charles R wrote: 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

Re: Tomcat, Radware AppDirector,IE6 Blank Page

2008-06-25 Thread Dhanisworo Dhanisworo
The strange thing about is when the web app was accessed directly there seemed to be no problem at all. Yet when accessed though the load balancer, intermittently the problem occurred. The IE itself didn't hang because I can close it normally, but it seemed like it waited for something that never

Re: ?xml version=1.0 encoding=ISO-8859 in web.xml

2008-06-25 Thread André Warnier
Christopher Schultz wrote: -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 ? sigh I hate responding with the same

Re: very large catalina logfile...

2008-06-25 Thread Zaher Srour
HI all, The Free Hex Editor could open the 23 GB log-file. normally, after the server starts up * **INFO: Server startup in 891 ms* *org.apache.coyote.http11.Http11BaseProtocol* *pause * occures then stop then destroy ... init, load, start, Server starts up again. But in the 23 GB logfile, this

Re: Tomcat caching and deployment issues

2008-06-25 Thread Johnny Kewl
- Original Message - From: Steven Probetts To: users@tomcat.apache.org Sent: Wednesday, June 25, 2008 4:13 AM Subject: Re: Tomcat caching and deployment issues Thanks for your replies. Couple of things, I'm in Australia so that is why I don't get back to you straight away. Also, I

Re: very large catalina logfile...

2008-06-25 Thread Zaher Srour
The logfile when it goes ok is attachted now On Wed, Jun 25, 2008 at 12:04 PM, Zaher Srour [EMAIL PROTECTED] wrote: HI all, The Free Hex Editor could open the 23 GB log-file. normally, after the server starts up * **INFO: Server startup in 891 ms*

Re: Tomcat caching and deployment issues

2008-06-25 Thread Mark Thomas
Steven Probetts wrote: You say that restarting tomcat will tell tomcat that the context.xml file has changed. But does it clean out the cache. My understanding is that TC uses the work dir as its work area when running a war file in unpacked form. i am wondering if a TC restart tells TC that

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

2008-06-25 Thread Mark Thomas
hareesh wrote: Thanks for the reply. Is there any special step that I should do for these examples to work ? Is so, please give those steps. Thanks in advance. Answering my original questions would enable people on this list to help you. On Wed, Jun 25, 2008 at 7:22 AM, Mark Thomas [EMAIL

proxy_ajp

2008-06-25 Thread Mark Dewey
I am currently using proxy ajp successfully and very happy with the simplicity of configuration compared to my experiences a few years ago! I have run into a problem however. I have two version of tomcat running on one of the servers. Here is the configuration -: ProxyPass /tc1/

Re: proxy_ajp

2008-06-25 Thread Mikolaj Rydzewski
Mark Dewey wrote: I am currently using proxy ajp successfully and very happy with the simplicity of configuration compared to my experiences a few years ago! I have run into a problem however. I have two version of tomcat running on one of the servers. Here is the configuration -:

Re: ?xml version=1.0 encoding=ISO-8859 in web.xml

2008-06-25 Thread Mark Thomas
André Warnier wrote: The last reference (which I did not know) is excellent. Thank you. But the other two references, if you are perseverating over them, are in my view not good references worth perseverating over. The article at http://wiki.apache.org/tomcat/Tomcat/UTF-8 is incorrect.

Re: proxy_ajp

2008-06-25 Thread Mark Thomas
Mark Dewey wrote: I am currently using proxy ajp successfully and very happy with the simplicity of configuration compared to my experiences a few years ago! I have run into a problem however. I have two version of tomcat running on one of the servers. Here is the configuration -:

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

2008-06-25 Thread hareesh
I have downloaded Tomcat from the URL : http://archive.apache.org/dist/tomcat/tomcat-5/archive/v5.0.5/bin/jakarta-tomcat-5.0.5.tar.gz After downloading I unzip it using 'gunzip . After that I untared it using GNU tar (gtar) . Now the sample applications shipped with Tomcat is working fine.

ISAPI/JK redirector question

2008-06-25 Thread Brantley Hobbs
All, Is there a way to map an application to a back-end load-balanced/clustered tomcat farm from an IIS webserver such that an application deployed on the default host (i.e. deployed to the default webapps folder) can be addressed as a FQDN from the browser. For example: Application

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

2008-06-25 Thread Jesse Klaasse
André Warnier wrote: [...] Now, I should add that using [ and ] in URL's is not really something I would recommend, if only for legibility reasons. It will always make people wonder if what they're seeing in the logfile is normal, or if it's some programming syntax which escaped there. And I

Re: proxy_ajp

2008-06-25 Thread Mark Dewey
Hi Mark, server.xml is as follows -: ?xml version='1.0' encoding='utf-8'? Server port=8003 shutdown=SHUTDOWN Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / Listener className=org.apache.catalina.core.JasperListener / Listener

RE: very large catalina logfile...

2008-06-25 Thread Caldarale, Charles R
From: Zaher Srour [mailto:[EMAIL PROTECTED] Subject: Re: very large catalina logfile... !-- disabled the listener to avoid the warning during shutdown. Listener className=org.apache.catalina.core.AprLifecycleListener/ -- That's the listener for the APR native-code connector

Re: proxy_ajp

2008-06-25 Thread Mark Dewey
[Wed Jun 25 *13*:04:22 2008] [error] (*13*)*Permission* *denied*: *proxy*: *AJP*: attempt to connect to www.xxx.yyy.zzz:8007 (www.xxx.yyy.zzz) failed [Wed Jun 25 *13*:04:22 2008] [error] ap_proxy_connect_backend disabling worker for (www.xxx.yyy.zzz) [Wed Jun 25 *13*:04:22 2008] [error]

Re: proxy_ajp

2008-06-25 Thread Mikolaj Rydzewski
Mark Dewey wrote: [Wed Jun 25 *13*:04:22 2008] [error] (*13*)*Permission* *denied*: *proxy*: *AJP*: attempt to connect to www.xxx.yyy.zzz:8007 (www.xxx.yyy.zzz) failed [Wed Jun 25 *13*:04:22 2008] [error] ap_proxy_connect_backend disabling worker for (www.xxx.yyy.zzz) [Wed Jun 25 *13*:04:22

Re: proxy_ajp

2008-06-25 Thread Mikolaj Rydzewski
Mark Dewey wrote: Hi yes I am. I get both over http and the usual white page for the ajp ports. I'd play with Location configuration element and balancer configuration to see whether it will work. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html -- Mikolaj Rydzewski [EMAIL PROTECTED]

NullPointerExceptions - ReplicationValve problem...

2008-06-25 Thread Milan Cvejic
Hello, i am getting null pointer exceptions when i add the following line in server.xml Valve className=org.apache.catalina.ha.tcp.ReplicationValve filter=.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt; / if i remove that line everything is working fine... but load is

RE: Blocking Proxy Access

2008-06-25 Thread Peter Crowther
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Is there anyway to detect that a web user is trying to access my site via an open/anonymous proxy? Other than building a list of open proxy IP addresses and checking against it? This list would be huge and ever changing. There must be an

RE: Tomcat: JNDI and Google Webtoolkit

2008-06-25 Thread Caldarale, Charles R
From: nabruphonic [mailto:[EMAIL PROTECTED] Subject: Tomcat: JNDI and Google Webtoolkit - copy mysql-connector-java-5.1.6-bin.jar into TOMCAT/server/lib What happens if you put the mysql jar into common/lib as the documentation says to?

Re: NullPointerExceptions - ReplicationValve problem...

2008-06-25 Thread Filip Hanik - Dev Lists
what version of tomcat 6 are you using? Filip Milan Cvejic wrote: Hello, i am getting null pointer exceptions when i add the following line in server.xml Valve className=org.apache.catalina.ha.tcp.ReplicationValve filter=.*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.htm;.*\.html;.*\.css;.*\.txt; /

Apache and Tomcat

2008-06-25 Thread Stuart Caldwell
Hi, I know this may sound naïve but is it possible to have tomcat and apache running off the same port - 8080. I have iis running on port 80 and do not have another server to install apache and tomcat. Kind regards, Stuart

Re: Apache and Tomcat

2008-06-25 Thread Steve Ochani
Date sent: Wed, 25 Jun 2008 17:39:10 +0200 From: Stuart Caldwell [EMAIL PROTECTED] Subject:Apache and Tomcat To: users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org Hi, I know this may sound naïve but is it possible to have tomcat and apache

Re: NullPointerExceptions - ReplicationValve problem...

2008-06-25 Thread Milan Cvejic
I am using 6.0.14 version of tomcat. And jdk 1.6 update 4. Any suggestions ? Thanks. Filip Hanik - Dev Lists wrote: what version of tomcat 6 are you using? Filip Milan Cvejic wrote: Hello, i am getting null pointer exceptions when i add the following line in server.xml Valve

RE: Apache and Tomcat

2008-06-25 Thread Caldarale, Charles R
From: Stuart Caldwell [mailto:[EMAIL PROTECTED] Subject: Apache and Tomcat I have iis running on port 80 and do not have another server to install apache and tomcat. Why do you want to install httpd, especially if you already have IIS in the picture? - Chuck THIS COMMUNICATION MAY

[Logging] Tutorial Contribution

2008-06-25 Thread Ole Ersoy
Hi, Initially I was going to add to the WIKI FAQ, but all the Logging questions are so inter related that I decided to write a tutorial instead. I have not Tested this so there may be some inaccuracies. I'd appreciate feedback and will update the tutorial. As soon as the dust settles I'll

Re: ?xml version=1.0 encoding=ISO-8859 in web.xml

2008-06-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | It has been recently shown in a thread in this same forum | that one does not normally need a filter, and I would submit that using | a filter as indicated will corrupt data in some instances. I disagree. The filter is

Re: proxy_ajp

2008-06-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Dewey wrote: |Connector port=8090 protocol=HTTP/1.1 | connectionTimeout=2 | redirectPort=8444 / |Connector port=8007 protocol=AJP/1.3 redirectPort=8444 / Is it possible that you have a firewall or

RE: [Logging] Tutorial Contribution

2008-06-25 Thread Hexsel, Gustavo
That helps! A few suggestions for the tomcat deployment: - make using log4j easier (either offer a binary version of tomcat-juli.jar that uses log4j - no source required since I can't build locally due to some dbcp error; alternatively it could use common-logging's autodetect, if log4j is

Re: [Logging] Tutorial Contribution

2008-06-25 Thread Mark Thomas
Hexsel, Gustavo wrote: That helps! A few suggestions for the tomcat deployment: - make using log4j easier (either offer a binary version of tomcat-juli.jar that uses log4j - no source required since I can't build locally due to some dbcp error; That could be because you are building with a

RE: Rebuilding Tomcat from sources

2008-06-25 Thread Caldarale, Charles R
From: JLucas ZB [mailto:[EMAIL PROTECTED] Subject: RE: Rebuilding Tomcat from sources I can't do the 'ant download' because our proxy disables some stations as ours Bloody annoying as well as being over-protective. Is your IT department run by someone named Mordac? You'll need to look at

tomcat mod_proxy_ajp and root path

2008-06-25 Thread Luca Stramenga
Hi, We setup an Apache Tomcat servlet and JSP engine using mod_proxy ajp as connector to host a JAVA application. Here is the httpd.conf entry: ProxyRequests Off ProxyVia Off ProxyPreserveHost On ProxyPass /servlet/ ajp://www.domain.com:8009/ ProxyPassReverseCookiePath / /servlet

RE: [Logging] Tutorial Contribution

2008-06-25 Thread Caldarale, Charles R
From: Ole Ersoy [mailto:[EMAIL PROTECTED] Subject: [Logging] Tutorial Contribution Thanks for putting this together. I have a few comments, mostly nit-picking. The goal of this primer is to demonstrate how to to log with java.util.logging (JULI) This give the impression that

RE: tomcat mod_proxy_ajp and root path

2008-06-25 Thread Caldarale, Charles R
From: Luca Stramenga [mailto:[EMAIL PROTECTED] Subject: tomcat mod_proxy_ajp and root path Logger className=org.apache.catalina.logger.FileLogger directory=/usr/share/tomcat-5.5.26/logs prefix=domain.com suffix=.log timestamp=true / If you're really using Tomcat 5.5 (you didn't bother

Re: Apache and Tomcat

2008-06-25 Thread Bill Davidson
Stuart Caldwell wrote: I know this may sound naïve but is it possible to have tomcat and apache running off the same port - 8080. I have iis running on port 80 and do not have another server to install apache and tomcat. TCP only allows one listener per port-IP combination. It really

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

2008-06-25 Thread Ed Marshall
Thanks so much Chuck. Eliminating the no-cache headers did the job. An interesting footnote: Adding the following line to Context.xml within META-INF worked as expected. Valve className=org.apache.catalina.authenticator.FormAuthenticator disableProxyCaching=false / However, when I copy the

Re: Apache and Tomcat

2008-06-25 Thread Andrew Miehs
On 25/06/2008, at 17:43, Steve Ochani [EMAIL PROTECTED] wrote: I know this may sound naïve but is it possible to have tomcat and apache running off the same port - 8080. No, TCP only allows one port per service. You can let apache httpd use 8080, move tomcat to something else and

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

2008-06-25 Thread Steve Ochani
On 25 Jun 2008 at 13:45, Ed Marshall wrote: Date sent: Wed, 25 Jun 2008 13:45:42 -0500 From: Ed Marshall [EMAIL PROTECTED] Subject:RE: User Authentication - IE doesn't recognize mime type (pdf,xls)of files in protected directory To:

Re: [Logging] Tutorial Contribution

2008-06-25 Thread Ole Ersoy
Chuck, Thanks for the Spring Cleaning and the positive feed back! After 3 days of analyzing logging, I was feeling a little Logged Out, so the pep definitely helps. I made all the changes you suggested (Good eye). I think it's ready the wiki now, unless anyone has additional modification.

Re: [Logging] Tutorial Contribution

2008-06-25 Thread Ole Ersoy
Hexsel, Gustavo wrote: That helps! Whh. Good! I was a little worried people would say This stinks! I'm more confused than ever!!!...And then I would have to go back to the drawing board again. :-) A few suggestions for the tomcat deployment: - make using log4j easier (either

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

2008-06-25 Thread Michael Anstis
Hi, I think I have found the cause! My application code contains the following:- FacesContext fc = FacesContext.getCurrentInstance(); ExpressionFactory ef = fc.getApplication().getExpressionFactory(); ELContext elc = fc.getELContext(); ValueExpression ve = ef.createValueExpression(elc, expr,

Re: [Logging] Tutorial Contribution

2008-06-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ole, Ole Ersoy wrote: | I would go after Log4J in the tutorial, but to be honest I did not | really see any killer use cases for it. Also, for people just trying | to figure out logging, it's much easier to start with what's already | there [...]

Re: Tomcat and JDeveloper - installing ADF runtime

2008-06-25 Thread Zdeněk Vráblík
Hi Jan, do you know how is ADF licensed? It is free only if you are going to use with Oracle Application server. It used to be part of JDeveloper and deployment was free of charge. See http://forums.oracle.com/forums/thread.jspa?threadID=379312 Only ADF Faces is for free! Regards, Zdenek On

Re: [Logging] Tutorial Contribution

2008-06-25 Thread Ole Ersoy
Christopher Schultz wrote: SNIP There are things that I suspect are much easier to do using log4j (such as rolling logs on a schedule other than once per day) or things that cannot be done without either implementing a lot of stuff yourself or switching to log4j (such as logging to a database

Re: ISAPI/JK redirector question

2008-06-25 Thread Rainer Jung
Hi Brantley, Brantley Hobbs schrieb: All, Is there a way to map an application to a back-end load-balanced/clustered tomcat farm from an IIS webserver such that an application deployed on the default host (i.e. deployed to the default webapps folder) can be addressed as a FQDN from the

[Logging] Tutorial Contribution] - Links

2008-06-25 Thread Ole Ersoy
OK - It's up: http://wiki.apache.org/tomcat/Logging_Tutorial Plus a few additions to the FAQ: http://wiki.apache.org/tomcat/FAQ/Logging Thanks for all the feedback and earlier QA! Ole - To start a new topic, e-mail:

Re: proxy_ajp

2008-06-25 Thread Rainer Jung
Christopher Schultz schrieb: Mark, Mark Dewey wrote: |Connector port=8090 protocol=HTTP/1.1 | connectionTimeout=2 | redirectPort=8444 / |Connector port=8007 protocol=AJP/1.3 redirectPort=8444 / Is it possible that you have a firewall or iptables in the

Re: Rebuilding Tomcat from sources

2008-06-25 Thread Rainer Jung
JLucas ZB schrieb: Hello, I can't do the 'ant download' because our proxy disables some stations as ours so i have dowloaded (from 'another server') : apache-tomcat-6.0.14-src from tomcat site, it's OK. Now, i just do from my tomcat src: ant and I still have the message:

Re: [Logging] Tutorial Contribution

2008-06-25 Thread Mark Thomas
Caldarale, Charles R wrote: From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: [Logging] Tutorial Contribution You have to build with a 1.5 JDK because of some API-breaking changes to the JDBC interfaces. Could you elaborate on that? Or point us to a bugzilla entry?

Re: [Logging] Tutorial Contribution

2008-06-25 Thread Rainer Jung
Hexsel, Gustavo schrieb: That helps! A few suggestions for the tomcat deployment: - make using log4j easier (either offer a binary version of tomcat-juli.jar that uses log4j - no source required since I can't build locally due to some dbcp error; alternatively it could use Tomcat 6 has

Re: Blocking Proxy Access

2008-06-25 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=41765 Posted on behalf of a User It's to keep undesirables, who have been banned, off from a social networking site. In Response To: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Is there anyway to detect that a web user is trying

RE: Blocking Proxy Access

2008-06-25 Thread Martin Gainty
Im confused by your statement is that republicans or democrats? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature