Foo Shyn wrote:
Currently i'm using Tomcat 4.1 and my application uses the Tomcat's DBCP to
connect to a Derby database.
However, since the Derby database only allow one application to connect to it
at a time, is it possible that i could configure the Tomcat's DBCP connection
so that other
I spoke with him, and it's not problem with network. It's something else. I
don't know maybe settings or something else. Any other suggestions. Please
help me out, it's make me nervous.
Pozdrawiam,
Piotr Dziędziel
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent:
Piotr Dziędziel wrote:
Hi All,
When I'm uploading the file (size 4MB) from the same LAN everything is OK.
When I'm uploading from different system over LAN or from the internet and
the file has size is 3MB or lower, it's OK, uploading ends successful.
I am facing the problem while uploading
Piotr;
just a shot in the dark as I experienced problems like that to be just
incredibly hard to come by: Could this be due to a web-browser related
timeout? I have seen something like that in our environment having
customers that try to upload files across thin lines, and in most of
the cases
Hi all,
which kind of JMX connector does tomcat uses, rmi? If it is rmi, which
port is it used? In which class is the JMX agent started?
Thanks,
Michele
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe,
Thank you Chuck.
OK, perhaps I can do with getResourceAsStream for all my needs inside the war.
I prefer my war to be unpacked for the needs of other applications (non Java)
to access the content of the war
But I think there is a bug in Tomcat. You agree ?
If my Host parameters are :
Hi,
please read the docs
http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html
Regards
Peter
Am 14.09.2006 um 11:23 schrieb Michele Mazzucco:
Hi all,
which kind of JMX connector does tomcat uses, rmi? If it is rmi, which
port is it used? In which class is the JMX agent started?
Thanks,
Essentially, you will first have to install mod_jk. Then configure its
worker properties. The article in the following link briefs about this.
http://www.serverwatch.com/tutorials/article.php/2203891
You might also be interested in reading the Jakarta reference:
Hi Peter,
thanks. But what about out of the box configuration?, the
org.apache.tomcat.servlets.jmxremote.JmxRemoteServlet creates a rmi
registry on port 1099 and a jmx service url at
service:jmx:rmi://rmiHost/jndi/rmi://localhost:1099/jndiPath. So the
question is, is rmi the default jmx protocol?
As far as I know, tomcat does not discriminate between the local LAN and
the outer WAN -- all the requests are run through the same machinery.
Somewhere either in the app code or the network proxies/firewalls,
there's a limit of how much data can be in one request (or how much time
a request
Mikolaj''s response may seem a bit curt, but the point is that one
connection to a database is very limiting and not real practical.
On 9/14/06, Mikolaj Rydzewski [EMAIL PROTECTED] wrote:
Foo Shyn wrote:
Currently i'm using Tomcat 4.1 and my application uses the Tomcat's DBCP
to connect to a
Hi!
I have a problem that I really need to solve. I have to find a way how
to configure a tomcat installation, so that it works together with an
Oracle Application Server Portal, respectively the SSO Server.
I know, that there is a module (mod_osso) for apache, but i am not sure
how to
Hello
I set the web application directory to be a ROOT
by creating dirname.xml
in the CATLINA_HOME/conf/Catalina/localhost
with content 'Context path= docBase=${catalina.home}/webapps/dirname
debug=0/' ...
My problem is that there are two contexts initialized now and
contextInitialized of my
Two solutions:
1. Rename dirname to ROOT (recommended)
2. Move dirname out of webapps.
Essentially the webapp is being deployed once because of the ROOT.xml
file and once because of it's presence in webapps with a name other than
ROOT.
--David
Velja Radenkovic wrote:
Hello
I set the
Hello,
I want to know what is the model used by Tomcat between the socket and
the thread ?
Is it one socket - one thread ? For example the communication between
one entity and a Tomcat instance uses HTTP 1.1 is establish by invoking
servlet1, if the entity invokes again servlet1 (without any
From: Velja Radenkovic [mailto:[EMAIL PROTECTED]
Subject: Two contexts initialized ...
I set the web application directory to be a ROOT
by creating dirname.xml
in the CATLINA_HOME/conf/Catalina/localhost
with content 'Context path=
docBase=${catalina.home}/webapps/dirname
debug=0/'
On 9/14/06, Kristian Rink [EMAIL PROTECTED] wrote:
... Could this be due to a web-browser related timeout?
You would certainly get more reproducible test results using, say,
`curl` to do test uploads.
--
Hassan Schroeder [EMAIL PROTECTED]
Hello there,
we have a problem with an intranet tomcat server.
Under high load*** the performance completely breaks in, or the tomcat
totally fails (service terminated unexpectedly).
The break in first seemed to be a complete collapse, but the tomcat
magically recovered after some time,
but
I am configuring tomcat and apache through mod_jk on Linux. In the server.xml
file in /TOMCAT_HOME/conf, I have added this line:
Listener className=org.apache.jk.config.ApacheConfig
modJk=/TOMCAT_HOME/mod_jk/mod_jk.so /
And when I restart the tomcat, I get this error:
Caused by:
Thanks Peter.
Peter Rossbach wrote:
Hi,
I don't know about this experiment, but it seems not finished. Please,
use sun jdk command line args to start your jmx adapter.
I though tomcat used mx4j.
One of the strange things of the current Java 5 JVM is: You can only set
the naming port and
Hi,
Am 14.09.2006 um 16:25 schrieb Michele Mazzucco:
Thanks Peter.
Peter Rossbach wrote:
Hi,
I don't know about this experiment, but it seems not finished.
Please,
use sun jdk command line args to start your jmx adapter.
I though tomcat used mx4j.
Only with JDK 1.4. See JDK 1.4
Use ${catalina.base} instead.
Peter
Am 14.09.2006 um 16:06 schrieb jbashir:
I am configuring tomcat and apache through mod_jk on Linux. In the
server.xml
file in /TOMCAT_HOME/conf, I have added this line:
Listener className=org.apache.jk.config.ApacheConfig
We used AIX on a project and really didn't like the
experience. We had different issues. Some of them
are nothing more than management is not as good and
even command line editing and running
commandsLinux is just more user friendly maybe is
the way I would put it. I feel the same way
Hi all:
I setup the TCPListner's IP address to be auto on 2 separate machines.
Then I used the command netstat -nlp to verify what's listed and found out one
actually bound to 127.0.0.1,
The other bound to the real IP address. What is going on?
Actually these 2 machines have the
I'm sorry Peter, but you didn't reply to my questions ;): with the out
of the box configuration, what happens if I want to connect this way:
JMXServiceURL url = new JMXServiceURL(
service:jmx:rmi:///jndi/rmi://localhost:/server);
JMXConnector jmxc =
Hello,
I've got a problem with several of the Struts apps that I'm deploying to
Tomcat 5.5.17. If I redeploy the app by dropping in a new war file, I
almost always have to restart tomcat in order to see the updated classes
take affect. I've read that this could be caused by threads being
Finding memory leaks is a complex task, you have to read a lot and know
everything about garbage collect, try these links:
http://tomcat.apache.org/faq/memory.html
http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=2669
-Original Message-
From: Gormley,
Hi everybody.
Unfortunately I am only very little familiar with servlets and JSPs. But
I have the following urgent qustion, since I have to solve it for my job.
I have the source code availible for a bigger JAVA web project. I
managed to import it into Eclipse and compile it. But I would
As usual, whenever I post a question I seem to almost immediately find
some more information.
I'm looking into these posts, which will hopefully give me some
direction. If anybody has other posts that may offer more information,
I'm all ears.
HI Michele,
please, read the sun jmx docs.
The default jmx server from java 5 starts a rmi registry and starts a
jmx server socket.
Currently the jmx server socket port change with every start from
your jvm. You can't
control the port or binding an ip address from command line. Please,
These memory issues make me ask whether what I'm doing is a recommended
usage of Tomcat.
My goal is to have one instance of Tomcat running on a server and have
multiple (~20) apps running within it. Ideally, I would be able to
redeploy individual apps without affecting any of the other apps.
From: Gormley, Josh [mailto:[EMAIL PROTECTED]
Subject: RE: undeploy doesn't completely remove classes from memory
Ideally, I would be able to redeploy individual apps without
affecting any of the other apps.
The problem is usually within the application, where it's stored an app
object or
-- Forwarded message --
From: Eric Berry [EMAIL PROTECTED]
Date: Sep 14, 2006 11:11 AM
Subject: Re: Three hostnames in one instance of tomcat
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
In the ${tomcat_instance}/conf/server.xml files just change the single
host entry to have your
Hi all,
I have Tomcat 5.5.17 installed with the J2SDK 1.4.2.12 on Windows Server
2003 and it is running just fine. The server.xml has only been changed
from its default state to set the port # to 80. (There is no other web
server on this PC.) When I drop a WAR file into the Tomcat5.5\webapps
cause your `hostname` resolves to 127.0.0.1 in /etc/hosts
Filip
Patrick Wang wrote:
Hi all:
I setup the TCPListner's IP address to be auto on 2 separate machines.
Then I used the command netstat -nlp to verify what's listed and found out one
actually bound to 127.0.0.1,
The
Thanks for the reply, I changed the /etc/hosts and it works now.
Pat
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 14, 2006 2:04 PM
To: Tomcat Users List
Subject: Re: Tomcat CLustering listening address
cause your `hostname`
It sounds like you need to set up your project libraries. It's been
awhile since I used Eclipse, but I think if you right-click on your
project, then select Properties (bottom of the menu), you should see
an option for Java Build Path. Check for something like Referenced
jar files, and make sure
On 9/11/06, Leon Rosenberg [EMAIL PROTECTED] wrote:
On 9/11/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote:
CentOS Debian with tomcat, how many users are you handling ?
Here with 350 logged users our Win2003-Serv is suffering a lot all the
time.
I really want to know the capacity of tomcat
Eric Berry wrote:
Here's the jist of what I have:
Host name=www.host1.com appBase=/opt/projects/www/host1/web
Context path= docBase=/opt/projects/www/host1/web /
/Host
This will fail in later versions of Tomcat 5. appBase should not equal
docbase. The correct configuration is:
Host
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.
For the standard Java connector, it's one socket - one thread (this is also
true of the standard Java AJP/1.3 connector, but in this case requests from
many different users will use the same socket). For the APR connector and
the Nio connector (currently Tomcat 6 only), a thread will handle
On 9/15/06, Fei Yang [EMAIL PROTECTED] wrote:
Hi,
I am working on a project transplanting a tomcat 4 value to tomcat 5.5.9.
Just found ValveContext is gone in 5.5.9.
I assumed these replacements
org.apache.catalina.Request -
org.apache.catalina.connector.Request
42 matches
Mail list logo