FOUND VIRUS IN MAIL from tomcat-user@jakarta.apache.org to med-ru@nspoint.net

2004-06-01 Thread virusalert
V I R U S A L E R T Our viruschecker found a VIRUS in your email to [EMAIL PROTECTED]. We stopped delivery of this email! Now it is on you to check your system for viruses In file: /usr/local/mav/basedir/i515iN3s004403/readme.zip Found

Where to put tld files for jarred custom taglibs?

2004-06-01 Thread Keith Hankin
I have created a custom taglib, extending TagSupport. I have packaged the class files into a jar. I have also added the tld file to this jar. I then place this jar file in my war file under WEB-INF/lib. However, no matter where I place the tld file in the jar, it seems that Tomcat is unable to

RE: Where to put tld files for jarred custom taglibs?

2004-06-01 Thread STOCKHOLM, Raymond
How did you locate your tld in your JSP ? something like this ? %@ taglib uri=/WEB-INF/tld/form-tags.tld prefix=ftags % -Message d'origine- De : Keith Hankin [mailto:[EMAIL PROTECTED] Envoyé : mardi 1 juin 2004 08:31 À : [EMAIL PROTECTED] Objet : Where to put tld files for jarred custom

Re: Where to put tld files for jarred custom taglibs?

2004-06-01 Thread Keith Hankin
I locate it as follows: %@ taglib uri=http://website.com/mypkg/mytags.tld; prefix=mypref % , then in my web.xml have the following: taglib taglib-uri http://website.com/mypkg/mytags.tld /taglib-uri taglib-location /mytags.tld

RE: ROOT problems

