Thanks a lot, but probaly this doesn't solve my problem.
This is my situation, e.g. I have two images
http://localhost:8080/application1/img/example.jpg
http://localhost:8080/application2/img/example.jpg
The image example.jpg is the same, as other resources in /img/ directory.
There's a
Hello,
May be it's some kind of stupid question, but where in tomcat
environment may be memory leak?
I can imagine three subjects:
- objects stored in application scope
- objects stored in session scope
- objects handled by static properties
Is there any other place where objects can be
Patrick Lacson wrote:
hi All,
If I were to deploy my application as a .war file, where do I place
the .properties configuration files? I know there's the option of
auto-expanding the war file at deployment, but is there a way to keep
the war file unexpanded and provide an external .properties
Where is a exact example of how to do the jndi, jdbc datasource, and the
reseorce ref necessary to get a database connection to a Oracle9i
database from Tomcat 5.0.28?
Gene
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL
Read the doc and configure greater waitForAck timeouts
and more pooled worker.
Sender ...
ackTimeout=5
maxPoolSocketLimit=40 ..
I only used fastasyncqueue mode in my production system!
Sender
Thank you, Wade and everyone else. ServletOutputStream worked perfectly.
Wade Chandler wrote:
--- Edmund Urbani [EMAIL PROTECTED] wrote:
Philip Cote wrote:
I'm trying to write to binary data from a MySQL
database into a jpeg
file so I can show it on a jsp page but
The test case I am using is running on Tomcat 5.5.9.
1. The web application is deployed as a the app.war file, with no
context.xml file to the wars/host directory
2. The Host configuration is as follows.
Host debug=99 name=host unpackWARs=false
deployXML=false
Logger
Le Vendredi 26 Août 2005 03:08, Eugene Poole a écrit :
Where is a exact example of how to do the jndi, jdbc datasource, and the
reseorce ref necessary to get a database connection to a Oracle9i
database from Tomcat 5.0.28?
Hey Joakim,
you can register your own ClusterListener and send ClusterMessages with
SimpleTcpCluster object.
With the 5.5.11 release you can configure it and look inside following
code pieces:
Hi All,
When a client asks for a jsp file and an error has been encountered by
Server while compiling the .jsp to .class then I would like to display
that on the client browser rather than it dumping to the log file
local_host ...log.
Please let me know whether there is any parameter to be
This may be due to the version of Tomcat you are using. It sounds a lot
like this bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=24970
This hit me when I tried upgrading from 4.1.27 to 4.1.29. I am not sure in
which subsequest version it was fixed. It may have been 4.1.31. You
This may be due to the version of Tomcat you are using. It sounds a lot
like this bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=24970
This hit me when I tried upgrading from 4.1.27 to 4.1.29. I am not sure in
which subsequest version it was fixed. It may have been 4.1.31. You
Hi,
I've noticed that undeploy of my web applications that the ROOT folder is left
behind as follows;
ROOT
WEB-INF
classes
log4j.properties
lib
ehcache.jar
struts.jar
The web application has a ContextListener that calls LogManager shutdowns and
Respected friends of the list, I am specifying Cluster nodes (hosts) to use
with tomcat 5.5.9 with an apache server as dispatcher.
In the specification of the disks I have doubts because the new disks SATA has
great performance and speed and with cost comparative minor to the SCSI Disks.
From: Acácio Furtado Costa [mailto:[EMAIL PROTECTED]
In the specification of the disks I have doubts because the
new disks SATA has great performance and speed and with cost
comparative minor to the SCSI Disks.
Considering applications WEB, where the WAR files are loaded
in memory
Then I'm at loss as to what the issue is. The fact that it works in some cases,
and not others, has me puzzled. I'd suggest digging into the javax.xml source
and see if you can figure out the condition that throws the exception, etc.
And I'm still not fully clear on whether our C:\... strings
Hi,
I need to tell Tomcat 5.5 to use my custom SSLServerSocketFactory for
backwards compatibility with our client-side software.
It was relatively easy with Tomcat 4.1 (using a Factory element in the
Connector configuration) but with tomcat 5.5 it doesn't work. The
Connector seems to ignore
Paul Austin wrote:
The test case I am using is running on Tomcat 5.5.9.
1. The web application is deployed as a the app.war file, with no
context.xml file to the wars/host directory
_and_ no META-INF/context.xml in the war file, right?
2. The Host configuration is as follows.
Host
Hello,
I'm extremely new to all this. I was wondering if it is possible to upgrade
from tomcat version 3.2.3 to version 5?
I've read that the upgrade from version 3 to 4 was difficult, so my guess is
that I will have to go to version 4 before I can go to 5.
Thanks
Dave
Hi there,
Of course you can, you just need to be aware of what elements of Tomcat you
need to configure, e.g JNDI resources and so on and then lookup the way you do
that in Tomcat 5. It's not a *far* cry from Tomcat 3/4, you still use
server.xml for a bunch of stuff, but it's recommended that
Thanks, that's somewhat of a relief, although I'm sure I have plenty of work
cut out for me :)
Off I go
- Original Message -
From: Allistair Crossley [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday, August 26, 2005 11:48 AM
Subject: RE: upgrade to
Hey,
Yep, there's always toothache to be had with these things :)
Cheers, Allistair.
-Original Message-
From: David Ellis [mailto:[EMAIL PROTECTED]
Sent: 26 August 2005 16:55
To: Tomcat Users List
Subject: Re: upgrade to 5
Thanks, that's somewhat of a relief, although I'm
I would skip straight to 5. No point in going though 2 painful
migrations instead of just one. All the cores stuff is the same. Read
over the config docs, step up a test server play with it and when your
ready update your production server.
David Ellis wrote:
Hello,
I'm extremely new
On 8/26/05, Paul Austin [EMAIL PROTECTED] wrote:
The test case I am using is running on Tomcat 5.5.9.
1. The web application is deployed as a the app.war file, with no
context.xml file to the wars/host directory
2. The Host configuration is as follows.
Host debug=99 name=host
Couple of things
1. You will get better responses on this list if you review the posting
guide at. This post is way to vague to get specific answers. So most
people are not going to respond to it.
http://jakarta.apache.org/site/mail.html
2. If I follow the description correctly you
Hello,
I am trying to create an Oracle 10g datasource with connection caching
enabled. In my server.xml I have the following...
Resource
name=jdbc/myDS
auth=Container
type=javax.sql.DataSource
driverClassName=oracle.jdbc.OracleDriver
url=jdbc:oracle:thin:@my.db.com:1521:me username=my_name
What is it you want to display? The stack trace?
shyama wrote:
Hi All,
When a client asks for a jsp file and an error has been encountered by
Server while compiling the .jsp to .class then I would like to display
that on the client browser rather than it dumping to the log file
local_host
The JVM by default does not allow you to run anything on the client. You
will have to change the .properties file on the client to enable the server
to interact with the client's file system etc. This is one of the reasons
JavaScript is safer than VBScript.
The VBVM allows the browser to do
Does anyone know where I can check for the compatibility for Tomcat 3.x and
Tomcat 4.x with JDK 1.4? Is JDK 1.4 compatible with Tomcat 3.2.4 and Tomcat
4.x?
My-Tien Sadler
Senior Technical Support Engineer
Peregrine Systems, Inc.
3611 Valley Centre Dr.
San Diego, CA 92130
main: 800-960-9998
I have been running tomcat on a test environment for the past 2 months.I
have lately noticed that,when i keep using it for a while,the server hangs
up and locks up my dbcp thread that connects to oracle.This is very
sporadic.When i shutdown the server,i get this message Waiting for 2
Sessions
nick sturm wrote:
ok, I have done the two things on that page:
renamed the serverlet and deleted the comments around the cgi section
of the web.xml config file.
Uh, you probably want to *read* those comments :-) -- specifically
!-- executableName of the exectuable used to run the --
!--
I know almost have it 'The way I want it to work (TM)' using the
following configuration.
- server.xml
Host appBase=wars/host autoDeploy=false debug=99
name=host unpackWARs=false deployXML=false
Logger className=org.apache.catalina.logger.FileLogger
prefix=host timestamp=false
How are Resource elements in the server.xml file processed? For
instance...
Resource
name=jdbc/myDS
auth=Container
type=javax.sql.DataSource
factory=org.apache.commons.dbcp.BasicDataSourceFactory
driverClassName=oracle.jdbc.OracleDriver
url=jdbc:oracle:thin:@my.db.com:1521:me
username=me
Paul Austin wrote:
Now the final question is how can I set the path to be a sub directory?
So /subdir/app. This worked on my Tomcat 5 installation on Linux but
doesn't work here. It seems to just ignore the path.
No idea, never had a reason to try such a configuration -- sorry!
--
Hassan
I had the same issues and it looks like we are using similar
technologies. Struts1.2.7, Hibernate 3.0.5, Spring 1.2.3
The struts issue (I think) is caused by validator access the
validator.dtd resource and no releasing it. Under
WEB-INF/classes/org/apache/commons/validator/resources I added
I am new to Tomcat and am having a hard time finding the answer to my
problem.
I have a simple WebStart application that I am trying to run from the
webapps directory. I am getting the following WebStart -Download error:
Unable to load resource:
Is there a way to set Tomcat to call listeners before invalidate() is called on
a session?
I'm trying to code a method to clean up specifically named files inside a working dir (in Windows XP) whenever the session times out. I can't seem to find a way to do it. Apparently,
invalidate() is
We're pleased to announce the availability of the Public Review of the
next versions of the specifications for the Java Web tier. This includes
Servlet, JavaServer Pages (JSP), the JSP Standard Tag Library (JSTL) and
JavaServer Faces (Faces). Servlet is being developed under JSR-154, JSP
2.1 is
Caldarale, Charles R wrote:
From: Philip Cote [mailto:[EMAIL PROTECTED]
Subject: Re: Making a Database Image Show Up on a Jsp Page
My only sticking point is how I'm supposed to write that
binary data to the jpeg file.
I think the point people are trying to make is that you don't
On Fri, Aug 26, 2005 at 02:16:26AM +0800, Patrick Lacson wrote:
: I know that's typically where they go, but if the file is inside the
: .war, how is the file going to be configured by the sysadming folks?
Webapps are meant to be fairly standalone. If you require that one be
configured after it
I tried to upgrade from 1.2.8 to 1.2.14 this week. I
must say that the behavior of mod_jk has changed quite
a bit.
Especially troublesome is that the LB seems less
equally distributing in 1.2.14 than it was in 1.2.8.
Essentilly I experienced some Tomcats die under the
load while others where
Thanks, that's just what I needed.
Gene
[EMAIL PROTECTED]
David Delbecq wrote:
Le Vendredi 26 Août 2005 03:08, Eugene Poole a écrit :
Where is a exact example of how to do the jndi, jdbc datasource, and the
reseorce ref necessary to get a database connection to a Oracle9i
database from
You could implement HttpSessionBindingListener and define your own
valueBound and valueUnbound methods.
DarekC
On Fri, 2005-08-26 at 13:08, Franklin Phan wrote:
Is there a way to set Tomcat to call listeners before invalidate() is called
on a session?
I'm trying to code a method to clean up
Hello,
How do I determine what value I should set tcpThreadCount to
Currently I have the setting below and a very busy app server.
Thanks
Randy
Receiver className=org.apache.catalina.cluster.tcp.ReplicationListener
tcpListenAddress=10.0.0.88
tcpListenPort=4001
Alain Brousseau [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I need to tell Tomcat 5.5 to use my custom SSLServerSocketFactory for
backwards compatibility with our client-side software.
It was relatively easy with Tomcat 4.1 (using a Factory element in the
Connector
Darek,
I've tried your suggestion. As I've said before: I need to access the Session
object. This is what I have:
package abcd;
import java.io.*;
import javax.servlet.http.*;
public class AbcdSessionListener implements HttpSessionBindingListener {
private String userId;
public void
46 matches
Mail list logo