Re: JK2 uri context question

2004-05-18 Thread Nikola Milutinovic
Jack Lauman wrote: I have a site where users enter the members area through a URL like this: http://www.domain.com/members/minutes.jsp My workers2.properties file [uri:/minutes/*] group:ajp13:localhost:8009 How do you remap the members directory so that jk2 know that it point to a tomcat app

Re: jk2 problems

2004-05-18 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: I'm getting error in my apache tomcat configuration and I don't know why. I'm running Tomcat 4.1.18 with apache 2.0.49 under linux. And I can't make apache running with mod jk stuff. Here is an extract of my apache httpd.conf file LoadModule jk2_module modules/mod_jk2.so

Only love?

2004-05-18 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 ??? ) :

Tomcat 4.* compilation of the WEB-INF classes

2004-05-18 Thread Ben Bookey
Dear List, I am using tomcat 4.0. My experience sofar is that when I put my uncompiled .java files inside the WEB-INF\classes directory, and do a restart the java files will ALL be compiled. This is not due to my web-xml settings, but default Tomcat 4. behaviour. However, later when I made a

Re: Changing the 'ROOT' webapp (newbie question)

2004-05-18 Thread Harry Mantheakis
Definitely smart! Yoav, I think you're a smartass, but I mean that in the nicest and most complimentary way possible ;-) You're a constant source of help and relief to tomcat users on this list. I am always interested to read your posts and take a great interest in what you have to say!

RE: Apps terminating abruptly

2004-05-18 Thread Andi Reinbrech
Thanks for replying, Well, a thread dump wouldn't help. I've noticed last night that the app actually terminates at a specific point, but no exception is raised, so I can't figure out what the problem is. Java sends the exception back to .NOT - I get a

RE: Apps terminating abruptly

2004-05-18 Thread Peter Guyatt
Hi There, This exception is thrown when the Method.invoke method is called. The actual reason for this exception occurring is that the method invoked by this call has thrown an Exception. For more information on the exception an the Method class please look at the API documentation:

InvocationTargetException

2004-05-18 Thread Andi Reinbrech
Hi Yoav. The problem with my machine was indeed the /jre/lib/ext directory, I have a whole bunch of jars in there in production, that were missing on my box. Neat, now 5.0.18 works, but running 5.0.24 gives the following exception at startup: Using CATALINA_BASE: C:\jakarta-tomcat-5.0.24

Problem using JMS with Tomcat

2004-05-18 Thread Kawthar Bt M Sulaiman
Hello, I'm trying to use Sun Messaging Queue. I use javax.jms package in my code. I got the j2ee.jar file and put under tomcat common\lib but this causes a conflict.. my tomcat won't start. If I don't put the jar file there, tomcat starts without any problem. However, my code won't run

Re: [ANN] Apache Tomcat 5.0.24 Stable released

