criteria for a session

2004-01-08 Thread Günter Kukies
Hi, what are the criteria for tomcat 4.1.26 to say the session is null (((HttpServletRequest)request).getSession(false))? It seams to depend on something in the request. When i open a second new IE Window, not a child from the first IE Window, the session is null. I dontt call

Re: HTTP Error 302

2003-11-25 Thread Günter Kukies
HTTP, that does not seem the best approach. Can you use forward()? Otherwise, you can try to include the session ID in your HTTP request. Antonio Fiol Günter Kukies wrote: Hi, after investigating the Problem, we found that we generate a redirect to login when the session is invalid. We

Re: HTTP Error 302

2003-11-24 Thread Günter Kukies
Hi, after investigating the Problem, we found that we generate a redirect to login when the session is invalid. We have a servlet, that generates Images. If the client requests the Image servlet directly everything is fine. The session is valid and the user gets his image. But when the client

HTTP Error 302

2003-11-21 Thread Günter Kukies
Hi, what are the common reasons, that tomcat 4.1 is returning a HTTP 302 error page? Thanks for your answere Günter

cookies

2003-07-09 Thread Günter Kukies
Hi, i use a machine1 with tomcat as a portal to do userauthentification and there is an other machine2 without tomcat that is providing a service with its own userauthentification. Machine2 uses POST to receive user and password and stores the session in cookies at the client. Machine 1 and 2

Re: Thread-Pool growing, never freed

