Hello Mark,
thank you for the reply.
Meanwhile I found out that replacing the webappClassLoader in the
default webapploader via loader configuration in context.xml is
sufficent to what I need.
However, what I am trying to achieve is to create a wrapper
(reflection.Proxy) around each servlet to
Hi Carlos,
Can you post the relevant snippets from your web.xml, context.xml and
servlet init() method (where you instansiate the connection pool)?
Martin
Carlos Puero C. wrote:
Hi everybody, I got a problem... And I'd like your help
I
use NetBeans 5.0 with Tomcat 5.0.28 and MySQL 5.0.21,
Hello
Apache Tomcat doesn't seem to act normally on http-request when running on a
Windows 2000 pc. Following problem occurs:
The request (HTTP/0.9) looks like follows:
GET /\r\n
Tomcat then waits for exactly 20 seconds, maybe for more header-data to
arrive, and then sends the correct
I'm not sure if this can help, but some time ago, I played around SVG (only
with Firefox implementation) and was able, after my search homework to have
SVG content in a JSP file. If you are just mocking around and hasn't strict
requirements on using specifically servlet, then have a look at this
Hi
I have a Tomcat server running on one machine with one webapp loaded. The
webapp itself is empty,
but there's a web service deployed to its context (ie. I have Axis running
inside the webapp!).
I need to restart either the webapp or Tomcat, and my question is how do I
do that?
I'm trying to
Hi, Mladen.
That's exactly what we expected, about 10% improvement.
We are runnning a cluster of 4 tomcats and we have a stress test batery
, I'm not sure of how manu concurrent users it simulates, maybe that's
the point.
I've received new test data, when the tests are launched agaist only
one
José Manuel Molina Pascual wrote:
Hi, Mladen.
That's exactly what we expected, about 10% improvement.
We are runnning a cluster of 4 tomcats and we have a stress test batery
, I'm not sure of how manu concurrent users it simulates, maybe that's
the point.
Of course it is.
When the
ben short wrote:
Yes you are right, I am trying not to serve resources again if they
havent changed. From what I have read I need to set the Last-Modified
header on the HttpServletResponse. The client will then send a
If-Modified-Since request header the next time it needs that resource.
I
Hi all,
I am using Tomcat server and configured config/server.xml to save access
logs. I am creating a load test-plan for Tomcat Server that reads access
logs and replicate the HTTP requests to the server. I am using Jmeter
and extending it. It is fine with Http requests with GET method.
- In
Request Dumper :
http://insight.lib.ed.ac.uk:8080/tomcat-docs/config/valve.html
May I suggest that you look at tomcat documentation and read it first
This topic has been discussed LOTS of time ...
Thanks
Guru
Gurumoorthy Raghupathy
Systems Operations - Fidelity Investments
You mean you wish to do it without using the Tomcat Manger?
asaf.lahav wrote:
I did...
It doesn't answer my question...
-Original Message-
From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 1:33 PM
To: Tomcat Users List
Subject: Re: stopping a tomcat
And the Apache httpd module API is as far as I understand a moving
target. Modules for 2.0.x are not compatible with 2.2. Try one built
for 2.2, or if available, use the mod_rewrite for 2.2. It's supposed to
be able to handle the AJP/1.3 protocol.
--David
Tom wrote:
I downloaded
David Smith wrote:
And the Apache httpd module API is as far as I understand a moving
target. Modules for 2.0.x are not compatible with 2.2. Try one built
for 2.2, or if available,
It is not available, neither it will be.
The preferred solution is to use the mod_proxy with
mod_proxy_ajp and
Yusuf wrote:
Hi
I have a Tomcat server running on one machine with one webapp loaded. The
webapp itself is empty,
but there's a web service deployed to its context (ie. I have Axis running
inside the webapp!).
I need to restart either the webapp or Tomcat, and my question is how do I
do
Ooops. mod_proxy -- that's what I meant. Not enough coffee yet when I
wrote my response :-)
--David
Mladen Turk wrote:
David Smith wrote:
And the Apache httpd module API is as far as I understand a moving
target. Modules for 2.0.x are not compatible with 2.2. Try one
built for 2.2, or
There are a lot of command line tools that can send the basic auth
headers expected by the manager. Curl and wget come to mind. You could
also use a java program with the commons httpclient project easily enough.
You could send the url in a browser address bar easily enough as well,
although
Hello Mark,
Each servlet is invoked via the StandardWrapperValve (accessible via
JMX) that includes basic performance stats. Is this sufficient?
could you explain your statement a little bit? As far as I see the
Servlet is invoked by the StandardWrapper by Class.newInstance()?
(line 1055).
added below lines to web.xml:
init-param
param-namereadonly/param-name
param-valuetrue/param-value
/init-param
but actually i see no difference:
DELETE /tcell-um-cc-portal/a HTTP/1.0
HTTP/1.1 403 Forbidden
Content-Type: text/html;charset=ISO-8859-9
Im here again.
It's a 32 bits OS
Definely GC gonna take longer if has more to collect.
-Original Message-
From: anjan bacchu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 05, 2006 6:20 PM
To: Tomcat Users List
Subject: Re: max memory..
can I move to 2048mb without any problem ?
On a 32bit OS you will have no chance to get more than 1.2Gb.
At least its what we have tested.
leon
On 9/6/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote:
Im here again.
It's a 32 bits OS
Definely GC gonna take longer if has more to collect.
-Original Message-
From: anjan bacchu
I don't agree
Our tomcat was working with 1440 mb as initial and max memory without
problem.
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 06, 2006 9:06 AM
To: Tomcat Users List
Subject: Re: max memory..
On a 32bit OS you will have no
Does anyone have any code that shows the use of JMX to monitor the cluster
objects in a Tomcat cluster (5.5.17 or later). I am interested in knowing
which servers are currently connected, and if any are down. This last I
guess is going to have to be done by exclusion as I am not aware of a list
Runtime.getTotalMemory actually returns 2Gb?
On 9/6/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote:
I don't agree
Our tomcat was working with 1440 mb as initial and max memory without
problem.
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September
Is my old worker.properties file I added this to complete the Apache
2.0.48/Tomcat 5.5 workers.properties configuration and everything worked
fine.
uri:/mysite/*]
worker=ajp13:localhost:8009
Since installing Apache 2.2.3 I can't get to my website without appending
the directory onto the end
No, right now I have set the memory to 1024 mb. getTotalMemory is
returning that same value
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 06, 2006 9:27 AM
To: Tomcat Users List
Subject: Re: max memory..
Runtime.getTotalMemory actually
Now, after implementing mod_proxy_ajp, I do not have a clue how to
change all of the JK* settings to use the new mod_proxy_ajp approach.
Previously I used JKmount /*.jsp worker1
I am not sure how to use a Location for a LocationMatch. I did
experiment with LocationMatch .jsp but that did
Hello,
We are running a 4-node cluster of 5.5.17. Sometimes java or tomcat crashes and
we restart it automaticly. With 5.0.x this was ok, but with 5.5.x it doesn't
sync session on startup often.
When this happened on 5.0.x I got an ClassCastException, which explained why
syncing failed. But
With JKMount you would have done this with the location
LocationMatch */*.jsp
JkMount worker1
Order allow,deny
Allow from all
/LocationMatch
but I think with the mod_proxy_ajp you need to do something like this
ProxyPass $1.jsp ajp://localhost:8009/$1.jsp
don't know if that will
What means the following error?
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal:
repository='file:/usr/share/tomcat5/common/lib/[jndi].jar'
at
Do a mod_rewrite with the [P] directive for JSPs
RewriteRule ^\/(.+)\.jsp(.+)?
ajp://tomcat.server:8009/$1.jsp$2 [P,L]
RewriteRule ^\/(.+)\.xml(.+)?
ajp://tomcat.server:8009/$1.xml$2 [P,L]
RewriteRule ^\/(.+)\/j_security_check(.+)?
Hi,
I currrently have Tomcat (5.0.28) set-up with an Apache front-end. I
would like to run an instance of Tomcat 5.5, as well, on the same server
again using the same Apache front-end. Can the command for specifiying
the workers.property file in httpd.conf:
e.g: JkWorkersFile
Hi-
I'm looking for some recommendations for training on Tomcat. Has anyone out
there attended any training and have any recommendations (good or bad)?
Thanks,
-Jeanna
BiblioShop - Rafael Santini a écrit :
What means the following error?
That you are missing file /usr/share/tomcat5/common/lib/[jndi].jar
Bootstrap: Class loader creation threw exception
java.lang.IllegalArgumentException: addRepositoryInternal:
I am using Apache Tomcat/5.0.28
Here is the code of traffic.jsp. it can forward to .html with no problem,
but when forwarding to zzz.html, it throws java.lang.IllegalStateException:
getOutputStream() has already been called for this response
String serverName = request.getServerName();
Hi I'm having some problems connecting to a Slide client and would appreciate
any help you could offer. I'm a newbie here, so please bear with me.
Here's what I've done:
Created a keystore:
keytool -genkey -alias tomcat -keyalg RSA
and entered info for certificate - name on certificate:
Tried the servlets-cgi.jar file from version 5.5.17, caused all my web app
urls to return blank pages. Tried 5.0.28 and 5.0.30 but had the same CGI
parameter passing exception.
Guess I have to make my little report with a servlet instead of ksh/sqlplus.
From the HTTP 500 stats page
I am able to access from http://localhost:8080/manager , but not from
a remote machine. how can this be fixed?
On 9/6/06, Propes, Barry L [EMAIL PROTECTED] wrote:
i don't think you have it set correctly.
check your tomcat-users.xml file to see how it's configured.
-Original Message-
From: Pid [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Subject: Re: mod_jk garbled - how to change JK* directives for ProxyPass?
Date: Wed, 06 Sep 2006 16:50:05 +0100
Do a mod_rewrite with the [P] directive for JSPs
RewriteRule
are the nodes starting up simultanously, there is the risk of syncing
not working if two nodes are starting at the same time as the cluster
starts before the actual webapps are deployed.
Filip
Ronald Klop wrote:
Hello,
We are running a 4-node cluster of 5.5.17. Sometimes java or tomcat
Jim Weir wrote:
From: Pid [EMAIL PROTECTED]
Tom wrote:
Mladen Turk wrote:
David Smith wrote:
You should really consider learning how to quote :)
If I am following this thread correctly it seems that with Apache 2.2.3
the better(suggested?) way to connect to Tomcat is to use
Why Tomcat is trying to open this file?
My Tomcat package does not has jndi.jar
- Original Message -
From: david.delbecq [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, September 06, 2006 1:07 PM
Subject: Re: Bootstrap: Class loader creation threw
I need help with the following Tomcat issues:
1. I have Tomcat 5.5 running on a windows PC, but I am unable to get
Tomcat Administration to work.
2. I need help on getting SQL Server 2005 to work with Tomcat 5.5.
3. How to setup Tomcat to work with Apache Web Server.
Thanks
I need help with the following Tomcat issues:
1. I have Tomcat 5.5 running on a windows PC, but I am unable to get
Tomcat Administration to work.
2. I need help on getting SQL Server 2005 to work with Tomcat 5.5.
3. How to setup Tomcat to work with Apache Web Server.
Thanks
Hi Jimmy,
Firstly no need to send a message twice! A quick Google gave me the
following:
Apache / Tomcat 5.5 / Windows -
http://www.devside.net/web/server/windows/tomcat
You can download the SQL Server 2005 JDBC Driver from Microsoft from here:
I fixed it by adding a 'return' statement after
pageCotext.forward().
Current process should terminate when forward
statement is executed. I think
this is a bug.
- Original Message -
From: bill cao [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday,
I would like to build mod_jk.so rather than figure out how to use
mod_proxy_ajp since I just do not understand the new interface.
The catch 22 I run into is that axps is not installed on my machine. If
I had it I would just build a mod_jk.
I suspect will try to install apache 2.1 just to
Hi guru's, some serious help needed.
I've been running a development environment on my laptop for the last few
weeks, and now the product is finished (basic website using MyFaces) I want
to promote to a production server. My dev environment consisted of:
- My laptop running Ubuntu 6.06
- Tomcat
For testing at least, how can I turn the security manager off?
I haven't used catalina.sh start -security
I use the standard /etc/init.d/tomcat5 start method
Also, I've added the grant permissions to the catalina.policy file, but
every time I start up tomcat the file reverts to its standard
A script in /etc is not the standard method to start tomcat. I'd guess
you're using debian, and used apt-get install tomcat? It sets up
several non-standard options, like enabling the security manager by
default. Either edit the /etc/init.d/tomcat5 script (it says where to
change it to turn
Sounds like your /etc/init.d/tomcat5 startup script is doing more than
the standard service start script. Take a look at it for the security
options as well as maybe reading/copying config files from some where
else. Is you server set to run under high security?
--David
tukutela wrote:
Tom wrote:
I would like to build mod_jk.so rather than figure out how to use
mod_proxy_ajp since I just do not understand the new interface.
The catch 22 I run into is that axps is not installed on my machine. If
I had it I would just build a mod_jk.
There is no catch 22.
Like for Apache
I am new to tomcat and I am using tomcat version 5.5.16. After deplying the
tar files in tomcat, I tried to start it using startup.sh and it throws me
the following error:
SEVERE: Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.logger.FileLogger
at
Hi Mark,
thanx for your help. I actually managed to replace all loaded servlets
with own wrapper via the classloader. Really cool you guys added this
option (special thanx to remy and craig here).
The code here:
Don't ask me why, but I tried in diferent servers putting 1440 MB, 1048
MB, 1076 MB and it works in one server and not in the other (all with
the same hard and soft).
The msg is . Cannot allocate that space in heap.
-Original Message-
From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Socio_pal I might suggest that you maybe see that all of your env.
variables are set correctly especially the classpath since you are
getting the
java.lang.ClassNotFoundException Java exception.
socio_pal wrote:
I am new to tomcat and I am using tomcat version 5.5.16. After deplying the
Of course you are correct about that catch 22 comment. I did find a
package called httpd-devel that I downloaded and I recompiled mod_jk.so
with everything working.
Mladen Turk wrote:
Tom wrote:
I would like to build mod_jk.so rather than figure out how to use
mod_proxy_ajp since I just do
Yusuf wrote:
I have a Tomcat server running on one machine with one webapp loaded. The
webapp itself is empty,
but there's a web service deployed to its context (ie. I have Axis running
inside the webapp!).
I need to restart either the webapp or Tomcat, and my question is how do I
do that?
To
Hi
I installed Iplanet Web Server 4.1 with SP 14.
I had configured the ports.
I did
https-admserv]./start
iPlanet-WebServer-Enterprise/4.1SP14 BB1-01/15/2004 13:04
startup: listening to http://PRD03.DOMAIN1 http://prd03.domain1/, port
9000 as osadmin
I could get the manage to start the manage
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To many of the list archiving services and mail clients
used by list subscribers this makes your new message appear as part
of the old thread.
ubergoonz wrote:
I am able to access from http://localhost:8080/manager , but not from
a remote machine. how can this be fixed?
RTFM
http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html
-
To start a new topic, e-mail:
bill cao wrote:
I fixed it by adding a 'return' statement after
pageCotext.forward().
Current process should terminate when forward
statement is executed. I think
this is a bug.
That isn't what the spec says (so it isn't a bug).
spec-quote
Once this method has been called successfully,
Vinod Devarajan wrote:
Hi
I installed Iplanet Web Server 4.1 with SP 14.
And this has what to do with Tomcat?
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
No, one node is restarting, while the other three keep running.
Ronald.
On Wed Sep 06 19:18:14 CEST 2006 Tomcat Users List users@tomcat.apache.org
wrote:
are the nodes starting up simultanously, there is the risk of syncing
not working if two nodes are starting at the same time as the
From: Mladen Turk [EMAIL PROTECTED]
Reply-To: Tomcat Users List users@tomcat.apache.org
To: Tomcat Users List users@tomcat.apache.org
Subject: Re: mod_jk garbled - how to change JK* directives for ProxyPass?
Date: Wed, 06 Sep 2006 19:29:12 +0200
Jim Weir wrote:
From: Pid [EMAIL PROTECTED]
Tom
Hi everybody,
I am trying to make the tomcat container secure by
converting it from http to https. I am using the documentation on the
following website.
http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html
I had implemented this before by
Hi,
I currrently have Tomcat (5.0.28) set-up with an Apache front-end. I
would like to run an instance of Tomcat 5.5, as well, on the same server
again using the same Apache front-end. Can the command for specifiying
the workers.property file in httpd.conf:
e.g: JkWorkersFile
I'm very sorry. I didn't realise that there were any headers in the
message that were used to link messages together.
Mark Thomas wrote:
When starting a new thread (ie sending a message to the list about a
new topic) please do not reply to an existing message and change the
subject line. To
PureTLS doesn't use the standard Java keystore format. Consult the PureTLS
docs for the correct format. Alternatively, specify
sSLImplementation=org.apache.tomcat.util.net.jsse.JSSEImplementation on
the Connector / element to use JSSE instead of PureTLS.
keyur sheth [EMAIL PROTECTED] wrote
Garthfield Carter [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I currrently have Tomcat (5.0.28) set-up with an Apache front-end. I would
like to run an instance of Tomcat 5.5, as well, on the same server again
using the same Apache front-end. Can the command for
You need to import the top level cert into cacerts with -trustcacerts.
Otherwise it is untrusted.
Jeanna Geier [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi I'm having some problems connecting to a Slide client and would
appreciate any help you could offer. I'm a newbie here, so
Bruno Vilardo [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello Bill,
Thanks a lot for the info. I could not find this Paramenter.
It's not a parameter, and never will be. Sending 100 Continue is required
by the HTTP/1.1 RFC, so Tomcat does that. What you can do is edit the
71 matches
Mail list logo