2004-05-18 Thread Alex
a big bright red button saying changelog : ) i'll admit, when looking for differences between 5.0.19 and 5.0.24 i spent five min looking for the changelog and couldn't find it. On Mon, 17 May 2004, Zachary Hartley wrote: Date: Mon, 17 May 2004 15:22:44 -0400 From: Zachary Hartley [EMAIL

RE: Problem using JMS with Tomcat

2004-05-18 Thread Shane Linley
Well, seeing your exception stack trace would help and perhaps a manifest of your j2ee.jar file. Otherwise if you included it into you WEB-INF/lib for your webapp that may help, but considering the name of the JAR file, I would be hesitant to use it at all, where did it come from? If you just

Default directory

2004-05-18 Thread Andi Reinbrech
Hi everyone. I am back to where I was 5 months ago - files *have* to be in the default directory, classpath doesn't help. I copy them to bin and start tomcat manually, then all works fine. I then install as a service and it doesn't work anymore. Tomcat 5.0.18 had ImagePath and WorkingPath in

Help: Tomcat JAAS Authentication Help (How does j_security_check work?)

2004-05-18 Thread ben.hill
I'm trying to implement a servlet filter that intercepts requests to a servlet and if the user is not authenticated, run the supplied username and password through a JAAS authentication cycle. I would like to know how this process is done using the j_security_check as I'd like to implement the

Tomcat start problem

2004-05-18 Thread wsedio
Hi all, I am running Tomcat 4.0.24 on Red Hat Linux 7.3, I installed it from the jpackage RPM a few months ago. Tomcat worked fine until this morning, when I upgraded the control panel server (SWsoft Plesk) for the server to a new major version (5.0.5 to 7.0.2). The problem is that Tomcat

Classpath and directories.

2004-05-18 Thread Andi Reinbrech
Me again :-( OK, it's not the default dir, I copied all the relevant files and *.dtd to c:\windows\system32 and it still didn't work. I added %CATALINA_HOME%\bin to the classpath and copied all the files and *.dtd to the bin folder. This works 100% when run via startup.bat, but *not* when run

please take me off the mailing list!

2004-05-18 Thread Roy Smith
I've made numerous attempts through other channels and I'm still getting mail. Is anybody driving? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

The Logger Component

2004-05-18 Thread ariel
2 small questions regarding the Logger Component: Logger className=org.apache.catalina.logger.FileLogger directory=/home/client/public_html/test/WEB-INF/logs prefix=client. suffix=.log timestamp=true/ 1) Is the only way to make the log file to be rolled is by defining time stamp to true

RE: please take me off the mailing list!

2004-05-18 Thread ben.hill
Have you followed the instructions at the end of the message? -Original Message- From: Roy Smith [mailto:[EMAIL PROTECTED] Sent: 18 May 2004 12:37 To: [EMAIL PROTECTED] Cc: Roy Smith Subject: please take me off the mailing list! I've made numerous attempts through other

RE: Problem using JMS with Tomcat

2004-05-18 Thread Larry Isaacs
If you want to use JMS, add a jar that just contains JMS classes. Don't assume you can add any jar you want without side effects. If you look inside j2ee.jar, you will find a ton of additional classes besides those for JMS. Among them you will find an older version of Tomcat which, not

Re: Is it possible to intercept all requests and be serviced by a ser vlet?

2004-05-18 Thread Tim Funk
You can use a Valve. Or you can use a Filter configured in $CATALINA_HOME/conf/server.xml and the class would live in the common/ classloader -Tim Chippada, Sreeni wrote: Hi, I am using Tomcat 5. I need all the requests be serviced by a particular servlet irrespective of the web apps

Re: how about the load capability of tomcat?

2004-05-18 Thread Tim Funk
1) There is no common hardware config. 2) Every Servlet is different in memory, cpu, and other resource usage - no test has been developed to test this. (A brief) List of items influence any servlet benchmark - - How much logging do you do - Do you need access logs - Do you use a database - are

Windows XP X Windows 2003 . What are the advantages to use with the same JVM.

2004-05-18 Thread Acácio Furtado Costa
Title: Windows XP X Windows 2003 . What are the advantages to use with the same JVM. Hello, I´d like to use the Windows Operational System with Tom Cat 5.0.24. I intend to use one Pentium III 700 MHz , 2 CPU´s (DP) with 2 Gb RAM and SCSI Disk´s 9x5 Raid 5 by Hardware only for this

RE: Windows XP X Windows 2003 . What are the advantages to use with the same JVM.

2004-05-18 Thread Ralph Einfeldt
In some of the windows versions the number of concurrent inbound tcp connections is limited. http://support.microsoft.com/?kbid=122920 http://support.microsoft.com/default.aspx?scid=kb;en-us;328459 I'm not shure if this is still true for xp and 2003. (But I think it is) -Original

RE: 5.0.24 HotFix Answer

2004-05-18 Thread Shapira, Yoav
Hi, Since you're being precise, let's be correct: there can only be one class definition per classloader. You can have two classes with the same fully-qualified name loaded twice in the same JVM instance by separate classloaders. For example, com.foo v1 in webapp1/WEB-INF/classes and com.foo v2

RE: how about the load capability of tomcat?