2003-03-13 Thread Günter Kukies
[EMAIL PROTECTED] To: Günter Kukies [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 9:28 AM Subject: Re: Thread-Pool growing, never freed Günter Kukies wrote: Hi, tomcat 4.1.18 i used your code and added +this to the output and renamed ot to HelloWorld. I used a framed Page with two

Re: Thread-Pool growing, never freed

2003-03-13 Thread Günter Kukies
Hello, am I alone with these problem in the world of tomcat? waiting for more answeres Günter - Original Message - From: Günter Kukies [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 10:02 AM Subject: Re: Thread-Pool growing, never freed

Thread-Pool growing, never freed

2003-03-12 Thread Günter Kukies
Hello, tomcat 4.0.3 and 4.1.18 Linux 7.3 (i386) - Kernel 2.4.13 JDK SUN 1.4.1_01 the Thread-Pool from cojote and httpconnector is growing when user is sending requests without waiting for response. The Thread-Pool will never be freed. Tomcat hangs if maxProcessors is reached. Only one user is

Filter - ServletContext

2003-02-27 Thread Günter Kukies
Hello, I want to read some context-param from web.xml within a filter. But the getAttribute is always null. There is no problem to get the same context-param within a Servlet. Thanks Günter Here is the code snippet: import java.io.*; import java.net.*; import java.util.*; import

Re: Filter - ServletContext

2003-02-27 Thread Günter Kukies
Subject: Re: Filter - ServletContext Günter Kukies wrote: Hello, I want to read some context-param from web.xml within a filter. But the getAttribute is always null. There is no problem to get the same context-param within a Servlet. Don't you want getInitParameter() ? Erik

StandardWrapperValve - Allocate exception

2003-02-25 Thread Günter Kukies
Hello, the StandardWrapper is throwing an exception after reloading an compiled servlet. My IDE is Forte. Tomcat 4.0.3 is running on a linux-box. Forte is running on W2000 and the webapp is mounted via samba. JDK is 1.4.1. In element Context the attribute reloadable=true. I have to restart

Delete name-value pairs from request

2002-11-13 Thread Günter Kukies
Hello, how can I delete a name-value pair from a HTTPServletRequest. I need to do it within a Filter request, because I need a ServletRequest Object for chain.doFilter(request,response); Thanks Günter

Xrunhprof

2002-11-06 Thread Günter Kukies
Hello, I tried to get a profiling file from tomcat. I set the JAVA_OPTS in catalina.sh to -server -Xrunhprof:file=/home/test/test.eprof -Xms64 But no file was generated. System: Linux JDK1.4.0 tomcat 4.0.3 Thanks Günter

mime-types

2002-10-14 Thread Günter Kukies
an Apache HTTP-Server everything works fine. mime-mapping extensionsnp/extension mime-typeapplication/octet-stream/mime-type /mime-mapping mime-mapping extensionxls/extension mime-typeapplication/vnd.ms-excel/mime-type /mime-mapping Thanks Günter Kukies

default mime-type

2002-10-11 Thread Günter Kukies
Hello, what is the default mime-type when tomcat can't find a matching extention in the servers conf/web.xml? Thanks Günter Kukies

Re: default mime-type

2002-10-11 Thread Günter Kukies
How can I change it? Günter - Original Message - From: unplug [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, October 11, 2002 11:02 AM Subject: Re: default mime-type It is text/plain. Günter Kukies wrote: Part 1.1Type: Plain Text (text/plain

session

2002-10-10 Thread Günter Kukies
Hello, is there any trick to let the apache server know the session that tomcat created? I use an Apache Server in front of tomcat with mod_jk. I want to protect the static pages and image dirs. Thanks in advance Günter Kukies

mod_jk.conf Listener

2002-09-24 Thread Günter Kukies
Hi, is it possible to have a Listener to get SSL information into the mod_jk.conf file? For Example 'SSLEngine on' or any other SSL directive. What are the possible places for placing a Listener Element within server.xml? Günter Kukies

SSL ApacheServer-Tomcat

2002-09-20 Thread Günter Kukies
the server.xml to generate a auto mod_jk.conf with SSL information about my webapp. Thanks Günter kukies

tomcat and relative links

2002-07-23 Thread Günter Kukies
don't understand why tomcat can't get the image directly. Can I switch off this behavior. Is this behavior waste of time? Thanks Günter Kukies

reload servlet after any Exception

2002-07-10 Thread Günter Kukies
an Exception (at the next servlet request), to try to connect when the database is up again? Günter Kukies

exclude dirs from packing a .war file

2002-06-28 Thread Günter Kukies
Hello, how can I setup the filter to exclude whole dirs from my web-app getting packed to a .war- file? The POSIX reg-expressions work only on file-names, but not on path-names. Günter Kukies

exclude dirs from packing a .war file

2002-06-28 Thread Günter Kukies
Hello, how can I setup the filter to exclude whole dirs from my web-app getting packed to a .war- file? The POSIX reg-expressions work only on file-names, but not on path-names. Günter Kukies

'charSet' property JDBC-Driver

2002-06-21 Thread Günter Kukies
/namevaluejdbc:postgresql://192.14.47.11:5432/mydb/value/parameter /ResourceParams Günter Kukies

Apache Tomcat Filter

2002-06-20 Thread Günter Kukies
Hi, is it possible to let Apache serve static HTML-Pages from a dir in web-module from tomcat? This dir should be protected by a Filter-Servlet. Is that combination faster than letting tomcat serve the static Pages? Günter Kukies

increase performance dual processor board

2002-05-23 Thread Günter Kukies
Hi, is it possible to increase performance of tomcat using linux and a dual processor bord ? Günter Kukies

SSL new StreamSource

2002-05-16 Thread Günter Kukies
Hi, I do this within a Servlet: Source xslSource = new StreamSource((new URL(https://147.47.47.11:8443/xxx/yyy.xsl)).openStream()); but i get this Exception: Couldn't find trusted certificatejavax.net.ssl.SSLHandshakeException: Couldn't find trusted certificate at

Session for static and dynamic Pages

2002-05-15 Thread Günter Kukies
Hi, I need to protect some static html pages. For that i use the FORM based mechanism from tomcat but without these special formtags. For user login i use my own servlet, that does useridentification and starts a session. So, if the user is logged in and the session is startet. Is this

Re: tomcat and SSL (keyfile password)

2002-04-26 Thread Günter Kukies
Hello, so, what about the solution for non plain text passwords in the config files. There are the SSL-password and the JDBC-Realm password a.s.o. Günter - Original Message - From: Glenn Parsons [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, April 25, 2002

FileReader within a Servlet

2002-04-24 Thread Günter Kukies
Hello, how can I get the path base for a file within a web application? I want to use a FileReader within a Servlet. Günter

Re: FileReader within a Servlet

2002-04-24 Thread Günter Kukies
(); RootPath = sc.getRealPath(/); This will get you the path of the $TOMCAT/webapps/yourappdir Donie -Original Message- From: Günter Kukies [mailto:[EMAIL PROTECTED]] Sent: April 24, 2002 14:38 To: Tomcat Users List Subject: FileReader within a Servlet Hello, how can I get the path

extends JDBCRealm

2002-03-20 Thread Günter Kukies
Hello, I want to write a new MyRealm class that extend from JDBCRealm. The new class should do a BASE64 password protection. The compilation of the class was sucessfull. Where should I place that class and what entries do I need in the server.xml. Günter -- To unsubscribe: mailto:[EMAIL