Re: PKCS11 in Windows

2007-12-13 Thread Luis Villa
Is there a way to avoid the \0 problem? (XML does not allow to specify this character) Can you do: alias=tomcat#00; ? Hello Chris, No, it is not possible to use this character in XML (so I have read in the XML specification). Anyway, I tried and, if you write that, Tomcat responds

Problems with Xerces under Tomcat 5.5

2007-12-13 Thread Salvatore Capolupo
Hi, I'm enveloping an application using Tomcat 5.5, Struts 1.3, Java 1.5: now I need server use Xerces for reading XML file from an action. The problem is that I can't do it because when I copy the Xerces jar in WEB-INF/inf directory of my application and restart server, this error message

SV: Location of API

2007-12-13 Thread Wilhelmsen Tor Iver
Then that import on org.apache.tomcat.util.net.puretils.PureTLSImplementation.java --- import COM.claymoresystems.ptls.SSLSocket; should give error, but that is not giving any error. No, it just means the library is available at compile-time. Try checking your IDE for the jar file

extra field in form-based authentication

2007-12-13 Thread dirk ooms
Hello, I would like to have an extra field in my form-based login page, but I'm wondering how I can retrieve the value of that extra field within my application (request.getParameter(blabla) does not work). I searched the web and a suggestion was to override authenticate() in

[OT] Jobs in Kiev, Ukraine available

2007-12-13 Thread Leon Rosenberg
Hi, sorry for off topic. I work as consulter for a company which has some positions to fill in Kiev, Ukraine. Basically they are searching for Java Developers WEB/Backend, and good HTML-ers/ JSScripters. Everyone interested please email me your CV and loan expectations I will forward it to the

Range request header (and related headers) behaviour

2007-12-13 Thread James Abley
Hi, I'm starting to see more clients making Range requests (iPhone among them) and I'm trying to understand how much work I have to do to support the correct behaviour. I've been investigating Tomcat support for this (although my application will be deployed in different servlet containers;

Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-13 Thread Michele Mazzucco
On 13 Dec 2007, at 00:52, Caldarale, Charles R wrote: From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown I've tried with a clean tomcat 6.0.13 setup where only axis2 1.3 was deployed (tomcat 5.5.20 behaves the

Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-13 Thread Michele Mazzucco
Chuck, BTW I've set workDir in $CATALINA_HOME/conf/server.xml (inside the Host section) to point to a temp folder in my home. The folder and all subfolders are created, apart from axis2... so the error still occurs. What do you think? Thanks, Michele On 13 Dec 2007, at 11:29, Michele

Re: extra field in form-based authentication

2007-12-13 Thread Tim Funk
In form based authentication - you have no access to the processor other than your suggestion of overriding authenticate() in FormAuthenticator. Depending on the purpose of the field you could always perform a kludge of setting the 3rd value in a cookie and have a filter check for hte cookie

Re: Range request header (and related headers) behaviour

2007-12-13 Thread Tim Funk
The default servlet knows how to handle ranges. JSP's and servlets on their own do not understand ranges. (Because typically custom code is written and out.println() is called). The reason the default servlet can handle ranges is because the content is static. The size of the resource is

Intermittent blank page after log-n

2007-12-13 Thread Steve Mitchell
I'm using a JDBC realm with a site and sometimes when you try to access a secured resource you get a blank page after logging in. You have to refresh the page to get the secured resource to appear. After that everything works great. I'm using SSL now, but this happened before I was using SSL.

Re: extra field in form-based authentication

2007-12-13 Thread Tim Funk
in that case ... wouldn't the User-Agent header do the trick? -Tim dirk ooms wrote: interesting suggestion, but in my case the extra field is not related to the username. i would like to have a field where the user indicates on what type of device he/she works, so we can offer the appropriate

Re: extra field in form-based authentication

2007-12-13 Thread dirk ooms
interesting suggestion, but in my case the extra field is not related to the username. i would like to have a field where the user indicates on what type of device he/she works, so we can offer the appropriate stylesheet. On Thursday 13 December 2007 13:00, David Delbecq wrote: Or have the

Beginner question: Configure Tomcat for JAAS?

