Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Markus
em. Help would be great! -- Beste Grüße / best regards Markus Meissner - meissner.IT GmbH Markus Meissner Benrather Schlossallee 36 [EMAIL PROTECTED] 40597 Düsseldorf

RE: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Markus
Markus wrote on Monday, July 31, 2006 5:34 PM: > I've got the following problem on one server using Apache 2.0.54-5 (Debian > x86) with mod_jk 1.2.15 (self-compiled) and tomcat 5.5.17: I try to > create a redirect to a page with a session-id if there is no session. > Seems t

RE: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Markus
Christopher Schultz wrote on Monday, July 31, 2006 6:42 PM: > Markus, > >>> I try to create a redirect to a page with a session-id if there is no >>> session. Seems to be easy, but in combination with apache/mod_jk my >>> servlet redirects unlimited because

RE: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Markus
you SHOULD create one. Am I > missing the point? Not having a session results in not sending cookies nor sids and thats what I want, at least for pages where it isn't needed. -- Beste Grüße / best regards Markus Meissner

RE: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Markus
Christopher Schultz wrote on Monday, July 31, 2006 10:08 PM: > Markus, > >>>>> If the session is mandatory, I recommend changing: >>>>> >>>>> request.getSession(false) >>>>> to >>>>> request.getSessio

RE: Apache, mod_jk and Tomcat looses sessions

2006-08-07 Thread Markus
Markus wrote on Monday, July 31, 2006 5:39 PM: > Markus wrote on Monday, July 31, 2006 5:34 PM: >> I've got the following problem on one server using Apache 2.0.54-5 >> (Debian x86) with mod_jk 1.2.15 (self-compiled) and tomcat 5.5.17: I try >> to >> create a redi

SSL Client Authentication

2006-01-31 Thread Markus
Hi! Setting clientAuth to true in the coyote connector configuration forces the client to send his client certificate before a ssl session to any page/servlet is established. I'd like to divide my webapp into two areas: 1) a public area whith ssl encryption only for example mydomain.com/publi

Re: Tomcat and client certificates

2006-02-01 Thread Markus
:57 org.apache.coyote.http11.Http11Processor action WARNING: Exception getting SSL Cert java.net.SocketException: Socket Closed What's wrong with my configuration? Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Tomcat and client certificates

2006-02-01 Thread Markus
? That would be sad. Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat and client certificates

