Re: tomcat 5.5.15 jk1.2.15 connector problem apache 2.0.55

2006-01-27 Thread Mladen Turk
Carpentier Luc (Uniway) wrote: Ok, [Fri Jan 27 08:24:52 2006] [1532:3412] [error] mod_jk.c (1932): Could not init service for worker=wlb [Fri Jan 27 08:26:31 2006] [1532:3828] [debug] mod_jk.c (1761): Shmem cleanup This means that the service failed to initialize and child exited. The service

RE: tomcat 5.5.15 jk1.2.15 connector problem apache 2.0.55

2006-01-27 Thread Carpentier Luc (Uniway)
You are completely right! The option that was causing the trouble was: JkOptions -ForwardURICompat the original line I sent earlier was: JkOptions +ForwardKeySize -ForwardURICompat +ForwardDirectories The docs tell me that by default this option is on and that is should only be used

Re: tomcat 5.5.15 jk1.2.15 connector problem apache 2.0.55

2006-01-27 Thread Mladen Turk
Carpentier Luc (Uniway) wrote: You are completely right! The option that was causing the trouble was: JkOptions -ForwardURICompat Right, at least one ForwardURIxxx is required. So... JkOptions -ForwardURICompat +ForwardURIEscaped should work, as well as: JkOptions

RE: tomcat 5.5.15 jk1.2.15 connector problem apache 2.0.55

2006-01-27 Thread Carpentier Luc (Uniway)
ok, Now I understand. I'll try to get this added to the Jakarta Tomcat Connector - Apache HowTo page that comes with tomcat. Thanks for your help. Greetings, Luc -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 10:23 To: Tomcat Users

RE: tomcat 5.5.15 - does JULI required a host tag defined realm?

2006-01-27 Thread Raymond, Craig (US SSA)
Boris, ASF Bugzilla # 38415 BerliOS bug # 006212 Both with a subject of JULI logs to catalina.date.log if no realm in host have been submitted. If I can help (e.g. try some new code on my dev server, etc.) please let me know. Your help is appreciated. Sincerely, Craig -Original

Re: From Java to C#, ASP.NET [Off Topic]

2006-01-27 Thread ZedroS Schwart
Regarding the Petshop, there was a great deal of discussion about it on TSS a few months ago. In fact, apparently, the petshop on the Java side wasn't designed to be efficient, just a show case. Which, we agree, is quite a shame. However, further points where disturbing : - versions of the

does tomcat (5.5.15) support using Generic types in JSP files?

2006-01-27 Thread gupta vidhi
hello, i'm facing these errors whenever i'm running my JSP page. : -org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: Syntax error on token(s), misplaced construct(s) .. i'm not using servlet but then also the

Re: tomcat 5.5.15 - does JULI required a host tag defined realm?

