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

2004-05-31 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: http://website.com/mypkg/mytags.tld /mytags.tld I also try specifying taglib-location as

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

2004-05-31 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 cu

Where to put tld files for jarred custom taglibs?

2004-05-31 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 find

FOUND VIRUS IN MAIL from to

2004-05-31 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

Restricting IPs in Tomcat - update

2004-05-31 Thread muss
Hi Everyone, Please ignore previous email, I just discovered the Remote Host Filter. Which I think will solve my problem. Sorry for the extra emails, but hopefully someone may find it interesting and useful. Thanks again for your time. Kindest Regards, Matt Anderson

Restricting IPs in Tomcat

2004-05-31 Thread muss
Hi everyone, Would anyone know by an chance how to restrict particular IPs e.g. 5.2.*.* directly in tomcat? I have searched the net but I am unable to find any resources on this topic. I am aware you can do it in apache but I would greatly prefer it if you can do it in directly in tomcat somehow.

RE: Remote Start / Stop of tomcat

2004-05-31 Thread Paul Wallace
Can one achieve this (Tomcat restart) using a mobile device? WAP? I suppose that violates all manner of security protocols? Paul. On Mon, May 31, 2004 at 09:49:38AM +0530, [EMAIL PROTECTED] wrote: : Once in a week I need to restart Tomcat due to "OutofMemoryError". But I do : not have access t

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-05-31 Thread Mark Lowe
300 mb sounds a lot, i've got a hibernate and struts flavored app running with a 128 limit, and thats being generous. I haven't measured anything but top looks happy, with 5.0.25 with jk to apache 2.0.47. Had a bit of traffic this afternoon albeit nothing heavy, had 5 simultaneously this aft

Re: File writing using servlet

2004-05-31 Thread Parsons Technical Services
Use file IO. Please explain further what you wish to do and we can give you further directions. Doug - Original Message - From: "Teja Jo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 31, 2004 10:32 AM Subject: File writing using servlet > Hello everyone, > Please tel

RE: ROOT problems

2004-05-31 Thread Ariel Valentin
What version of Tomcat are you using? 2.2 If that is the case I recommend that you upgrade to at least 4.0.6 Are you getting an http 404 error? If this is the case try shutting down tomcat and the go into your $Catalina_Home/work/Standalone/localhost and delete the folder that is named ROOT or it

Re: File writing using servlet

2004-05-31 Thread QM
On Mon, May 31, 2004 at 07:32:35AM -0700, Teja Jo wrote: : Please tell me how to write a .bmp file on the tomcat server of a : servlet using the same servlet. Please explain -- are you trying to: 1/ send a bmp file to the remote browser 2/ write a bmp file to the filesystem on the Tomcat host 3/

Re: ROOT problems

2004-05-31 Thread QM
On Mon, May 31, 2004 at 10:18:12AM +0200, Ilan Azbel wrote: : I am having trouble locating the ROOT of my tomcat server. : I have a line in the server.xml file that reads: : : I place a file index.html in /usr/tdk-2.2/webapps/ROOT/ : When I browse to my server it doesn't seem to locate this file.

Re: Remote Start / Stop of tomcat

2004-05-31 Thread QM
On Mon, May 31, 2004 at 09:49:38AM +0530, [EMAIL PROTECTED] wrote: : Once in a week I need to restart Tomcat due to "OutofMemoryError". But I do : not have access to the server for doing this. So, I am looking for a : mechanism (if possible) to start / stop Tomcat remotely. Is this possible? Somet

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-05-31 Thread James Sherwood
Thanks Mark, I have it currently running bypassing the mod_jk with rewrite to port 8080. The memory has ramped to 327 mb so far which is not anything to worry about. I had this problem on our linux box but I had forgotten the -server option and that took care of it. The problem is, windows doesn

RE: Cluster problem ??