2004-06-01 Thread Ilan Azbel
I removed the _ directory and all is working now, thanks!!! -Original Message- From: Ariel Valentin [mailto:[EMAIL PROTECTED] Sent: 31 May 2004 06:54 To: [EMAIL PROTECTED] Subject: RE: ROOT problems What version of Tomcat are you using? 2.2 If that is the case I recommend that

RE: Where to put tld files for jarred custom taglibs?

2004-06-01 Thread STOCKHOLM, Raymond
web.xml : taglib taglib-uriform-tags/taglib-uri taglib-location/WEB-INF/tld/form-tags.tld/taglib-location /taglib JSP : %@ taglib uri=/WEB-INF/tld/form-tags.tld prefix=ftags % I declared as above, and it worked for me, don't ask me why :-) -Message

Re: Where to put tld files for jarred custom taglibs?

2004-06-01 Thread Keith Hankin
Where did you put the tld file in your jar file? Did you also put the jar into a war file? - Original Message - From: STOCKHOLM, Raymond [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 12:44 PM Subject: RE: Where to put tld files for jarred custom

RE: Remote Start / Stop of tomcat

2004-06-01 Thread UmamaheswarKalluru
Any one please? Thank you, Best Regards, Uma Schalk [EMAIL PROTECTED] o.za

RE: combined http and https

2004-06-01 Thread Mariano
Hi José Manuel, if you have already configured your tomcat to work with SSL you can filter all pages you want with the following lines in web.xml context file: security-constraint web-resource-collection web-resource-nameSSL Pages/web-resource-name

RE: Where to put tld files for jarred custom taglibs?

2004-06-01 Thread STOCKHOLM, Raymond
I put the tld file in $MYAPPLICATION/WEB-INF/tld/form-tags.tld My application is delivered as a war (which tomcat expands), and contains $MYAPPLICATION/WEB-INF/tld/form-tags.tld (I don't have any other jar, except the war) -Message d'origine- De : Keith Hankin [mailto:[EMAIL PROTECTED]

SSL load

2004-06-01 Thread Jesse Beaumont
Hi, Has anyone had success using tomcat and SSL under high loads? Are there any production environments out there that use this configuration with peak loads of more than, say, 30 rps? In particular, I'm looking for windows XP or 2K3 deployments. I'd really appreciate any positive or

Important

2004-06-01 Thread remm
Important document! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Disable HTTP 1.1

2004-06-01 Thread Venkat Raghavan
Hi, I am using Tomcat 4.1. Is it possible to configure Tomcat so that it is compatible with only HTTP1.0. Basically I want to disable HTTP1.1 functionality. I know it is backward compatible with HTTP1.0, but i want to disable HTTP1.1 functionality. If this is not possible, in which version of

Re: ErrorPage.jsp - how to get the address of the offending page?

2004-06-01 Thread Dola Woolfe
Does the request attribute javax.servlet.error.request_uri suit your needs ? (from the servlet spec, SRV.9.9.1) Actually returns null. I'm using Tomcat 3; Could that be the reason? Here's my snippet: %@ page isErrorPage=true% %

RE: Remote Start / Stop of tomcat

2004-06-01 Thread Adam Buglass
Think of it as a secure telnet! Do a google search for more info. Also do a google search for Putty which is an SSH client for Windows. It'll probably tell you all about SSH and it's one of (if not the) best windows SSH client around. (If you're using Unix try typing: ssh

Apache 2.0.49/mod_jk2.02 doesn't distribute load evenly to 2x Tomcat5.0.19 under high load.

2004-06-01 Thread Michael Echerer
Hello, I stumbled upon a serious issue with the load balancing of mod_jk2. Currently I'm doing load testing with The Grinder. My config is: 1x Apache 2.0.49 compiled with openssl (rest is default, prefork, etc.). mod_jk2.0.2 and 2x Tomcat 5.0.19 on Solaris 2.8. With The Grinder I put a high load

RE: Remote Start / Stop of tomcat

2004-06-01 Thread Schalk
I second that, if you are on windows download 'Putty' and for uploading and downloading files via SSH download 'psftp', it is by the same company. They work absolutely great. Just check with whom ever administers your server that SSH is installed. Kind Regards Schalk Neethling Web

SSL Client Authorization

2004-06-01 Thread Sander Smith
I'm writing an application with SSL that's been working fine, and would like to enable client authorization. It seemed like the thing to do was go to my connector (org.apache.coyote.tomcat5.CoyoteConnector) and enable it there. Lo and behold there is a method (setClientAuth) that seems to do

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-06-01 Thread James Sherwood
Ran out of memory last night again Set to 512m and ran out at 284m Maybe I am missing a paramater in the tomcat setup on windows or something Frustrating James - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, May 31, 2004

RE: Remote Start / Stop of tomcat

2004-06-01 Thread UmamaheswarKalluru
Hi Schalk, I have downloaded putty and I am really struck on how to use it. I never used Telnet before. Can you help me with the commands that are needed to start / stop tomcat on remote machine please? Thank you, Best Regards, Uma

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-06-01 Thread Mark Lowe
I have this in our startup scripts export CATALINA_OPTS=-Djava.awt.headless=true -Xmx128m -Xdebug Perhaps the debug argument might reveal something. I cant be much help on windows matters as I try not to get involved with anything like that. My app is still running, but linux not windows so i

Re: Where to put tld files for jarred custom taglibs?

2004-06-01 Thread Keith Hankin
OK, but I want the tld file to be in my jar file. I want it packaged along with the class files that implement the taglib functionality. - Original Message - From: STOCKHOLM, Raymond [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 12:56 PM Subject:

RequestDispatcher in jspInit() ?

2004-06-01 Thread Jerry Miernik
Is it possible to use RequestDispatcher's include method inside a jspInit(), to execute another JSP script while this JSP script is in its jspInit() method? Thanks, Jerry. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Page output is disappearing

2004-06-01 Thread Keith Hankin
Does anyone know any conditions under which writing to the JspWriter will not result in any output? I have a custom taglib class that extends BodyTagSupport. The doStartTag() method returns EVAL_BODY_BUFFERED. I then have another custom taglib class that is a child of this tag, which extends

RE: Remote Start / Stop of tomcat

2004-06-01 Thread Adam Buglass
Hi Uma. On using PuTTy I suggest you look for the online documentation. The best way is to have the .exe file on your desktop. Just double-click it and take it from there. It's fairly intuitive or at least I found it so. Once you are logged into the remote machine go into your tomcat directory

RE: Remote Start / Stop of tomcat

2004-06-01 Thread Schalk
Uma After launching Putty, leave everything at their default setting and type in your server's IP address. Click Open. On the first alert window that pops up read the text and click either Yes or No. Next it will ask you to type in your username and then password. While you are typing the

Re: RequestDispatcher in jspInit() ?

2004-06-01 Thread Tim Funk
No -Tim Jerry Miernik wrote: Is it possible to use RequestDispatcher's include method inside a jspInit(), to execute another JSP script while this JSP script is in its jspInit() method? Thanks, Jerry. - To unsubscribe,

Re: Page output is disappearing

2004-06-01 Thread Tim Funk
Off chance, are you using tag-pooling? Try turning that off and see what happens. -Tim Keith Hankin wrote: Does anyone know any conditions under which writing to the JspWriter will not result in any output? I have a custom taglib class that extends BodyTagSupport. The doStartTag() method returns

RE: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-06-01 Thread Jagsir.Dhillon
Hi Mark, This option -Xmx128m Will cause OutOfMemory for you, As it basically sets maximum Java heap size, which will cause JVM to through whenever the limit is reached. Set it to a high value. Chall, -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Tuesday, June

Re: Remote Start / Stop of tomcat

2004-06-01 Thread Parsons Technical Services
Uma, Set the communication type to ssh. This is much more secure than telnet. (Otherwise they work the same) You will be prompted about a certificate. If your IP is correct(Are you talking to the correct machine) then you should accept it. For a window user it is a strange world in the land of

RE: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-06-01 Thread Jagsir.Dhillon
Hi James, You have said windows doesnt accept -server I believe you have either - Installed the pre 1.3.0 version of JVM - Your %JAVA_HOME%/bin does not have this server directory For the second part what you can do is copy everything (only jvm.dll is required mostly)

Re: SSL Client Authorization

2004-06-01 Thread Parsons Technical Services
Sander, If what you want is to have the client present a certificate for validation, then in your connector have something like clientAuth=true See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html If you are looking for something different let us know. Doug

Re: Where to put tld files for jarred custom taglibs?

2004-06-01 Thread M.Hockings
STOCKHOLM, Raymond wrote: How did you locate your tld in your JSP ? something like this ? %@ taglib uri=/WEB-INF/tld/form-tags.tld prefix=ftags % -Message d'origine- De : Keith Hankin [mailto:[EMAIL PROTECTED] Envoyé : mardi 1 juin 2004 08:31 À : [EMAIL PROTECTED] Objet : Where to put tld

Re: Tomcat starts poorly on Windows XP

2004-06-01 Thread Joel Shprentz
The problem continues with both jakarta-tomcat-5.0.24.exe and jakarta-tomcat-5.0.24.zip. At 12:41 AM 5/27/2004, Joel Shprentz wrote: A search of the tomcat-user archives suggests that this is a new way for Tomcat to start poorly on Windows XP. Below is stdout.log after a clean install of

(SOLVED) Remote Start / Stop of tomcat

2004-06-01 Thread UmamaheswarKalluru
Hi, Thank you all for the reply. I got it now. It seems to be similar to PCAnywhere but more secure. I got connected to the server and everything is working fine. Thanks again Thank you, Best Regards, Uma - To unsubscribe,

web.xml file problem

2004-06-01 Thread UmamaheswarKalluru
Hi, This is my web.xml file. I dont know whats wrong here but my first session gets expired. When I remove the error-page and welcome file list, then everything works fine. Am I wrong somewhere? ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD

RE: Disable HTTP 1.1

2004-06-01 Thread Shapira, Yoav
Hi, From the HTTP Connector configuration page: HTTP/1.1 and HTTP/1.0 Support This Connector supports all of the required features of the HTTP/1.1 protocol, as described in RFC 2616, including persistent connections, pipelining, expectations and chunked encoding. If the client (typically a

Re: web.xml file problem

2004-06-01 Thread Tim Funk
The dtd (http://java.sun.com/dtd/web-app_2_3.dtd) says that welcome-file-list must appear before error-page -Tim [EMAIL PROTECTED] wrote: Hi, This is my web.xml file. I dont know whats wrong here but my first session gets expired. When I remove the error-page and welcome file list, then

RE: JSVC to run tomcat?

2004-06-01 Thread Shapira, Yoav
Hi, That's mostly right on: I'll add a couple of small things. As for exactly, I can't say, but my understanding is that jsvc start the process, in this case tomcat, then after tomcat has allocated the ports on 80 and/or 443 the privileges are then change to the level of the user specified in

RE: QoS in Tomcat?

2004-06-01 Thread Shapira, Yoav
Hi, As an aside, 5.0.26 will have request processor thread priority settable as an attribute on the connector. Definitions of QoS are vast and varied. Asking where to start is kind of like asking where to start when you write a constitution ;) Yoav Shapira Millennium Research Informatics

RE: Log4j Problem w/Tomcat 5.0.24 and JSVC

2004-06-01 Thread Shapira, Yoav
Hi, Added to the FAQ (misc section). Yoav Shapira Millennium Research Informatics -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Friday, May 28, 2004 6:12 PM To: Tomcat Users List Subject: Re: Log4j Problem w/Tomcat 5.0.24 and JSVC Ok this time I got it

RE: Memory problems with Tomcat 4.1.27

2004-06-01 Thread Shapira, Yoav
Hi, You can check the Sun site and places like javaperformancetuning.com for papers on heap versus overall app memory. This has also been addressed several times on this list, so an archive search might prove interesting. You might have a memory leak: run inside a profiler to see if there are

RE: Restricting IPs in Tomcat

2004-06-01 Thread Shapira, Yoav
Hi, The Remote Address Valve: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html. (Also easy to implement as a Filter, but that portability will come at a performance cost). Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED]

Re: SSL Client Authorization

2004-06-01 Thread Sander Smith
Doug, Thanks for your help but this isn't what I need. Yes, I want the client to present a certificate for validation during the SSL handshake, but your solution is not available to me. You suggest putting something in a config file, but I'm running Tomcat embedded, so all of the configuration

Tomcat group

2004-06-01 Thread Ram Mahajan
Can someone tell me which email address I need to use to unsubscribe from this group ? Thanks Ram

Re: Tomcat starts poorly on Windows XP

2004-06-01 Thread Jacob Kjome
I suggest extracting Tomcat to a directory path with no spaces. Tomcat *should* work with spaces in the path, but experience tells me to avoid this. Jake At 08:27 AM 6/1/2004 -0400, you wrote: The problem continues with both jakarta-tomcat-5.0.24.exe and jakarta-tomcat-5.0.24.zip. At 12:41 AM

Re: Tomcat group

2004-06-01 Thread Adam Buglass
I have an idea - check the mail archives... ;-) There should be an address in the footer at the bottom of this message. Make sure you click the one to unsubscribe to the list, not the digest. Adam. On Tue, 2004-06-01 at 14:29, Ram Mahajan wrote: Can someone tell me which email address I need

mod_jk2 + tomcat 5.0 stucks on IIS

2004-06-01 Thread Valter G. Nogueira Jr.
I have installed mod_jk2 to connect tomcat 5.0 and IIS 5.0. Everything appears to be correct but it doesn't work - of course since I am posting this :) When I try to open a tomcat served page, IE waits it for long time and can't open the page. Pointing to any page else, IIS serves it as

Deployment Issue

2004-06-01 Thread McClure, Timothy J\(GE Infrastructure\)
We need to have the ability for third parties to deploy their application underneath ours (in the same webapp directory structure). I would like to specify that each third party place there jar files under the lib directory as lib/application_name. Is it possible to do this? Will Tomcat

RE: RequestDispatcher in jspInit() ?

2004-06-01 Thread Jerry Miernik
Tim, thanks. Then, is it possible to use jsp:... tags inside jspInit()? I am asking because it seems possible to use a JavaBean inside jspInit(). However, usage of a JavaBean has to be declared with jsp:useBean ..., and executed with, for example, jsp:setProperty Is there a

Re: RequestDispatcher in jspInit() ?

2004-06-01 Thread Tim Funk
You can use JavaBeans in jspInit. But jsp:anything requires a pageContext to operate on. A pageContext doesn't exist (isn't avialble) during jspInit(). If you wish to set properties, you'll need to use the servletConfig object. From there, you can access the ServletContext(all via java code -

RE: ErrorPage.jsp - how to get the address of the offending page?

2004-06-01 Thread Mike Curwen
Yes, that would be the reason. From the corresponding section of the spec for servlet 2.2: If the location of the error handler is a servlet or a JSP, the following request attributes can be set: . javax.servlet.error.status_code . javax.servlet.error.exception_type . javax.servlet.error.message

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-06-01 Thread Mark Lowe
Been fine up until now. I want to limit the ram assigned to each webapp, but if this is the wrong way of doing this then I'd appreciate being told what the correct argument would be. The only out of memory problems I had were caused by some shadiness between jk and coyote. but seems to be

newbie with problems

2004-06-01 Thread Nina Aschenbrenner
We have written some Servlets which should be invoked by a push dll getting the url from a irda beacon. problem is that our beacon can't manage to save the whole path. we tried to create a new context for our servlet, so it should be invoked via ip-adress:portnumber but that didn't work. can

jkstatus - what does it all mean?

2004-06-01 Thread Chad Morris
Does anyone where a doc exists that explains the jkstatus page for mod_jk2 ver. 2.0.4? This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom it is addressed. If you are not the intended recipient or the person

RE: Clustering / Load Balancer / Session Cookie

2004-06-01 Thread Dale, Matt
Just a quick post to say thanks, we went live using pen and 3 clustered instances of 5.0.25 today and its working a treat. Load is spread almost perfectly. The only feature I would have as a nice to have would be to apply wieghtings to the target hosts but other than that spot on and no

Re: SSL Client Authorization

2004-06-01 Thread Jim Hopp
According to this link http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html possible values are true, want, and (I presume) false. I use client authentication in (non-embedded) Tomcat, and true does indeed require client authentication. -Jim Sander Smith wrote: Doug, Thanks for your

Error: Unexpected Signal

2004-06-01 Thread Malai
Hi., I have a native dll and i'm trying to access in my web application. I'm getting this below error.I did use the differnent jvm but no luck. My environements are Tomcat 4.1.29 ,Windows 2000 , J2SDK 1.4.2_03 Can any one look in to this and share your ideas please. Thanks., MALAI ERROR:-

RE: Clustering / Load Balancer / Session Cookie

2004-06-01 Thread Kommuru, Bhaskar
Dale, Is it better than mod_jk2? Thanks -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 4:50 PM To: Tomcat Users List Subject: RE: Clustering / Load Balancer / Session Cookie Just a quick post to say thanks, we went live using pen and 3

JSVC problems with Tomcat 5.0.19 Linux

2004-06-01 Thread Ashwin Desai
Hi, I am trying to get Tomcat 5.0.19 to run as a non-root user using commons daemon - jsvc on a linux machine. uname -a Linux rx2600 2.4.20-cgl-1.12-mckinley-smp #1 SMP Tue Sep 23 09:21:46 MDT 2003 ia64 unknown I got the following error in the log file syscall failed in set_caps service exits

RE: Error: Unexpected Signal

2004-06-01 Thread Jagsir.Dhillon
Try running with '-verbose:jni' option for more information (I used the tiger release) -Original Message- From: Malai [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 8:30 PM To: Tomcat Users List Subject: Error: Unexpected Signal Hi., I have a native dll and i'm trying to

Starting Tomcat as service with VMWare

2004-06-01 Thread Weseloh, Nicole
Hi everybody, in order to simulate a Tomcat-cluster, I've got VMWare running at my system (both host and virtual system are WinXP Pro), also running Tomcat 5.0.19 at the host system. I tried to install Tomcat at the virtual system, too, but failed: I can only start it via startup.bat - it

RE: JSVC problems with Tomcat 5.0.19 Linux

2004-06-01 Thread Shapira, Yoav
Hi, Well, you run jsvc as root and it the changes itself the tomcat user. Yoav Shapira Millennium Research Informatics -Original Message- From: Ashwin Desai [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 11:10 AM To: Tomcat Users List Subject: JSVC problems with Tomcat 5.0.19

RE: JSVC problems with Tomcat 5.0.19 Linux

2004-06-01 Thread Jagsir.Dhillon
Unix system (even Linux) does not allow normal users to bind at ports 1024, Use some port number 1024 or you need to configure your user for permission to bind to a port 1024. Changa fer. -Original Message- From: Ashwin Desai [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 8:40

Re: Tomcat 5: default unpackWARs bahaviour?

2004-06-01 Thread john cho
Hi, I have war file to be deployed at /webapps. However, if i don't have a ending / at the end of docBase and path, it does not expand. So, one of the admins puts / at the end of docBase and path attriubtes in the Context, it starts to expand, however, it has been creating another problems. I

RE: JSVC problems with Tomcat 5.0.19 Linux

2004-06-01 Thread Shapira, Yoav
Hi, I suggest you read about JSVC or otherwise inform yourself about the tool before making that general port 1024 statement ;) JSVC is intended exactly to allow non-root users to run tomcat on ports 1024. Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL

Jk2 compiling problem sorted ..Do you know.. How?

2004-06-01 Thread Kommuru, Bhaskar
Hi Dale and Igor Thanks for helping me out. At last we sorted our jk2 connector compilation. There was a problem with our Make command that came with solaris2.8. I have down loaded latest and it worked smoothly. Now web application (in tomcat) availability is the problem! While tomcat is still

Re: Jk2 compiling problem sorted ..Do you know.. How?

2004-06-01 Thread Filip Hanik - Dev
Any clues on sorting this problem alternately? don't start apache until tomcat is up and running - Original Message - From: Kommuru, Bhaskar [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 10:15 AM Subject: Jk2 compiling problem sorted ..Do you

RE: Error: Unexpected Signal

2004-06-01 Thread Kommuru, Bhaskar
Check this native lib needs auhentication before you access/ if it itself have read permissions? Ohh... those native calls are very frustrating. Some times problems are very intermittent and can not reproduce. -Original Message- From: Malai [mailto:[EMAIL PROTECTED] Sent: Tuesday, June

RE: Jk2 compiling problem sorted ..Do you know.. How?

2004-06-01 Thread Kommuru, Bhaskar
Any clues on sorting this problem alternately? don't start apache until tomcat is up and running In case if tomcat mechine failed some reason and needs to be restarted? - Original Message - From: Kommuru, Bhaskar [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday,

RE: Clustering / Load Balancer / Session Cookie

2004-06-01 Thread Dale, Matt
It depends what you mean by better. We have not thoroughly benchmarked it but I believe the throughput it better with pen as it is much simpler in many ways. JK2 allows you finer grained control over individual contexts. Pen just redirects TCP/IP packets where with JK2 you have to go through

RE: Jk2 compiling problem sorted ..Do you know.. How?

2004-06-01 Thread Dale, Matt
You asked about pen in my other thread, it could take care of this for you in that you could blacklist the failed server for a period of time so that no requests are directed to it. I dont know how well JK2 handles failover but perhaps you could have another workers2.properties that didnt

Re: Memory problems with Tomcat 4.1.27

2004-06-01 Thread john cho
There could be many issues related with this kind of problems. 1. Based upon your large loading process, check your database with your dba such as how many open cursors and so on. 2. u did not close each connection, statement, resultset and it keeps building up. 3. I guess u are looping thru

Re: Jk2 compiling problem sorted ..Do you know.. How?

2004-06-01 Thread Filip Hanik - Dev
In case if tomcat mechine failed some reason and needs to be restarted? shutdown apache too(cronjob to check), and have your loadbalancer go to another machine - Original Message - From: Kommuru, Bhaskar [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, June 01,

RE: Jk2 compiling problem sorted ..Do you know.. How?

2004-06-01 Thread Dale, Matt
For future info you're almost always better off with all the GNU tools for apache products. The tools supplied with solaris dont always work as well as they should. Ta Matt -Original Message- From: Kommuru, Bhaskar [mailto:[EMAIL PROTECTED] Sent: 01 June 2004 16:16 To: 'Tomcat Users

RE: JSVC problems with Tomcat 5.0.19 Linux

2004-06-01 Thread Jagsir.Dhillon
Hi Yoav Shapira, Look into a simple unix administration book - for granting rights for ports(binding) to non-root user and u might save some time (may be money too) for this tool. Regards, Jagsir -- Thanks lord for giving some of us a bit lateral thinking. -Original Message- From:

wc_get_worker_for_name, done did not found a worker - Plea for help

2004-06-01 Thread Barry Roberts
I'm getting desperate to get mod_jk working in apache on RHES 3 talking to tomcat 5.0.19 on (another) RHES3. I'm getting the error from the subject line if I set JkLogLevel to debug. In the browser I see 500's for ANY servlet. I've tried the RHES3 apache2 rpms (httpd-2.0.46-25.ent), building

RE: JSVC problems with Tomcat 5.0.19 Linux

2004-06-01 Thread Shapira, Yoav
Hi, I'll make sure to check this out. Maybe all of us just wasted time creating this tool since we apparently don't know simple unix administration ;) Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June

RE: ErrorPage.jsp - how to get the address of the offending page?

2004-06-01 Thread Dola Woolfe
So am I out of luck or is there an alternative way? --- Mike Curwen [EMAIL PROTECTED] wrote: Yes, that would be the reason. From the corresponding section of the spec for servlet 2.2: If the location of the error handler is a servlet or a JSP, the following request attributes can be

Two hosts setup, jsp won't work!

2004-06-01 Thread Nadia Kunkov
Hi, I run Tomcat5.0.24 on Fedora Core 1. I have two hosts defined in server.xml in a following way: Host name =WebTest1.something.com debug=0 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false lNamespaceAware=false

Re: Error: Unexpected Signal

2004-06-01 Thread Malai
Hi., The same web-app with dll is working in one particular machine. OS and JDK everything is exactly the same that i mentioned earlier. But other machine with same environement is giving problems. I did compare everything with both machines. Everything looks exactly the same. Any

RE: ErrorPage.jsp - how to get the address of the offending page?

2004-06-01 Thread Frank Zammetti
Try looking for the attribute request_uri without the whole class specification before it... it still may not be available in Tomcat 3.x, and I've seen reference to looking it up the way you are, but I'm fairly certain that attribute is present in current Tomcat versions as just request_uri,

System.out logging

2004-06-01 Thread Matt Tucker
Is there a way to have tomcat log all System.out printing to a daily log rather than have them constantly piling up in catalina.out? Can this be done using SystemOutLogger? The documentation on it seems pretty sparse. This is what it looks like in my server.xml: Logger

Re: Two hosts setup, jsp won't work!

2004-06-01 Thread QM
On Tue, Jun 01, 2004 at 11:48:45AM -0400, Nadia Kunkov wrote: : I run Tomcat5.0.24 on Fedora Core 1. I have two hosts defined in server.xml : in a following way: First things first -- if you're going to use multiple virtual hosts, you'd do well to either 1/ use separate appBase dirs, or 2/

Re: System.out logging

2004-06-01 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#catalina.out -Tim Matt Tucker wrote: Is there a way to have tomcat log all System.out printing to a daily log rather than have them constantly piling up in catalina.out? Can this be done using SystemOutLogger? The documentation on it seems pretty

Re: wc_get_worker_for_name, done did not found a worker - Plea for help

2004-06-01 Thread Barry Roberts
Oops, I just noticed that I cut and pasted from two different places. My httpd.conf from apache1 is looking for a worker lb and the workers.properties from apache2 doesn't have that. Here are the correct lines from the apache2 httpd.conf JkWorkersFile

[ANN] new ListenExec alpha (Tomcat reboot runtime)

2004-06-01 Thread QM
ListenExec listens on a port and executes commands when called. It is written in Java, and should run under any Java-capable OS. The original design goal was a means to restart Tomcat, from Tomcat. (ListenExec was created as a proof-of-concept, inspired by a tomcat-user mailing list thread

RE: Two hosts setup, jsp won't work!

2004-06-01 Thread Nadia Kunkov
Thanks for your advise. I did what you said. The jars have unique classes. Also the exact same application works on my other machine (exact jars and everything else), but the other machine runs Red Hat 9 and Tomcat 4.X.X and here I'm trying to install this app on Fedora Core 1 and Tomcat

RE: Memory problems with Tomcat 4.1.27

2004-06-01 Thread Anand Narasimhan
Hi, Thanks for the reply. I will check with our database guys and let you know. Anand -Original Message- From: john cho [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 8:32 AM To: Tomcat Users List Subject: Re: Memory problems with Tomcat 4.1.27 There could be many issues

RE: Memory problems with Tomcat 4.1.27

2004-06-01 Thread Anand Narasimhan
Hi, Thanks for your reply. I tried running tomcat inside OptimizeIt memory profiler. But Optmizeit seems to be adding more load to the tomcat process. Optimizeit indicates that the heap usage is well within the limits. But the overall memory keeps increasing. Right now we cannot upgrade the

Programmatic Authentication?

2004-06-01 Thread Carl Howells
Is it possible to set the Principal and Roles for a session in a manner which will satisfy a role-name security constraint programmatically? At all? I don't mind ignoring the servlet spec and doing something tomcat-specific. This is something that vitally needs to be done on my project.

RE: Memory problems with Tomcat 4.1.27

2004-06-01 Thread Bret Kumler
Try using http://research.sun.com/projects/jfluid/ -Original Message- From: Anand Narasimhan [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 11:27 AM To: 'Tomcat Users List' Subject: RE: Memory problems with Tomcat 4.1.27 Hi, Thanks for your reply. I tried running tomcat

Limit to number of web applications

2004-06-01 Thread Rob Wichterman
I was wondering if there is any type of limit to how many web applications you can run with tomcat. I am only looking at about 5 concurrent users per application. I have 5 deployed right now and was wondering if I should keep deploying or install another tomcat. I am going to eventually need to

Re: Limit to number of web applications

2004-06-01 Thread Tim Funk
AFAIK, its up to the amount of memory you have. -Tim Rob Wichterman wrote: I was wondering if there is any type of limit to how many web applications you can run with tomcat. I am only looking at about 5 concurrent users per application. I have 5 deployed right now and was wondering if I should

tomcat daily restart

2004-06-01 Thread Marco Pöhler
Hi, somewhere in my web application is a memory leak, and the tomcat hangs after a week and /etc/init.d/tomcat stop won't work also. The application will be rewritten, so it is not important to find the leak. I'm currently think it is okay to restart the tomcat every night. I wrote the simple

RE: tomcat daily restart

2004-06-01 Thread Shapira, Yoav
Hi, Well, you're killing all java processes. That seems a bit excessive, especially running as root since you WILL kill other people's jobs. You didn't specify your tomcat version. Assuming it's from within the last year, there is a catalina-pid option you can set in

RE: JSVC problems with Tomcat 5.0.19 Linux

2004-06-01 Thread Ashwin Desai
Hi Yoav, I know that's how jsvc is supposed to run IDEALLY. However, I am having problems with it on the linux platform that I have listed in my email below. Has anyone else seen these issues ? Any solutions ? Please let me know Thanks, Ashwin. --- Shapira, Yoav [EMAIL PROTECTED] wrote:

JK2: Error ajp_marshal_into_msgb - No such method \x80L\x01\x03\x01

2004-06-01 Thread Dichen Mao
Hi, Settings: Linux Apache 2.0.49 JK2 unknown version Tomcat 5.0.24 I'm trying to pick up apache/jk2/tomcat which was partially setup by another guy. The same setting was initially working on last Saturday, and when I came back on Monday, the http (port 80) was working but the https (port

Re: JSVC problems with Tomcat 5.0.19 Linux

2004-06-01 Thread QM
On Tue, Jun 01, 2004 at 01:16:38PM -0700, Ashwin Desai wrote: : Has anyone else seen these issues ? Any solutions ? 1/ Perhaps -- in my (limited) experience with jsvc under Linux, I noticed that I have to start jsvc as root. The process still runs as the specified user, but root must run the

How to get the offending uri when handling a 404 error?

2004-06-01 Thread Joseph Shraibman
I put this in my web.xml: error-page error-code404/error-code location/404.jsp/location /error-page ... and this in 404.jsp: ErrorData ed = pageContext.getErrorData(); if (ed != null) url = ed.getRequestURI() ; but it throws: StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw

  1   2   >