2006-02-02 Thread Markus
Ok, when I set clientAuth to "want" the "Exception getting SSL Cert" goes away. (Wtf is this documented?). But I still get the 403 - Access denied error. Here is how I added the users certificate to my realm: web.xml: /html/*

Re: Tomcat and client certificates

2006-02-06 Thread Markus
Mark: Thank you for your link to the archive. It was my fault using the UserDatabase realm instead of the MemoryRealm. I'm, using tomcat 5.0.28 - is it still the case in 5.5.x that you MUST use the MemoryRealm for clientcert authentication? Anyway, there is still an issue when trying to access a r

Re: Tomcat and client certificates

2006-02-07 Thread Markus
Ok, I just submitted the bugs #38553 and #38555 for both issues. If you need more information, please let me know via bugzilla. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat not working with new Java

2007-12-25 Thread Markus
I have Tomcat 5.5 on a Fedora 5 machine. I recently changed the jvm from gcj to sun's 1.4.2_16. Now when I try to start tomcat I get the following message: "Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not find jdbc-stdext Java extension for this JVM /usr/bin/rebuild-jar-reposi

Ciphers Warning in logfile for Tomcat 8.5.96 (with Adoptium jdk-8.0.392.8-hotspot)

2023-11-29 Thread Markus Schlegel
causes any difference to Mark's setup. Anyone which knows if and how the certificate influences the selection of possible ciphers? Anyone having similar problems? Anyone successful in excluding all ciphers with "CBC" ? Thanks, Markus Schlegel

Re: Ciphers Warning in logfile for Tomcat 8.5.96 (with Adoptium jdk-8.0.392.8-hotspot)

2023-12-01 Thread Markus Schlegel
SL version I use, but I do not use OpenSSL at all. Just plain Java8 JSSE. Kind regards and thanks a lot for your valuable help, Markus Schlegel Am Fr., 1. Dez. 2023 um 14:09 Uhr schrieb : > Hi > > > Am 29.11.2023 um 11:46 schrieb Markus Schlegel : > > > > Hi, > > Th

Re: Ciphers Warning in logfile for Tomcat 8.5.96 (with Adoptium jdk-8.0.392.8-hotspot)

2023-12-01 Thread Markus Schlegel
Using embedded Tomcat, therefore no catalina.bat Markus Am Fr., 1. Dez. 2023 um 15:42 Uhr schrieb Mark Thomas : > On 01/12/2023 14:29, Markus Schlegel wrote: > > Hi Peter, > > Thank you for your hint about "-Djdk.tls.ephemeralDHKeySize=2048". > > I indeed did n

Precompile JSP error using webapp-jspc.ant.xml (tomcat stuffed)

2022-06-22 Thread Markus Reich
Hi, I'm trying to precompile a JSF application, I follow the instructions on https://tomcat.apache.org/tomcat-9.0-doc/graal.html. I got a lot of errors like Caused by: java.lang.ClassCastException: class com.sun.faces.taglib.jsf_core.CoreValidator cannot be cast to class jakarta.servlet.jsp.tagex

Re: Precompile JSP error using webapp-jspc.ant.xml (tomcat stuffed)

2022-06-22 Thread Markus Reich
yes, it seems that in the pom tomcat 10 is specified, does this make any difference? 10.0.18 Am Do., 23. Juni 2022 um 08:30 Uhr schrieb Rob Sargent < rsarg...@xmission.com>: > > > > On Jun 22, 2022, at 11:36 PM, Markus Reich > wrote: > > > > Hi, >

Re: Precompile JSP error using webapp-jspc.ant.xml (tomcat stuffed)

2022-06-23 Thread Markus Reich
thx, switching to v9 solves the problems :-) Am Do., 23. Juni 2022 um 09:12 Uhr schrieb Rob Sargent < rsarg...@xmission.com>: > > > > On Jun 23, 2022, at 12:53 AM, Markus Reich > wrote: > > > > yes, it seems that in the pom tomcat 10 is specified, does this mak

Tomcat 9.0.34 / JDT 4.15 jsp compile error

2020-04-27 Thread Markus Fömpe
JDT for compiling the generated Java file, I assume that this problem is related to a Tomcat configuration. I use the docker image tomcat:9.0.34. If required I can also provide the Java source generated from the JSP. Best regards, Markus

Re: Tomcat 9.0.34 / JDT 4.15 jsp compile error

2020-04-28 Thread Markus Fömpe
ed it with my local Tomcat installed via homebrew, which downloads Tomcat directly from ASF, and found the same error. - Markus - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 9.0.34 / JDT 4.15 jsp compile error

2020-04-28 Thread Markus Fömpe
ed to correctly > identify that "org.apache.jsp.test_jsp$1InnerClass" is a class and not a > package. Awesome, thank you very much for the quick fix! - Markus - To unsubscribe, e-mail: users-unsubscr...@tomcat.apac

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-20 Thread Markus Schönhaber
Jeff Chuang wrote: > Thanks for responses. If I put connector ajp-8009 configuration block > BEFORE connector http-443 in server.xml, the log looks like > > Jun 19, 2006 5:33:11 PM org.apache.coyote.http11.Http11AprProtocol init > INFO: Initializing Coyote HTTP/1.1 on http-80 > Jun 19, 2006 5:33:11

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-20 Thread Markus Schönhaber
Stephen Souness wrote: > Could it be related to some problems that Java has had on some Linux > distributions with obtaining entropy for its random number generation > for encryption? > > In the past (a few years back admittedly) we encountered a problem when > trying to connect our application to

Re: Need help running tomcat 5.5.9 on Windows Server 2003 64bit

2006-06-20 Thread Markus Schönhaber
Leon Rosenberg wrote: > errm, there are tomcat binaries Tomcat is pure java, so tomcat > binaries should be jars fully unaware of your architecture (which is > than covered by the selection of the proper jdk). Read the first sentence of the OP again. Michael is talking about the service wrapp

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-21 Thread Markus Schönhaber
Jeff Chuang wrote: > I could reproduce this problem on ALL my dual core AMD Opteron servers > running FC5-x86_64. Not sure it is OS porting problem? JVM problem? > native jni problem? or combination? > Is it possible to configure Tomcat to use APR on port 80, but disable > APR on port 443 to use re

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-21 Thread Markus Schönhaber
Mladen Turk wrote: > Markus Schönhaber wrote: > > Maybe someone of the devs chimes in and proves me right or wrong. > > Use class="org.apache.coyote.http11.Http11BaseProtocol" inside >

IIS and Tomcat authentication problems

2006-06-21 Thread Markus Müller
Server 2003 I added tomcatAuthenticatin="false" to my AJP 1.3 connector that resides von port 8012 (server.xml attached), but the user name simple does not get true. Anybody any ideas? cheers Markus -- Dr. Markus Müller l a t / l o n GmbH (Hamburg) Gluckstr. 53a 220

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-22 Thread Markus Schönhaber
Jeff Chuang wrote: > To make port 80 use APR and port 443 NOT use APR, I have tried it > several times, without any luck. After tomcat starts, port 80 is fine, > but connections to port 443 are always timeout. It looks from the log > the Http11BaseProtocol was not used on port 443. The log looks l

Re: Http11AprProtocol took 2 hr to init on http-443

2006-06-22 Thread Markus Schönhaber
Remy Maucherat wrote: > On 6/22/06, Markus Schönhaber <[EMAIL PROTECTED]> wrote: > > I've just tried to configure a Connector which uses the > > Http11BaseProtocol by setting the attribute > > class="org.apache.coyote.http11.Http11BaseProtocol"

Re: Tomcat can't start

2006-06-22 Thread Markus Schönhaber
Y.W.Yang wrote: > Tomcat works well on my pc since the first configuration. But recently, I > can't start Tomcat through Elipse, "the ports required by tomcat are used > by other processes, or tomcat are started in other processes". Even > http://localhost:8080 doesn't work! I checked the port, no

Re: Tomcat can't start

2006-06-23 Thread Markus Schönhaber
Y.W.Yang wrote: > I checked that port 8080, 8005, 8009 is free for tomcat, but Did you also check whether these are actually the (only) ports your Tomcat is configured to bind to? > http://localhost:8080 doesn't work! If, as you wrote earlier, Tomcat isn't started for some reason, it isn't too

Re: JSPs forcing session ID to be created?

2006-06-25 Thread Markus Schönhaber
Michael Rimov wrote: > I was working on a front controller that wouldn't instantiate a session > unless absolutely necessary - (for scalability reasons) -- To my dismay, > I was seeing a session created anyway. > > After some debugging, I came across the source of my problem: > > The following J

Re: many No Referrers in logs

2006-06-26 Thread Markus Schönhaber
Robert Kudyba wrote: > We have our server.xml file set w/ the following entry: > Valve className="org.apache.catalina.valves.AccessLogValve" > directory="../logs" prefix="ws_access_log." suffix=".txt" > pattern="combined" > > However, there are still many log entries showing no referrers. Some are

Re: Running Tomcat as root on Linux

2006-06-28 Thread Markus Schönhaber
Sean Machin wrote: > I'm setting up a Linux server with Tomcat that will be used for field > trialing. The server will be connected > to the public Internet. Is it typical practice to have Tomcat installed > and running as root on a system > like this, or should it be running as a less privileged

Re: APR not found under Linux

2006-06-30 Thread Markus Schönhaber
Stefan Wachter wrote: > The Apache Tomcat Native library which allows optimal performance in > production environments was not found on the java.library.path: > /java/jdk1.5.0_05/jre/lib/i386/client:/java/jdk1.5.0_05/jre/lib/i386:/java/ >jdk1.5.0_05/jre/../lib/i386:/usr/local/apr/lib:/usr/lib > > Y

Re: APR not found under Linux

2006-07-01 Thread Markus Schönhaber
Stefan Wachter wrote: > the ldd command outputs the following dependencies: > > libapr-1.so.0 => /usr/local/apr/lib/libapr-1.so.0 > (0x2abcc000) > librt.so.1 => /lib64/tls/librt.so.1 (0x2ad17000) > libcrypt.so.1 => /lib64/libcrypt.so.1 (0x2ae1f000) >

Re: Using APR in a Catalina-Home/Base Installation

2006-07-03 Thread Markus Schönhaber
Stefan Wachter wrote: > 2. Is there a possibility to check if the APR is used or not? Just look at the class names (Http11AprProtocol or Http11BaseProtocol) reported by the init messages in catalina.out. For example: - APR 22.06.2006 10:30:55 org.apache.coyote.http11.Http11AprProtocol init - no A

Re: Filter IP

2006-07-13 Thread Markus Schönhaber
ngolehung84 wrote: > How can I configure the Tomcat to filter the IP that can access my web > site? Thanks, http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html#Remote%20Address%20Filter Regards mks - To start a new topic

Re: Unable to run tomcat

2006-07-17 Thread Markus Schönhaber
Bansal, Tarun wrote: > Actually I have metaframe server running on the client machine on port > 8080 but there is nothing running on port 9000 And netstat -ano -p TCP (assuming the machine is running WinXP or newer) verifies this? Regards mks ---

Re: getting "?" instead of "¢"

2006-07-17 Thread Markus Schönhaber
David Delbecq wrote: > This is not a matter of saving the jsp/html file on server with the good > charset, It is. > this is a matter of using the correct entity reference (¢) > which is supposed to be displayable by any html 2.0 compliant browser. Using an entity reference is just one way to g

Re: getting "?" instead of "¢"

2006-07-17 Thread Markus Schönhaber
Markus Schönhaber wrote: > contains all symbols used is enough. This mail for example should use > ISO-8859-1 as charset and still contain the literal cent sign above > correctly encoded. Wrong. My mail client chose to encode it in UTF-8. But that doesn't change the fact that ISO-8

Re: Tomcat 5.5 Configure a Host

2006-07-19 Thread Markus Schönhaber
Scott Purcell wrote: > I created a war file and deployed it to $CATALINA_HOME/webapps today. When > I hit the site I use http://localhost:8080/appname and it pulls up the > index.html from appname. All good. > > Problem begins with some links I have within the application. A lot of the > links do n

Re: Where to get Tomcat 5.5.15 source

2006-07-19 Thread Markus Schönhaber
Edmon Begoli wrote: > Does anyone know where can I download the 5.5.15 source? http://archive.apache.org/dist/tomcat/tomcat-5/archive/v5.5.15/src/ Regards mks - To start a new topic, e-mail: users@tomcat.apache.org To unsubscr

Re: Removal of headers in HttpServletResponse object

2006-07-21 Thread Markus Schönhaber
Geir Øvsttun wrote: > I am still struggling with the removal of header problem. > > I found that the ServletResponse has a reset() method which should delete > all headers. I thought maybe I could use this and then reconstruct the > response object with only the headers I want. I tried to do call t

Re: Re. Tomcat v. 5.5.17

2006-07-24 Thread Markus Schönhaber
Mr. Steve R. Burrus wrote: > : >>"INFO: The Apache Tomcat Native library which allows optimal > performance in production environments was not found on the > java.library.path:"<< Now what could the problem be? As the word "INFO" indicates this is an informational message and not one telling you

Re: Permission problem

2006-07-26 Thread Markus Schönhaber
Li wrote: > I had a struts webapp remotely running with tomcat (started using > startup.sh, not catalina.sh start -security) in Fedora Core 4 machine. When > I was trying to upload from my local machine. uploading failed. > > The dir which stores the uploaded files is out of tomcat home dir, i gave

RE: Apache, mod_jk and Tomcat looses sessions

2006-07-31 Thread Markus Meissner
I must have missed that the first time around: I'm an idiot. You are probably not! > Does your log file indicate that the URL is being re-written properly > with the session id attached? Jep, getting a fresh sid every time, added to the url. It works li

Re: Tomcat 5.5 and IPv6 configuration

2006-08-01 Thread Markus Schönhaber
Hans Müller wrote: > currently I'm trying to set-up a standalone Tomcat 5.5.17 server in an IPv6 > environment on a FreeBSD 6.1 machine. Unfortunately, Tomcat refuses to > start. Here is the relevant content of the catalina.out log-file: > > SEVERE: StandardServer.await: create[8005]: > java.net.Bi

Re: Tomcat 5.5 and IPv6 configuration

2006-08-03 Thread Markus Schönhaber
Ipv6Tomcat wrote: > hello Hans and all guys: >Nice to see the question you provided.I have the same idea( use a > configuration-only way ). Do you solve it? Yes: http://mail-archives.apache.org/mod_mbox/tomcat-users/200608.mbox/[EMAIL PROTECTED] Won't help you much when you're on Windows, tho

Re: Tomcat 5.5 and IPv6 configuration

2006-08-04 Thread Markus Schönhaber
Your first two questions are in no way Tomcat-specific. Anyway... Ipv6Tomcat wrote: > yes,I had installed tomcat 5.0.28 simply in my machine(xp sp2) > ,because my computer has deployed ipv4 and ipv6 address, when i install > tomcat successfully, I just put the "http://localhost:8080"; to webb

Re: Problem with java_opts in catalina.sh

2006-08-11 Thread Markus Schönhaber
Jim Mensinger wrote: > Well seeing as how its the "tomcat start" that is causing the problems I > think this is the right place...The only way I can see it being an OX > problem is if the file they provided is more or less formatted incorrectly > but I doubt that would cause Tomcat to issue a file

Re: Access to directories outside document root?

2006-08-16 Thread Markus Schönhaber
Rob Elliott wrote: > Is it possible to obtain access to an arbitrary directory (possibly > mounted file) which is not below the Tomcat webapps directory from > within a webapp? GetServletContext.getRealpath("") seems to only access > directories below the webapp app directory... What exactly do yo

Re: Access to directories outside document root?

2006-08-16 Thread Markus Schönhaber
Rob Elliott wrote: > The servlet will simply launch a Timer Task that will periodically obtain a > list of files under /foo/bar, examine their timestamps and delete the file > if its shelflife has expired. There is no requirement to expose anything... I don't see a reason why your timer task shoul

Re: Service start in Windows with java opts

2006-08-16 Thread Markus Schönhaber
Elias Chavarria wrote: > -DproxySet=true > -DproxyPort=80 > > However, when i start my application, it sends errors. Is there any way to > verify that this settings are being used? Drop that as a JSP into some webapp-dir on your tomcat: -snip- <%@ page language="java" contentType

Re: Changing to different index.jsp from Tomcat default index.jsp

2006-08-16 Thread Markus Schönhaber
McRaven, Brian wrote: > I thought it was created in a Servlet and you had to change some > parameters in one of the .xml files like web.xml in the ROOT directory. > Is this correct for Apache Tomcat 5.5.17? Yes. And the index.jsp the OP wants to replace, even contains this information: "NOTE: Th

Re: Tomcat 5.0/5.5 doesn't start using 'Configure Tomcat' dialog

2006-08-18 Thread Markus Schönhaber
Jan Andersson wrote: > Trying to get Tomcat going with my app-under-development. Problem is that > Tomcat refuses to start if I'm using the 'Configure Tomcat' dialog (i.e. > Start->Programs->Apache Tomcat 5.5->Configure Tomcat). No message, it just > silently fails. Logs are not touched at all. Do

Re: Tomcat 5.0/5.5 doesn't start using 'Configure Tomcat' dialog

2006-08-18 Thread Markus Schönhaber
Jan Andersson wrote: > Sounds like a reasonable explanation. If this wouldn't work I'd get really > desperate, now only annoyed. > > Still would like to know why Tomcat fails to start using 'Configure > Tomcat' dialog. Otherwise, will have to explain in the admin manual that > you use config dialog

Re: Tomcat security Manager

2006-08-21 Thread Markus Schönhaber
Mark Babcock wrote: > Does anyone know how to get tomcat 5.5 running as a windows service with > security manager enabled? Open the Tomcat Properties dialog, select the "Java" tab and under "Java Options" add the following two lines: -Djava.security.manager -Djava.security.policy=C:\Programme\Ap

Re: Import user defined class not working

2006-08-22 Thread Markus Schönhaber
Level, Haroldo (Jr) wrote: > Im trying to import a class into a JSP file. > > At the beginning I got the an error saying "Generated servlet error: > Only a type can be imported. SDTDeal resolves to a package" > > After a lot of googling I found I wasn't placing my class files in the > WEB-INF\clas

Re: Catalina.out is getting to big

2006-08-22 Thread Markus Schönhaber
Oliver Enders wrote: > I have a problem concerning the size of the catalina.out file. > It is getting to big and I´m not shure where to set the verbosity. > doesent seem to work ?!? Is there a difference to the 4.x. > versions of Tomcat ?? > I´m using the following constelation: > > -SunOS 5.9 > -

Re: Building Tomcat

2006-08-25 Thread Markus Schönhaber
Zach Calvert wrote: > What are the exact steps of building the tomcat server from source? By > that I mean, where do you go to get the source, including the dependent > jars (commons, jasper, etc), and then use ant to build Tomcat itself? Here's what I do on Windows: - Create a build directory, s

Re: TOMCAT_LIBS_BASE

2006-08-25 Thread Markus Schönhaber
Zach Calvert wrote: > When opening the tomcat source files as projects, the classpaths refers > to TOMCAT_LIBS_BASE. What directory should this point to and how do you > grab all of the jars that belong in it? I did a search on the Tomcat > source and there is no path that exists that looks like

Re: Building Tomcat

2006-08-25 Thread Markus Schönhaber
Zach Calvert wrote: > I discovered the problem. For some odd reason, which I haven't yet figured > out, the svn call in the build.xml root executable="svn"> > > > is not just putting the checkout in the basedir, it is checking them out > into a newly created directory current.loc.

Re: Tomcat, accents and form fields

2006-08-28 Thread Markus Schönhaber
Andrea Bondi wrote: > The problem is that when I submit a form, accented letters I insert into > text fields aren't managed well. For example, if I have a form field > named "saySomething", if I write into the field "cioè" I receive "cioè" > from ${param.saySomething}. Make sure the browser submi

Re: Can Tomcat dump incoming/outgoing HTTP data?

2006-09-04 Thread Markus Schönhaber
Ivan Balashov wrote: > I need to monitor HTTP traffic going to/from my web application. Normally I > would use Ethereal, but unfortunately, it doesn't support localhost on > windows. Could I setup tomcat so that (or maybe write my own filter) it > would dump all incoming/outgoing HTTP data to a fil

Re: How send svg content to browser as response

2006-09-05 Thread Markus Schönhaber
prad wrote: > Am processing some svg files on server side and after processing i need to > send the svg as response...I set the mime type as "image/svg+xml" > and tried the below code What has this servlet... > public void doGet(HttpServletRequest request, > HttpServletResp

Re: HTTP 304 - IF_MODIFIED_SINCE

2006-09-05 Thread Markus Schönhaber
benshort wrote: > How do I get the IF_MODIFIED_SINCE header from the HttpServletRequest > object? > > When I use the HttpServletRequest.getHeaderNames() method and iterate > through the enumeration I get the following headers only. > > accept > referer > accept-language > accept-encoding > user-age

Re: HTTP 304 - IF_MODIFIED_SINCE

2006-09-05 Thread Markus Schönhaber
ben short wrote: > I have tried with firefox and ie6. May i ask what you are using? Firefox. May I ask what you are using (i. e. Tomcat version)? You didn't answer my question: Does your browser send an If-Modified-Since Request-Header? On Tomcat 5.5.17 calling this JSP *twice* will cause IE 6

Re: HTTP 304 - IF_MODIFIED_SINCE

2006-09-05 Thread Markus Schönhaber
ben short wrote: > Im using Tomcat 5.5.17. I assumed that my browser would send the > If-Modified-Since Request-Header and have tried your jsp page and it > does. OK, this shows three things: 1. It's much less helpful to assume things than to find out for sure. If you're interested in the exact r

Re: HTTP 304 - IF_MODIFIED_SINCE

2006-09-06 Thread Markus Schönhaber
ben short wrote: > Yes you are right, I am trying not to serve resources again if they > havent changed. From what I have read I need to set the Last-Modified > header on the HttpServletResponse. The client will then send a > If-Modified-Since request header the next time it needs that resource. >

Re: Showing Up Console in Linux Environment

2006-09-07 Thread Markus Schönhaber
Feris Thia wrote: > On 9/7/06, William Bonnet <[EMAIL PROTECTED]> wrote: > > You can have a look logs file to the catalina.out file. Use tail -f if you > > want > > to see logs output to your console. > > It's working now. Thanks. > > So we cannot directly get output from Tomcat's JVM ? Instead o

Re: URL Redirection

2006-09-19 Thread Markus Schönhaber
Ashirvad Uniyal wrote: > There is an application made in Tomcat in the webapps\Mondrian > directory, the application is already being used by the clients, > the problem is the client has to always type > http://abc.com/Mondrian/index.jsp in the address bar, rather than typing > only > http://abc.co

Re: Context file and path

2006-09-22 Thread Markus Schönhaber
LASSIEGE Hugo wrote: > I just migrate from tomcat 5.0.27 to tomcat 5.5.17. But I have some > problems in context.xml file. > Previous to migration, I had a in > a console.xml file (in Catalina/localhost). I reach my page through > http://localhost:8080/myapp/mymodule. > > > In 5.5.17, path is not

Tomcat, MyFaces and JSP 2.1

2006-09-26 Thread Döring Markus
tion? Any help is welcome. Greetings Markus - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: Tomcat, MyFaces and JSP 2.1

2006-09-27 Thread Döring Markus
. September 2006 17:27 An: Tomcat Users List Betreff: RE: Tomcat, MyFaces and JSP 2.1 | From: Döring Markus [mailto:[EMAIL PROTECTED] | Subject: Tomcat, MyFaces and JSP 2.1 | | If not can I use only the JSP 2.1 | implementation of GlassFish without changing the other parts of the JEE | implementation

Re: tomcat plugin sysdeo

2006-09-27 Thread Markus Schönhaber
taylan kuecuek wrote: > i have installed tomcat 5.5.17 and try to develop a web application with > servlet and jsps. > > i want to use eclipse and want to use a plugin for tomcat. There is a > plugin namely "sysdeo" but i can't > download it because the is not available "www.sysdeo.com" is there an

Re: tomcat 5.5.20 build failing

2006-10-12 Thread Markus Schönhaber
Roger Hendrix at Baldor-IS wrote: > I am attempting to build tomcat 5.5.20 from source. > > I am zlinux version of SuSE 9.3 an IBM mainframe. > > I have downloaded and installed the SDK 5.0 What SDK? Sun's? Which version exactly? Regards mks

Loosing session using apache 1.3.26-0woody6, mod_jk and tomcat 5.5.9

2005-11-05 Thread Markus Meissner
on.getAttribute("i"); if (i==null) i = new Integer(0); i = new Integer(i.intValue()+1); session.setAttribute("i", i); %> i=<%=session.getAttribute("i")%> sid=<%=session.getId()%> ">Nex

JAAS Login not working since 5.5.10

2005-11-11 Thread Markus Plail
told that vnetadmin is added as a role to my user and right after it Tomcat can't find the vnetadmin role. VnetRole and VnetUser are my implementations of java.security.Principal. Thanks in advance Markus Plail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JAAS Login not working since 5.5.10

2005-11-15 Thread Markus Plail
Hi again! Markus Plail <[EMAIL PROTECTED]> writes: > Since 5.5.10 my JAAS LoginModule doesn't work anymore. I saw that > JAASRealm was changed in 5.5.10 and I wonder if anyone can tell me > what I am doing wrong. Is no one else seeing this problem? If there is someone, who

Re: How to add client certificate to use in Servlets

2005-11-17 Thread Markus Plail
roperty("javax.net.ssl.keyStore", keyStore.getAbsolutePath()); System.setProperty("javax.net.ssl.keyStoreType", "PKCS12"); System.setProperty("javax.net.ssl.keyStorePassword", keyStorePassword); The truststore contains the ce

Re: Tomcat overwrites error response body

2005-11-17 Thread Markus Plail
.getWriter(); > pr.println(e.getErrorCode().serialize()); > resp.sendError(e.getCode()); > > This does not work. Tomcat sends me a HTML page which I don't want. > What am I missing here. Don't use sendError but setStatus. sendError does the complete error page and you can o

Re: Using Authentication/Authorization

2005-11-17 Thread Markus Plail
thentication in Tomcat version > 5.5.9? If yes, could you show me the commit method of your login module? regards Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JAASRealm-based Login Fails After Upgrade from 5.0 to 5.5

2005-11-24 Thread Markus Plail
t; authentication / security has been working with no issues for several > releases. > > I am now trying to upgrade Tomcat from 5.0.28 to 5.5.12. I've rebuilt > the web application using JDK 1.5.0_05. JAASRealm-based logins aren't working since 5.5.10, but the bug is fix

Re: Client Authentication

2005-11-29 Thread Markus Plail
t a window with not certificate to choose. So if you are using a smartcard you have to somehow tell IE that it should take a certificate from a smartcard and not its internal certificate store. I have no idea how this is all working with smartcards though. regards Markus --

Re: Client Authentication

2005-11-30 Thread Markus Plail
conf/vnet/portalTruststore.jks" truststorePass="verysecret" /> In this keystore reside all the certificates with which you can authenticate yourself on the server. regards Markus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Until which Apache-Tomcat version can I use the JVM 1.4.2_10?

2005-11-30 Thread Markus Schönhaber
Bachler, Elisabeth (Elisabeth) wrote: > I need to use the JVM 1.4.2_10 (I think the name is correct)... I am using > at the moment Apache-Tomcat 5.5.9. Can I use this Tomcat version with the > JVM 1.4.2_10? Yes, but besides the core distibution, you'll need the JDK 1.4 Compatability Package. > S

Re: Until which Apache-Tomcat version can I use the JVM 1.4.2_10?

2005-11-30 Thread Markus Schönhaber
Bachler, Elisabeth (Elisabeth) wrote: > SOrry for the certainly stupid question but what is the core distribution? Well, Tomcat itself. In other words, for the latest Tomcat 5.5.x this would be the file apache-tomcat-5.5.12.(zip|tar.gz|exe) you can download from http://tomcat.apache.org/download-

Re: apache + mod_jk + tomcat. Manager application problem

2005-11-30 Thread Markus Schönhaber
Mirek Kopriva wrote: > Hi I have a strange problem. > When I install tomcat + apache + mod_jk. Everything seems to work fine > (our application, examples...) except the tomcat's Manager application. > Anybody has an idea why? > I'm using > apache 2.0.52 > mod_jk 1.2.15 > rtomcat 5.5.12 > Thanks a l

Re: How to access webapps class path as env variable.

2005-12-14 Thread Markus Schönhaber
Caldarale, Charles R wrote: > environment variables. System.getenv() does access environment > variables, but its use is discouraged, since the API is deprecated. No, since 1.5 it isn't deprecated any more. Regards mks - To u

Re: tomcat-users.xml file corruption

2005-12-28 Thread Markus Schönhaber
Nachum, Sagi wrote: > After inquiring a little I discovered that the tomcat-users.xml file > located at conf directory is empty. > After I replaced this file with a valid one, the problem was solved. I > saw some more messages in this and other forums that regard this > problem. > And here's my que

Re: upload server

2005-12-28 Thread Markus Schönhaber
shrinivas dole wrote: >Does any one have idea about 'Tomcat Upload Server'. If > someone know about it direct me to the required linl page or help me with > the necessary document. Don't know what a 'Tomcat Upload Server' might be. But nevertheless, you might want to look at http:

Re: tomcat-users.xml file corruption

2005-12-28 Thread Markus Schönhaber
Nachum, Sagi wrote: > Where should I write the readonly parameter? > here: > >

Re: tomcat-users.xml file corruption

2006-01-01 Thread Markus Schönhaber
Nachum, Sagi wrote: > I'm currently working with Tomcat 4.1.31, does it suppose to support the > "readonly" attribute or should I switch to 5.5 version? AFAIR no, the "readonly" attribute was introduced somewhere in the 5.5.x development cycle. Regards mks

Re: Tomcat 5.5 with Java 1.4 ???

2006-01-01 Thread Markus Schönhaber
Wolfgang Egger wrote: > I had a look at the download-page, but didn't see this compat package. > Does anybody know the exact name of this package and the place to > download from? Look here: http://tomcat.apache.org/download-55.cgi#5.5.12 Regards mks --

Re: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread Markus Schönhaber
LANDRAIN Jean-Pol wrote: > > Of course - otherwise it couldn't run under 1.4. > > http://apache.scarlet.be/tomcat/tomcat-5/v5.5.12/README.html : "Tomcat > 5.5 requires JRE 5.0 by default" Fine. Nevertheless, Charles' statement is perfectly true. Regards mks

Re: Tomcat 5.5 and java 1.5 features.

2006-01-11 Thread Markus Schönhaber
Dola Woolfe wrote: > Hi, > > I'd like to use java 1.5 features in my jsp code, in > particular generics. But the jasper compiler really > doesn't like it. Any setting to fix this: Use Tomcat >= 5.5.10 which comes with JDT from Eclipse 3.1 and supports Java 5. Regards mks -

Re: Supported Version

2006-01-11 Thread Markus Schönhaber
CARROLL, MIKE (CONTRACTOR) wrote: > My client has a requirement to upgrade to a Tomcat version greater then > 5.5.12, but the next release up 5.5.15 is still listed as _Beta_ on > http://tomcat.apache.org However, when I look under > http://archive.apache.org/dist/tomcat/tomcat-5/ it shows a non-be

Re: tomcat and javac

2006-01-11 Thread Markus Schönhaber
Jignesh Shah wrote: > When I use our application with tomcat 5.5.12 it seems > it does not need a javac ,I mean I can get it running > with a jre as JAVA_HOME, however for some reasons we > cant use 5.5.12 and when I try to use an older version > of tomcat 5.0.28 or 4.1.31 it says that the jre wont

  1   2   3   4   5   6   >