2004-05-31 Thread Filip Hanik \(lists\)
next major release will have this feature -Original Message- From: Eric Chow [mailto:[EMAIL PROTECTED] Sent: Monday, May 31, 2004 3:12 AM To: Tomcat Users List Subject: Cluster problem ?? Hello, I setup two Tomcat5 in cluster mode. If it is possible to synchronize all the application f

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-05-31 Thread Mark Lowe
I've just set 5.0.25 up and it will run with mod_jk/1.2.3-dev and Apache/2.0.47 , I'll see if i get the same thing happening. When i was having problems i was getting a decoding error written to catalina log, which 5.0.24+ hasn't given me. 5.0.24 has been working quite happily but the next man

File writing using servlet

2004-05-31 Thread Teja Jo
Hello everyone, Please tell me how to write a .bmp file on the tomcat server of a servlet using the same servlet. Regards, Teja jo. - Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger

RE: Secure web.xml and WEB-INF

2004-05-31 Thread Schalk
If you want to make sure, you can always include this in your httpd.conf or mod_jk.conf depending on what route our go: AllowOverride None deny from all Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.con

Re: Secure web.xml and WEB-INF

2004-05-31 Thread Ryan Stewart
-Original Message- From: "Bond, James Bond"<[EMAIL PROTECTED]> To: "Tomcat Users List"<[EMAIL PROTECTED]> Date: Sun May 30 22:40:16 PDT 2004 Subject: Secure web.xml and WEB-INF >Hello. Please, give me some tips how to secure (deny for reading in >browser) access to web.xml and WEB-INF fold

Re: Secure web.xml and WEB-INF

2004-05-31 Thread Ryan Stewart
-Original Message- From: "Bond, James Bond"<[EMAIL PROTECTED]> To: "Tomcat Users List"<[EMAIL PROTECTED]> Date: Sun May 30 22:40:16 PDT 2004 Subject: Secure web.xml and WEB-INF >Hello. Please, give me some tips how to secure (deny for reading in >browser) access to web.xml and WEB-INF fold

Re: Secure web.xml and WEB-INF

2004-05-31 Thread Ryan Stewart
-Original Message- From: "Bond, James Bond"<[EMAIL PROTECTED]> To: "Tomcat Users List"<[EMAIL PROTECTED]> Date: Sun May 30 22:40:16 PDT 2004 Subject: Secure web.xml and WEB-INF >Hello. Please, give me some tips how to secure (deny for reading in >browser) access to web.xml and WEB-INF fold

Re: Cluster problem ??

2004-05-31 Thread Peter Rossbach
Hello, the easy way is to deploy all your application with ant scripts. Use a foreach task and the remote manager app catalina-ant task or with ant 1.6.1 jssh scp tasks. regards Peter Dale, Matt schrieb: This functionality is not available yet. It is called cluster farming I believe and is sched

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-05-31 Thread James Sherwood
There are no errors anywhere that I can find in any logs. The memory just slowly ramps up till an out of memory error happens. James - Original Message - From: "Mark Lowe" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, May 31, 2004 9:04 AM Subject: Re: Tom

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-05-31 Thread Mark Lowe
What does your catalina log have to say for itself? On 31 May 2004, at 13:59, James Sherwood wrote: As I posted before, I get a memory leak using mod_jk 1.2 with Tomcat 5.0.25 and Apache 2.049 I beleive it may be related to the mod_jk connector and since I am not actually serving up anything wit

Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-05-31 Thread James Sherwood
As I posted before, I get a memory leak using mod_jk 1.2 with Tomcat 5.0.25 and Apache 2.049 I beleive it may be related to the mod_jk connector and since I am not actually serving up anything with apache yet I want to just bypass the connector for 1 site and hit tomcat directly. I have to use apa

Re: JspWriter output disappearing

2004-05-31 Thread Keith Hankin
I am having a problem where when I write to JspWriter, my output seems to disappear. 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 TagSupport. In doSta

combined http and https

2004-05-31 Thread José Manuel Prada Sierra
Hi. I have an application that it was build using tdk (turbine development kit) and postgresql. I have configured tomcat with http 8080 and https 8443 but i only use http or https and i do not know how to combined both protocols. In my application i have a section that is accesible typing login

Re: Tomcat 5 out of memory

2004-05-31 Thread James Sherwood
I upgraded to 5.0.24 and it seemed to fix the problem although there wasnt sufficient time to test as there was a session bug in 24 and I had to upgrade to 25 quickly. The memory leak is slowed but still there in 25 over 19 and this may have been the case for 24 James - Original Message -

RE: ROOT problems

2004-05-31 Thread Ilan Azbel
I am restarting tomcat every time I make a change. Also, I try to use index.html instead of index.jsp. Still no luck. Any other recommendations? > -Original Message- > From: Florian Ebeling [mailto:[EMAIL PROTECTED] > Sent: 31 May 2004 12:10 > To: Tomcat Users List > Subject: Re: ROOT pro

RE: Remote Start / Stop of tomcat

2004-05-31 Thread UmamaheswarKalluru
What is SSH? Thank you, Best Regards, Uma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ROOT problems

2004-05-31 Thread Florian Ebeling
Hi, remeber that the ROOT webapp is precompiled. So if you alter index.jsp nothing will happen, which might confuse you. -Florian Ilan Azbel wrote: Hello, I am having trouble locating the ROOT of my tomcat server. I have a line in the server.xml file that reads: I place a file index.html in /usr/

RE: Remote Start / Stop of tomcat

2004-05-31 Thread Schalk
Can you log-in to the machine via SSH? Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.com This message cont

RE: Cluster problem ??

2004-05-31 Thread Dale, Matt
This functionality is not available yet. It is called cluster farming I believe and is scheduled for a future release of tomcat 5. -Original Message- From: Eric Chow [mailto:[EMAIL PROTECTED] Sent: 31 May 2004 09:12 To: Tomcat Users List Subject: Cluster problem ?? Hello, I setup two

RE: Remote Start / Stop of tomcat

2004-05-31 Thread UmamaheswarKalluru
Matt, Thanks for the reply. Yes, thats not my problem here and I am looking for starting / stopping my tomcat in the remote machine using some kind of mechanism if available. Thank you, Best Regards, Uma - To unsubscribe, e-

RE: Remote Start / Stop of tomcat

2004-05-31 Thread Dale, Matt
As other people have said its possible, depending on the machine and set up, to log in remotely and stop and start it. I would suggest an alternative solution, in that you try to find out what is causing your OutOfMemoryError's. There are numerous free and commercial java profilers which can

ROOT problems

2004-05-31 Thread Ilan Azbel
Hello, I am having trouble locating the ROOT of my tomcat server. I have a line in the server.xml file that reads: I place a file index.html in /usr/tdk-2.2/webapps/ROOT/ When I browse to my server it doesn't seem to locate this file. any ideas? Ilan --- Outgoing mail is certified Virus Fre

Cluster problem ??

2004-05-31 Thread Eric Chow
Hello, I setup two Tomcat5 in cluster mode. If it is possible to synchronize all the application from one to another one ?? For example, I deploy a WAR in Tomcat1, it will be automatic deploy to Tomcat2. Or I deploy another web app in Tomcat2, Tomcat1 will be get the same app. Eric ==

Apache and Tomcat connector under webcp configuration: any ideas?

2004-05-31 Thread Maurizio Betti
Hy all, I have a problem to configure Apache and Tomcat under WebCp on a Virtual Server. Actually Apache provides to static resources (via webcp for multidomains) and Tomcat to dynamic resources (via server.xml configuration) and everything is OK. The question is: how can I configure Apache to

Tomcat and SSL

2004-05-31 Thread Jesse Beaumont
Hi,   We're having problems getting Tomcat to work under SSL in WinXP and Win2K3. I have it configured and it serves up pages just fine. When we run load tests, however, it starts to fall apart. When the load increases the client starts showing up ConnectException: connection refused mes

Interesting issue JK2 Makefile

2004-05-31 Thread Kommuru, Bhaskar
When did ./configure with all the proper option, it generated a Makefile. But my local 'make' command does'nt not recongise some scripts and operators like ":=", "ifneg". Anybody have any clues? Is it problem with my 'make'? What version it is supposed to be? I can not find these things anywhere.

Problems with jdk1.4 and Windows

2004-05-31 Thread Francisco José Arnau Vives
I wanted to update my tomcat server based on jdk1.3 and tomcat 4 to jdk1.4 over windows server and I'm having many problems with many servlets. however this servlets run in a correct way on linux server with jdk1.4. Do you know what is the reason? I have tested with several versions of tomcat but

RE: Mod_jk error... help me please

2004-05-31 Thread Kommuru, Bhaskar
Hi Emerson, I am using Mod_jk2-2.0.4 (downloaded latest source). Any clues on this? Thanks bhaskar -Original Message- From: Emerson Cargnin [mailto:[EMAIL PROTECTED] Sent: Friday, May 28, 2004 7:02 PM To: Tomcat Users List Subject: Re: Mod_jk error... help me please I'm confused... ar