I'll take a look, thanks.
Rebeccah
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Wednesday, December 10, 2008 4:51 PM
To: Tomcat Users List
Subject: Re: How to set Log4J debug flag in Tomcat
Prastein, Rebeccah H wrote:
> How do I start tomcat as an application
A quick read through the source code
(org/apache/catalina/connector/Request.java) reveals -
The first read of getParameter() will consume the request body form
params and store them in a cache so that subsequent calls don't need to
iterate over the request a second time. (This definitely seems li
Hello All,
I'm using tomcat 6.0.18 and it appears that reading a request parameter
like:
String param = request.getParameter("param");
causes any subsequent attempt to ready the post body to fail:
while ((inputLine = reader.readLine()) != null) {
sb.append(inputLine);
}
It doesn'
> From: andrew [mailto:ad...@ecpcorp.net]
> Subject: Re: service.bat install failure (Windows, v 6.0.18)
>
> I've seen the Tomcat doc page explaining tomcat6w.exe
> (it's just a rename of tomcat6.exe, correct?),
No, it's a completely different program; it's a GUI tool to manage the Tomcat
service
Chuck,
Thanks for your patience, and all the helpful information.
> I did a completely clean extract of the 6.0.18 tar.gz archive
I usually use the .zip for Windows, but it should be the same thing.
Well, I've been counting on them being the same, but another post suggests
that maybe there
Am 11.12.2008 16:46, schrieb Nuno Manuel Martins:
Sorry to come up in the middle of a discussion, but how does the
worker recover after the 500 error? Does it have to be reset manually
or does it recheck from time to time (how long?) if the server is
available again?
During so called global mai
On Thu, Dec 11, 2008 at 1:05 PM, Javabeat <[EMAIL PROTECTED]> wrote:
>
> same applies on Firefox though, there may well be issues in IE as always but
> i'm not convinced this is the core problem here.
>
I strongly disagree.
We do have a setup here having Apache HTTPD 2.2 fronting Tomcat 5.5,
and t
Hi,
We restrict IP addresses to our application using RemoteAddressValve.
But we have a requirement of redirecting the request to a customized html
static page when we get request from such denied IP's.
How do i do this.
Is it possible to customize this class to do this redirection and deploy it
i
Hi,
an other strange behavior is that some times when I reboot tomcat and I
refresh browser while I wait that tomcat is up and runnig I see the "normal"
error page displayed when the tomcat is not yet started but also in this
case I see the source html code on the browser instead of HTML interpre
Sorry to come up in the middle of a discussion, but how does the worker recover
after the 500 error? Does it have to be reset manually or does it recheck from
time to time (how long?) if the server is available again?
Thanks,
Nuno
-Original Message-
From: Rainer Jung [mailto:[EMAIL PRO
Hi,
in effect in the case of Excel download I set Header after I send the output
stream because I do not know that tomcat start to flush before controller
return.
Now I have fixed this. But I don't understand why I have mime type problem
with other normal page.
An other repetitive case with sam
> From: BoyePeter [mailto:[EMAIL PROTECTED]
> Subject: Re: HTTP 400 Error when trying to check Tomcat installation
>
> SEVERE: Error deploying web application directory ROOT
> java.lang.SecurityException: Servlet of class
> org.apache.catalina.servlets.InvokerServlet is privileged and
> cannot be
>
BoyePeter:
> I have installed Tomcat version 6.
Although I doubt it's of any importance wrt your problem, for the
future: Tomcat's version numbers consist of three numbers separated by
dots - like 6.0.18.
> I copied the servlet-api.jar to the JDK directory because, according to Java
> for Dummie
Did as you suggested but then all I get is a black web page. I right clicked
to look at the source and this was what was shown:
Not sure if you picked up the addition to my previous post. I checked the
logs and found the following messages in the catalina.2008.12.11.log:
SEVERE: Error dep
BoyePeter wrote:
[...]
Not sure how to turn off IE's friendly messages nor what would be the result
if I did so.
At least I can tell you something about that.
Just search in Google for "ie friendly error messages", and about the
first 30 results will tell you all you need to know about it.
Hi mks,
I have installed Tomcat version 6.
I copied the servlet-api.jar to the JDK directory because, according to Java
for Dummies, it is needed to compile my servlets. If it is not there,
Eclipse reports errors when trying to import javax.servlet.* and when I try
to use "extends HttpServlet".
P
Hi Ben,
Thanks for the response. I put the compiled class into
c:\tomcat\webapps\ROOT\WEB-INF\classes
It was a very simple Hello World servelt from the Java for Dummies book
(page 647) and on page 649 it says to move the compiled class file to that
directory.
Although I now ha
BoyePeter:
> I am running Windows XP Professional version 2002 SP 3 with all updates
> applied.
> I am running Internet Explorer v 7.0.5730.11.
> I have installed Java JDK 1.6.0_11 with the JRE from the same download.
Care to mention the Tomcat version you're using?
> I copied the servlet-api.ja
Ta very much for your response. I very stupidly did not think to stop and
restart Tomcat.
I have now got into the Manager application. I now have to read up and
understand how to use it.
My very best regards,
Pete
awarnier wrote:
>
> BoyePeter wrote:
>> Hi,
>>
>> Thanks for the reply and
BoyePeter wrote:
Hi,
Thanks for the reply and have just tried your suggestion.
A dialogue box has appeared asking for a user name and password and saying
that the server localhost at Tomcat Manager Application requires a username
and password.
I did set up a user name and password for Tomcat a
Hi Peter,
Where did you placed your application?
-Message d'origine-
De : BoyePeter [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 11 décembre 2008 13:50
À : users@tomcat.apache.org
Objet : Re: HTTP 400 Error when trying to check Tomcat installation
Hi,
Thanks for the reply and have just tri
Sorry, I don't remember of your pages are protected or not (even the
static ones I mean).
But anyway, you might want to have a look at this :
http://www.tuckey.org/urlrewrite/
Manual for 3.2, and scroll down to the response-header bit.
It's a servlet filter with a lot of capabilities. The ini
Hi,
Thanks for the reply and have just tried your suggestion.
A dialogue box has appeared asking for a user name and password and saying
that the server localhost at Tomcat Manager Application requires a username
and password.
I did set up a user name and password for Tomcat and so assume that
same applies on Firefox though, there may well be issues in IE as always but
i'm not convinced this is the core problem here.
Gregor Schneider wrote:
>
> Bill,
>
> On Thu, Dec 11, 2008 at 4:15 AM, Bill Barker <[EMAIL PROTECTED]> wrote:
>>
>> The article is referring to the fact that Tomcat ad
The problem however is that i'm using a remote shared host. Whilst this gives
me quite a lot of configuration potential i doubt it would allow me to setup
Apache and adaptors etc. In a 'real production environment' this would very
much be a preferred choice.
awarnier wrote:
>
> As a heretic pos
I agree that i dont think the 'in memory' Tomcat solutions is what i'm
currently after, its very much a Tomcat 'heading stamp' issue i think.
Interesting point you raise though regarding pushing the statics to an
external server. Not ideal from a deployment perspective but that would
certainly sol
Bill,
On Thu, Dec 11, 2008 at 4:15 AM, Bill Barker <[EMAIL PROTECTED]> wrote:
>
> The article is referring to the fact that Tomcat adds cache headers by
> default to any page protected by a to prevent someone
> else from stealing it from an intermediate proxy. The default settings are
> extremel
Thanks Chuck for that. Perhaps my use of words was a little misleading. I
guess what i was trying to say was that the response returned by Tomcat i.e
expiry date etc was not conductive to caching for clients. In terms of
headers, i dont want to cache 'pages as the data is very transient. What i
di
Did you try to access the manager application at
http://localhost:8080/manager/html?
If that works your tomcat is running fine.
I suggest you read up on building and packaging java web applications.
You can deploy your .war files using this manager application.
On Thu, Dec 11, 2008 at 11:51, B
Hi Folks,
After installing Tomcat and trying to check that it is working OK, I get the
HTTP 400 error message.
I am running Windows XP Professional version 2002 SP 3 with all updates
applied.
I am running Internet Explorer v 7.0.5730.11.
I have installed Java JDK 1.6.0_11 with the JRE from the s
As a heretic post in this forum, which usually tends to recommend the
opposite :
what about putting an Apache with mod_cache in front of your Tomcat
server ? Carefully set up, that would do what you want.
-
To unsubscribe, e-
Am 11.12.2008 09:43, schrieb Jesse Klaasse:
Rainer Jung-3 wrote:
When using big heaps, you need to take extra effort to get your GC
settings right. Do you have GC-Logs? What are the JVM options you use to
start Tomcat?
The JVM options:
-Dcatalina.base=D:\tomcat -Dcatalina.home=D:\tomcat
-Djav
Am 11.12.2008 05:19, schrieb Caldarale, Charles R:
From: andrew [mailto:[EMAIL PROTECTED]
Subject: Re: service.bat install failure (Windows, v 6.0.18)
I did a completely clean extract of the 6.0.18 tar.gz archive
I usually use the .zip for Windows, but it should be the same thing.
I think yo
Hi,
sorry for the long delay - I needed some time away from tomcat and XML ;)
The client is XCelsius (an MS Excel extension that can be used to
access webservices and read XML files from web resources).
As far as I can tell, the XML-Beans generated code works well - even if
The stream is closed a
Hi Rainer,
Thanks for jumping in again..
Rainer Jung-3 wrote:
>
> When using big heaps, you need to take extra effort to get your GC
> settings right. Do you have GC-Logs? What are the JVM options you use to
> start Tomcat?
>
The JVM options:
-Dcatalina.base=D:\tomcat -Dcatalina.home=D:\tomc
35 matches
Mail list logo