migrating an app from JB 4.0 to 5.1. Problem with login handling.

2010-03-12 Thread Gunnar.Bostrom
Hi, I'm working on moving an application from JB 4 to JB 5. In the application we have a special login handling. The web.xml contains an APPFORM and an entry in = Authentication.properties that points to the implementation class. This doesn't work in JBoss 5.1 and I've not found out a way to do it

SV: SV: SV: SV: When will tomcat 5.5.25 spawn a new process

2009-02-20 Thread Gunnar.Bostrom
Chris, I agree that it looks weird. I sometimes can se the perl process running but not at this moment. When we start tomcat then we get the 19966 process owned by root and the child process 19967. The others turns up later as childs to 19967. I don't see any process run by java! Thanks /Gunnar

SV: SV: SV: When will tomcat 5.5.25 spawn a new process

2009-02-20 Thread Gunnar.Bostrom
Hi, I think there is some problem (rarely) when calling CGI. For each "daemon" tomcat process I can see 2 threads like this: "Thread-68" daemon prio=10 tid=0x003ee348 nid=0xac runnable [0xacb7f000..0xacb7fa70] at java.io.FileInputStream.readBytes(Native Method) at java.io.FileInpu

SV: SV: SV: When will tomcat 5.5.25 spawn a new process

2009-02-19 Thread Gunnar.Bostrom
Chris, You are right, I get the result of kill -3 in catalina.out. But I don't get any output from the "daemon" processes, but I do get it from the tomcat process that consumes cpu I think that the "daemon" processes runs java. ps -ef | grep tomcat serfapp 15158 19967 0 09:38:19 ? 0:

SV: SV: When will tomcat 5.5.25 spawn a new process

2009-02-19 Thread Gunnar.Bostrom
Hi Mark, I tried kill -3 on the pids but did not get any output. We use jsvc to start tomcat so we can run on port 443 without being root. When started I see the expected 2 processes. One day we started tomcat around 10 pm and the first extra process started around 9 am next day. I don't think t

SV: When will tomcat 5.5.25 spawn a new process

2009-02-19 Thread Gunnar.Bostrom
Hi, We use CGI to spawn Perl processes and I can see them start up and disappear. But I'm seeing what's look like ordinary tomcat processes which don't uses any cpu. Thanks /Gunnar > -Ursprungligt meddelande- > Från: Mark Thomas [mailto:ma...@apache.org] > Skickat: den 19 februari 2009

When will tomcat 5.5.25 spawn a new process

2009-02-19 Thread Gunnar.Bostrom
Hi, When will Tomcat 5.5.25 spawn a new process on a Solaris 10 server? I mean a normal process and not a light weight process. Thanks /Gunnar - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Multiple tomcat processes

2009-02-18 Thread Gunnar.Bostrom
Hi, We are running Tomcat 5.5.25 on a Solaris 10 server. We use jsvc to start Tomcat on port 443. When starting I can see as expected 2 process one owned by root and one owned by tomcat. In production I can see multiple tomcat processes, one owned by root and the others owned by tomcat. By lookin

Re: Hide Users password when using JMX

2008-05-06 Thread Gunnar.Bostrom
Hi, Thanks for answering. All "regular" users are in a database with passwords MD5 encoded, but not handled by Tomcat. The concern I have is the users tomcat and manager that must be in the tomcat-users.xml file or don't they? Regards Gunnar > -Ursprungligt meddelande- > Från: Caldar

Hide Users password when using JMX

2008-05-06 Thread Gunnar.Bostrom
Hi, I'm using JMX to monitor Tomcat 5.5.25 and it works fine. But I don't like that password of Users are revealed. Is it possible to configure Tomcat/JMX so that passwords are not shown? Regards Gunnar - To start a new topic, e

SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-23 Thread Gunnar.Bostrom
Hi, I've no manged to get things working with Tomcat 5.5.20. I've changed my servlet filter so it appends the parameter to the query string as proposed. As I now understand it the standard CGIServlet will not work if there is a servlet-filter that do getParameters() and adds a new parameter as

RE: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-19 Thread Gunnar.Bostrom
Hi Mark, You are absolutly right. I changed my filter and the CGI.pm as you proposed and it now works for POST and GET but NOT with multipart forms. I've looked into the CGI.pm to see if there was a similar change for multpart but I have not found any and my perl knowledge is not good enough.

SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-19 Thread Gunnar.Bostrom
Hi, That is odd because I have the following problems: 1) When I post an ordinary form, not a multipart, no parameters will be sent to the Perl script. 2) When I post a multipart form I get everything OK, but not a parameter that my servlet filter introduced. We have done some changes now to

RE: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-18 Thread Gunnar.Bostrom
Hi, We need the fix for multipart forms introduced in 5.5.20 so go back to version 5.5.17 is not an option. But the problem seems even worse because forms POST'ed does not work with the CGI module! We have to many Perl-scripts that use the CGI-module so rewriting them to read directly from s

SV: SV: SV: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Gunnar.Bostrom
Hi, I can reach the request object and add a parameter, the problem is that the CgiServlet in Tomcat has been changed so my code doesn't work anymore. Regards Gunnar > -Ursprungligt meddelande- > Från: Michael Courcy [mailto:[EMAIL PROTECTED] > Skickat: den 17 oktober 2006 12:26 > Ti

SV: SV: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Gunnar.Bostrom
Hi, My code is in a filter that executes before the CGIServlet in Tomcat kicks in. It worked with Tomcat 5.5.17 but NOT with Tomcat 5.5.20 and I would like to know if there is some workaround. Regards Gunnar > -Ursprungligt meddelande- > Från: Michael Courcy [mailto:[EMAIL PROTECTED]

SV: SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-17 Thread Gunnar.Bostrom
Hi, No I can't because it is a form with data posted that should be sent over to the Perl script and one additionally parameter. Regards Gunnar > -Ursprungligt meddelande- > Från: Michael Courcy [mailto:[EMAIL PROTECTED] > Skickat: den 17 oktober 2006 11:05 > Till: Tomcat Users List

SV: Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-16 Thread Gunnar.Bostrom
Hi, The problem is not to get the parameters in my java filter. The problem is that I need to pass the posted parameters from the form plus one additional parameter to my Perl script. Regards Gunnar > -Ursprungligt meddelande- > Från: Martin Gainty [mailto:[EMAIL PROTECTED] > Skicka

Problem with filter and calling Perl-script with Tomcat 5.5.20

2006-10-16 Thread Gunnar.Bostrom
Hi, I've a problem with the new 5.5.20 Tomcat version. I think this has to do with this bug fix http://issues.apache.org/bugzilla/show_bug.cgi?id=37285. The problem is that I have a filter that adds a parameter before the CGI-filter calling out to a Perl-script. This code worked with Tomcat 5.5.

help, passing data to Perl CGI-script from Java filter

2006-04-19 Thread Gunnar.Bostrom
Hi, I've managed to set up Tomcat 5.5 so I can protect my Perl CGI scripts with acegi filters. My problem is that I must send some information from a Java filter like the roles possessed by the user to the CGI Perl script but I don't know how to do that. In my filter chain doFilter method I