After upgrading from Tomcat 5 to Tomcat 6 I encountered a situation
where Tomcat cycles through working hard for 20 minutes, and slowing
down for 10 minutes.
We run a Java servlet application using JDK 1.5.0-15 and Tomcat 5.5.26.
One part of the application processes an XML file, and this can
hi ,
I tried the to deploy a war from an http url
I tried the following syntax
jar:http://hostname:port/path/to/a/warfile.war!
as given in the javadocs for ManagerServlet
It throws the following exception on console
java.io.IOException: The filename, directory name, or volume label syntax is
When I try to write a file in a folder in the server I get this error:
org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing
of multipart/form-data request failed. /home/www/virtual/test/images/htdocs/
flyers/upload_1ed3f2d1_11c313f7288__8000_.tmp (Permission
Hi all,
we are encountering java.net.SocketTimeoutException: Read timed out
occasionally,
wondering if it's something related to network problem,
Would highly appreciate if someone can help, following are the program stack
found in tomcat log for your reference :
WARNING: Exception thrown
Hi guys,
I'm trying to make a link to an app inside the webapps directory in tomcat
6.0.18 . The goal is to have the same webapp referenced by two contexts, and
this worked fine in 5.x . In 6.x, if I make a symlink to a webapp in the
webapps directory, the app fails to start:
[EMAIL PROTECTED]
Hi
I think this may relate to a tomcat setting - but I may be completely
wrong.
I have 2 servers which should be running identical looking webapps under
Apache Tomcat.
Accessing the test app on server 1 from a client using IE6, within the
app, next to a range of data input
Steve Cohen wrote:
Let me ask my question a little more directly:
Does the presence of a descriptor cause instantiation of an instance
of an MBean
or do I have to write code to create a server-side instance of my
MBean and if so, where should this code reside
or is there some configuration
I did some research and people reported a problem with mod_jk 1.2.24, but they
said it was going to be fixed in 1.2.25, I am using 1.2.26 and I am still
experiencing the same problem.
I can directly access tomcat 'manager' application and I get prompted, but when
I try to access the
Thanks again. These articles are very clear and simple.
They do raise a couple questions, though.
In the first article, no mention is made of an mbeans-descriptor.xml
file. It's all done programatically in the first article - which might
be fine for my needs. The Tomcat documentation does
Thank you all for the help that was the file i needed to find the
servlet. I'm just surprised it isn't stressed more to use a web.xml
file for each webapp since it is so vital. Thanks again
-Robert
Martin Gainty wrote:
sample web.xmlBR
?xml version=1.0 encoding=ISO-8859-1?BR
!DOCTYPE
Hello everybody,
I am trying to set up the configuration for a pool of connections to a MySQL
DB and I get the following exception when deploying on Tomcat.
I followed the steps at
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html.
The application actually consists of a
Eric Berry wrote:
Ok cool. Thank you very much for clearing that up for me. The first time I
deployed the war, there wouldn't have been a context in any of the 3
locations mentioned above. As you said, it would have copied the context.xml
file from the war into the 3rd location as
Bryan McGinty wrote:
using mod_proxy_ajp. This worked well.
I'd use mod_proxy_http given a free choice. But anyway...
Has anyone seen this sort of behaviour when upgrading to Tomcat 6? If
not, does anyone have any idea of how I may be able to determine the
cause of this behaviour?
Use a
i'm trying to deploy a spring/hibernate based application on tomcat
and i have this defined in application:
-
bean id=dataSource class=org.springframework.jndi.JndiObjectFactoryBean
property name=jndiName value=java:DB2DS /
/bean
James Wang wrote:
Hi all,
we are encountering java.net.SocketTimeoutException: Read timed out
occasionally,
wondering if it's something related to network problem,
Would highly appreciate if someone can help, following are the program stack
If the client is IE, the server httpd and you are
Noble Paul നോബിള് नोब्ळ् wrote:
hi ,
I tried the to deploy a war from an http url
I tried the following syntax
jar:http://hostname:port/path/to/a/warfile.war!
I haven't got a system handy to test with but do you need the final '/'?
That would make the URL:
Aljosa Mohorovic wrote:
i'm trying to find a way where i don't need to change my app to work
on tomcat, some way to define jndi resource that doesn't require
changes to application.
every document related to this requires some changes to app so i'm
wondering how can i configure tomcat with
Hi all!
I'm struggling with a really weird problem. I have a Cocoon 2.2 application
that runs on Tomcat 5.5.25-5ubuntu1 and Java 1.5.0. My (semi-)production
system, my test system and my development system are Ubuntu 8.04 boxes, and
they differ very little, with the exception that the
Is there any way to stop Tomcat from deleting my Context descriptor files if
the WAR file somehow disappears? (Other than chmod 400 that is :-) )
- Julian
--
-- Julian C. Dunn, P.Eng. [EMAIL PROTECTED]
-- Assistant Team Lead / Chef d'équipe adjoint
-- Media Production Support / Soutien à la
From: Eric Berry [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 5.5. META-INF/context.xml ignored when
deploying as war.
(Just expanding a little on what Mark gave you.)
Why recommend the use of the context.xml if it really isn't used?
It is used - Tomcat copied the context.xml file from
From: Tim J Schumacher [mailto:[EMAIL PROTECTED]
Subject: Re: User Directories and context.xml?
Just out of curiosity, does anyone know the motivation for not reading
context.xml out of a user's directory?
(I apologize for coming in late on this one.)
Tomcat does use context.xml out of a
Hi Ankush,
mod_jk configure uses ${APXS} -q PREFIX to see if it works, where
${APXS} is what you gave to --with-apxs. You can try that directly, and
see if it works, or if your apxs is broken:
/usr/sbin/apxs -q PREFIX
Regards,
Rainer
ankush grover schrieb:
Hi Friends,
I am trying to
Hello
Does anyone knows if with a simple replacement of the jars of
CATALINA_HOME/lib can I upgrade from 6.0.14 to 6.0.18?
Hi Chuck,
My appbase is $CATALINA_HOME/webapps
and
CATALINA_HOME=/usr/local/apache-tomcat-6.0.16
Apps running from that directory are working as expected-context.xml is
getting processed and all is good.
The question I had was, after setting up the Listener in server.xml
Listener
And the code you use to get a connection? Looks like the database pool
should be fine, you are getting a javax.sql.DataSource object but
treating it as a java.naming.Context object.
As an aside and definitely not things affecting the issue you describe
below:
1. Do not use the root user in
From: Kjetil Kjernsmo [mailto:[EMAIL PROTECTED]
Subject: Tomcat loops indefinitely
The problem is that the application has apparently
gone into a loop, as this appears to be different threads.
Eventually, it runs out of threads, and comes to a halt:
What does a thread dump show? (Before
From: Robert K. Vanderhoek [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 6 (Unable to find servlet or load servlet
jar from a clientjar)
I'm just surprised it isn't stressed more to use a web.xml
file for each webapp since it is so vital.
Read the servlet spec - a prerequisite for using any
From: Claudio Tassini [mailto:[EMAIL PROTECTED]
Subject: symlinks in webapps
The goal is to have the same webapp referenced by
two contexts
Rather than use symlinks, try using an additional Context element in
conf/Catalina/[host]/WebMail2.xml:
Context docBase=WebMail /
(Include whatever
Hello all,
I have Context named foo whose path is /foo and whose docbase is
DOCS/foo. foo has it's own AccessLogValve
Foo has a subdirectory bar which I would now like to be it's own Context
and AccessLogValue.
My question is: Will defining a context /foo/bar at DOCS/foo/bar, with
it's own
I moved my keystore to a new server and modified the server.xml to point
to the keystore, but I'm unable to connect via https. However, I'm able
to connect with http.
Thanks
Ed
The information transmitted is intended
Hi!
I have tomcat 6.0.18 with tomcat-native enabled with APR 1.3.2 and with
connector configuration as below..
Connector port=7372 SSLCertificateFile=/tmp/abc.crt
SSLCertificateKeyFile=/tmp/abc.key SSLPassword=password
SSLProtocol=TLS protocol=HTTP/1.1 SSLEnabled=true maxThreads=150
thanks again
Caldarale, Charles R wrote:
From: Robert K. Vanderhoek [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 6 (Unable to find servlet or load servlet
jar from a clientjar)
I'm just surprised it isn't stressed more to use a web.xml
file for each webapp since it is so vital.
Read
Mark, Chuck,
Thank you both very much for the detailed explanations. I can certainly
see how this would definitely speed development along, and how - in most
cases - the context.xml is unnecessary. I myself, have rarely used them
unless as Mark mentioned, I needed specific context parameters.
Hi,
I have Tomcat 6 installed on a French version of Windows XP. When
error pages, such as the 404 error page, appear the French text is
corrupted.
For example, instead of the expected:
La ressource demandée (/manager/html) n'est pas disponible.
I get:
La ressource demand�e
See Thread at: http://www.techienuggets.com/Detail?tx=31984 Posted on
behalf of a User
You shouldn't be messing about with the ownership of the PID file. It is
created by jsvc at startup. If you use jsvc properly it will start as
root, create the pid file, startup tomcat ...
Ah, but what if you
your observation is correct, the clientAuth attribute only exists on
protocol=org.apache.coyote.http11.Http11NioProtocol and
protocol=org.apache.coyote.http11.Http11Protocol
Filip
[EMAIL PROTECTED] wrote:
Hi!
I have tomcat 6.0.18 with tomcat-native enabled with APR 1.3.2 and with
connector
[EMAIL PROTECTED] wrote:
See Thread at: http://www.techienuggets.com/Detail?tx=31984 Posted on
behalf of a User
You shouldn't be messing about with the ownership of the PID file. It is
created by jsvc at startup. If you use jsvc properly it will start as
root, create the pid file, startup
Thanks!
Sharan.
Filip Hanik - Dev Lists [EMAIL PROTECTED]
09/05/2008 05:33 PM
Please respond to
Tomcat Users List users@tomcat.apache.org
To
Tomcat Users List users@tomcat.apache.org
cc
Subject
Re: Tomcat connector attributes
your observation is correct, the clientAuth attribute
From: Jonathan Mast [mailto:[EMAIL PROTECTED]
Subject: Yet another context logging question
Foo has a subdirectory bar which I would now like to be
it's own Context and AccessLogValue.
Such a configuration is not supported - webapps may not be nested. Whatever
results you get will be
39 matches
Mail list logo