2007-12-13 Thread Abel MacAdam
Hi, This is a beginner question :-(. I'm trying to get JAAS to work on my Tomcat (6.0.12) installation. I used code from a Javaworld article ( http://www.javaworld.com/javaworld/jw-09-2002/jw-0913-jaas.html) Of course I had to configure my Tomcat to work together with JAAS. The document I used

Re: extra field in form-based authentication

2007-12-13 Thread dirk ooms
On Thursday 13 December 2007 13:54, Tim Funk wrote: in that case ... wouldn't the User-Agent header do the trick? AFAIK not, the screenwidth is the main thing i want to adapt to and i can have Firefox/Linux running on a webtablet with 800px screen, but also on a desktop with 1900px. -Tim

Re: extra field in form-based authentication

2007-12-13 Thread David Delbecq
Providing a separate form to choose layout would be far easier to do and maintain. Login form should contains only login informations (cf J2EE specs). If you want to play with customization of login form that go beyong what is allowed by j2EE security model, just forget container managed

Re: Turning off jsessionid

2007-12-13 Thread Peter Stavrinides
Actually this is not so uncommon, an there are many 'good' reasons to do so, see: http://randomcoder.com/articles/jsessionid-considered-harmful Here is an example of a filter that takes care of this:

RE: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-13 Thread Caldarale, Charles R
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown BTW I've set workDir in $CATALINA_HOME/conf/server.xml (inside the Host section) to point to a temp folder in my home. Don't change the workDir attribute

Attempts to install Tomcat 5.5 on a windows machine with Apache 2.0.58

2007-12-13 Thread Ljuba Veselinova
I have been trying to install Tomcat 5.5 on a windows machine where there is an Apache webserver running. The version of Apache is 2.0.58. I did a clean re-installation of Apache, checked the path of system variables such as CATALINA_HOME, JAVA_HOME and PATH. I have checked the config files for

RE: extra field in form-based authentication

2007-12-13 Thread Propes, Barry L
I was thinking you had to use j_username and j_password for the j_securitycheck login action you might could add another variable in those classes called, but at the very least it would be adding it in and overriding authenticate I would think. -Original Message- From: dirk ooms

RE: extra field in form-based authentication

2007-12-13 Thread Propes, Barry L
can you not pull in a header value somewhere and determine that? Seems like you could in either your servlet or JSP pull in the header/user agent value and then write the style sheet reference accordingly. Perhaps not? -Original Message- From: dirk ooms [mailto:[EMAIL PROTECTED] Sent:

Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-13 Thread Michele Mazzucco
On 13 Dec 2007, at 15:33, Caldarale, Charles R wrote: From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown BTW I've set workDir in $CATALINA_HOME/conf/server.xml (inside the Host section) to point to a temp folder in

RE: DCOM problem in Tomcat 6 on Windows

2007-12-13 Thread Karsten Silz
Hello! Karsten, You didn't mention if you were running Tomcat as a service. I'll assume you are. Yes. [snip] Just for grins, have you tried using the identical DLL to run this console program? Yes - they are in different directories but are otherwise identical (size, data, SHA-1

RE: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-13 Thread Caldarale, Charles R
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown Where do I find the Context element related to axis2 (which is a servlet)? First you said axis2 is a webapp, now you say it's a servlet; I suspect the

Re: Attempts to install Tomcat 5.5 on a windows machine with Apache 2.0.58

2007-12-13 Thread Alan Chaney
I've got tomcat going behind apache several times. My general view is get them both working independently and then hook them up. From your original mail I'm skeptical that you actually have got tomcat started properly. [Thu Dec 13 15:07:19 2007] [info] ajp_send_request::jk_ajp_common.c (1227):

Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-13 Thread Michele Mazzucco
On 13 Dec 2007, at 16:35, Caldarale, Charles R wrote: From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown Where do I find the Context element related to axis2 (which is a servlet)? First you said axis2 is a

Re: Servlets loading issue

2007-12-13 Thread Shekhar . Dhotre
This is what I have ,Do I need to modify it to point to test classes /servelets ? [EMAIL PROTECTED] /usr/local/apache-tomcat-5.5.25/conf]: head context.xml ?xml version=1.0 encoding=UTF-8? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.

User roles

2007-12-13 Thread Shaw, Mike
Our Security group wants for me to change the Tomcat 5 default password. I believe that this setting is within the tomcat-users.xml file. I know that the role called tomcat needs to be in there to have the service operate correctly. Could you please provide instructions for changing the default

RE: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2007-12-13 Thread Caldarale, Charles R
From: Michele Mazzucco [mailto:[EMAIL PROTECTED] Subject: Re: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown The folder is created at tomcat startup but when I stop tomcat it still complains because it doesn't find the file SESSIONS.ser (i.e. the same error

RE: User roles

2007-12-13 Thread Caldarale, Charles R
From: Shaw, Mike [mailto:[EMAIL PROTECTED] Subject: User roles Our Security group wants for me to change the Tomcat 5 default password. There's no such thing as a password for Tomcat itself. Various webapps deployed under Tomcat may have security constraints requiring certain roles, but

RE: ISAPI JK2 ran better than JK, how can that be?

2007-12-13 Thread tim.fulcher
Hmm, I'm running Tomcat 4.1.18 which didn't even support the %D logging directive :-/ But now I have a load balancer in place, with one worker. A status is shown below after about 6hrs of traffic. As you can see the client errors make up about 6% of all incident traffic, though they dwarf

Re: AccessControlException in Coyote Http11Processor (Tomcat 6.0.14). Bug in Coyote ?

2007-12-13 Thread Mark Thomas
Delian Krustev wrote: On Tue, 11 Dec 2007 22:35:20 + Mark Thomas wrote: Are you happy to mod the code and build a patched version yourself or do you want some help? I can build a binary with the patch for you to test if you wish. I've not built Tomcat from source before, so I'll take

Re: Multiple problems with Tomcat and Struts

2007-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Uma, Uma Kalluru wrote: But I am still wondering, if there was connection timeout and the first user gets an error. Why should the whole application go down? It shouldn't (go down). I mean no other user can use the application after the error.

Re: Servlets loading issue

2007-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shekhar, [EMAIL PROTECTED] wrote: Christopher Schultz wrote: How about: (in /usr/local/apache-tomcat-5.5.25/conf) $ head context.xml [EMAIL PROTECTED] /usr/local/apache-tomcat-5.5.25/conf]: head context.xml ?xml version=1.0 encoding=UTF-8?

Re: extra field in form-based authentication

2007-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Delbecq wrote: Login form should contains only login informations (cf J2EE specs). I agree that login forms should only contain login information, but I question the J2EE spec's interpretation of what should be considered login

Re: Intermittent blank page after log-n

2007-12-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, Steve Mitchell wrote: I'm using a JDBC realm with a site and sometimes when you try to access a secured resource you get a blank page after logging in. You have to refresh the page to get the secured resource to appear. After that

Re: HttpSessionActivationListener not getting called in the Tomcat 5.5.20 clustered mode.

2007-12-13 Thread Mark Thomas
Jess Holle wrote: I sent the patch quite some time back now, so I'm not sure where it is. Being similarly lazy I'm attaching an excerpt of the patched StandardSession.java (from 5.5.23) with changes embedded in it. Thanks for that. I checked the archives and the patch was e-mailed to dev but

Re: Servlets loading issue

2007-12-13 Thread Shekhar . Dhotre
[EMAIL PROTECTED] /usr/local/apache-tomcat-5.5.25/conf]: ls -lrt total 224 drwxr-xr-x 3 root system 256 Aug 24 19:34 Catalina/ -rw--- 1 root system19626 Aug 24 19:35 server.xml -rw--- 1 root system 1678 Aug 24 19:35 server-minimal.xml -rw---

Re: HttpSessionActivationListener not getting called in the Tomcat 5.5.20 clustered mode.

2007-12-13 Thread Mark Thomas
Mark Thomas wrote: Jess Holle wrote: I sent the patch quite some time back now, so I'm not sure where it is. Being similarly lazy I'm attaching an excerpt of the patched StandardSession.java (from 5.5.23) with changes embedded in it. Thanks for that. I checked the archives and the patch

Re: ISAPI JK2 ran better than JK, how can that be?

2007-12-13 Thread Rainer Jung
Hi Tim, [EMAIL PROTECTED] wrote: But now I have a load balancer in place, with one worker. A status is shown below after about 6hrs of traffic. As you can see the client errors make up about 6% of all incident traffic, though they dwarf server errors. Acc Err CE RE Wr

Re: stdout.log size is increasing

2007-12-13 Thread Steve Ochani
Date sent: Tue, 11 Dec 2007 01:13:11 -0800 (PST) Hi Steve, thanks, OS is windows 2003. How can I archive stdout.log in a production environment without stopping tomcat? Hmm, sorry, I don't know how to rotate logs on windows. On unix you can use cronolog. I want that

Re: Help with java Lists

2007-12-13 Thread Steve Ochani
Date sent: Tue, 11 Dec 2007 18:16:12 -0500 From: Christopher Schultz [EMAIL PROTECTED] Subject:Re: Help with java Lists To: Tomcat Users List users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org

Re: [OT] Help with java Lists

2007-12-13 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David kerber wrote: My primary job is database design and management; the java side is where I'm weak, and I've spent a LOT of time on these queries, including pushing through some design changes that have

Tomcat and IIS losing their link

2007-12-13 Thread Travis Haagen
Hello, I've got IIS 6.0 linked with Tomcat 5.5.25 (with JDK 1.5.0_14-b03 and AJP dll) via the ISAPI connector (JK 1.2.25) on Windows 2003 Server, and during high traffic periods, the connection between IIS and Tomcat is being severed. This has been occurring in the mid-afternoon every day

New Mail Id

2007-12-13 Thread Suresh babu
Hello all, Please note my new maild ID [EMAIL PROTECTED] , and also please send test mail as well... -- Suresh Babu, Software Engineer, Computer Associates-India