Re: Tomcat Crashed - Please Help.

2006-08-17 Thread Mark Eggers
Are you using Tomcat 5.5.x or Tomcat 5.0.x? Tomcat 5.5.x requires either JSE 1.5 or JDK 1.4.x with the JDK compatibility pack. See the following: http://www.devlib.org/apache/tomcat/tomcat-5/v5.5.17/README.html The compatibility pack can be found here: http://tomcat.apache.org/download-55.cgi

Re: cvs caught exception when building T5 from source

2006-08-17 Thread Mark Thomas
Yan Bai wrote: > Hello all, > I want to build T5 from src, have followed the steps in the > instruction, but BUILD FAILED. Below is what i got when type in 'ant > -checkout'. Please help. You don't want to be using cvs. Your should be using svn to get the latest sources. Mark ---

Re: Tomcat BUILD FAILED, error=2

2006-08-17 Thread Mark Thomas
Yan Bai wrote: > Hi all, > I am new here, just tried to build T5 from source, but it failed at > the very beginning. > Detail error msg are pasted below, sorry for the bad display format. > Any inputs are very much appreciated... No svn client available? Try it with the -v option to get verbose ou

Re: Authentication using client certificate in smart card

2006-08-17 Thread Mark Thomas
Walter do Valle wrote: > Any help is welcome. For the cert that isn't listed, it is likely that the root CA for that cert is not known in your Java environment. Take a look at JAVA_HOME\jre\lib\security\cacerts with keytool. Mark --

Re: cvs caught exception when building T5 from source

2006-08-17 Thread Dies Koper
Hello Yan, Is it possible that you don't have cvs in your classpath? Did you try to run `cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login` as suggested? Regards, Dies Yan Bai wrote: Hello all, I want to build T5 from src, have followed the steps in the instruction, but BUILD FAILED. B

Tomcat BUILD FAILED, error=2

2006-08-17 Thread Yan Bai
Hi all, I am new here, just tried to build T5 from source, but it failed at the very beginning. Detail error msg are pasted below, sorry for the bad display format. Any inputs are very much appreciated... Yan OS: WIndows XP command: ant -checkout error msg: = C:\Program Files

how to make realm authentication survive application reload, and server restart?

2006-08-17 Thread Gary
Hello, I am using JNDIRealm for authentication. Is there a way to make the authentication persistent across tomcat restarts, application restart/reload. I tried persistent session, but that didn't help, seems like the authentication information is not stored in the session. Thanks, Gary

Re: Tomcat 5.5 WebDAV problem

2006-08-17 Thread Mark Thomas
Eric Chow wrote: > WebDAV is supported in Tomcat 5.5. Is there any documents for > reference to config folder access right for each users in Tomcat 5.5? Not specific to webdav because it uses standard servlet security. Have a look at the servlet spec. It covers this in detail. > I want to config

Authentication using client certificate in smart card

2006-08-17 Thread Walter do Valle
Hello All I'm facing some problems using Tomcat 5.5 configured to request client certiticate for authentication. I have two diferent certicates. Both are Certsign (www.certsign.com.br) certificates, one of them is installed in my Internet Explorer and is issued by Certsign under Verisign. Othe

Re: Tomcat + WebDAV

2006-08-17 Thread Mark Thomas
Aditya Rajgarhia wrote: > I did uncomment the required lines in the web.xml file (setting "readonly" > to false). So I don't know what the problem is. Any help would be greatly > appreciated. This works for me with IE and the latest 5.5.x code. Did you restart the webdav webapp after changing the

RE: Security constraint/login form

2006-08-17 Thread Propes, Barry L
ok, thanks..I think there's a fair amount of latency between my database query info and what's actually updated in there. Something I'd changed over an hour ago was still showing the old value, and could have been causing some of the problems. -Original Message- From: Marc Farrow [mai

Re: Security constraint/login form

2006-08-17 Thread Marc Farrow
The names are irrelevant. They just have to match between implementation and setup. On 8/17/06, Propes, Barry L <[EMAIL PROTECTED]> wrote: quick answer is yes to they have to be service or admin or yes to I can declare them anything that matches the column in another DB table I've created or y