2004-05-18 Thread Shapira, Yoav
(BHi, (BThere ARE sites servings millions of hits per day on tomcat. Tim's post is right on. (B (BYoav Shapira (BMillennium Research Informatics (B (B (B-Original Message- (BFrom: Tim Funk [mailto:[EMAIL PROTECTED] (BSent: Tuesday, May 18, 2004 7:58 AM (BTo: Tomcat Users List

RE: InvocationTargetException

2004-05-18 Thread Shapira, Yoav
Hi, There is a direct correlation (I'd even say a causal relationship, but let's not add statistics to this list's topics ;)) between the amount of things you have in jre/lib/ext and the amount of headaches you will experience. Remove everything you can from there. Using CATALINA_BASE:

RE: Problem using JMS with Tomcat

2004-05-18 Thread Shapira, Yoav
Hi, You can't have the j2ee.jar as-is on the tomcat classpath: it's that simple. You have to hack out a ton of things, including the servlet, JSP, and XML parsing APIs. Obviously this is a kludge. The right way to do this is to add two jars to your webapp's WEB-INF/lib (assuming you're coding

RE: The Logger Component

2004-05-18 Thread Shapira, Yoav
Hi, 2 small questions regarding the Logger Component: 1) Is the only way to make the log file to be rolled is by defining time stamp to true (timestamp=true)? I don't think so, but I'm not sure. IIRC timestamp affects only the content of the logged messages, not the rollover. 2) Is it

RE: Why 41 processes with Tomcat under Linux

2004-05-18 Thread Shapira, Yoav
Hi, It depends on your kernel: most show the behavior Senor Schroeder describes (so what you're seeing is expected, not a problem). Some more recent kernels/thread libs correctly show one process per JVM. As to why 41 specifically: there's a handful JVM default threads (main, finalizer, system,

RE: Tomcat 4.* compilation of the WEB-INF classes

2004-05-18 Thread Shapira, Yoav
Hi, The option you're looking for (most likely) is the reloadable attribute of the Context element. Its description has some answers for you. Yoav Shapira Millennium Research Informatics -Original Message- From: Ben Bookey [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 3:13 AM

Re: Why 41 processes with Tomcat under Linux

2004-05-18 Thread Tim Funk
Faq faq faq http://jakarta.apache.org/tomcat/faq/unix.html#ps -Tim Shapira, Yoav wrote: Hi, It depends on your kernel: most show the behavior Senor Schroeder describes (so what you're seeing is expected, not a problem). Some more recent kernels/thread libs correctly show one process per JVM.

[ANN] Apache Tomcat 5.0.25 Alpha released

2004-05-18 Thread Shapira, Yoav
The Tomcat Team announces the immediate availability of Apache Tomcat 5.0.25 Alpha. Please refer to the change log for the list of changes: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/changelog.html Release notes: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/RELEASE-NOTES Downloads:

Re: 5.0.24 HotFix Answer

2004-05-18 Thread wsedio
On 18-05-2004 14:42, Shapira, Yoav wrote: 5.0.25 includes the bug fix, so the hotfix is not needed. Is it a stable version? If not, do you have any ETA about the next stable build? Thanks. - To unsubscribe, e-mail: [EMAIL

Using JAAS as for authorisation in Tomcat 5 tutorial

2004-05-18 Thread Michiel Toneman
As promised a while back, I've written a small tutorial for getting JAAS working as an authorisation mechanism (rather than an authentication mechanism like in JAASRealm). The initial version van be found here: http://www.kopz.org/public/documents/tomcat/jaasintomcat.html It does assume you

RE: 5.0.24 HotFix Answer

2004-05-18 Thread Shapira, Yoav
Hi, 5.0.25 is alpha for now. We vote on its stability in a few days if no showstoppers come up. There's no ETA, there'll never be one, and there are long explanations of why this is the case in the archives (of this list). Yoav Shapira Millennium Research Informatics -Original

Persistent workspace

2004-05-18 Thread Simon Brooke
-BEGIN PGP SIGNED MESSAGE- I've been deploying webapps with Tomcat since 1997, so you'd think I should know what I'm doing by now... But I find I don't. I'm increasingly trying to package my webapps so that they can be 'just dropped in' without any skill or knowledge being needed by

RE: Persistent workspace

2004-05-18 Thread rlipi
Hi, see this: Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false There is unpackWARs attribute in the Host element in the server.xml. But I'm not sure that you have asked about this. Lipi -Original

RE: Is it possible to intercept all requests and be serviced by a ser vlet?

2004-05-18 Thread Chippada, Sreeni
Hi Tim, Thanks for your reply. I know how to create a valve. But I do not know how to execute a servlet from a valve. I will be glad if you can you can tell me how to ro point me to appropriate resources. Also, I do not know how to configure the filters in the server.xml.

hotfix question

2004-05-18 Thread Daniel Gibby
Are any hotfixes applied directly to releases that are on the tomcat download site? So if I get a new copy of tomcat directly from the download site, is there still a need to get hotfixes for that version, or are they included? Thanks, Daniel

RE: taglib - O'Reilly tutorial problem

2004-05-18 Thread Zollinhofer, Matt
Yeah, I was a little concerned about the date as well. Do you have any suggestions for basic, up to date, solid examples/tutorials that I could run to a) make sure everything in my Tomcat server is working correctly b) increases/broadens my knowledge of what goes into typical to difficult web

Re: taglib - O'Reilly tutorial problem

2004-05-18 Thread Filip Hanik - Dev
looks like you are running compiled code against different version jar/class files. NoSuchMethod error means that the method the code is expecting doesn't exist, this happens when you compile your code using a library of version A, then deploy the same code with library of version B and B doesn't

Re: Is it possible to intercept all requests and be serviced by a ser vlet?

2004-05-18 Thread Tim Funk
It sounds like using a Filter would be easier. With a filter - you can use the Servlet API to get a Dispatcher for the servlet you wish to call. For example, this filter reroute all requests to FooServlet: package more.cowbell; import javax.servlet.Filter; import javax.servlet.FilterConfig;

RE: hotfix question

2004-05-18 Thread Shapira, Yoav
Hi, If a hotfix is released for version X, all versions after X already have that hotfix applied. So if you download 5.0.25 and onwards, you don't need to apply the 5.0.24 hotfix. The change log (and the actual code of course) confirm this. Yoav Shapira Millennium Research Informatics

RE: Persistent workspace

2004-05-18 Thread Shapira, Yoav
Hi, He did ask in this area, but that's not the answer he wants. 1. No, the Servlet Spec does not provide a means to control packing or unpacking of WARs. This is a container-specific feature that's not even required by the spec (only running packed WARs is required). 2. There is no portable

Re: hotfix question

2004-05-18 Thread Daniel Gibby
But what about the most recent version So say that a hotfix is applied to 5.0.25... Is there automatically a new version released at the same time (ie. 5.0.26) or would 5.0.25 be patched in its place? I think the answer is the former, but I'm just making sure. Thanks again, Daniel Shapira,

RE: hotfix question

2004-05-18 Thread Shapira, Yoav
Hi, It's the former: new build. We don't re-tag, re-release, or patch in place for any builds. Yoav Shapira Millennium Research Informatics -Original Message- From: Daniel Gibby [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 10:36 AM To: Tomcat Users List Subject: Re: hotfix

Tomcat and Apache

2004-05-18 Thread mpforste
I am trying to start using Tomcat on my server without having to stop using the Apache and PHP (at least for the moment) While if I select http://localhost:8080/test.jsp it works when I select http://mysite.com/test.jsp it doesn't I have in my Apache config the following extract (which should

RE: [ANN] Apache Tomcat 5.0.24 Stable released

2004-05-18 Thread dontrango
Hi, It's time consuming to keep those documentations and I really appreciate the time and effort spent by the people who maintain them. Just some suggestions to consider: Why not just keep the README in the distribution? It may include the URLs that specify the highlights, caveats, CHANGELOG,

Re: hotfix question

2004-05-18 Thread Daniel Gibby
That's what I thought. Thanks! Shapira, Yoav wrote: Hi, It's the former: new build. We don't re-tag, re-release, or patch in place for any builds. Yoav Shapira Millennium Research Informatics -Original Message- From: Daniel Gibby [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004

RE: Tomcat and Apache

2004-05-18 Thread Dale, Matt
Have a look at the JK or JK2 connectors, they are used to connect Tomcat and Apache webserver. Ta Matt -Original Message- From: mpforste [mailto:[EMAIL PROTECTED] Sent: 18 May 2004 15:43 To: Tomcat Users List Subject: Tomcat and Apache I am trying to start using Tomcat on my server

RE: Is it possible to intercept all requests and be serviced by a ser vlet?

2004-05-18 Thread Chippada, Sreeni
That will solve my issue. Thank you very much, Sreeni -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 10:18 AM To: Tomcat Users List Subject: Re: Is it possible to intercept all requests and be serviced by a ser vlet? It sounds like using a

Mail Delivery (failure tomcat-user@jakarta.apache.org)

2004-05-18 Thread tomcat-user
** ** WARNING: eShield has detected a virus in file attached to this e-mail message! The attachment has been automatically removed to protect your network. eShield Administrator: [EMAIL

Re: taglib - O'Reilly tutorial problem

2004-05-18 Thread QM
On Tue, May 18, 2004 at 10:11:21AM -0400, Zollinhofer, Matt wrote: : Do you have any : suggestions for basic, up to date, solid examples/tutorials that I could : run to a) make sure everything in my Tomcat server is working correctly : b) increases/broadens my knowledge of what goes into typical

Re: tomcat-user Digest 18 May 2004 12:51:46 -0000 Issue 4449

2004-05-18 Thread Roy Smith
On May 18, 2004, at 8:51 AM, [EMAIL PROTECTED] wrote: From: [EMAIL PROTECTED] Date: May 18, 2004 7:39:32 AM EDT To: [EMAIL PROTECTED] Subject: RE: please take me off the mailing list! Have you followed the instructions at the end of the message? Yes I have. I've sent mail to [EMAIL PROTECTED],

RE: tomcat-user Digest 18 May 2004 12:51:46 -0000 Issue 4449

2004-05-18 Thread Ralph Einfeldt
Has your mail address changed or do you now use a different address than in your subscription ? Look at the return path of the mails you receive from the list and you get: Return-Path: tomcat-user-return-26788-your name=your domain@jakarta.apache.org If that doesn't match roy=panix.com use

Re: httpd jk2 connections persisting in CLOSE_WAIT state

2004-05-18 Thread Sam Seaver
OK, ive got some more information here, I forgot that I updated my JK2 configuration file for httpd a little, I wonder if there's anything in it that's wrong? # Alternate file logger [logger.file:0] level=ERROR file=${serverRoot}/logs/jk2.log [workerEnv:] info=Global server options

Re: tomcat hangs

2004-05-18 Thread Daniel Gibby
Well, here's an update on our tomcat 'lockups'. When tomcat 'locks up', it won't answer any requests to any webapp, including the manager webapp, even on port 8080. Apache still runs fine on requests for things that are not directed to tomcat. We are having mixed results right now fixing this.

JKJNI connector.

2004-05-18 Thread Chippada, Sreeni
Hi, I am working with Apache 2.48 and tomcat 5.16. I am able to connect them using the mod_jk2 connector and jkjni connector. My question is with the jkjni connector, both apache and tomcat run in separate processes. Is it possible to configure the jkjni connector so that tomcat runs in

RE: JKJNI connector.

2004-05-18 Thread Dale, Matt
It is supposed to be possible but with that version of tomcat (5.0.16 i'm assuming) it doesnt work. I've not tried yet but it is supposed to now work with the latest version of both tomcat and the connector. You configure this in workers2.properties and set the connector to be inprocess. Ta

RE: JKJNI connector.

2004-05-18 Thread Chippada, Sreeni
Thanks for the reply. -Sreeni -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 2:33 PM To: Tomcat Users List Subject: RE: JKJNI connector. It is supposed to be possible but with that version of tomcat (5.0.16 i'm assuming) it doesnt work. I've

Re: Persistent workspace

2004-05-18 Thread Simon Brooke
-BEGIN PGP SIGNED MESSAGE- On Tuesday 18 May 2004 14:37, rlipi wrote: Hi, see this: Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false There is unpackWARs attribute in the Host element in the

Re: Persistent workspace

2004-05-18 Thread Filip Hanik - Dev
Can it be done? The safest bet is to write to the user's (the user running your tomcat) home directory. The property is user.home (System.getProperty(user.home) Filip - Original Message - From: Simon Brooke [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May

How to detect tomcat down

2004-05-18 Thread Simon Zeng
Hi, I am running Apache 2.0.47 and Tomcat 4.1.24 on Win2K/NT. I would like to monitor the tomcat server and restart it automatically if it is detected down. I did a lot research but could not find any convincing way to do it. Another issue, I am running tomcat load balancing with mod_jk. I

Re: JK2 uri context question

2004-05-18 Thread Jack Lauman
Here's a more detailed description of the problem: Apache 2.0.49 site 'www.domain.com' has a subdirectory called 'members'. Users entering this directory are authenticated using .htaccess. The index.html file in the 'members' directory has a hyperlink to a webapp called 'minutes'

Mod_jk2/unix socket/multiple Tomcat instances: Do I need more than one socket file?

2004-05-18 Thread Clute, Andrew
I am attempting to set up on one box with two separate Tomcat instances, one for dev, and one for stage, all using Unix Sockets. In configuring this, I am wondering if I need to specify a separate socket file for each Tomcat instance, or can they share the same one? Is there a better performance

Re: Persistent workspace

2004-05-18 Thread QM
On Tue, May 18, 2004 at 01:47:32PM -0500, Filip Hanik - Dev wrote: : The safest bet is to write to the user's (the user running your tomcat) home directory. : The property is user.home (System.getProperty(user.home) Not always. Put another way, this would be more specific instructions you'd have

tag library compile

2004-05-18 Thread Zollinhofer, Matt
I get the following error when compiling HelloTag.java (below as well). It has an associated taglib.tld in the lib directory. I thought I found a solution after googling the error that suggested I put servlet.jar in the java classpath. So, I put it in the extentions directory. I could

RE: tag library compile

2004-05-18 Thread Shapira, Yoav
Hi, Did you put the same version of servlet.jar on the classpath as the version that ships with tomcat? However, you should not put this servlet.jar in the extensions (jre/lib/ext) directory: that can break other applications, such as tomcat's examples. Instead, put this in another directory

trick question

2004-05-18 Thread Sam Seaver
Httpd by default, because of the logfile rotation that occurs every Sunday morning at 4am, restarts at the same time. If Tomcat is never re-started, what does this do to the jk2 connection between the two? S - To unsubscribe,

RE: tag library compile

2004-05-18 Thread Zollinhofer, Matt
Would the servlet.jar be in the $CATALINA_HOME directory stucture, or does the installer put it elsewhere on the system? I ask because I can't find the servlet.jar in the $CATALINA_HOME directories.(jre/...) and I didn't realize it shipped with tomcat, that is probably my problem. thanks, matt

Re: How to detect tomcat down

2004-05-18 Thread QM
On Tue, May 18, 2004 at 03:04:28PM -0400, Simon Zeng wrote: : I am running Apache 2.0.47 and Tomcat 4.1.24 on Win2K/NT. I would like to : monitor the tomcat : server and restart it automatically if it is detected down. I did a lot : research but could not find any convincing way to do it. Some

RE: tag library compile

2004-05-18 Thread Shapira, Yoav
Hi, Would the servlet.jar be in the $CATALINA_HOME directory stucture, or does the installer put it elsewhere on the system? I ask because I For tomcat 5, it's $CATALINA_HOME/common/lib/servlet-api.jar. For tomcat 4, it's $CATALINA_HOME/commons/lib/servlet.jar. The name change is related to

Re: Persistent workspace

2004-05-18 Thread Simon Brooke
-BEGIN PGP SIGNED MESSAGE- On Tuesday 18 May 2004 20:29, QM wrote: On Tue, May 18, 2004 at 01:47:32PM -0500, Filip Hanik - Dev wrote: : The safest bet is to write to the user's (the user running your tomcat) : home directory. The property is user.home : (System.getProperty(user.home)

RE: How to detect tomcat down

2004-05-18 Thread Simon Zeng
I can come up with a WatchDog to do the monitoring/restart. But We have a few tomcat instance runing in load balance mode with one Apache dispatching request to them. How could we figure out if one/more(not all) tomcat instances down and how to decide which ones they are? Basically the question is

RE: tag library compile

2004-05-18 Thread Zollinhofer, Matt
Thanks for that clarification, unfortunate name change, but it's helpful to hear that. With servlet-api.jar on the classpath I shouldn't have any problems compiling with these imports right? import javax.servlet.jsp.JspException; import javax.servlet.jsp.JspTagException; import

Re: How to detect tomcat down

2004-05-18 Thread Daniel Gibby
You should know the port/host/IP that each of them are running on. You should be able to request them directly if you have the tomcat standalone service running, which you may or may not. All of this is configured in server.xml Daniel Gibby Simon Zeng wrote: I can come up with a WatchDog to do

RE: How to detect tomcat down

2004-05-18 Thread Randall Svancara
Write a perl script using the perl::LWP module from cpan. You could even get really complex and write some output to a web page that tells you how memory is being used, store that information into a database for statistical reporting purposes, in addition to emailing/paging the system

RE: How to detect tomcat down

2004-05-18 Thread Simon Zeng
Hi guys, Thanks for all your replies. I got the picture and going to do something now. -Simon -Original Message- From: Randall Svancara [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 5:42 PM To: Tomcat Users List Subject: RE: How to detect tomcat down Write a perl script using

Re: tag library compile

2004-05-18 Thread QM
On Tue, May 18, 2004 at 05:33:31PM -0400, Zollinhofer, Matt wrote: : Thanks for that clarification, unfortunate name change, but it's helpful : to hear that. With servlet-api.jar on the classpath I shouldn't have : any problems compiling with these imports right? : : import

show tomcat instance name in mod_jk.log

2004-05-18 Thread Simon Zeng
Another issue, I am running tomcat load balancing with mod_jk. I would like to know from mod_jk.log (or anywhere else?) which tomcat instance the logged message is for so that if there is a problem, i can quickly go to that tomcat. But I could not find how to put the information there. Those

Re: How to detect tomcat down

2004-05-18 Thread Tim Funk
For the load balanced tests, have a special (hidden) JkMount for each tomcat in the cluster. -Tim Simon Zeng wrote: I can come up with a WatchDog to do the monitoring/restart. But We have a few tomcat instance runing in load balance mode with one Apache dispatching request to them. How could we

How to compile sources?

2004-05-18 Thread Sergio
Hello, users. How should I compile mod_jk2 on Windows 2003 EEServer? I've downloaded ant, then i've downloaded jars and archives mentioned in build.xml. Then I run ant in the directory with source. then-nothing happens. no errors, no messages. Just empty string. I have ANT_HOME and in PATH i have

possible to get handle to ServletContext from JNDI java:comp?

2004-05-18 Thread Dev Team
Hi All,   I’m using OpenJMS embedded in my web-app to handle some IO Tasks and the IO tasks have to do with folders in the web-app. I mainly looking to get the fully qualified file system address to the web-app folder which can be done with ServletConfig.getRealPath(string). In a servlet I can

[ANN] new ListenExec alpha (Tomcat reboot runtime)

2004-05-18 Thread QM
This is a holdover from a recent list thread: Tomcat reboot runtime which discussed OS-neutral ways to restart the entire container, from a container-managed resource. If you're familiar with that thread, the latest ListenExec alpha/POC release is available at:

tabindex?

2004-05-18 Thread bensifuentes
From the form can we get access to the tabindex data? If so how is it done?

Re: Disabling Drowser Cache of UID / PW

2004-05-18 Thread Steven J. Owens
On Fri, May 14, 2004 at 04:13:03PM -0400, Ben Souther wrote: I am under a mandate to disable this caching on a global basis, but I have no idea how. Any ideas out there? It's interesting that someone would mandate functionality before finding out if it's possible. While they were at it

RE: Disabling Browser Cache of UID / PW

2004-05-18 Thread Shane Linley
At least in IE, almost anything is possible with the correct ActiveX Control some bad security settings, or click happy users :) Regards, Shane... (happy Mozilla user) -Original Message- From: Steven J.Owens [mailto:[EMAIL PROTECTED] Sent: Wednesday, 19 May 2004 1:32 PM To: Tomcat Users