RE: Urgent: Issue with Tomcat Clustering

2004-05-24 Thread Filip Hanik \(lists\)
not an issue with clustering, the stack trace is in the mod_jk code, Filip -Original Message- From: Vikas Gupta [mailto:[EMAIL PROTECTED] Sent: Sunday, May 23, 2004 12:08 PM To: Tomcat Users List Subject: Urgent: Issue with Tomcat Clustering Hi All, I am trying to do tomcat clustering

API for authenticating user

2004-05-24 Thread Koji Sekiguchi
Hi, (B (BI'd like to know how to authenticate a new user when (Bhe/she subscribe his/herself so that he/she can (Bavoid login procedure. (B (BI've successfully set up Form Authentication (Band JDBC Realm on Tomcat 5.0.24. But now, new users (Bmust visit login page to authenticate

Re: session data in Tomcat 5

2004-05-24 Thread M.Hockings
Ben Souther wrote: Ah Ben, I don't know if you have kids or not. But y'know how a kid can kinda look at the floor and shuffle their feet when caught doing something stupid. Well, keep that in mind as you read what I figured out... Believe me, you've nothing to feel stupid about. We've all

Re: java.lang.ClassCircularityError

2004-05-24 Thread Viktor Matic
This is probably related to the subject configuration. Can you create a small test case that reproduce the problem? I will be able to better see what's happening. I have tried to compose a simple test which simulates the real thing, but I did not succeed to reproduce the error. For

Re: java.lang.ClassCircularityError

2004-05-24 Thread Viktor Matic
This is probably related to the subject configuration. Can you create a small test case that reproduce the problem? I will be able to better see what's happening. I have tried to compose a simple test which simulates the real thing, but I did not succeed to reproduce the error. For

RE: session data in Tomcat 5

2004-05-24 Thread Shane Linley
I am a ZoneAlarm Pro user and when I first ran Tomcat on my desktop (with ZapPro) it sabotaged the cookies that TC was using, and from memory TC started to encode the session id in the URL. I would recommend looking at the privacy settings in zonelabs to see what it is doing with user identifiable

RE: problem with JSP - no data returned

2004-05-24 Thread Knight, Digby
It's not that tools.jar isn't on the path, and Tomcat can't compile the JSPs at runtime, is it? -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: 23 May 2004 00:52 To: Tomcat Users List Subject: Re: problem with JSP - no data returned Just a few curious

This is a test message

2004-05-24 Thread Viktor Matic
Apologies to everyone this is a test message. I'am trying to send replay to list whole morning but I do not get back copy of my message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: CGIServlet -- tomcat

2004-05-24 Thread Alex
Mark, thanks for the reply. Yes, it's still the only issue. I'm trying to cut everything down to make it very simple. All i'm trying to get work is the perl file 14all.cgi (google it). It works through apache 1.3.x/2.x etc. and I'm almost 100% i had it working using tomcat 4.x a while ago.

Can I change Tomcat's default character encoding?

2004-05-24 Thread Allistair Crossley
We are having a host of problems with character encoding at the moment. Somehow between the UI and the Struts Action our euro symbols are being turned into question marks. I have fiddled with the JVM file.encoding, using JSP page directives for content type and much else besides. I thought Java

RE: apache -tomcat problem

2004-05-24 Thread Dirk Slootmaekers
hello, an update on our findings. We had the same problem now with tomcat 3.3.1a after 4 hours of working. So it is not related to the apache AJP connector but it is in tomcat. any idea what the problem could be? (after a short term after logging in the user is kicked out). I included the

RE: Another source for MD5 encryption

2004-05-24 Thread Shapira, Yoav
Hi, MD5 is not an encryption algorithm, by the way. It's a digesting one for us in conjunction with an encryption algorithm. Yoav Shapira Millennium Research Informatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Saturday, May 22, 2004 5:21

Debug-Logger

2004-05-24 Thread Dotterweich Juergen
Hello, I installed a log4j.properties - file and the performace suffers extreme and I get much too much DEBUG entries. The log4j.properties - file looks like: log4j.rootLogger=ERROR, A1 log4j.appender.A1=org.apache.log4j.ConsoleAppender

Use of SNMP to monitor Tomcat

2004-05-24 Thread Hut Carspecken
Good Morning Everyone, I need to incorporate Tomcat as the presentation layer of a larger system and in doing so, I want to monitor it using SNMP. I understand that Tomcat can incorporate JMX to monitor some of its functions; however, my project calls for the use of SNMP. Has anyone monitored

JK2 / Apache / JNI Inprocess

2004-05-24 Thread Dale, Matt
Title: JK2 / Apache / JNI Inprocess Hi, After being assured by someone on this list that JNI worked on the latest tomcat and JK2 versions I thought I'd give it another shot. As far as I can tell there is no way its going to apart from possibly on windows. Can anyone tell me

logrotate and cronolog for log rotation

2004-05-24 Thread Simon Zeng
Hi, Is there anyone here using cronolog and/or logrotate? I could use them for access.log but could not make them work for mod_jk.log and haven't tried error_log and all ssl logs yet. Any experience and insights would be greatly appreciated. Thanks, -Simon

Re: Question?

2004-05-24 Thread Wade Chandler
mpforste wrote: I want to use Tomcat as a major part of the server, can you set Tomcat to also serve php so removing the need for apache? I am currently running apache 1.3(patched) and would like to drop it and use Tomcat 5 standalone to provide both port 80 and 443 but until I can convert from

.

2004-05-24 Thread Ben Souther
. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Best Scheduler/Cron for Tomcat?

2004-05-24 Thread Steven J. Owens
Hi all, What's the best scheduler or cron for use with tomcat? I've been googling and Quartz and Jcrontab seem to turn up often. The Quartz website says it's used by some Jakarta projects, and I see some references to Quarts in commons-beanutils documents in google. What we're

Re: Session Timeout and Direct Reference to login page

2004-05-24 Thread Jonathan Eric Miller
I found out about a few other functions that make it bit easier. I think I have it working using the following, public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { if(((HttpServletRequest)request).getRequestedSessionId()

JK2 / Apache / JNI Inprocess

2004-05-24 Thread Dale, Matt
Title: JK2 / Apache / JNI Inprocess Apologies for the resend but I cant find this in the archive and i never received it back Hi, After being assured by someone on this list that JNI worked on the latest tomcat and JK2 versions I thought I'd give it another shot. As far as I can tell

Re: This is a test message

2004-05-24 Thread Alex
I've been getting very or little or nothing from the list and well, I know why. Should get it off the rbl's 550 Service unavailable; Client host [209.237.227.199] blocked using bl.spamcop.net; Blocked - see http://www.spamcop.net/bl.shtml?209.237.227.199 On Mon, 24 May 2004, Viktor Matic

Re: Can I change Tomcat's default character encoding?

2004-05-24 Thread M.Hockings
Allistair Crossley wrote: We are having a host of problems with character encoding at the moment. Somehow between the UI and the Struts Action our euro symbols are being turned into question marks. I have fiddled with the JVM file.encoding, using JSP page directives for content type and much

RE: Debug-Logger

2004-05-24 Thread Shapira, Yoav
Hi, Change DEBUG to WARN or ERROR depending on your preference. Yoav Shapira Millennium Research Informatics -Original Message- From: Dotterweich Juergen [mailto:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 9:08 AM To: '[EMAIL PROTECTED]' Subject: Debug-Logger Hello, I installed a

How to setup keystoreFile in server.xml for Tomcat-5.19

2004-05-24 Thread Zsolt Koppany
Hi, I would like to define the path of keystoreFile in server.xml with a relative path but the example below throws a FileNotFoundException. It does work when I use absolute path (that I don't want to). As far as I understand the documentation, if I use relative path it must be relative to

RE: Another source for MD5 encryption

2004-05-24 Thread Tim Penhey
Thanks for all the comments. I didn't realise that the RealmBase class was just wrapping the java.security.MessageDigest. I have just added my own simple class that wraps this method and returns a hex string to store in the DB. Tim BTW what is the difference between an encryption algorithm

JSP Compiling - painted in a corner?

2004-05-24 Thread Jason Palmatier
Hello, I'm trying to precompile JSPs and have run into some trouble with the mappings. First off I CANNOT use the Ant build method as specified in http://jakarta.apache.org/tomcat/tomcat-5.0-doc/printer/jasper-howto.html#Web%20Application%20Compilation; due to a lack of certain UNIX commands on

Re: Use of SNMP to monitor Tomcat

2004-05-24 Thread Robert F. Hall
Try Googling Java SNMP open source. Which returned, among other hits: http://netsnmpj.sourceforge.net/ http://edge.mcs.drexel.edu/GICL/people/sevy/snmp/snmp_package.html Robert Hut Carspecken wrote: Good Morning Everyone, I need to incorporate Tomcat as the presentation layer of a larger system

RE: This is a test message

2004-05-24 Thread Mark Thomas
I have just checked the status page: http://www.spamcop.net/w3m?action=blcheckip=209.237.227.199 and everything looks good apart from one 3 hour period in the last 14 days. I have been receiving mail consistently from both the user and dev list. Looks like you might be seeing some other (possibly

Re: Urgent: Issue with Tomcat Clustering

2004-05-24 Thread Filip Hanik - Dev
try without mod_jk with another load balancer first, pen (http://siag.nu/pen) or balance (http://balance.sourceforge.net) - Original Message - From: Vikas Gupta [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, May 23, 2004 12:07 PM Subject: Urgent: Issue with

Re: java.lang.ClassCircularityError

2004-05-24 Thread Filip Hanik - Dev
glad you got it working!! the class loaders were referencing each other in a cirular way. Filip - Original Message - From: Viktor Matic [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, May 24, 2004 1:48 AM Subject: Re: java.lang.ClassCircularityError This is

RE: Another source for MD5 encryption

2004-05-24 Thread Shapira, Yoav
Hi, BTW what is the difference between an encryption algorithm and a digesting one? See http://www.webopedia.com/TERM/M/message_digest.html for a good definition of the relationship. Specifically for MD5: MD5 was developed by Professor Ronald L. Rivest of MIT. What it does, to quote the

Fw: Urgent: Issue with Tomcat Clustering

2004-05-24 Thread Filip Hanik - Dev
try without mod_jk with another load balancer first, pen (http://siag.nu/pen) or balance (http://balance.sourceforge.net) - Original Message - From: Vikas Gupta [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, May 23, 2004 12:07 PM Subject: Urgent: Issue with

ssl, verisign, no common encryption algorithm

2004-05-24 Thread Michael E. Allen
Greetings! I am running tomcat 4.1.27 and having trouble importing a global id certificate from Verisign. My server works fine with a self-generated certificate, but as soon as I replace my self signed certificate with the one from Verisign, I get a message from firefox that it is unable to

Re: Use of SNMP to monitor Tomcat

2004-05-24 Thread disposablehero3000-jakarta
Hello Hut Carspecken, Another thing you can try is to monitor Tomcat by using a custom plugin with OpenNMS (http://www.opennms.org); OpenNMS can then talk with the JMX part of Tomcat in order to poll the health status (without SNMP). There is an article at the IBM site about how to do this:

Re: Tomcat security and virtual hosts

2004-05-24 Thread wsedio
On 21-05-2004 11:33, wsedio wrote: Hi all, I am running Tomcat 5.0.24 on Red Hat Linux Enterprise 3 with Apache web server 2 and mod_jk 1.2. I have a few Apache/Tomcat virtual hosts: each host has its own document root and webapps. I would like to make sure that each host is not allowed to

Importing chain certificate with keytool causes keytool error: java.lang.Exception: Input not an X.509 certificate

2004-05-24 Thread Ben Monnahan
I'm new to all of this, so I may be making an obvious mistake, but I've looked all over and can't seem to find a solution. I'm following the instructions for installing a certificate from a CA found here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html Everything went fine until

Configuring mod_jk2/jk2 Via The JMX Console

2004-05-24 Thread Wilson Jimmy - jiwils
The mod_jk2/jk2 web page indicates that a JMX console can be utilized for runtime configuration changes: On tomcat side, you must enable the JMX proxy. This is done by setting modjk.webServerHost and modjk.webServerPort in jk2.properties to point to the web server port that contains /jkstatus. (

Session Unbound

2004-05-24 Thread Ravindra Gupta
I have 2 problems 1) I am keeping connection into session . My requirement is that i have to release this connection once Session is inactivated/expired .I have given an implementation where the unbound method of class implementing HttpSessionBindingListener is getting called , but it is

Bug in Tomcat 5 realm example (j_security_check, again)

2004-05-24 Thread Barnet Wagman
This really concerns using j_security_check. (I know there have been many posts on this subject but I haven't seen the answer I need and I haven't found much in the way of documentation on j_security_check). Tomcat 5 comes with a simple example of how to use j_security_check for form based login

Re: Importing chain certificate with keytool causes keytool error: java.lang.Exception: Input not an X.509 certificate

2004-05-24 Thread Hassan Schroeder
Ben Monnahan wrote: I'm following the instructions for installing a certificate from a CA found here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html Everything went fine until the step where you import the chain cert. I entered this command: keytool -import -v -alias root -keystore

Re: URGENT!! Relocation error problem

2004-05-24 Thread Graham Bleach
On Fri, May 21, 2004 at 11:16:02AM -0400, Wehner, Terry wrote: I am getting the following error when trying to start apache 1.3.27 Syntax error on line 4 of /opt/applocal/imt/webi/jakarta-tomcat-4.1.29/conf/auto/mod_jk.conf: Cannot load /opt/applocal/imt/webi/httpd_1.3.27/modules/mod_jk.so

RE: Bug in Tomcat 5 realm example (j_security_check, again)

2004-05-24 Thread Summers, Bert W.
From other comments on the list I added this to the top of my login.jsp if (session.isNew()) { String referer = request.getHeader(Referer); if (referer == null) { response.sendRedirect(index.jsp); } else { response.sendRedirect(referer); } return; } Then I had a problem

not getting debugging info out

2004-05-24 Thread Asya
Tomcat 5.0.16 on RedHat 9 I've changed the debug level on the HTTP Coyote connector in the server.xml config file to 9, but I'm not seeing any additional debugging messages generated by the connector in the tomcat log files. I've turned up the debugging settings on all of the components via

tomcat hanging during SSL handshake

2004-05-24 Thread Rudy Wade
We're running tomcat 5.0.16 with Java 1.4.1. I'm seeing this problem after things have been running fine for a while and the load starts increasing. What happens is the HTTP Coyote connector does not gracefully recover from an OutOfMemory exception and it gets into a situation where it hangs in

best and simple way of login mechanism

2004-05-24 Thread Arora, Avinash
Hi, I want to provide a login page for my web applicatioin. I used the memory realm, by making changes in the server.xml. But it started giving me Connection errors, and I was not able to see the web pages. Then I commented the Memory realms tag and then I was able to see the web pages

Tomcat 4.1.30 Hung!!! With High Traffic

2004-05-24 Thread Innovest Ken
hello all, Currently, I have Tomcat 4.1.30 running on Linux Redhat 9, using jdk 1.4.2_03. It is now running live and every day it will hang at least once. We are unable to see any error message in the log file. The site is having a hit of 20 request per second with most of the requests need the

Tomcat 4.1.30 Hung!!! With High Traffic

2004-05-24 Thread Innovest Ken
hello all, Currently, I have Tomcat 4.1.30 running on Linux Redhat 9, using jdk 1.4.2_03. It is now running live and every day it will hang at least once. We are unable to see any error message in the log file. The site is having a hit of 20 request per second with most of the requests need the

RE: Tomcat 4.1.30 Hung!!! With High Traffic

2004-05-24 Thread Denise Mangano
I am not sure if I have an answer but hopefully this will help. I posted a similar problem back in April - I have the same exact environment. The one thing that I have noticed is from the same code in my server.xml my maxProcessors=75. I have noticed that when Tomcat does hang I try to shut down

Tomcat Hung!!! Help needed

2004-05-24 Thread Innovest Ken
hello all, Currently, I have Tomcat 4.1.30 running on Linux Redhat 9, using jdk 1.4.2_03. It is now running live and every day it will hang at least once. We are unable to see any error message in the log file. The site is having a hit of 20 request per second with most of the requests need the

Re: Tomcat 4.1.30 Hung!!! With High Traffic

2004-05-24 Thread Parsons Technical Services
What does top show? Is the cpu loaded? Is the memory maxed? Is the database on the same machine? When you say hang it can have many meanings. When it hangs does the process die, or does it simply stop responding? Is it a true stop responding or just a very long delay? With that level of traffic

Error using taglibs - unable to find setter

2004-05-24 Thread Ravi Mutyala
Hi, I created a tag which extends from the html:text tag. I'm using tomcat 4.1.30. when I use this tag, I get the following error. - org.apache.jasper.JasperException: /win_002_PMT_Manage_Cstmr_Prtfl.jsp(70,26) Unable to find setter method for

RE: session data in Tomcat 5

2004-05-24 Thread Shane Linley
I am a ZoneAlarm Pro user and when I first ran Tomcat on my desktop (with ZapPro) it sabotaged the cookies that TC was using, and from memory TC started to encode the session id in the URL. I would recommend looking at the privacy settings in zonelabs to see what it is doing with user identifiable

Tomcat virtualhost bug?

2004-05-24 Thread Trond Hersløv
Hi, I need some help here. Running: Apache 2.0.49, Tomcat 5.0.24 and jk2 2.0.4. Tomcat and the webserver running on separate machines. The webserver is set up with to virtualhosts. test1.athome.no test2.athome.no workers2.properties is set up so all *.jsp request are sent to Tomcat.

Tomcat 4.1.30 Hung!!! With High Traffic

2004-05-24 Thread Innovest Ken
hello all, Currently, I have Tomcat 4.1.30 running on Linux Redhat 9, using jdk 1.4.2_03. It is now running live and every day it will hang at least once. We are unable to see any error message in the log file. The site is having a hit of 20 request per second with most of the requests need the

Re: Tomcat 4.1.30 Hung!!! With High Traffic

2004-05-24 Thread Innovest Ken
Would like to apologise for resending numerous times, it is because i keep getting the following message from spamcop: Unable to deliver message to the following address(es) [EMAIL PROTECTED] Remote host said: 554 delivery error: This user doesn't have an account - so get bent! --- Innovest

Re: Tomcat 4.1.30 Hung!!! With High Traffic

2004-05-24 Thread Innovest Ken
hi, Sorry for reposting, cause i keep getting message not delivered... For your questions, top shows cpu around 40%, actually we have trace our cpu usage for the week, it peak at 50% and average 30%. For memory, it peak at 60%, average 25%. No, the database is in another server thru a

RE: Tomcat 4.1.30 Hung!!! With High Traffic

2004-05-24 Thread Innovest Ken
I only use tomcat, without using Apache... Because my site are mainly jsp. Yes, I have a script to kill the tomcat server before starting again. And yes, I saw the 'All threads(150) are busy' error message. Innovest --- Denise Mangano [EMAIL PROTECTED] wrote: I am not sure if I have an answer

Mail Delivery (failure avenarek@freenet.am)

2004-05-24 Thread tomcat-user
This message was verified by the filtering system of our mail server. Original message was replaced by this one by the following reason : *** A suspicious file (executable code) was found in the message ! Original message had the following attached files : (X-FILE ??? ) : message.scr