Re: Off topic:cookies nightmare!!!!!!!!

2002-04-29 Thread pixel
John, I had a similar problem, which seem to be resovled by explicitly setting the path of the cookie to / before adding it to the response. Cookie userCookie = new Cookie(U_ID, userId); userCookie.setMaxAge(94608); userCookie.setPath(/); httpResp.addCookie(userCookie);

Re: JSP compile error when switching JDK to 1.4.0

2002-04-16 Thread pixel
Todd, The tools.jar file in the /lib directory of your Tomcat install needs to be replaced with the tools.jar file from your 1.4.0 JDK. ~Scott Ganey, Todd wrote: I know this has been posted before, but I either missed or there was no solution posted on how to correct the JSP compile error

OT: URL Rewrite and Tag Libs

2002-01-28 Thread pixel
After reading the last post on URL rewriting, I started thinking.[look out!] What if there was a JSP tag library that mirrors the subset of HTML tags which support the href attribute and performs URL rewriting on the href? Each JSP tag would create it's corresponding HTML tag by calling

Re: Keystore format

2002-01-22 Thread pixel
~Scott Jason Barr wrote: Hi all, Is one able to use a non-JKS type keystore with Tomcat? The docs don't get very specific about this and mention that only JKS type keystores can be used. Not sure about this one. From what I understand, Tomcat usess JSSE, which only supports the Java

Re: IIS or Apache

2002-01-21 Thread pixel
One of the problems i've run into with open source servers on Windows is getting binaries for many of the common tools, servers and dlls required for Win32, such as connectors for Tomcat, OpenSSL for SSL on Apache, etc. We don't have Visual Studio here, which i'm finding is quite important if

Re: Tomcat Policy????

2002-01-08 Thread pixel
Rui, Under Windows, network drives are mounted independantly of the Operating System. Each user has their own set of mapped drives when they log in, which are unseen by services. Since you are running Tomcat as a service, it runs under a user know as System, which does not have access to

Re: Win200 crashing with Tomcat 4

2001-10-19 Thread pixel
I've noticed that several people are successfully using Tomcat with W2k and NT. We are slowly moving Tomcat 4 into our production environment. Currently, I am testing Tomcat in stand-alone mode. 1. Are you using Tomcat in stand-alone mode? If so, are you having any performance issues? 2. If

Setting Cookies in Filters

2001-10-19 Thread pixel
I'm attempting to add a cookie to a user agent in a servlet filter. When a request comes in, i check the request and see if the cookie already exists. If it is not found, I generate a new cookie with a unique value and add it to the response object. What i'm finding is that the cookie's

Re: how unique is the session key?

2001-10-18 Thread pixel
i was hoping i could use the session id instead of doing the research, coding and testing required to create unique ids for this part of the project. [i.e., i'm trying to do to much in too little time :)] can anyone point me to a few good resources or techniques for generating unique client

Re: How to change Tomcat default port from 8080 to standard port 80?

2001-10-18 Thread pixel
visit the following url for docs on how to configure the http1.1 connector http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html based on this information, you should end up with an entry like this in your server.xml file [located in the /config directory in tomcat home] !--

Re: Tomcat 4.0 - HttpSessionListener lockup in sessionDestroyed()

2001-10-04 Thread pixel
Will do Being somewhat green to Tomcat and the new Servlet API, I just wanted to make sure I wasn't missing something obvious before officially considering this as a 'bug' Craig R. McClanahan wrote: In order to avoid this problem report getting lost, *please* report it in our bug

Re: Tomcat 4.0 in Win2000 as service

2001-09-24 Thread pixel
esteban, the easiest way to do this is to download the .exe version of the tomcat 4 installer. http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/jakarta-tomcat-4.0.exe choose 'custom install' and check the 'install as nt/w2k/xp service' option. this will install tomcat as a