Session cookie path problem

2005-12-01 Thread Christian Rudh
Hi I have set up so all users on my server can use Tomcat from their home directories. They access servlets through domain/~user/java/servlet/TestServlet and it works fine. But I tried setting a session value in a servlet and the session value was never stored. So I checked the session cookie

jasper encryption and patents

2005-12-01 Thread Joan K. Drejer (AH/LMD)
Hi At Ericsson we are considering using Jasper-runtime and Jasper-compile in a commercial product. However, we would like to know if the product contains encryption, and if you possibly know about which ECCN (Export code) to put on it? Also, do you know if there are any patents which we should

Re: Recursive Tagfile and JSP Precompilation

2005-12-01 Thread Tim Funk
IIRC - this is fixed in 5.5. I'm not sure if it was fixed with 5.5.12 - but 5.5.13 was just tagged and should be available soon. BUT it hasn't been voted how stable it is yet. (beta, alpha, stable) -Tim Peter L wrote: Hello, I'm trying to precompile JSP's for a JBoss(4.0.1) / Tomcat(5.0)

Re: confusion of tomcat downloading

2005-12-01 Thread Tim Funk
Tomcat behind Apache. A PHP parser in java would be a non-trivial exercise. -Tim Seak, Teng-Fong wrote: Caldarale, Charles R wrote: If JSP and PHP are to be suppoerted in a server, what would everybody suggest? Tomcat behind Apache? Or a PHP parser module (probably written in Java)

Re: SSL Certificate Beginner Question

2005-12-01 Thread Paul Singleton
David Wall wrote: ...if the user accesses your site with http://, the port 80 Connector (or 8080 if testing or using a non-standard port) has a redirectPort element that causes Tomcat to automatically issue a redirect using https:// Are you sure? I thought redirectPort was only

Re: How to deploy my webapp as root context webapp without tomcat loading it twice?