2006-01-27 Thread Boris Unckel
Hello Remy, --- Ursprüngliche Nachricht --- Von: Remy Maucherat [EMAIL PROTECTED] This sort of problem is always the same. The component (here, the realm; earlier, I think it could occur with a valve as well) calls container.getLogger way too early (and needlessly, as you can see in the

how to use j_username j_password in j_security_cheched

2006-01-27 Thread Prashant Saraf
hello can any on tell me how to use j_username j_password in j_security_cheched thanks

Asynchronous messaging in tomcat

2006-01-27 Thread Gehl, Pascal
Hi, I know we are not supposed to do this but is there a big inconvenience to do asynchronous message consuming in tomcat 5+ (by spawning a daemon thread for my message listener ?) Is it true that if a I create a thread on my own I won't have access to the tomcat JNDI context ? I ask this

RE: APR Connector Shutdown Problem

2006-01-27 Thread Fenlason, Josh
I added the Listener you mentioned to server.xml, but I'm still seeing the issue. The problem is happening when run the shutdown.sh. I can understand if things aren't all clean and tidy if Tomcat crashed, but you shouldn't have to wait 4 minutes to restart Tomcat after a planned shutdown.

Re: tomcat 5.5.15 - does JULI required a host tag defined realm?

2006-01-27 Thread Remy Maucherat
On 1/27/06, Boris Unckel [EMAIL PROTECTED] wrote: Hello Remy, nice to hear from you. O.K. So this problem is not solvable in JULI/x4juli. Is there a chance to initialize JUL (independently from any other backend) early enough in the bootstrap process? Second: How can we check Tomcat for

Re: Sharing classes between applications

2006-01-27 Thread Danny Lee
Thanks for your help! I analyzed the whole thing again and I see no need to share my classes. Your idea about Ant scripts sounds really good to me (but I'll maybe go maven). Cheers, Danny Caldarale, Charles R wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of Danny Lee Subject: Sharing

Build archives

2006-01-27 Thread Hooper, Paul
Hello, I'm a relative newbie to CruiseControl, however I have managed to install and configure the application and get my project building. However, what is apparent to me is that for each build, the previous build is deleted and overwritten with the new build ( there is no persistance ). What I

RE: Asynchronous messaging in tomcat

2006-01-27 Thread Duan, Nick
Spawning your own threads in a web app is usually not recommended. The correct way is to create and use a JMS message listener, like in Jakarta common messenger. http://jakarta.apache.org/commons/sandbox/messenger I am not sure how easy it is to integrate with Tomcat 5. ND -Original

Re: From Java to C#, ASP.NET [Off Topic]

2006-01-27 Thread Frank W. Zammetti
On Fri, January 27, 2006 8:11 am, David Smith said: I will say I have used their products to develop solutions in the past and it's ... well ... interesting. The stuff works well when you know how to use it. Unfortunately I found their docs no where near the quality of Tomcat or Java which

Tomcat 5.5.12 less robust than 5.0.28?

2006-01-27 Thread Andreas Daab
Hi, yesterday I switched our web app from Tomcat 5.0.28 with Java 1.4.2 to Tomcat 5.5.12 with Java 1.5. We have two applications, each with 250 users. Tomcat 5.0.28 is a little slow, but has no problem to handle 500 users. With Tomcat 5.5.12/JVM 1.5 the limit is 100 - 130 users. Any additional

Re: From Java to C#, ASP.NET [Off Topic]

2006-01-27 Thread David Smith
Frank W. Zammetti wrote: On Fri, January 27, 2006 8:11 am, David Smith said: I will say I have used their products to develop solutions in the past and it's ... well ... interesting. The stuff works well when you know how to use it. Unfortunately I found their docs no where near the

Application sign-in

2006-01-27 Thread Luis Gervaso
Hello, I need help about making this... when an user login using form-based authentication i need retrieve a user objet from database and store it in his httpsession regards

Re: Tomcat 5.5.12 less robust than 5.0.28?

2006-01-27 Thread Ben Souther
I'm meeting the dude in Middleton @ 11:00 AM Sat. You still want to go? If so, I can be at your place around 10:00. Jess's coming too. On Fri, 2006-01-27 at 11:32, Mark Birenbaum wrote: I had a similar sounding problem (although I experienced it with all versions of Tomcat). (Forgive me if

Re: Application sign-in

2006-01-27 Thread Luis Gervaso
I need to call database only whe user login with j_security_check It's is valid other users have a session in the application but they are not authenticated (guest users) regards 2006/1/27, Duan, Nick [EMAIL PROTECTED]: One option is to create your own HttpSessionListener and implement the

Can I stop a context.xml from being deleted?

2006-01-27 Thread Klotz Jr, Dennis
Hopefully this is an easy question... I'm trying to stop the file $CATALINE_HOME/conf/[enginename]/[hostname]/Monitor.xml from being deleted whenever someone undeploys our Monitor web app. Is this in the realm of possibilities? -Dennis Klotz

new versions Tomcat

2006-01-27 Thread Lucio Ribeiro
Hi, I'm new here i'm having problems with new versions of Tomcat. I was using tomcat 5.0.27 and i have a web application made in Java. My code has to get URL using the following code: String url = request.getRequestURL().toString(); I use Struts and my URL is

RE: Application sign-in

2006-01-27 Thread Duan, Nick
If you have your web resources (servlet, jsps) protected with authentication, no users are able to access them without logging in first. ND -Original Message- From: Luis Gervaso [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 1:00 PM To: Tomcat Users List Subject: Re:

Re: Application sign-in

2006-01-27 Thread Luis Gervaso
yes i need to store information about only for authenticated users the scenario is: 1. anonymous request a secured resource 2. web container detects this is securend and show user a login form 3. user fill user / pass and click 4. automatically consult database and fill a complete user

General context.xml question.

2006-01-27 Thread Klotz Jr, Dennis
Is it generally considered a bad idea to use $CATALINE_HOME/conf/[enginename]/[hostname]/[application name.xml] for site specific configuration parameters? -Dennis -Original Message- From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Sent: Friday, January 27, 2006 1:11 PM To: Tomcat

Re: new versions Tomcat

2006-01-27 Thread Mark Thomas
Lucio Ribeiro wrote: Hi, I'm new here i'm having problems with new versions of Tomcat. I was using tomcat 5.0.27 and i have a web application made in Java. My code has to get URL using the following code: String url = request.getRequestURL().toString(); I use Struts and my

Re: Application sign-in

2006-01-27 Thread Luis Gervaso
the real problem is in next sections we need to call secured ejbs 2006/1/27, Luis Gervaso [EMAIL PROTECTED]: yes i need to store information about only for authenticated users the scenario is: 1. anonymous request a secured resource 2. web container detects this is securend and show

Authentication crisis

2006-01-27 Thread Luis Gervaso
Hello I need how to put subject information returned of lc.login() in webapp context int order to invoke getUserPrincipal and not retur null LoginServlet.java protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { String username =

File Upload Problem (file 2 MB)

2006-01-27 Thread Diwan, Dronesh \(Genworth, Contractor\)
Hi, We are using Jboss 3.2.6 which is internally using Tomcat 5.0.28.We are having problem in file upload . We are not able to upload more than 2 MB file. As specified in your link http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html we tried to set maxPostSize attibute with different values

SSL problems, Tomcat 5.5.12 on Windows 2003 server

2006-01-27 Thread Brian Gibson
Server = Windows 2003 Server w/Service Pack 1 (IIS Admin is running just to host the IIS FTP Server, the World Wide Web Service is not running) Tomcat version = 5.5.12 OpenSSL version = 0.9.8 (I believe) jre1.5.0_05 I ordered a Geotrust QuickSSL cert for the common name

Re: APR Connector Shutdown Problem

2006-01-27 Thread Bill Barker
Yeah, the difference is that Httpd calls: apr_socket_opt_set(s, APR_SO_REUSEADDR, one); on the Socket before binding it. That allows it to bind even though there are still half-closed sockets on systems like Solaris. About the only work-around is to hack the tcnative code, and recompile it.