Hi all,
I am using Tomcat 5.5.12. When I set the maxHttpHeaderSize to a low
value and send a large header, my HTTPClient throws
"org.apache.commons.httpclient.NoHttpResponseException: The server
localhost failed to respond"
exception. Is this the expected behavior? Will Tomcat abort responding
i
Dave wrote:
Thanks,
It semms that it is easy to write the XML file for a Feed. But how
does NewsReader know the page (pointed by feed link) has been changed,
what are the changes, updated time?
I have not got the idea yet :)
The NewsReader /polls/ the feed regularly.
As such the
it seem i still get the problem but the message has changed with the new
version :
[Wed Nov 22 05:52:08 2006] [85519:] [info]
ajp_send_request::jk_ajp_common.c (1170): (ajp13) socket 40 is not connected
any more (errno=35)
[Wed Nov 22 05:52:08 2006] [85519:] [info]
ajp_send_request::jk_
I'm using Tomcat 5.5.15 to deploy a web services using Apache Axis. The problem
that I am facing is that sometimes (with unknown reason) the tomcat hang and
all services also down. When I try to restart the server, it come out with
"port 80 is in used..." message and I have to kill the process
I am working on my first Tomcat based application and while testing the
application my boss entered some data into some fields. While he was
doing that, I was doing the same thing - entering data into the very
same fields in a different session. Unfortunately my values stored in
session at
I just discovered
http://www.ericsson.com/mobilityworld/sub/open/technologies/open_develop
ment_tips/docs/odt_proxy_for_tomcat, but it seems that this
documentation is outdated. I tried putting the same properties it
identifies for catalina.properties in the catalina.policy,
jk2.properties, and I
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED]
> Subject: Re: Memory Usage
>
> What appears to be happening is that every time I
> execute my app, when it closes, Tomcat leaves an
> inactive thread hanging.
I seriously doubt that Tomcat is doing this - much more likely that your
app is causi
I assume you would be better served by MINA (mina.apache.org), which is
a more general connector framework. No higher level services though.
[EMAIL PROTECTED] wrote:
Hi
I am not in for particularly using HTTP, i was merely thinking of using a
GenericServlet instead.
Besides this I have read
Hi.
Is it really true, that one can't create at least a global error page
for 503 errors in tomcat? I understand, that a webapp that is stopped,
can't serve it's own custom 503 error page. Sounds clear. But a general
one should be possible?!
I'm using tomcat behind apache and if tomcat isn't star
Try to pass apache ACL authenticated user credential to Tomcat, but failed.
System: FreeBSD 6.1, Apache 2.2.3, SUN jdk 1.4.2, Tomcat 5.5
Apache is setup to authenticate against LDAP server
AuthLDAPURL ldap://ldap.jackyu.org/dc=jackyu,dc=org?uid
AuthLDAPGroupAttributeIsDN off
AuthL
I am having a bear of a time with Tomcat Filters,
I've got the following in my web.xml:
Account Filter
com.ZZZ.view.filters.AccountFilter2
Account Filter
/*
REQUEST
AccountFilter2 is in /shared/classes/
On Nov 20, 2006, at 3:07 PM, Timothy Collett wrote:
...And, just as I suspected it would, it has once again ceased to
function in the 5.5.20 container. One webapp can't see the shared
classloader (for the MySQL jar), and the other can't see the common
classloader (for the servlet-api jar).
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
>> Subject: Re: Tomcat 5.0.28 and /dev/urandom
>>
>> Yeah, if you are using Linux, the /dev/urandom device
>> sometimes stalls.
>
> Actually, /dev/urandom is
I'm looking at the valve list at
http://tomcat.apache.org/tomcat-4.1-doc/config/valve.htmland not seeing
any kind of proxy/forward valve. The engine configuration docs at
http://tomcat.apache.org/tomcat-4.1-doc/config/engine.html, aren't any
help for setting up a proxy server either.
Thanks agai
Hi all,
I am using Tomcat 5.5.12. When I set the maxHttpHeaderSize to a low
value and send a large header, my HTTPClient throws
"org.apache.commons.httpclient.NoHttpResponseException: The server
localhost failed to respond"
exception. Is this the expected behavior? Will Tomcat abort responding
i
Hi everybody,
This jayant from iTG Pvt. Ltd. India. I want to use the new feature comet of
Tomcat 6.0. to use that feature I have to use NIO connector or APR. but the
lack of documentation I couldn't understand how to use APR, could any body
suggest me how to do all settings for using APR in windo
Send the Last-Modified HTTP header from your web application and check
for a If-Modified-Since request header. If you detect that the client
has a fresh version of the feed, respond with a 304 (Not Modified) code.
-- Edgar
Dave wrote:
> Is there a way that NewsReader knows whether a page has be
Can you mail the contents of your log4j.properties file.
On 11/21/06, Kevin R. Gutch <[EMAIL PROTECTED]> wrote:
I am trying to correctly configure logging in my application.
Currently I have placed logging.properties in the /WEB-INF/classes
folder. With this I get a log file specific to the ap
Is there a way that NewsReader knows whether a page has been updated? How? the
page is dynamic collecting data from database.
Thanks!
Santosh Puranshettiwar <[EMAIL PROTECTED]> wrote:
Dave wrote:
> Thanks,
>
> It semms that it is easy to write the XML file for a Feed. But how
> does NewsRea
Hi,
I am trying to set up multiple contexts in Tomcat 5.5 but have a problem in
logging in. I have them both up and running. They both use realms for login
functionality. I wanted to originally use my own custom data source realm
(limitations in the use of the Catalina one) This was working fi
Stephan Schöffel wrote:
> hi,
>
> can some point out to me where in the sourcecoude the apps are loaded?
This would probably be the best place to start:
http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/startup/HostConfig.java
Mark
---
Hi
I am not in for particularly using HTTP, i was merely thinking of using a
GenericServlet instead.
Besides this I have read som statements saying that is is possible to extend
some ProtocolHandler so serve raw socket connections, but i would prefer not
to, since I do not have in-depth knowle
Hi
> Description :
> right after system(tomcat) is started, the "top" command show
> that tomcat process will use 210M memory, the heap size
> (using Jprofiler) is 58m/20m(total/used). there is a 150M gap
> between total process memory size and java heap size.
There needs to be some memory for
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED]
> Subject: Re: Memory Usage
>
> I have run the lamda probe on the software, but it
> didn't show anything useful.
It's not a profiler, and was never intended to be.
> Where do I turn on the -verbose:gc? In the tomcat start-up script?
It's a s
HTTP is a TCP based service. Running it over UDP will not work.
-Tim
[EMAIL PROTECTED] wrote:
Hi
I want to use Tomcat as an UDP server instead of TCP.
Can this be done just by configuration?
If not, then what do I need to do?
I have read and searched a lot on the subject but theres is no cl
Env: Axis1.4/Tomcat 5.0.30/Java 1.5.0_07/Solaris 10.
Description :
right after system(tomcat) is started, the "top" command show that tomcat
process will use 210M memory, the heap size (using Jprofiler) is
58m/20m(total/used). there is a 150M gap between total process memory
size and java heap si
Ok, I did the snooping and analyzing.
What happens is at follows:
- mod_jk sends request
- tomcat responds within a fraction of a second
- tomcat ends with sending an 'end-response' message with reuseport set to
TRUE
- exacat 5 minutes (300 seconds) later mod_jk report a client write error
(jk_aj
Marcus,
Thanks for your response. Let me elaborate on 1st question -
Need to authenticate users either using NTLM or SSL based on whether is user
in domain or not. Can we implement our own auth-method in login-config in
web.xml ? Part of the requirement is to make shared/single-sign-on across
web
Hello, I'm implementing a new realm for a custom single sign-on dealie that
my company is using (so I can use container managed security with their new
system). Everything is going smoothly, except that I can't figure out how
to get an object I declared as a under the context, from outside
of th
> From: Daniel L. Gross [mailto:[EMAIL PROTECTED]
> Subject: Memory Usage
>
> I made a simple servlet that just opens a connection to my
> MYSQL database and then closes it and does nothing else.
> When I look at the windows task manager, the memory usage
> of Tomcat jumps each time I run the
On 11/21/06, Andre Prasetya <[EMAIL PROTECTED]> wrote:
On 11/21/06, Harry <[EMAIL PROTECTED]> wrote:
> PostgreSQL is excellent, IMHO - fast, and easy to administrate.
Yupe agreed, but for database that is used with frequent insert and delete
statement, I have to vacuum them frequently. Which is a
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5.0.28 and /dev/urandom
>
> Yeah, if you are using Linux, the /dev/urandom device
> sometimes stalls.
Actually, /dev/urandom is defined never to block, but the JRE doesn't
use it. If either file:/dev/random or file:/de
I will test thanks
ok for the ajp14 :)
- Original Message -
From: "Rainer Jung" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, November 21, 2006 8:24 PM
Subject: Re: tomcat stop working for some minute regulary
Thanks for the info.
I would suggest:
Increase JkLogLevel
There's no easy way. The 503 error page is hard-coded in
org.apache.catalina.valves.ErrorReportValve. You can replace that class with
your own implementation, specified by the attribute
errorReportValveClass. (I haven't tried that myself, I just read about it in
the Tomcat docs.)
--
Len
On 11/20
Is there something between apache and tomcat (firewall ?).
On 11/21/06, Rainer Jung <[EMAIL PROTECTED]> wrote:
Please post your mod_jk config (Webserver part, eg. Jk* directoves in
httpd.conf, workers.properties, other relevant config and the connector
element of the AJP connector in your timca
Hi,
I've got problem with disabling proxy caching. This used to work with
context.xml (with 5.0.x) as follows:
However, currently this does not make following headers disappear:
Pragma: No-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
I'm
I would say you are barking on a wrong tree in suspecting the garbage
collector to be the culprit. Garbage collection not running in time(or in
proper intervals) can cause the applicatin to slow down or have spikes in
the performance but it will not cause the applicaiton to stop.
Lets try to list
Here is a quick start guide for Tomcat. Try it out.
http://piglet.uccs.edu/~cs526/jwsdp/docs/tutorial/doc/GettingStarted.html
On 11/21/06, Vijay Hatewar <[EMAIL PROTECTED]> wrote:
Hi All ,
I am new to use of Tomcat , could anybody write me few basic commands that
can help me , for ex I need
Hi Henk,
I'll try to find the reason. Would it be easy for you to repeat the test
with a very raw client? If the URL is easy you could e.g. telnet to the
APACHE port and simply write
GET /myurlRETURN
RETURN
I'm asking for that, because the client write error sounds a little
strange to me, and I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
Tim Full wrote:
> Most implementations work fine with using /dev/urandom as a seed for the
> sessionid generator for Tomcat (class ManagerBase), but I have 2 instances
> that seem to cause Tomcat to hang on open of /dev/urandom.
Yeah, if you are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dan,
Daniel L. Gross wrote:
> It appears to be running garbage collection, but it doesn't recover all
> the memory, so as we make and break connections to the database, the
> memory usage just keeps piling up. We never had this problem with the
> old
Hi All ,
I am new to use of Tomcat , could anybody write me few basic commands that
can help me , for ex I need to setup my application ,
Thanks & Regards,
Vijay G Hatewar
|Member of Technical Staff - TQE|
|Ph: +91 .20 .3023.5331| Mobile: +91.9890678168|
DISCLAIMER
==
Th
How I can configure tomcat or my application, that the jsp:getProperty
function returns a empty string "" instead of a null value? On our old
tomcat 4 installation, the same application returns empty strings, but on
a tomcat 5.5 and on a other tomcat 4.1 installation we have got null
values. I don'
Is there a way to force Tomcat 5.5 to run a garbage collection?
Thanks, Dan
Caldarale, Charles R wrote:
From: Daniel L. Gross [mailto:[EMAIL PROTECTED]
Subject: Re: Memory Usage
I have run the lamda probe on the software, but it
didn't show anything useful.
It's not a profiler, and
hi,
can some point out to me where in the sourcecoude the apps are loaded?
--stephan
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
I appreciate your help with this problem. I downloaded JProfiler and
ran it on tomcat 5.5.20. The garbage collection is running fine.
Memory keeps going up when I make and break connections to the
database. What appears to be happening is that every time I execute my
app, when it closes, To
Hi Liu
You should look at
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JAASRealm
It quite straight forward, even if Jaas stay too generic for me ;-)
On 11/20/06, Liu Frank <[EMAIL PROTECTED]> wrote:
Hi All,
Now I want to use my own method for the basic authentication, does Tomcat
p
It appears to be running garbage collection, but it doesn't recover all
the memory, so as we make and break connections to the database, the
memory usage just keeps piling up. We never had this problem with the
old connector running under Tomcat 4.
Thanks, Dan
Caldarale, Charles R wrote:
F
Usually the term heap is used for the sum of the new space, one of the
two semi spaces (both usually around a couple of MB) and tenured. The
size of each of these can be viewed e.g. with jconsole, which comes with
your JVM.
Additional memory is used for perm (class data), which should generally
be
Yupe agreed, but for database that is used with frequent insert and delete
statement, I have to vacuum them frequently. Which is a boring task to do. I
created an agent that will vacuum the database every friday. Then I move it
to MySql because I think its more suited to my needs.
-Andre-
On 11/
Please post your mod_jk config (Webserver part, eg. Jk* directoves in
httpd.conf, workers.properties, other relevant config and the connector
element of the AJP connector in your timcat's server.xml). Also give us
the version numbers of apache, tomcat, mod_jk and your OS. Finally: is
there anything
Hi Henk, do you have a simple app to reproduce the problem?
Rainer Jung schrieb:
> Hi Henk,
>
> I'll try to find the reason. Would it be easy for you to repeat the test
> with a very raw client? If the URL is easy you could e.g. telnet to the
> APACHE port and simply write
>
> GET /myurlRETURN
>
Thanks for the info.
I would suggest:
Increase JkLogLevel to info. This will most likely give us some more
information about what's happening. Don't use multiple JkLogLevel
directives with different values, as you do at the moment.
If it is possible for you, also update to mod_jk 1.2.19.
Check
Ok, this is question#2, perhaps more simple. How can I retrieve the
javax.naming.Context that the Server object uses from outside of a
webapplication? I'm writing a custom realm and I want it to use pluggable
components to meet different needs.
It would appear that when my Realm's start() is ca
I really could use some help here. Has anyone used tomcat 5.5 with the
J-Connector? I made a simple servlet that just opens a connection to my
MYSQL database and then closes it and does nothing else. When I look at
the windows task manager, the memory usage of Tomcat jumps each time I
run th
> From: Liu Frank [mailto:[EMAIL PROTECTED]
> Subject: Tomcat Basic Authentication Problem
>
> Now I want to use my own method for the basic authentication,
> does Tomcat provide the methods to realize it?
Read the relevant Tomcat doc:
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
S
handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
# Handler specific properties.
# Describes specific configuration info for Handlers.
org.apache.jul
Hello everybody,
I have a web application that worked fine until I’ve recently upgraded
the tomcat from version 5.5.17 to 5.5.20.
The filters doesn’t work as before and don’t do the required job anymore.
So I have definitions like this in web.xml:
downloader
filters.TestFilter
downloader
/
John Wallace wrote:
> Is this the same issue as described above? What is the best way fix my
> problem?
Maybe. Could be also be a problem with your application. If you can
reproduce this error reliably, please provide the steps to reproduce
it and any associated test JSP/servlet in the bug report
I hope you realize this is an exceptionally vague request. I would
highly recommend you google for some intro articles on tomcat, read the
docs at tomcat.apache.org and read the servlet spec.
There aren't really any "commands". There's configuration in
server.xml, the web applicaton's contex
In the web.xml, is the "realm-name" is different ?
BASIC | FORM Auth
On 11/21/06, Elliott Murray <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to set up multiple contexts in Tomcat 5.5 but have a problem
in logging in. I have them both up and running. They both use realms for
login functionality.
Hello, I have a java web application that will serve to provide end users
create their wap spaces.
What I want is provide the users of site a wap adress as
"www.myproject.com/johndoe", but virtually. When user enters that location
from wap, it should forward to
"www.myproject.com/MYPROJECT/view
James Crosson wrote:
>
> Account Filter
> com.ZZZ.view.filters.AccountFilter2
>
> AccountFilter2 is in /shared/classes/com/ZZZ/view/filters/AccountFilter2
> directory, and is a succesfully compiled java class.
If the class is com.ZZZ.view.filters.AccountFilter2 then the file
A
Hi,
as mentioned by chavalitt in a former thread: Re: Urgent! Compile JSP
Problem, I have removed appBase="" from my in server.xml.
The only reference to the webapplication is now
docBase="/opt/apache-tomcat-5.5.20/webapps/application1" in my /> in server.xml, and this seems to work just fin
Hi, since few weeks i have a strange problem, sometimes tomcat stop
working and then come back (the site is unreachable and come back few mn
after)
In the log i have :
[Tue Nov 21 15:03:11 2006] [error] ajp_service::jk_ajp_common.c (1758):
Error connecting to tomcat. Tomcat is probably not started
65 matches
Mail list logo