2005-12-01 Thread Paul Singleton
Vivek Mohan wrote: Like I mentioned in my problem statement: I don't want to move my application into ROOT folder or rename it to ROOT. And unlike as you said Mark, putting autoDeploy=false doesn't help in this case. Is this (loading a webapp twice if the context path and the docBase path is

WARNUNG: Internal error flushing the buffer in release()

2005-12-01 Thread Michael Winkler
Hi all, I'm using Tomcat 5.0.19 and I'm receiving the following message on the console while running my web app: 01.12.2005 09:39:05 org.apache.jasper.runtime.PageContextImpl release WARNUNG: Internal error flushing the buffer in release() I've been searching the web for any information on

RE: How to deploy my webapp as root context webapp without tomcat loading it twice?

2005-12-01 Thread Caldarale, Charles R
From: Francis Galiegue [mailto:[EMAIL PROTECTED] Subject: Re: How to deploy my webapp as root context webapp without tomcat loading it twice? I wonder whether creating Catalina/hostname here/ROOT.xml with the appropriate Context would work... That works fine on 5.5.12, haven't tried it

SSL InvalidKeystore Format?

2005-12-01 Thread Scott Purcell
Well, after wasting much time trying to get the SSL running on 5.5.12, on XP, and finding out about the bad tcnative-1.dll, I thought I was out of the woods on my SSL configuration. But it appears I have one last issue (hopefully) Since I renamed the tcnative-1.dll, I am getting logs in regards

Tomcat 4.06, JK ISAPI redirector plugin 1.2.15.0, IIS 6.0 on Wind ows Server 2003 How To

2005-12-01 Thread Weegar, Jim
Title: Tomcat 4.06, JK ISAPI redirector plugin 1.2.15.0, IIS 6.0 on Windows Server 2003 How To Can anyone point me to some documentation that is specific to getting the Jakarta ISAPI plugin to work with IIS 6.0 on Windows Server 2003? This all seems to work properly on Windows XP (IIS 5.0),

Re: SSL InvalidKeystore Format?

2005-12-01 Thread Dhaval Patel
Hi Scott, I am not tomcat expert as well as I can not help you about the error you are getting. After Remy's last message on SSL with APR, I finally got my windows xp + tomcat 5.5.12 + APR + SSL working. Following are the steps that I have followed: (1) Install Tomcat 5.5.12 and make sure

RE: SSL Certificate Beginner Question

2005-12-01 Thread Caldarale, Charles R
From: Paul Singleton [mailto:[EMAIL PROTECTED] Subject: Re: SSL Certificate Beginner Question David Wall wrote: ...if the user accesses your site with http://, the port 80 Connector (or 8080 if testing or using a non-standard port) has a redirectPort element that causes

Re: Deploying Servlet Project from Windows to Fedora

2005-12-01 Thread David Delbecq
Hi, The main difference between windows and linux for you is at the filesystem level i think. Check twice the configuration of your servlets in web.xml and the files in your war for uppercase/lower case mistakes. I may be you renamed at some point myServlet.java to MyServlet.java but never

How to reload jsp using ant in Tomcat 5.5

2005-12-01 Thread Guillermo Sobrino
Hello, I'm using Tomcat 5.5 on wich I deploy a web application with ant using: target name=install depends=compile description=Install web application deploy url=${manager.url} username=${manager.username} password=${manager.password} path=${app.path}

RE: Deploying Servlet Project from Windows to Fedora

2005-12-01 Thread Richard Mixon
Aydin, The snipped from your web.xml does not prove anything. You need to carefully compre the web.xml entries versus the actual filename of the class file and to any references to the servlet from a JSP/HTML page. And you also need to make sure the CRLF line endings are properly adjusted. When

RE: File Download not working for anchor tags

2005-12-01 Thread Mike
The anchor file links to an actual real file on the filesystem, so the first case. I'm using Tomcat stand alone. Mike At 04:56 PM 11/30/2005, you wrote: Display and generation are two separate issues and I'm confused about which is which for the OP. does the anchor tag link to an

Server Side file access

2005-12-01 Thread Phillip Mangwiro
Can I read write to File on the server while in a JSP page? I keep getting errors on the line to create the File: File f = new File(myinfo.txt); The error is reported to be because Tomcat expects an array or an Object. I'm using Tomcat 5.5 jre 1.5.

RE: Deploying in ROOT folder using a war file

2005-12-01 Thread Gautam Gothoskar
Hi Chuck, I tried using ROOT.war with Tomcat 5.5.12 and it worked fine. It does not work with Tomcat 4.1.x versions. I guess we will have to (finally) upgrade our Tomcat versions. thanks for all your help... all of you... regards, Gautam. --- Caldarale, Charles R [EMAIL PROTECTED] wrote:

Re: Server Side file access

2005-12-01 Thread Robert Bateman
Have you given Tomcat permission to create myinfo.txt? In your catalina.policy file? Bob On Thu, 2005-12-01 at 19:55 +0200, Phillip Mangwiro wrote: Can I read write to File on the server while in a JSP page? I keep getting errors on the line to create the File: File f =

Re: Problem with default context when moving from 5.5.7 to 5.5.12

2005-12-01 Thread Jason Burrows
Thanks very much Chuck! That did indeed fix my problem. I have a couple of related questions though... This worked fine for me in 5.5.7 (on many machines). But it shouldn't have. I suspect this was one of the bugs fixed between .7 and .12, where the documented rules are more tightly

RE: Upgrading Tomcat

2005-12-01 Thread Caldarale, Charles R
From: Rhino [mailto:[EMAIL PROTECTED] Subject: Upgrading Tomcat 1. What are the major differences between the 5.0.x stream and the 5.5.x stream? Lots, especially performance. There are some configuration differences between the two, so read the docs carefully. Consult the changelog and

Re: Upgrading Tomcat

2005-12-01 Thread Hassan Schroeder
Rhino wrote: 1. What are the major differences between the 5.0.x stream and the 5.5.x stream? The only one I really care about is 5.5 is perceptibly faster :-) 2. Are 5.5.12 and 5.0.28 both fairly stable and robust? I'm running several production sites on 5.5.9, no problems. 3. Do I need

RE: Problem with default context when moving from 5.5.7 to 5.5.12

2005-12-01 Thread Caldarale, Charles R
From: Jason Burrows [mailto:[EMAIL PROTECTED] Subject: Re: Problem with default context when moving from 5.5.7 to 5.5.12 I agree, but the best documentation I could find on this was: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html ...and there's nothing in that document

Setting up virtual hosts behind a reverse proxy

2005-12-01 Thread Eric Jain
I have a Tomcat (5.5.12) server that is hidden behind Apache. On the Apache server, several virtual hosts are defined. VirtualHost xxx.xxx.xxx.xxx ServerName .xxx.xx ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ /VirtualHost Now I'd like to map

Re: Certificate Revocation Lists in Tomcat 5.5

2005-12-01 Thread Kennedy Roberts
Ok, hopefully I am getting close: I have recompiled the tomcat-util.jar using the 1.5 JDK. I have looked at the contents of the jar and it does now include the JSSE15Factory and JSSE15SocketFactory classes. The version of the tomcat-util.jar that came with Tomcat 5.5.12 did not even have

Re: Host Manager Questions

2005-12-01 Thread Martin Gainty
Hello George Did you try to install manager.xml into $CATALINA_HOME/conf/[enginename]/[hostname] Martin- - Original Message - From: George Sexton [EMAIL PROTECTED] To: 'Tomcat Users List' users@tomcat.apache.org Sent: Thursday, December 01, 2005 12:49 PM Subject: Host Manager

Re: Upgrading Tomcat

2005-12-01 Thread Mark Thomas
Rhino wrote: 4. Is Sysdeo still the plugin of choice to use for Servlet development in Eclipse? Is Lomboz still the plugin of choice to use for JSP development in Eclipse? (I've never really tried a JSP but I might give it a go one of these days :-) My personal preference is MyEclipse.

RE: SSL InvalidKeystore Format?

2005-12-01 Thread Scott Purcell
Hello Dhaval, I was reading the article below, and it looks you you are not running Tomcat as standalone? Are you running Apache behind the scenes? I was just curious. Scott -Original Message- From: Dhaval Patel [mailto:[EMAIL PROTECTED] Sent: Thursday, December 01, 2005 8:49 AM To:

RE: SSL InvalidKeystore Format?

2005-12-01 Thread Nate Rock
Special thanks to Remy for adding an example connector to the APR doc... I saw the change go through the dev list last night ;) Dhaval and Remy, between your two emails, I was actually able to get Tomcat 5.5.12 to use SSL, however there is one last problem I am running into... Dhaval, you

Re: Host Manager Questions

2005-12-01 Thread Martin Gainty
Good Afternoon George I deploy thru Tomcat 5.5.7 Manager where I Browse to the war I want to deploy and click deploy and the webapp is unjar'ed, web.xml has correct entries for all jars and resources etc.. so the web application is installed and configured automatically when you use Tomcat

RE: Host Manager Questions

2005-12-01 Thread George Sexton
Since I'm currently running something like 70 some odd virtual hosts on one tomcat installation I would really rather not have the manager application deployed on each of those 70 hosts. Each host has only one context (the ROOT context) and after the virtual host is created, it is seldom if ever

RE: Upgrading Tomcat

2005-12-01 Thread Caldarale, Charles R
From: Rhino [mailto:[EMAIL PROTECTED] Subject: Re: Upgrading Tomcat I'm having trouble finding the note you mentioned in the mailing list archives. It's here: http://marc.theaimsgroup.com/?l=tomcat-userm=113332618812952w=2 I'm trying to figure out the following: - does Core include the

Webdav PROPPATCH implementation

2005-12-01 Thread William Durrell
Hi , I looked at the webdav servlet in apache-tomcat-5.5.13-src and it does not appear that the PROPPATCH method is implemented . Is there a release that it is or am I looking in the right place? /** * PROPPATCH Method. */ protected void doProppatch(HttpServletRequest req,

FW: Upgrading Tomcat

2005-12-01 Thread Alla Winter
Thanks for finding this link. Beside the explanation on various packages of TOMCAT, the message in there also suggests that it is not worthy to use APACHE on a top of TOMCAT due to TOMCAT now is handling static pages almost as good as APACHE. But what about handling SSL - somewhere I read that

RE: Upgrading Tomcat

2005-12-01 Thread Nate Rock
The same architecture change that allows tomcat to serve static content quickly (the APR native connector) also allows Tomcat to use OpenSSL instead of the JSSE for SSL which should improve performance. I have been trying to get it configured using Tomcat 5.5.12 (native APR connector) for the

Re: Webdav PROPPATCH implementation

2005-12-01 Thread Mark Thomas
William Durrell wrote: Hi , I looked at the webdav servlet in apache-tomcat-5.5.13-src and it does not appear that the PROPPATCH method is implemented . Is there a release that it is or am I looking in the right place? You are in the right place. This method is not, and has never

Re: FW: Upgrading Tomcat

2005-12-01 Thread Mark Thomas
Alla Winter wrote: Thanks for finding this link. Beside the explanation on various packages of TOMCAT, the message in there also suggests that it is not worthy to use APACHE on a top of TOMCAT due to TOMCAT now is handling static pages almost as good as APACHE. But what about handling SSL -

RE: Webdav PROPPATCH implementation

2005-12-01 Thread William Durrell
Got it . Thanks. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, December 01, 2005 4:33 PM To: Tomcat Users List Subject: Re: Webdav PROPPATCH implementation William Durrell wrote: Hi , I looked at the webdav servlet in apache-tomcat-5.5.13-src

RE: Upgrading Tomcat

2005-12-01 Thread Nate Rock
Actually one of the benefits I could see in reguards to using OpenSSL for SSL in tomcat is the ability for OpenSSL to hand of the encryption to a hardware acceleration device. We have that set up in front of some of our installations that have Apache frontending tomcat clusters using the AJP

Tomcat won't start

2005-12-01 Thread Alla Winter
I just installed TOMCAT, set the environment variable for JAVA_HOME and CATALLINA_HOME and just wanted to start the TOMCAT to see if it starts up. I got the message Can not find file -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager'. Make sure that the path and file name are

Deploying new virtual hosts

2005-12-01 Thread George Sexton
I'm trying to sort out a way I can automate deploying new virtual hosts on my Tomcat server. Right now I'm running about 70 virtual hosts. Each virtual host has only one ROOT context. I'm planning on scaling up to at least 200 virtual hosts before I need to get a second machine. The second machine

RE: Tomcat won't start

2005-12-01 Thread Alla Winter
Here it is an additional information to this. It complains about JAVA_HOME variable, but I can not figure out why. I installed JDK and by default it was put under c:\Program files\java I would appreciate any help on it Please see the attached for details Thanks -Original Message- From:

mod_proxy_ajp

2005-12-01 Thread Joseph Shraibman
Does anybody have any idea how to use mod_proxy_ajp? The documentation page http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html just talks about the ajp protocol. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Recursive Tagfile and JSP Precompilation

2005-12-01 Thread Peter L
Thanks Tim but it doesn't appear to be entirely resolved... Long story short: - Tried to precompile using the jbossweb-tomcat55.sar from jboss-4.0.3 - Same problem (I think its Tomcat-5.5.12) - Upgraded jars to Tomcat-5.5.13 - Got an error during compilation of actual tag file (instead of the

Re: SSL InvalidKeystore Format?

2005-12-01 Thread Scott Purcell
Hard to believe ... but Dhaval the below steps actually worked, and my site appears to have SSL. Thank you so much. But of course this draws me to another question. I had just purchased a Verisign certificate and do not know how to handle this? Can I just call the Verisign certificate when doing

how to get jboss jndi in tomcat5.x

2005-12-01 Thread David Chen
Hi, there: We are going to switch our web server from jetty to TomCat. We will run tomcat and jboss separately. I used tomcat 3.x long long times ago, and to use tomcat 3.x to lookup jboss jndi, a. copied jndi.properties to common\classes directory; b. run it with -nonaming option. However, we

Re: limiting access to an application where IP filtering is not possible

2005-12-01 Thread Lintang JP
How about using http-header - HTTP-X-FORWARDED-FOR ? On 12/2/05, Alexander Voss [EMAIL PROTECTED] wrote: Hi, I have to restrict usage of an application to a number of selected machines. Problem is that these machines are part of a large (no, huge) network that sits behind a NAT gateway,

Problem with filters and form authentication

2005-12-01 Thread hv @ Fashion Content
I have set up the standard form authentication which posts to the url '/j_security_check' with two forms Home.htm and AccessDenied.htm. If I fail log in 1) The sitewide filter is not called upon receiving the j_security_check POST 2) It does determine the failure and chains to Home.htm 3) It

Re: 408 error with Form Authentication and Proxy. Doesn't occur with Basic Auth.

2005-12-01 Thread hv @ Fashion Content
I am in the same situation. What sort of proxying do you use? Brian Bonner [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL PROTECTED] Does anyone have a suggested solution to this problem? Thanks. Brian On 10/31/05, Brian Bonner [EMAIL PROTECTED] wrote: I forgot to share that there is

Re: SSL InvalidKeystore Format?

2005-12-01 Thread Dhaval Patel
Hi Scott, Good to hear that it works. Thank also go to Remy and Nate Rock. You have purchased SSL. In this purchase process, did you submit Certificate Request (csr) to Verisign? As far as I know the process of getting signed SSL certificate is first you have to generate certificate

Re: mod_proxy_ajp

2005-12-01 Thread Bill Barker
Joseph Shraibman jks@selectacast.net wrote in message news:[EMAIL PROTECTED] Does anybody have any idea how to use mod_proxy_ajp? The documentation page http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html just talks about the ajp protocol. # Forward all to myapp Location /myapp

Re: Problem with filters and form authentication

2005-12-01 Thread hv @ Fashion Content
I expected to be able to do something after auth and before loading the page based on this: http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//index.jsp?topic=/com.ibm.websphere.exp.doc/info/exp/ae/tsec_servlet.html hv @ Fashion Content [EMAIL PROTECTED] skrev i en meddelelse news:[EMAIL

Re: jasper encryption and patents

2005-12-01 Thread Bill Barker
Tim Funk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jasper does not contain any encryption code which would violate any commercial export laws. There are no IP patent suits against tomcat at the moment. If this were to happen - we would have the assistance of the solicitors

Re: Problem with filters and form authentication

2005-12-01 Thread hv @ Fashion Content
Found the answer http://publib.boulder.ibm.com/infocenter/wsdoc400/index.jsp?topic=/com.ibm.websphere.iseries.doc/info/ae/ae/cweb_sfilt.html need to add extra DISPATCHER entries to the filter-mapping to ensure that it is called in forward; Forward is done as part of security... Now I just need

Re: Tomcat won't start

2005-12-01 Thread Martin Gainty
for C:\Program Files use the abbreviated 8.3 filename C:\PROGRA~1 instead Martin- - Original Message - From: Raghupathy,Gurumoorthy [EMAIL PROTECTED] To: 'Tomcat Users List' users@tomcat.apache.org Sent: Thursday, December 01, 2005 8:44 PM Subject: RE: Tomcat won't start Uninstall

Re: mod_proxy_ajp

2005-12-01 Thread hv @ Fashion Content
I think its a port of mod_jk, which could need a bit of love :) I am really hoping that mod_proxy_ajp grows solid, as I am sure it will be a great improvement. Joseph Shraibman jks@selectacast.net skrev i en meddelelse news:[EMAIL PROTECTED] Does anybody have any idea how to use

Re: Tomcat won't start

2005-12-01 Thread Andrew.du
I like use green soft. @echo off rem set dytlib=E:\workspace\lib set Driver=d: set JAVADIR=%Driver%\Java set JAVALIB=%JAVADIR%\_LIB set soaplib=%JAVALIB%\soaplib set soapjar=%soaplib%\activation.jar;%soaplib%\mail.jar;%soaplib%\soap.jar set

Re: Upgrading Tomcat

2005-12-01 Thread Rhino
Thanks very much for your help with my questions. I don't know how I missed the note in the archive; I suppose I was distracted by too many balls in the air today :-) Rhino - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List

How to get security policy grants to work with principals

2005-12-01 Thread James Woods
Hi, I'm trying to implement a security policy on Tomcat 5.0.25. It works fine with grants of the form grant codeBase file:jarfile path { permission .. }; However when I try a grant of the form grant codeBase file:jarfile path, principal classname username { permission .. }; I

Re: Server Side file access

2005-12-01 Thread Phillip Mangwiro
Thanks. It worked. On 12/1/05, Martin Gainty [EMAIL PROTECTED] wrote: Good Afternoon Philip- only if you have assigned the proper FilePermission in $CATALINA_HOME/conf/catalina.policy grant { permission java.io.FilePermission ${/}*, read, write; }; HTH, Martin- - Original