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,
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/
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,
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
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
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
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
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
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.
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
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
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
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,
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
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
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.
-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
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:
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
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
-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
-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
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
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
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,
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
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
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
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?
-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
-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
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
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
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
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
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
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
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
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
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]
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
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
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:
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
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
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
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
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
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
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
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),
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
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
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}
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
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
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
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
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
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
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
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
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
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 -
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
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
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
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
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
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
70 matches
Mail list logo