Hi,
i am new to the list. If have a problem getting tomcat 5.0.28 work under AIX
5.2 ML4. I try the newest Version of IBMs java 1.4.2 and 1.3.1. for AIX.
8 of my servers work fine, 10 doesn't run the tomcat. I use the tomcat
binary distribution from jakarta. TC stops when parsing the first
Increase the size of the heap. The default is only 64M.
Ta
Matt
-Original Message-
From: kjiang [mailto:[EMAIL PROTECTED]
Sent: 06 January 2005 21:19
To: tomcat-user@jakarta.apache.org
Subject: java.lang.OutOfMemoryError Tomcat4.1.30
Hi
When tomcat (version 4.1.30) read in a large
Hi all,
I have been trying hard to deploy my webapp on Tomcat-5.0.27 using a WAR
file. I have searched through the mail archives but havent been able to
find a well defined proceudre for deploying webapps using WAR files.
Plz can someone guide me on how to do that using Ant build.xml. Kindly
Sandeep -
The ant deploy task you need is found in catalina-ant.jar in
$TOMCAT_HOME/server/lib.
Then in your build file a target like this should do:
target name=deploy
deploy url=127.0.0.1:8080
username=${manager_username}
password=${manager_password}
On Thu, 30 Dec 2004 17:58:09 -0800, Ian Huynh [EMAIL PROTECTED] wrote:
We are using TC 5.0.28 on JDK 1.4.2
We have a client who POST to TC using header Transfer-encoding: chunked
and at the same time specify the Content-Length header
when posting to us.
It seems that if the
a) Authenticate the users against the generic /etc/passwd unix scheme
(/etc/shadow in our case).
Provided you have read access to the password file, look for JCrypt for a
java implementation of the Unix password encryption scheme.
Regards
Roger
For this to work if you havent already you must have also configured
your Tomcat Manager Application with a valid user and password if you
havent already.Acess to documentation here
http://localhost:8080/manager/manager-howto.html
Mike Fowler wrote:
Sandeep -
The ant deploy task you need is
Hi,
I'm new in tomcat and Java.
I search at the archives and do some google but I dont find any think
like that...
I would like to create a user at tomcat with the rights like to
deploy remotely and reload their aplication... but ONLY their own
aplication and dont have access to the
Hi,
Thanks for your answer
But I've lot of webapps running, and need for all of this running contexte
to put the output file of catalina in differents files (one contexte = one
file).
With your method, it's just change the file I think.
Benoit
- Original Message -
From: Julius Davies
Hello folks, are you using J2SE5? What about it?
Regards,
Edson
Are you using J2SE5? What about it?
Regards,
Edson
Our Tomcat 5.5.5 runs perfectly with Java 5.0 as does our Content Management
System in production. A bunch of modules in our web application and our new
development code all use some new Java 5 features such as generics and enhanced
for loops and this works perfectly well. Hibernate 2, Struts
Hi,
I have tomcat 5.0.19 and j2sdk1.4.2_03. I am trying to run my web
application. When I try to connect to
the database from my web application. It gives this error
org.apache.jasper.JasperException: Name java:comp is not bound in this
Context
Hi all,
I am trying to set up loadbalancing and session replication with Tomcat
5.5.4, Apache 2.0.52, and mod_jk1.2.8 on Windows XP. I am puzzled on
things that are related to the load balancer worker. Below are the
questions I have:
1. Do I need to set up a SEPARATE Tomcat instance as the load
Review of noname.net
I made the mistake of selecting a Shared VM trial thinking I could get
way with it but I couldnt.
I managed to get my basic application running, although deployment was a
very hit a and miss affair, Tomcat Manager didnt work properly and I
didnt receive satisfactory
Mod_JK used in conjunction with Apache Web Server will provide you with
load balancing functionality. You only need two tomcat instances.
Here is a simple diagram. This provides a conceptual view of how load
balancing is networked. See that there are only two tomcat instances
needed. Of
H Paul,
Yes in terms of the logging and connection pooling I had that problem and so
I implemented the commons database pooling and use log4j to do my logging.
Sorry it wasn't so clear for you
Original Message Follows
From: Paul Taylor [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html
Gives very detailed instructions, including an ANT script that wars up
and installs the sample app built in the tutorial.
On Fri, 2005-01-07 at 03:50, Sandeep Kang wrote:
Hi all,
I have been trying hard to deploy my webapp
the answer is 1
what do i win?
Troy Simpson wrote:
I have the following configuration:
Apache2 2.0.52
Tomcat 5.0.28
mod_jk 1.2.8
I have this directive in my httpd.conf file.
JkMount /jsp-examples/* ajp13w
1.
Does this mean that the worker ajp13w will process all content,
including static content?
Thanks Randall.
Gary
-Original Message-
From: Randall Svancara [mailto:[EMAIL PROTECTED]
Sent: January 7, 2005 10:40 AM
To: Tomcat Users List
Subject: RE: Need your expertise on lb worker
Mod_JK used in conjunction with Apache Web Server will provide you with
load balancing
I realize i might be a little more helpfull if i try to be a little bit
more verbose...
the * in /jsp-examples/* tells apache to sent everything after
/jsp-examples/ to the worker.
if you want the static content handled by apache then do something like this
JkMount /jsp-examples/*.jsp ajp13w
Casas, Claudia wrote:
No way! I just got my server completely working on jk2!
Does anybody have any links or resources that talk about this. If this
is really a big issue, I will definitely move back to jk
Sorry. I was as bitten by the news as you are. The thing is, if it is
working, not only
Troy Simpson wrote:
How does Apache2 find the workers.properties file?
According to page 245 of Professional Apache Tomcat 5, it says:
These settings provide detailed information about the configuration
setup to Apache2, including the location of the workers2.properties
file and the debuggin level
Hello,
Is there documentation on how to configure the HTTP header properties of
files delivered by the WebdavServlet? The only configuration I could
find for the WebdavServlet are samples with no documentation on all
available param-name, range of param-value valid for each param-name.
Is there
Liu Steve wrote:
Hello,
Is there documentation on how to configure the HTTP header properties of
files delivered by the WebdavServlet?
No. But there isn't any functionality within the webDAV servlet to
configure either ;)
The only configuration I could
find for the WebdavServlet are samples with
Hi All,
I am doing some performance tests. Under heavy load I get socket
exceptions in my tomcat logs
SEVERE: Error, processing connection
java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at
Please do not hijack another message thread.
If you wish to post to the list create a new message and send it. DO NOT
reply to a list message and change the subject. Thread aware mail
clients still recognise this as a reply and do not show it as a new message.
Mark
[EMAIL PROTECTED]
shyam
Are you on a windows environment?
-Original Message-
From: shyam [mailto:[EMAIL PROTECTED]
Sent: Friday, January 07, 2005 1:41 PM
To: 'Tomcat Users List'
Subject: Socket Exception - Heavy load
Hi All,
I am doing some performance tests. Under heavy load I get socket exceptions in
Yes I am on windows
Thanks
shyam
-Original Message-
From: Derrick Koes [mailto:[EMAIL PROTECTED]
Sent: Friday, January 07, 2005 2:12 PM
To: Tomcat Users List
Subject: RE: Socket Exception - Heavy load
Are you on a windows environment?
-Original Message-
From: shyam
Hi Mark,
Thanks. I would remember this .
Thanks
shyam
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Friday, January 07, 2005 2:10 PM
To: Tomcat Users List
Subject: Re: Socket Exception - Heavy load
Please do not hijack another message thread.
If you wish to post
I tried pinging the server and responses are all 1ms. I have also
tried without a DB Connection, Fast, with a DB Connection and no query,
slow, and with a DB Connection and with a query, just as slow.
Charles
-Original Message-
From: Randall Svancara [mailto:[EMAIL PROTECTED]
Sent:
Windows is notorious for holding the socket binding for some time after the
close is done. I expected that you would see a BindException, not a
SocketException.
This exception is thrown if a socket cannot be created and bound to the
requested port.
However, your error looks like the
Sorry, I thought you had a socket write error. Looks like a read error.
-Original Message-
From: Derrick Koes [mailto:[EMAIL PROTECTED]
Sent: Friday, January 07, 2005 2:35 PM
To: Tomcat Users List
Cc: Tomcat Developers List
Subject: RE: Socket Exception - Heavy load
Windows is
What is your wait_timeout set to?
ContactInfo
NameDerrick Koes/Name
TitleSenior Software Engineer/Title
Company name=SkillSoft
url=http://www.skillsoft.com/
AIMcodeauthor2001/AIM
Email[EMAIL PROTECTED]/Email
Phone(603) 821-3260/Phone
Cell(603) 305-1753/Cell
Fax/
Quote
Hi Derrick,
Yeah it the read error. For reasonable amount of load tomcat doesn't
complain. But for high loads , tomcat takes almost 400M (max allocated
is 512) and as I observe it , there is a GC, and tomcat uses the minimum
and during that time all these exceptions occur. I tried playing with
the
I am including my workers.properties here
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=200
Hey guys,
I'm just trying to see how many clients/sessions you guys get Tomcat to
support at the same time, and what kind of setup did you have to
consider for each case (clustering, load balancing), I would like to be
able to support over 1000 users, is that possible with one instance of
Tomcat
Do you see the problem when
# worker.worker1.cachesize=200
# worker.worker1.cache_timeout=60
# worker.worker1.socket_keepalive=1
# worker.worker1.reclycle_timeout=60
# worker.worker1.retries=5
That is, defaults used for all these properties.
BTW, you don't need an lbfactor unless this is
In order to answer that question a lot more information is required.
For instance how complicated is the running application. Also some
information on the target hardware would help. As for the 1000 user is
it consecutive /min /hour /day
Drew Jorgenson wrote:
Hey guys,
I'm just trying to
I am running Tomcat 5.0.28, mod_jk 1.2.8, and Apache/2.0.46 on Redhat
Enterprise Linux WS 3.0.
We have an HTML page that is a frame: top (banner), left hand (menu), and
right hand (main content). There are 6 hyperlinks in the LH pane that
point to *.jsp pages that load in the RH pane via a
maxThreads isn't a valid connector attribute, right?
Did you mean maxProcessors?
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html
The maximum number of processors allowed. This should be set to a value that is
greater than or equal to the maximum number of concurrent
Hi Derrick,
I tried the default settings and also my settings. I get the same error.
I turned the jklog file and saw the below error
[Fri Jan 07 15:10:53 2005] [error] ajp_service::jk_ajp_common.c (1673):
Error connecting to tomcat. Tomcat is probably not started or is
listening on the wrong
tried this? http://jakarta.apache.org/jmeter/
Drew Jorgenson wrote:
Hey guys,
I'm just trying to see how many clients/sessions you guys get Tomcat to
support at the same time, and what kind of setup did you have to
consider for each case (clustering, load balancing), I would like to be
able to
Where are you getting your 1000 connection number?
maxThreads?
Try using maxProcessors=0 for infinite. This value should match
The maximum number of processors allowed. This should be set to a value that is
greater than or equal to the maximum number of concurrent connections the
remote
Are there known filters that will make the changes in header I suggested
based on config or one must roll his own?
Cheers,
Steve Liu
-Original Message-
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: Friday, January 07, 2005 12:40 PM
To: Tomcat Users List
Subject: Re: How do you
Since the addition of the query does not add to the time then using a
connection pool will return your speed to normal. You may wish to dive into
the connection issue and determine what is causing it to be so slow to
connect. IE put a sniffer on the line and see what is going back and forth.
The entire JSP compilation process, using Ant and the jasper2 ant
task, takes about 30 minutes! This is far too long. I mean, there are
systems that are doing more than just compiling text, such as advanced
3D graphics and speech recognition, that are far faster than Tomcat's
JSP
Why not hit every URL with curl or wget before deploying and include
Tomcat's work directory with your deployment? How does that compare
for speed?
Also, have you tried giving Ant some extra heap to play with? I think
this is how (on unix):
export ANT_OPTS=-Xms256M -Xmx256M
yours,
Julius
On Fri, Jan 07, 2005 at 06:02:14PM +0100, Nikola Milutinovic wrote:
: Sorry. I was as bitten by the news as you are. The thing is, if it is
: working, not only shouldn't you fix it, but relax. JK2 is OK - if it
: works. It is a stable mechanism, it is just not going to be developed
: any more.
On Fri, Jan 07, 2005 at 11:54:20AM -0800, Drew Jorgenson wrote:
: I'm just trying to see how many clients/sessions you guys get Tomcat to
: support at the same time, and what kind of setup did you have to
: consider for each case (clustering, load balancing), I would like to be
: able to support
Mieke Banderas [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Are there any issues I should know about using Tomcat 3.2.4 with JavaVM
jdk 1.4.1? I'm looking for general known info/bugs . I'm deploying on Mac
OS X Server 10.2.6 and the bundled Tomcat 3.2.4 distribution.
Other than
Hi All,
I can start up tomcat and run the main page http://localhost:8080, but
if I try to go to the servlets examples
it can't find the page...
In the catalina.out log, there are errors that are only there when I
keep the servlets-examples directory in the webapps folder,
if I take it out all
Julius Davies wrote:
Why not hit every URL with curl or wget before deploying and include
Tomcat's work directory with your deployment? How does that compare
for speed?
We've already tried that... First off its the same speed... second there
are horrible out of memory issues with the
Not a 5.5 user, but have a couple of questions.
Has the examples ever worked?
Did you just try to add them?
Are you letting Tomcat deploy them from the war?
Have you tried to pull a virgin copy of the war file?
What OS are you on?
Are you hiring and how much..
Oops. Never mind that last one,
Hi,
I'm using Tomcat's connection pooling feature which is implemented with
Jakarta's DBCP to manage database access, and I just noticed that each time
when I do a reload (either via Ant or Tomcat manager), a database
connection is added to the database server. Though this isn't a big problem
parameter
nameremoveAbandoned/name
valuetrue/value
/parameter
parameter
nameremoveAbandonedTimeout/name
value60/value
/parameter
Time in seconds.
This is a follow-up to my question. I hope someone might have seen this
before. I don't know if this is a Tomcat, or mod_jk, or Apache issue, but
since I've only seen it with JSPs, I think Tomcat or mod_jk factor in.
Here are entries from Apache's combined access log when the problem
occurs:
You need to release connections when you are done with them, con.close() ;
This is similar to using a direct connection to the jdbc except this
time the only difference is where you got the connection object from.
Calling con.close() ;
will release the driver back to the connection pool.
Lucie
From: Brian McEntire [mailto:[EMAIL PROTECTED]
Subject: Apache returning different sizes for same request [was Re:
Controlling caching / session collision]
My browser requested listByOwner.jsp but received
decodedDataChartContents.jsp. I expected listByOwner
but saw
Software
JDK1.5
jakarta-tomcat-5.5.2
Requirement
---
I am using JDBCRealm Authentication.
I want to provide a logout facility and I could do that with
session.invalidate() function but is there any other way by which without
destroying the session we can logout
In your servlet's destroy() method (I am using Struts
and plugins, and use the plugin's destroy() method),
add the following code:
((BasicDataSource) ds).close();
That is assuming your data source is named 'ds'. This
will close all connections.
Dustin
--- Lucie Chan [EMAIL PROTECTED] wrote:
Dustin,
Thanks! You''ve helped me to solve a prloblem that I've been struggling
with for days.
---
Lucie
Date: Fri, 7 Jan 2005 22:08:20 -0800 (PST)
From: Dustin [EMAIL PROTECTED]
Subject: How to release connections in connection pool during reload?
Content-Type: text/plain; charset=us-ascii
In
62 matches
Mail list logo