RE: Security constraint/login form

2006-08-17 Thread Propes, Barry L
quick answer is yes to they have to be service or admin or yes to I can declare them anything that matches the column in another DB table I've created or yest to my last question about the values being what I want? -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Thur

cvs caught exception when building T5 from source

2006-08-17 Thread Yan Bai
Hello all, I want to build T5 from src, have followed the steps in the instruction, but BUILD FAILED. Below is what i got when type in 'ant -checkout'. Please help. = Buildfile: build.xml checkout: [echo] If the checkout fails, run `cvs -d :pserver:[EMAIL

Re: Tomcat Upgrade: 4.0.6 to 4.1.12

2006-08-17 Thread Ibrahim . Siddiqui
I was wondering if anyone knew where I can find documentation on how to go about upgrading Tomcat 4.0.6 to 4.1.12? Actual implementation steps would be helpful. Thanks, Ibrahim ** This communication (including any att

Re: Security constraint/login form

2006-08-17 Thread Marc Farrow
Quick answer is yes. On 8/17/06, Propes, Barry L <[EMAIL PROTECTED]> wrote: I wonder though...do the role_names have to be service or admin or something like that? Can they be anything I declare them to be that matches the column in another DB table? i.e. I've got user_name and role_name as

RE: Security constraint/login form

2006-08-17 Thread Propes, Barry L
I wonder though...do the role_names have to be service or admin or something like that? Can they be anything I declare them to be that matches the column in another DB table? i.e. I've got user_name and role_name as columns in the user_roles table. Can I make a 3rd table also having a column

Re: Tomcat Crashed - Please Help.

2006-08-17 Thread Uday Bhaskar
Hi Steve, Here is my classpath classpath= /var/lib/tomcat5/shared/classes/: /var/lib/tomcat5/shared/lib/DbConnectionBroker.jar: /var/lib/tomcat5/shared/lib/Verisign.jar: /var/lib/tomcat5/shared/lib/activation.jar: /var/lib/tomcat5/shared/lib/axis-ant.jar: /var/lib/tomcat5/shared/lib/jt400.jar: /

Re: Disable a web application

2006-08-17 Thread Filip Hanik - Dev Lists
yes, 1. remove it from webapps directory 2. set autoDeploy to false, but then you have to manually deploy all the others 3. you can stop it once its been deployed Ralf Schneider wrote: Hi, is there a way do disable a web application that is located in the webapps directory so that it will n

Re: Tomcat Crashed - Please Help.

2006-08-17 Thread Steve R Burrus
I assume that you have an entry in your System's classpath settings for every single jar file that the error indicates were not found for your jvm? Uday Bhaskar wrote: Hi, When I start tomcat following is th error message: Starting tomcat5: /usr/bin/rebuild-jar-repository: error: could not

RE: Disable a web application

2006-08-17 Thread Propes, Barry L
comment it out? -Original Message- From: Ralf Schneider [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 2:57 PM To: users@tomcat.apache.org Subject: Disable a web application Hi, is there a way do disable a web application that is located in the webapps directory so that it w

Disable a web application

2006-08-17 Thread Ralf Schneider
Hi, is there a way do disable a web application that is located in the webapps directory so that it will not be started during startup of Tomcat? Best regards, Ralf. - To start a new topic, e-mail: users@tomcat.apache.org To un

Re: web.xml config

2006-08-17 Thread Renaud Waldura
It looks like the Tomcat Administration webapp lets you edit environment entries. That's a GUI. - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Wednesday, August 16, 2006 8:40 PM Subject: Re: web.xml config Rob Elliott wrote: Hello, I n

RE: Security constraint/login form

2006-08-17 Thread Propes, Barry L
Marc, I was actually talking about server.xml in the conf dir and then web.xml where the security constraint is configured, but this is good to know. That is more for authentication to get to a certain portion -- the manager section isn't it? On that topic, I added the role of manager and conf

Re: High CPU ...

2006-08-17 Thread Leon Rosenberg
of course you are right Lou, it's http://moskito.dev.java.net, sorry was in hurry! thanx Leon (*ashamed*) P.S. the https redirect is sent from the dev.java.net server. On 8/17/06, Lou Caudell <[EMAIL PROTECTED]> wrote: Lou Caudell wrote: > Leon Rosenberg wrote: >> moskito can help. you could a

Tomcat Crashed - Please Help.

2006-08-17 Thread Uday Bhaskar
Hi, When I start tomcat following is th error message: Starting tomcat5: /usr/bin/rebuild-jar-repository: error: could not find jdbc-stdext Java extension for this JVM /usr/bin/rebuild-jar-repository: error: could not find jndi Java extension for this JVM /usr/bin/rebuild-jar-repository: erro

Re: Security constraint/login form

2006-08-17 Thread Marc Farrow
Are you talking about the tomcat-users.xml file and the roles defined in there? The security-contraints are pretty flexible and you can use any number of ways to define your realms. If you look at the web.xml for the manager application (that is shipped with Tomcat), you can see how that realm i

RE: Security constraint/login form

2006-08-17 Thread Propes, Barry L
ok, well that certainly helps and gives very good direction! Thank you, David! -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 2:02 PM To: Tomcat Users List Subject: Re: Security constraint/login form Getting the remote user would be reques

Re: Security constraint/login form

2006-08-17 Thread David Smith
Getting the remote user would be request.getRemoteUser() ; I would imagine other fields could be added to the database table, but the webapp would be responsible for loading the remaining data into a session or whatever is needed. Tomcat will only offer the username and an accurate response t

RE: Security constraint/login form

2006-08-17 Thread Propes, Barry L
to add to my question earlier below, would it be something as simple as? String juser= (String) request.getAttribute("j_username"); Granted I have no idea what the session attribute is under the hood, only know that j_username is the input name for the user_name. I was thinking with that info,

Re: Missing Request Parameters

2006-08-17 Thread lmelendez
in mod_jk.conf for apache, we have the following lines: # define the channel JkSet channel.socket:localhost:8009.port 8009 JkSet channel.socket:localhost:8009.host 127.0.0.1 # define the worker JkSet ajp13:localhost:8009.channel channel.socket:localhost:8009 JkUriSet group ajp

RE: isVirtualWebappRelative not working

2006-08-17 Thread Angelov, Rossen
The problems, I was trying to describe appeared to be a bug - http://issues.apache.org/bugzilla/show_bug.cgi?id=39752 In my case I preferred to go back to Tomcat 5.5.9 where SSI works correctly, but in case other people have the same problem the fix is available in SVN. Ross -Original Mess

Re: High CPU ...

2006-08-17 Thread Lou Caudell
Lou Caudell wrote: Leon Rosenberg wrote: moskito can help. you could at least see which servlet is currently processing. http://moskito.java.dev.net if you have a really 'few' requests you could also look into /manager/status.html if you have the manager installed. regards Leon On 8/17/06, D

Re: Missing Request Parameters

2006-08-17 Thread lmelendez
Nicolas Schwartz wrote: > > I thought it might come from the connector ... > Did you already try to change it ? > Which version are you using ? > Interesting point Nicolas, to be honest with you... I don't know a lot about connectors. I went to the Server.xml file in Tomcat and found the follo

Re: High CPU ...

2006-08-17 Thread Lou Caudell
Leon Rosenberg wrote: moskito can help. you could at least see which servlet is currently processing. http://moskito.java.dev.net if you have a really 'few' requests you could also look into /manager/status.html if you have the manager installed. regards Leon On 8/17/06, Dragon Fly <[EMAIL PR

serious load balancing issue with 'B' load balancer method

2006-08-17 Thread Mohan2005
Hi all: After running and collecting jkmanager statistics we noticed that one of many nodes are not getting any are hardly any requests at some time. and seems have got ignored by the 'Busyness' lb method. Then we restart web server and things start working again. After some accumulation (which

Security constraint/login form

2006-08-17 Thread Propes, Barry L
I realize that in Tomcat (I'm using 4.1.3 and 4.0.1 by the way -- a version on a prod. server and one ony my desktop) that you can create the simple table titled users and configure it in the server.xml file and then likewise configure the web.xml file's security constraint properties. My ques

Re: High CPU ...

2006-08-17 Thread Leon Rosenberg
moskito can help. you could at least see which servlet is currently processing. http://moskito.java.dev.net if you have a really 'few' requests you could also look into /manager/status.html if you have the manager installed. regards Leon On 8/17/06, Dragon Fly <[EMAIL PROTECTED]> wrote: Quite

High CPU ...

2006-08-17 Thread Dragon Fly
Quite a few servlets run on our production Tomcat (Tomcat 5.0.25/JDK 1.4 on Solaris 2.8). It appears that one of the servlets runs in a tight/infinite loop (i.e. > 90% CPU) and eventually brings down Tomcat. This problem occurs once every few days and is probably triggered by a user request. I

Re: JMS Alternative

2006-08-17 Thread Filip Hanik - Dev Lists
use qmail or one of those email frameworks, yes, you can access it using the JavaMail API you'd still need logic to handle bounces etc, so you do have some work ahead of you Feris Thia wrote: Hi All, Is there any alternative JMS api in Tomcat ? And how can I implement multi threading in JMS,

Re: Encrypt Cleartext Resource Password

2006-08-17 Thread Darren
I found this provider to be a good starting point http://www.bouncycastle.org/latest_releases.html There are multiple classes available for Message Digest 5 http://www.bouncycastle.org/docs/docs1.5/index.html one of which is Message Digest 5 with Data Encryption Standard see JCEBlockCipher.PBEWit

Re: tomcat, apache, mod_rewrite and http-auth

2006-08-17 Thread Kristian Rink
Hi David, @list; On Thu, Aug 17, 2006 at 08:33:21AM -0400, David Smith wrote: > Have you tried loosening up the refresh to let's say 5 seconds? Sounds > to me like the refresh rate is too intense for a proxy environment. I will give that a try. By now, I started setting up a second configur

Re: Can't assign requested address error

2006-08-17 Thread David Smith
Another person had this trying to bind to the localhost (127.0.0.1) address when the interface wasn't up. Check that your system has an interface supporting each of the network addresses specified in the address="" attributes of your connectors (see server.xml) and also the localhost address (

Re: tomcat, apache, mod_rewrite and http-auth

2006-08-17 Thread David Smith
Have you tried loosening up the refresh to let's say 5 seconds? Sounds to me like the refresh rate is too intense for a proxy environment. Another way to go (and I don't have the sample code) is to use a little javascript and some AJAX techniques for updating the page without a round trip.

Re: Tomcat5.5.17 work directory have the whole tomcat structure

2006-08-17 Thread Raju Balugu
Hi Pid, Thanks a lot.It solved my problem. "Just i changed the appsbase to webapps and its working fine without any issues" (previously appsbase=".") Regards Raju On 8/16/06, Pid <[EMAIL PROTECTED]> wrote: Sounds like you set a Context up with the Tomcat directory as the base appDir, so it'

Tomcat 5.5 WebDAV problem

2006-08-17 Thread Eric Chow
Hello, WebDAV is supported in Tomcat 5.5. Is there any documents for reference to config folder access right for each users in Tomcat 5.5? I want to config all the users have their own folder with read/write permission and they can't access other folder. For example: Root URL http://localho

Re: Missing Request Parameters

2006-08-17 Thread Nicolas Schwartz
I thought it might come from the connector ... Did you already try to change it ? Which version are you using ? Nicolas lmelendez a écrit : Nicolas Schwartz wrote: It occurs on GET requests, maybe on POST ones but we don't know. The value of the parameter is not long, neither is the value. It

Re: JMS Alternative

2006-08-17 Thread Nikola Milutinovic
> Before asking about an optimized multithreaded e-mail application on a > mailinglist for > a webserver you should make it clear what you are doing. Maybe the > non-optimized > singlethreaded e-mail loop is fast enough for you. It wil save you a lot of > time debugging. How about using Mail AP