Re: jsp modifications not visible after tomcat restart?

2007-10-03 Thread Nikil Pandey
yes, this should force a compilation of the jsp's. i have had that happen before and deletion of work dir followed by a restart loaded the new jsp's. Thank you, Nikil - Original Message From: Szabolcs Márton [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday,

Fresh install of Tomcat - getting frustrated with the JSP no working

2007-10-03 Thread niblz
Hello I have install a new fresh Tomcat 6, and I have JAVA 6 (all the newest versions from their sites) I have tried many things, but still while html and servlet work, JSP just won't work! I even tried using this Tomcat version and help - http://www.coreservlets.com/Apache-Tomcat-Tutorial/

Re: Fresh install of Tomcat - getting frustrated with the JSP no working

2007-10-03 Thread niblz
Here is the JSP - just a very simple one !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN !-- Simple JSP file to test server setup and configuration. Taken from Core Servlets and JavaServer Pages 2nd Edition from Prentice Hall and Sun Microsystems Press,

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread Charl Gerber
Turns out datasource configuration is not possible using Plesk as a shared tomcat server, the guys at Plesk themselves told me. That sucks. Means I have to create and manage the Datasource in my app... minor refactoring, but not a nice way of doing it. I also use hibernate and could only get that

RE: Fresh install of Tomcat - getting frustrated with the JSP no working

2007-10-03 Thread Larry Isaacs
If I recall correctly, in JSP spec 1.1, the argument for handlePageException() was Exception. In JSP spec 1.2 and later, the argument is Throwable. It would appear you have a servlet.jar from Servlet 2.2/JSP 1.1 somehow becoming the jar this JSP is running against, causing the method signature

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread David Delbecq
What about putting a listener in your web.xml that create a connection pool and link it to jndi? En l'instant précis du 03/10/07 14:01, Charl Gerber s'exprimait en ces termes: Turns out datasource configuration is not possible using Plesk as a shared tomcat server, the guys at Plesk themselves

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread Ken Bowen
Why not move your hosting to an isp who provides a vps? Then you get complete control of your own tomcat; the whole thing looks and feels like you have your own server, even though you are sharing the physical machine.:w The prices I've seen are comparable to those where you have to share

Foreign Language on web

2007-10-03 Thread Girish Havaldar
Hello, in our application we have a text area, where in different language text needs to be entered, for instant French. Can any one of you help or guide in this regard. -- Regards Girish S.Havaldar

Re: Foreign Language on web

2007-10-03 Thread Girish Havaldar
But in our application we are not making use of struts frame work. On 03/10/2007, Heping Ling [EMAIL PROTECTED] wrote: Even though I have not done it myself and I do not know if there are other ways, I do know that by using Struts you can display your contents in difference languages.

RE: Fresh install of Tomcat - getting frustrated with the JSP no working

2007-10-03 Thread niblz
Man you are a genius!!! Problem solved! It seem I had a thing in my path, where an older version of some api's like Servlet.api was casuing some mismatch! Now Every thing work very nice! Thank you guys :) Larry Isaacs wrote: If I recall correctly, in JSP spec 1.1, the argument for

RE: Fresh install of Tomcat - getting frustrated with the JSP noworking

2007-10-03 Thread Caldarale, Charles R
From: niblz [mailto:[EMAIL PROTECTED] Subject: Re: Fresh install of Tomcat - getting frustrated with the JSP noworking http://www.coreservlets.com/Apache-Tomcat-Tutorial/ At least part of that tutorial is fatally flawed, and the author should be ashamed of himself. One must *never* set

Re: Fresh install of Tomcat - getting frustrated with the JSP no working

2007-10-03 Thread niblz
O I have got mine from the offical Tomcat site, and other version from here http://www.coreservlets.com/Apache-Tomcat-Tutorial/ Aa for copying things to my web-inf, well no The only thing I have done is putting the JSP in the ROOT dir in the web-app and trying to get into it Also I have download

Re: AJP Flush Packet causing text/plain output

2007-10-03 Thread Mark Deneen
I encountered a similar problem, where one servlet had a bug where the headers would be set _after_ the data had been sent. The result was that unrelated responses would come back as text/plain. Once I found the offending code and fixed it, the issue has not surfaced again. Mark On 9/24/07,

RE: Foreign Language on web

2007-10-03 Thread Heping Ling
Even though I have not done it myself and I do not know if there are other ways, I do know that by using Struts you can display your contents in difference languages. Struts is an Apache product: http://struts.apache.org/ Jason -Original Message- From: Girish Havaldar [mailto:[EMAIL

Re: tomcat iptables problem

2007-10-03 Thread Dieter Schicker
Thanks a lot for all your valuable answers! Unfortunately none of them helped me. Let me give you an example of this strange behavior (tomcat starting very slowly [3min.]). iptables Ruleset: - Chain INPUT (policy DROP) target prot opt

Re: Foreign Language on web

2007-10-03 Thread Pid
Girish Havaldar wrote: Hello, in our application we have a text area, where in different language text needs to be entered, for instant French. Can any one of you help or guide in this regard. Sure can, if there's actually a question about a problem you're having with the Tomcat server.

Re: Foreign Language on web

2007-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Girish, Girish Havaldar wrote: in our application we have a text area, where in different language text needs to be entered, for instant French. Can any one of you help or guide in this regard. You want to have the user enter text in a different

Re: tomcat iptables problem

2007-10-03 Thread Dieter Schicker
Sorry, of course the accept bla bla goes into a separate line! Dieter Schicker wrote: Thanks a lot for all your valuable answers! Unfortunately none of them helped me. Let me give you an example of this strange behavior (tomcat starting very slowly [3min.]). iptables Ruleset:

client footprint identification for statistic purposes behind a NAT-mode router

2007-10-03 Thread Jorge Martinez
Hi, I have tomcat 5.5 installed and would like to exploit the log records it is registering. My problem is that the webserver is behind a router with NAT activated, so what I see is the same host (actually the router) accessing hundreds of times to the website, instead of seeing hundreds of

Re: Foreign Language on web

2007-10-03 Thread Girish Havaldar
Tomcat 5.5 Java1.5.0_06 On 03/10/2007, Pid [EMAIL PROTECTED] wrote: Girish Havaldar wrote: Hello, in our application we have a text area, where in different language text needs to be entered, for instant French. Can any one of you help or guide in this regard. Sure can, if there's

Re: tomcat iptables problem

2007-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter, Dieter Schicker wrote: [all chains set to drop unless otherwise configured] = Tomcat starts slowly. :( Then I do the following: [all chains set to accept, all chains empty] = Tomcat still (!!!) starts slowly! (Why???) :( Only

Re: client footprint identification for statistic purposes behind a NAT-mode router

2007-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge, Jorge Martinez wrote: My problem is that the webserver is behind a router with NAT activated, so what I see is the same host (actually the router) accessing hundreds of times to the website, instead of seeing hundreds of single (but

Re: Foreign Language on web

2007-10-03 Thread Girish Havaldar
Ya thats fine if the language is English, what if Japanese or chines text needs to be entered, what are the things we need to provide user, so that user will just select the language which he wants and enters the text in that language. I think am not representing my problem correctly. On

Re: client footprint identification for statistic purposes behind a NAT-mode router

2007-10-03 Thread Len Popp
Are those log entries with the router's address coming from clients in the local network, or from the internet? With my NAT gateway, I see the correct IP addresses for clients coming in from the internet, but local clients that use the internet site name (www.mywhatever.com) show up as coming

Re: client footprint identification for statistic purposes behind a NAT-mode router

2007-10-03 Thread Jorge Martinez
Thanks Chris, it would be good to know about the result of your test. I'm going to test what happens when accessing to Tomcat from the internal network though behind the router. Cheers, 2007/10/3, Christopher Schultz [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge,

Re: client footprint identification for statistic purposes behind a NAT-mode router

2007-10-03 Thread Jorge Martinez
Thanks Len, My log entries correspond to clients from the internet. Local clients are logged as 'localhost', but I have not yet tested what happens with LAN clients. My problem is however internet clients. Cheers, 2007/10/3, Len Popp [EMAIL PROTECTED]: Are those log entries with the router's

Re: Foreign Language on web

2007-10-03 Thread Pid
Girish Havaldar wrote: Ya thats fine if the language is English, what if Japanese or chines text needs to be entered, what are the things we need to provide user, so that user will just select the language which he wants and enters the text in that language. I think am not representing

Help - javax.servlet.UnavailableException: No resources

2007-10-03 Thread shahab
Hi, I am trying to use webDAV servlet in my application So I downloaded the webDAV Servlet and included it in my application. I put it in mypackage package. But when a request is directed to this servlet, I get the following error. INFO: Marking servlet webdav as unavailable Oct 3, 2007

RE: Foreign Language on web

2007-10-03 Thread Peter Crowther
From: Girish Havaldar [mailto:[EMAIL PROTECTED] what are the things we need to provide user, so that user will just select the language which he wants and enters the text in that language. Do you need to know the language in which the user has entered the text? Or do you just need the text?

Re: Foreign Language on web

2007-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Girish, Girish Havaldar wrote: Ya thats fine if the language is English, what if Japanese or Chinese text needs to be entered, what are the things we need to provide user, so that user will just select the language which he wants and enters the

Re: client footprint identification for statistic purposes behind a NAT-mode router

2007-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge, Jorge Martinez wrote: Thanks Chris, it would be good to know about the result of your test. I'm going to test what happens when accessing to Tomcat from the internal network though behind the router. Something else must be wrong with your

Re: client footprint identification for statistic purposes behind a NAT-mode router

2007-10-03 Thread Gabe Wong
Hi, I do not know what NAT router you are using, but I would check the configuration or manual to see that it is setup to forward source IP Addresses. Jorge Martinez wrote: Thanks Len, My log entries correspond to clients from the internet. Local clients are logged as 'localhost', but I

Filters do not apply after redirect to the url that serving by Servlet

2007-10-03 Thread Mykola Paliyenko
Hi all, Do not know if this a problem with Tomcat or with Servlet 2.4 spec I have a FilterA that redirects from /news to the /mvc/news.html Then I have a DispatcherServelt that mapped to the /mvc/* And a FilterB that mapped to *.html for both REQUEST and REDIRECT methods like this

RE: Fresh install of Tomcat - getting frustrated with the JSP noworking

2007-10-03 Thread Caldarale, Charles R
From: Marty Hall [mailto:[EMAIL PROTECTED] Subject: RE: Fresh install of Tomcat - getting frustrated with the JSP noworking If you compile directly (from TextPad or UltraEdit or the command line), then you need to either set the CLASSPATH variable or pass -classpath on the command line

Re: client footprint identification for statistic purposes behind a NAT-mode router

2007-10-03 Thread Jorge Martinez
I'll try Chris, at least I have somewhere to start with. Thanks again. Cheers, 2007/10/3, Christopher Schultz [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge, Jorge Martinez wrote: Thanks Chris, it would be good to know about the result of your test. I'm going

Re: client footprint identification for statistic purposes behind a NAT-mode router

2007-10-03 Thread Jorge Martinez
Hi Gabe, many thanks, I'll try that. Hope the problem is so easy to fix. Cheers, 2007/10/3, Gabe Wong [EMAIL PROTECTED]: Hi, I do not know what NAT router you are using, but I would check the configuration or manual to see that it is setup to forward source IP Addresses. Jorge Martinez

Re: Foreign Language on web

2007-10-03 Thread Girish Havaldar
On 03/10/2007, Peter Crowther [EMAIL PROTECTED] wrote: From: Girish Havaldar [mailto:[EMAIL PROTECTED] what are the things we need to provide user, so that user will just select the language which he wants and enters the text in that language. Do you need to know the language in which

RE: Foreign Language on web

2007-10-03 Thread Peter Crowther
From: Girish Havaldar [mailto:[EMAIL PROTECTED] i need text, i need user to enter text in French, Japanese, Hindi(Indian Language) etc.,. OK. By standardizing to UTF-8 and providing the respective Font, we 'll be able to accomplish the things? If you're just using HTML and Tomcat, you

Re: Foreign Language on web

2007-10-03 Thread Joshua Fielek
IMO, this is not tomcat specific, so reply to me off line if you want to discuss it further. I'm not 100% certain, but shouldn't you simply be specifying the appropriate international character set to use for that instance of your application? A text field is a text field, it's the character

FindClass org/apache/catalina/startup/Bootstrap failed

2007-10-03 Thread Marlin Pierce
I downloaded and ran the Tomcat 6.0.14 Windows Service Installer. When I try to start Tomcat from Control Panel - Services, it does not start and I get the following error message in jakarta_service_20071003.log: [2007-10-03 11:31:39] [info] Procrun (2.0.3.0) started [2007-10-03 11:31:39]

RE: Fresh install of Tomcat - getting frustrated with the JSP noworking

2007-10-03 Thread Caldarale, Charles R
From: Marty Hall [mailto:[EMAIL PROTECTED] Subject: RE: Fresh install of Tomcat - getting frustrated with the JSP noworking Sorry if I was unclear. The part on setting the CLASSPATH was under the section entitled Setting up your Development Environment. Part of the problem is the link

Re: Filters do not apply after redirect to the url that serving by Servlet

2007-10-03 Thread David Delbecq
Better use /mvc/* as url pattern than /mvc if you want it to apply to /mvc/news.html Mykola Paliyenko a écrit : Hi all, Do not know if this a problem with Tomcat or with Servlet 2.4 spec I have a FilterA that redirects from /news to the /mvc/news.html Then I have a DispatcherServelt that mapped

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread Charl Gerber
I currently DO have my own Tomcat server, but the application is now moved to South Africa (site for a business over there, makes it a lot faster for the users who will 99% be based in SA) and Tomcat hosting alone is difficult, leave alone a private JVM. --- Ken Bowen [EMAIL PROTECTED] wrote:

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread Charl Gerber
How? I tried that, but kept on getting messages that the comp:env thingey was read-only and I couldn't set up a jndi datasource that could be used by my application, jstl and hibernate in one go. I'd be delighted if someone could give me a working example. What about putting a listener in your

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread Gabe Wong
I am not sure how a private JVM on a VPS or on a regular shared OS can be more difficult than the challenges you are facing with the present shared JVM. A shared JVM is good for a very basic JSP/Servlet application. However by its nature (shared), you will not be able to do certain

RE: FindClass org/apache/catalina/startup/Bootstrap failed

2007-10-03 Thread Caldarale, Charles R
From: Marlin Pierce [mailto:[EMAIL PROTECTED] Subject: FindClass org/apache/catalina/startup/Bootstrap failed I downloaded and ran the Tomcat 6.0.14 Windows Service Installer. The .exe download does not include any of the very useful scripts, unfortunately. You might try removing the one

Re: Tomcat 6 client auth. by certificate

2007-10-03 Thread Hassan Schroeder
On 10/2/07, damovsky [EMAIL PROTECTED] wrote: Then, I edit server.xml in tomcat and add this code: Connector port=7443 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=true disableUploadTimeout=true acceptCount=100 protocol=HTTP/1.1 scheme=https secure=true

Re: Tomcat 6 client auth. by certificate

2007-10-03 Thread damovsky
Hassan Schroeder-2 wrote: On 10/2/07, damovsky wrote: Connector port=7443 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=true disableUploadTimeout=true acceptCount=100 protocol=HTTP/1.1 scheme=https secure=true sslProtocol=TLS I believe you need to add

RE: Tomcat 6 client auth. by certificate

2007-10-03 Thread Caldarale, Charles R
From: damovsky [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 6 client auth. by certificate Yes, i have the truststoreFile and keystore file in webapps directory. The point was that may not be the most secure location for them. Putting them in conf or a subdirectory thereof would avoid

RE: Tomcat 6 client auth. by certificate

2007-10-03 Thread damovsky
Caldarale, Charles R wrote: It is not working with param sslenabled=true :-( It's SSLEnabled, not sslenabled (case matters); are you just being sloppy with the e-mail, or did you spell it incorrectly in the XML? - Chuck In server.xml I have SSLEnabled=true, of course. -- View this

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread Charl Gerber
Costs - the only way I can get a private Tomcat JVM in South Africa, is dedicated hosting. Ie, renting a complete machine. Costs are about 10x as much as shared VM. As I said, I have a private VM at a US based account and it works beautifully, but in South Africa (where the app MUST be hosted),

Re: Foreign Language on web

2007-10-03 Thread Takashi Komatsubara
Hi, I'm a Japanese. Simply put Japanese Only notification on the web page, which is enough to notify the user which language should be used. Or you can identify which language is main language from the users' browser information. If they are Japanese, most of them are using Japanese language

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread Gabe Wong
Thanks for clarifying. Sound like you are caught between a rock and a hard place. Good luck. Charl Gerber wrote: Costs - the only way I can get a private Tomcat JVM in South Africa, is dedicated hosting. Ie, renting a complete machine. Costs are about 10x as much as shared VM. As I said, I

MX4J for Tomcat

2007-10-03 Thread E J Hsiao
Greetings, I am trying to get xml back via MX4J to retrieve Tomcat information. I followed the instruction on how to enable mx4j for Tomcat server.xml: Connector port=${AJP.PORT} handler.list=mx mx.enabled=true mx.httpHost=${JMX.HOST}

Re: Tomcat 6 client auth. by certificate

2007-10-03 Thread Hassan Schroeder
On 10/3/07, damovsky [EMAIL PROTECTED] wrote: In server.xml I have SSLEnabled=true, of course. So what do your logs say about Connector startup? -- Hassan Schroeder [EMAIL PROTECTED] - To start a new

Re: ServletContext.getContextPath()

2007-10-03 Thread Brendan MacLean
It looks like the method ServletContext.getContextPath() was added in version 2.5 of the Servlet API (supported by Tomcat 6.0), but was not present in version 2.4 (supported by Tomcat 5.5). Is there any way to get this information at webapp load time, i.e. inside a

Re: Filters do not apply after redirect to the url that serving by Servlet

2007-10-03 Thread Mykola Paliyenko
David it is not about /mvc or /mvc/* it is about *.html filter does not apply on /mvc/news.html please read carefully the whole problem. On 10/3/07, David Delbecq [EMAIL PROTECTED] wrote: Better use /mvc/* as url pattern than /mvc if you want it to apply to /mvc/news.html Mykola Paliyenko a

Re: Help - javax.servlet.UnavailableException: No resources

2007-10-03 Thread Mark Thomas
shahab wrote: So I downloaded the webDAV Servlet and included it in my application. From where? The webdav servlet is part of the standard Tomcat distribution. Mark - To start a new topic, e-mail: users@tomcat.apache.org To

Re: AJP Flush Packet causing text/plain output

2007-10-03 Thread Filip Hanik - Dev Lists
this is probably what you run into http://issues.apache.org/bugzilla/show_bug.cgi?id=43478 Filip Mark Deneen wrote: I encountered a similar problem, where one servlet had a bug where the headers would be set _after_ the data had been sent. The result was that unrelated responses would come

Re: Tomcat 6 client auth. by certificate

2007-10-03 Thread Filip Hanik - Dev Lists
I assume that the trust store contains a certificate that matches the one of the browser, if not, then you can't do client-auth try doing it with a java client first so that you can see how it works, Filip Hassan Schroeder wrote: On 10/3/07, damovsky [EMAIL PROTECTED] wrote: In

RE: Removal from mailing list

2007-10-03 Thread Alberto Torna Jr .
Once on the list, always on the list. I've been trying to get off the list for years :) To: users@tomcat.apache.org Subject: Removal from mailing list From: [EMAIL PROTECTED] Date: Wed, 3 Oct 2007 09:36:46 +1000 Please remove me from the mailing list. Thankyou. Stephen Morris Security

which JRE is Tomcat using?

2007-10-03 Thread John Eric Hamacher
Hello: I have two JREs on my system, a Java 5 distribution and a Java 6 distribution. How can I decipher which JRE my Tomcat service is running on? Is there a tomcat5.exe command I can use? Or does the setting reside in a configuration file within Tomcat? The reason for this question is that

RE: which JRE is Tomcat using?

2007-10-03 Thread Caldarale, Charles R
From: John Eric Hamacher [mailto:[EMAIL PROTECTED] Subject: which JRE is Tomcat using? I have two JREs on my system, a Java 5 distribution and a Java 6 distribution. How can I decipher which JRE my Tomcat service is running on? Use the Java tab of the tomcat5w.exe program to see what

Axis is not working.

2007-10-03 Thread zhshqzyc
Hello, I am using Jakarta Tomcat 6.0.10. I followed the tutorial from Configuring Using Apache Tomcat 6 at http://www.coreservlets.com;. Installation is fine, tomcat works well for servets and JSP. After I installed Axis-1.4, I typed the url http://localhost/axis;. I get [code]HTTP Status 404 -

RE: Axis is not working.

2007-10-03 Thread Caldarale, Charles R
From: zhshqzyc [mailto:[EMAIL PROTECTED] Subject: Axis is not working. I checked the classpath it is okay. No, it isn't o.k. No CLASSPATH should be used when running Tomcat. The referenced tutorial fails to make clear that setting CLASSPATH is only for compiling servlets, not for server

RE: Axis is not working.

2007-10-03 Thread zhshqzyc
Which environment variable should be removed? CLASSPATH? OR AXISCLASSPATH? Thanks! Caldarale, Charles R wrote: From: zhshqzyc [mailto:[EMAIL PROTECTED] Subject: Axis is not working. I checked the classpath it is okay. No, it isn't o.k. No CLASSPATH should be used when running

RE: Axis is not working.

2007-10-03 Thread Caldarale, Charles R
From: zhshqzyc [mailto:[EMAIL PROTECTED] Subject: RE: Axis is not working. Which environment variable should be removed? CLASSPATH? CLASSPATH is the only one I mentioned. You might want to read over the description of Tomcat's classloading mechanism to make sure the jars needed by your

Implementing HttpSession

2007-10-03 Thread lightbulb432
Rather than using Tomcat's own HttpSession, I may be implementing HttpSession to write to shared storage or to the client. (Or if for no other reason, then to learn something.) Do you know of any HttpSession implementations that are publicly available, as the task of storing session state in

Race condition with values displayed across redirects

2007-10-03 Thread lightbulb432
I have a question about whether there is a race condition with the following technique for displaying messages across redirects. If you submit a form with an invalid value on page P1 and the receiving servlet S redirects to another page P2, you'd like page P2 to contain a message saying You

Re-map Axis2 URL in Tomcat - Possible?

2007-10-03 Thread foo shyn
Hi All, I have tried to install and run Axis2 on Tomcat 5.0 and it was working fine. However, i notice that for me to engage my service in tomcat the URL would be something like http://IP+port/axis2/services/myService Is it possible for me to change that or uses Tomcat filter to map it (i'm