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
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
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
Hi,
what are the common reasons, that tomcat 4.1 is returning a HTTP 302 error page?
Thanks for your answere
Günter
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
[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
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
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
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
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
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
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
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
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
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
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
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
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
the server.xml to generate a auto mod_jk.conf with SSL information about my webapp.
Thanks
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
an Exception (at the next servlet
request),
to try to connect when the database is up again?
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
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
/namevaluejdbc:postgresql://192.14.47.11:5432/mydb/value/parameter
/ResourceParams
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
Hi,
is it possible to increase performance of tomcat using linux and a dual processor bord
?
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
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
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
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
();
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
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
32 matches
Mail list logo