Hi All,
We are using Tomcat 4.1.29, Apache 1.3 and modjk in our project.
Sometimes, we got the following message in Catalina logs:-
No processor available, rejecting this connection and application
stops responding and we got an Internal Server Error for every request
from Apache to
Pierre Goupil wrote:
Is there a convenient way to keep in touch with Tomcat (6.0.x) security
vulnerabilities ? I mean, I've browsed through the Tomcat website and I have
found no RSS security feeds, no way of being sent an email when there is a
new release, etc. Is there a way to be informed of
From: Wang Han [mailto:[EMAIL PROTECTED]
the app sends some request to servlet and will handle the response
after 5 minutes.
But in the servlet side, it handles the request too fast and always
sends response back to app in 30 seconds.
So I wonder is there a way to add some delay in tomcat
mfs wrote:
Given the above context, i was wondering if there is some way i can provide
my own unique sessionId to the servlet container whenever it creates a
unique http session against a user.
You would need to write your own manager. You should be able to extend
Razat Gupta (razgupta) wrote:
We are using Tomcat 4.1.29, Apache 1.3 and modjk in our project.
httpd 1.3.what?
mod_jk version?
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
httpd 1.3.26
mod_jk 1.2.1
Catalina Configuration:
!-- Define an AJP 1.3 Connector on port 8009 --
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8029 minProcessors=5 maxProcessors=75
acceptCount=10 tomcatAuthentication=false debug=0/
Sorry
To start with, I'd take the naive approach and see whether it worked
well enough for the job. I'd use thread.sleep(), and make sure I had
enough worker threads (configured in server/conf.xml) to handle the
number of outstanding requests you want to generate. That could be
many thousands (I
Razat Gupta (razgupta) wrote:
httpd 1.3.26
mod_jk 1.2.1
Time for an upgrade. mod_jk is on 1.2.26. There are also newer versions of
httpd and Tomcat but I would start with mod_jk.
Mark
-
To start a new topic, e-mail:
On Wed, April 16, 2008 7:23 pm, murthy gandikota wrote:
We have 2 tomcat servers being load-balanced by a front-end apache
server using mod-jk. Whenever we open a new browser and point the url
to the http://fakedomain.com/xyz/content/home/home.jsf and submit the
form, we get back the same form
Hi everybody,
sorry but i'm new to tomcat !
which user id is preferred to run tomcat : root or lambda ?
Thank you
JLucas
Hi:
As with many other services, specially web oriented ones, you should use any
user with a limited set of permissions on the host machine. So better use
lambda ;)
Best,
Toni.
-Original Message-
From: ZB [mailto:[EMAIL PROTECTED]
Sent: jueves, 17 de abril de 2008 10:10
To:
Hi,
I would like to know how can i obtain the roles than an application uses.
That is, the roles that the users of the application can have.
Thanks in advance.
--
View this message in context:
http://www.nabble.com/Roles-of-an-application-tp16741420p16741420.html
Sent from the Tomcat - User
From: maux [mailto:[EMAIL PROTECTED]
I would like to know how can i obtain the roles than an
application uses.
That is, the roles that the users of the application can have.
You read the application's documentation or contact its producer. Tomcat has
no knowledge of, or control over,
Li Ma wrote:
We setup a Tomcat cluster with 3 nodes running behind Apache with mod_jk
module.
Everytime we deploy something to the cluster, we would like to make sure
every single nodes is working. And from time to time, we would like to test
each node to make sure they are healthy too. However,
We use JMX to check if all sessions are available on all nodes.
This is some info to do that from ant:
http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html
It is also very easy to program it from Java.
This has helped us a lot detecting and debugging a session-sync problem a few
weeks ago.
Thanks for replying. I still have not found a solution.
As Filip mentions below. It isn't going to be fixed.
Maybe it is possible to do something with valueBound, valueUnbound events, but
I didn't have time to check it yet.
Ronald.
On Wed Apr 16 12:23:38 CEST 2008 Tomcat Users List
The problem was traced to duplicate jvmRoute in the Tomcat's server.xml
murthy gandikota [EMAIL PROTECTED] wrote: We have 2 tomcat servers being
load-balanced by a front-end apache
server using mod-jk. Whenever we open a new browser and point the url
to the
The man in the middle attack you describe below is one possible
issue. However it's easy to capture cookies and provide those in an
attack. An effective hacker is going to be able to look exactly like
the client on an unencrypted connection. URL encoded sessonIds can
cause headaches if you
I've never had standard.jar or jstl.jar anywhere except the webapp's
WEB-INF/lib folder so it's hard to say what tomat will do with that.
You may have to declare the taglibs in WEB-INF/web.xml when done that
way. Also what is the necessary folders you installed the jars in?
--David
Many thanks Antonio
Message du 17/04/08 10:37
De : Antonio Vidal Ferrer
A : 'Tomcat Users List' , 'ZB'
Copie à :
Objet : RE: Tomcat user
Hi:
As with many other services, specially web oriented ones, you should use any
user with a limited set of permissions on the host
Hi everybody,
i would like to monitor my Tomcat 6.0 with another port instead of .
How can I change the VM arguments within my Tomcat Service (Windows XP)
Thank you
JLucas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Farhan,
mfs wrote:
| I would want to know the downsides to using cookie-less sessions ? I
want to
| give my client the freedom to disable cookies on the browser if he chooses
| to, but i would want to know the implications to that ?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Farhan,
mfs wrote:
| Actually we have our own session tracking framework, and now
| that i am making a seperate servlet based application, i have come to need
| to support interoperability between Servlet HttpSession and the sessions
| maintained by
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
Ronald Klop wrote:
| In sessionDestroyed I register the user as logged out.
|
| How can I know if sessionDestroyed is called from session.invalidate()
| from the real expiration of the session or shutdown of one cluster node?
Are your
Please remove me from this list...
Thanks!!
Jim Petruzella
Windows System Administrator
Distributed Systems
Perdue Farms Inc.
Corporate Office
Salisbury Md. 21802
www.perdue.com
[EMAIL PROTECTED]
(410) 341-2176
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Hi all,
I've successfully built a number of Tomcat projects using MySQL, but
now I
have to also use PostgreSQL for a small demo app. I'm having some
trouble
with the context and datasource.
Setup: Tomcat 5.5.26 (unzipped from the Apache site) on Mac OSX 10.5.2,
developing using Eclipse
Do you use the same version of Java and run as the same user Tomcat runs
under when you run it statically outside of Tomcat?
On Thu, Apr 17, 2008 at 9:53 AM, Ken Bowen [EMAIL PROTECTED] wrote:
Hi all,
I've successfully built a number of Tomcat projects using MySQL, but now I
have to also use
On Thu, 2008-04-17 at 09:38 -0400, Christopher Schultz wrote:
The only runtime bottleneck is the time required to add
;jsessionid=123456789 to your outgoing URLs, which is to say pretty
much nothing. The engineering bottleneck is that you have to run all
your URLs through
I used the same Java 1.5 (the only Java on the system); the snippet
occurs in the the build
tree for the Tomcat project. The snippet was run inside Eclipse which
is running under
my own user login, so presumably that's how the snippet ran. I'm not
sure what the user is when
Tomcat runs --
Well, it can be done via CATALINA_OPTS.
For example:
setenv CATALINA_OPTS -Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=8123 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=true \
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Robert,
Robert Koberg wrote:
| On Thu, 2008-04-17 at 09:38 -0400, Christopher Schultz wrote:
| The only runtime bottleneck is the time required to add
| ;jsessionid=123456789 to your outgoing URLs, which is to say pretty
| much nothing. The
Hello,
that's what i've read from the same url but my tomcat runs under windows, as a
service.
With Tomcat 6, there's only a binary file (tomcat.exe) within %TOMCAT_HOME%\bin
so there's no other way but configuring CATALINA_OPTS through the Panel
System.
That's what I did but it seems that
From: JLucas ZB [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat and jmx
With Tomcat 6, there's only a binary file (tomcat.exe) within
%TOMCAT_HOME%\bin so there's no other way but configuring
CATALINA_OPTS through the Panel System.
Not sure what you mean by the Panel System, but you
Many thanks, it works
JLucas
Message du 17/04/08 17:20
De : Caldarale, Charles R
A : Tomcat Users List
Copie à :
Objet : RE: Tomcat and jmx
From: JLucas ZB [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat and jmx
With Tomcat 6, there's only a binary file (tomcat.exe) within
Hi,
For our application, we want to list/show a list of
gif files. Currently we are using DefaultServlet with
listings=true (web.xml). As the result, we can list
the names of the file, and open the gif file under the
our.war directory.
For security reason, we are trying to list/show gif
under
Hi,
When I asked the question, it seems that Fred had the
same problem before:
http://marc.info/?l=tomcat-userm=108430682905359w=2
If Fred is here, could you please tell me what you did
for your situation.
Thanks!
Jeff
--- Zengfa Gao [EMAIL PROTECTED] wrote:
Hi,
For our application, we
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jeff,
Zengfa Gao wrote:
| For our application, we want to list/show a list of
| gif files. Currently we are using DefaultServlet with
| listings=true (web.xml). As the result, we can list
| the names of the file, and open the gif file under the
|
I am not sure whether my previous posting made it to the group. I didn't see
it in my inbox, so let me retry.
Here you go:
In Tomcat 4.1.24 running as windows services, to set the max heap memory for
the JVM we can modify the registry setting using 'regedit.
In the registry we can add JVM Option
I am not sure if this is the right list for this. But I have an Apache HTTP
server front end and I want to redirect port 80 so that it goes to port
8080.
Thanks,
Susan
===
Susan G. Conger
Custom Windows Macintosh
From: Susan G. Conger [mailto:[EMAIL PROTECTED]
Subject: redirect port 80 to application server
But I have an Apache HTTP server front end and I want
to redirect port 80 so that it goes to port 8080.
If by the above you mean you want to send all port 80 requests through
to Tomcat on
From: Zengfa Gao [mailto:[EMAIL PROTECTED]
Subject: Using DefaultServlet for directory outside of webapps
Is any setting for us to redirectory DefaultServlet to
look at other defined directory? For example, if we
put files under /var/opt/ourshare directory, how can
we do it?
The easiest
I have to have the Apache HTTP in front. Don't want it there but it is
required by the customer. So they type in http://myserver/webapp and expect
it to go to the application server. I say just use the port
http://myserver:8080/webapp and you will get to the application server.
They say we
Susan:
Is the aplication server a Tomcat? If so, you can use mod_jk. If not, may be
you will need to use mod_proxy.
Toni.
-Original Message-
From: Susan G. Conger [mailto:[EMAIL PROTECTED]
Sent: jueves, 17 de abril de 2008 18:34
To: 'Tomcat Users List'
Subject: RE: redirect port 80 to
Chuck,
This a great idea. Now I am trying for find where to
put ourshare.xml file.
We are using Tomcat under Jboss, I didn't find
conf\Catalina yet.
Thanks a lot!
Jeff
--- Caldarale, Charles R
[EMAIL PROTECTED] wrote:
From: Zengfa Gao [mailto:[EMAIL PROTECTED]
Subject: Using
From: Susan G. Conger [mailto:[EMAIL PROTECTED]
I have to have the Apache HTTP in front. Don't want it there
but it is required by the customer.
OK. If it's *in front*, then you'll need httpd (Apache HTTP) to proxy for
you by some means.
I say just use the port
I'm developing a webapp that is going to be making frequent DB operations.
I know that DB connections are expensive and that developers pool
connections to prevent the overhead of frequent instantiation. Is this
design pattern still necessary? I ask because I vaguely recall skimming
over an
Jonathan Mast wrote:
I'm developing a webapp that is going to be making frequent DB operations.
I know that DB connections are expensive and that developers pool
connections to prevent the overhead of frequent instantiation. Is this
design pattern still necessary? I ask because I vaguely
OK, but isn't there all kinds of special configuration required? The only
part of J2EE I'm using is JSP, no Servlets, no JNDI, just POJOs (J2SE) doing
the database work. Will Tomcat still automagically handle the pooling for
me?
Sounds a little too good to be true, to me. But I've never done
From: Susan G. Conger [mailto:[EMAIL PROTECTED]
Subject: RE: redirect port 80 to application server
I have to have the Apache HTTP in front. Don't want it there
but it is required by the customer.
To what end? I've never heard of a customer saying you have to use
product xyz, even if it
Pooling still makes sense although in modern servlet containers it's
provided. Outside the JVM, there's the overhead of making the
connection and authenticating that can eat up significant amounts of
time in busy sites with large numbers of queries to the db. Those costs
are completely
Jonathan Mast wrote:
I know that DB connections are expensive and that developers pool
connections to prevent the overhead of frequent instantiation.
Is this design pattern still necessary? I ask because I vaguely
recall skimming over an article that stated that this design
pattern is not
so thats not something exposed by the servlet api itself...if i understand u
correctly?, well though for my development i use tomcat/jetty servlet
containers, but our app is deployed on the oracle app server, which has its
own mini servlet engine (OSE), now given that i would need to extend the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan,
Jonathan Mast wrote:
| OK, but isn't there all kinds of special configuration required? The only
| part of J2EE I'm using is JSP, no Servlets, no JNDI, just POJOs (J2SE)
doing
| the database work. Will Tomcat still automagically handle
David kerber wrote:
Jonathan Mast wrote:
I'm developing a webapp that is going to be making frequent DB
operations.
I know that DB connections are expensive and that developers pool
connections to prevent the overhead of frequent instantiation. Is this
design pattern still necessary? I ask
Ok, I've searched and searched, but I cannot figure out the answer. I
am using Tomcat container provided connection pooling; connecting to
an Oracle XE server and I need to insert a CLOB. It would appear that
doing this task is dependent upon which RDBMS vendor you're working
with?
Can anyone
sharrissf wrote:
I see, well just as an FYI, the terracotta thing will work for you then.
Sticky load balancing just keeps the load on terracotta lighter but your
session will be everywhere you need it when you need it. So for the people
who don't do cookies they can hit any appserver
See Thread at: http://www.techienuggets.com/Detail?tx=12232 Posted on behalf of
a User
I was also stuck at the same problem, and copying msvcr71.dll to the Tomcat
bin directory fixed it. Thanks for the solution.
In Response To:
Windows 2000 sp4
JRE 1.6_02
Tomcat won't start. Any help
Tried
Actually they don't, its a non-java based framework.
But Christoper i would still be interested in knowing the approach you took,
sounds like an interesting deal to me, now when u say wrap the servlet's
container's framework, what extended functionality did you provide in that
case in your
Hello,
We are using Apache Tomcat/6.0.16 and when we go to the sample JSP
pages or our own jsp application, it breaks with a servlet exception.
(BTW servlets are still working). When I first installed tomcat all of
the example jsp loaded correctly, just recently (after added a new
application
You must be careful to distinguish the two different users involved.
The OS user would determine whether there is a permissions problem
with the JAR containing the PostgreSQL JDBC driver, but be
insignificant in actually connecting to the DBMS. Ensuring that the
JAR is world-readable should
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David kerber wrote:
| David kerber wrote:
| Looking at these other posts, and the reference Charles posted, it's
| apparent that I've been getting away without using pooling, even though
| I though I was using it...
Some drivers actually do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Brian,
(Marking off-topic as this is a JDBC thang, not a Tomcat one).
Brian Munroe wrote:
| I
| am using Tomcat container provided connection pooling; connecting to
| an Oracle XE server and I need to insert a CLOB. It would appear that
| doing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Farhan,
mfs wrote:
| Actually they don't, its a non-java based framework.
:(
| But Christoper i would still be interested in knowing the approach you
took,
| sounds like an interesting deal to me, now when u say wrap the servlet's
| container's
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Landon,
Landon Fabbricino wrote:
| We are using Apache Tomcat/6.0.16 and when we go to the sample JSP
| pages or our own jsp application, it breaks with a servlet exception.
[snip]
| javax.servlet.ServletException: java.lang.AbstractMethodError:
|
Hi,
We use a combination of Tomcat 5.5.25, mod_jk (v1.25) and sun one web server
(v6.1).The Sun Java web server points to 5 instances of tomcat as specified
in our obj.conf and worker.properties.
I know that currently if the application is not in a started state and Tomcat
is up and
I've inherited an legacy Java application and I'm getting this error on
startup.
- IOException while loading persisted sessions:
java.io.WriteAbortedException: writing aborted;
java.io.NotSerializableException:
org.apache.catalina.session.StandardSessionFacade
java.io.WriteAbortedException:
From: MassimoH [mailto:[EMAIL PROTECTED]
Subject: NotSerializableException: StandardSessionFacade
I've inherited an legacy Java application and I'm getting
this error on startup.
- IOException while loading persisted sessions:
java.io.WriteAbortedException: writing aborted;
I finally had some time to try to track down this problem further. I set the
log levels to ALL, but still nothing useful showing up. However, I found a
curious thing in my access log. Consider this snippet:
76.19.64.19 - - [18/Apr/2008:04:29:37 +] GET /theme.css HTTP/1.1 200
6360
Hi all,
Thanks for your interesting suggestion.
I have tried Thread.sleep() in my servlet and it fails.
My NM app throws exception and can't handle such response..
Will try he other 2 method and see what will happen.
B.R
Hanks
On Thu, Apr 17, 2008 at 3:18 PM, Benjamin Lerman [EMAIL PROTECTED]
Turned out it was the file size. If I arbitrarily trim the file to be just
under 50 KB the compression will work.
Looks like the Connector's compression facility is checking for an upper
limit on stream length or something like that.
Does anyone know of a way to disable this upper bound?
70 matches
Mail list logo