I give up. MVC baby!
On Aug 21, 2005, at 7:24 PM, Philip Weaver wrote:
How can I programmatically load servlets and servlet mappings in
Tomcat? I'm using Tomcat 5.0.28.
I'm trying to extend StandardContext to automatically map/assign a
batch of servlets from a specified jar at startup.
I'm not using the war. This is an Unpacked deployment.
On 8/1/05, Lintang JP [EMAIL PROTECTED] wrote:
Hi Jeffry, are you trying to deploy a .war file ? maybe U should use the
tomcat manager, usually it's located at
http://localhost:8080/manager/html, U can deploy your .war
files from that
any log file ?
On 8/1/05, Mohd. Jeffry [EMAIL PROTECTED] wrote:
I'm not using the war. This is an Unpacked deployment.
On 8/1/05, Lintang JP [EMAIL PROTECTED] wrote:
Hi Jeffry, are you trying to deploy a .war file ? maybe U should use the
tomcat manager, usually it's located at
my application name is sd. This is my catalina.out
.
.
.
INFO: Processing Context configuration file URL
file:/etc/tomcat5/Catalina/localhost/balancer.xml
Aug 1, 2005 11:21:31 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /sd from URL
Servlet mapping specifies an
unknown servlet name invoker
Maybe you try to map a servlet name that's not declared yet on web.xml ?
How about your web.xml file ?
On 8/1/05, Mohd. Jeffry [EMAIL PROTECTED] wrote:
my application name is sd. This is my catalina.out
.
.
.
INFO: Processing
which one? tomcat or my application web.xml ?
On 8/1/05, Lintang JP [EMAIL PROTECTED] wrote:
Servlet mapping specifies an
unknown servlet name invoker
Maybe you try to map a servlet name that's not declared yet on web.xml ?
How about your web.xml file ?
On 8/1/05, Mohd. Jeffry
you app.specific web.xml, at WEB-INF
On 8/1/05, Mohd. Jeffry [EMAIL PROTECTED] wrote:
which one? tomcat or my application web.xml ?
On 8/1/05, Lintang JP [EMAIL PROTECTED] wrote:
Servlet mapping specifies an
unknown servlet name invoker
Maybe you try to map a servlet name that's not
I don't think its a good idea to post it here. The files got thousands
of lines.. perhaps there are specific parts that I should be look in
to?
On 8/1/05, Lintang JP [EMAIL PROTECTED] wrote:
you app.specific web.xml, at WEB-INF
On 8/1/05, Mohd. Jeffry [EMAIL PROTECTED] wrote:
which one?
1. try to match the servlet-name part with the servlet-mapping, maybe
there's some unmatch item there
2. If U just migrate to tomcat 5, U shd also look the DTD item at the top of
your web.xml file, which dtd is used by web.xml in tomcat 5
I guess that's all ?
On 8/1/05, Mohd. Jeffry [EMAIL
Hi Jeffry, are you trying to deploy a .war file ? maybe U should use the
tomcat manager, usually it's located at http://localhost:8080/manager/html,
U can deploy your .war files from that tools.
On 8/1/05, Mohd. Jeffry [EMAIL PROTECTED] wrote:
I'm migrating form Tomcat 4.1.2 to Tomcat 5.0.
Robert U. Chan wrote:
Good day!
Hope somebody can help me with my current problem in tomcat. I have been
seeing an 'error in getDescSql in StaticMethod' in the console of tomcat.
Can somebody help me know the cause and solution to this problem.
This could be some SQL code in your web app. For
Not clear what you want.
Send me the details
Where is your static document ( The directory )
How do want to access it ? ( the URL )
Which version of TOMCAT YOU ARE USING
Send me your server.xml
Regards
Guru
-Original Message-
From: J. Ryan Earl
To: 'Tomcat Users List'
Subject: RE: Need help exporting contexts not under webapps/
Not clear what you want.
Send me the details
Where is your static document ( The directory )
How do want to access it ? ( the URL )
Which version of TOMCAT YOU ARE USING
Send me
13:25
To: 'Tomcat Users List'
Subject: RE: Need help exporting contexts not under webapps/
Guru,
Earl isn't the only one trying to do this. Here are the details for my
attempts which may or may not be similar to his:
- Running TC 5.5.8, JVM 1.5.0_02-b09 under Win XP Pro SP2
- I have a set
subdirectories under c:\www showed up on the server,
including aegean. Other contexts continue to be recognized as deployed apps.
Fritz
-Original Message-
From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19, 2005 5:45 AM
To: 'Tomcat Users List'
Subject: RE: Need help
/Context
Context docBase=/mnt/CMFiles/DOCS
privileged=true antiResourceLocking=false
antiJARLocking=false
/Context
-Original Message-
From: QM [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 8:30 PM
To: Tomcat Users List
Subject: Re: Need help exporting contexts not under
Did you manage to get it right ?
I would recommend that you use lower case context path name
Regards
Guru
- Original Message -
From: J. Ryan Earl [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Tuesday, April 19, 2005 6:56 PM
Subject: RE: Need help exporting
To: Tomcat Users List
Subject: Re: Need help exporting contexts not under webapps/
Did you manage to get it right ?
I would recommend that you use lower case context path name
Regards
Guru
- Original Message -
From: J. Ryan Earl [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user
On Mon, Apr 18, 2005 at 01:16:04PM -0500, J. Ryan Earl wrote:
: So my question is, in short, given a directory structure of static files,
: how do you get Tomcat to serve said static content off of an arbitrary URI?
So, are you trying to
1/ have a Tomcat-run webapp serve content that exists
On Thu, Mar 31, 2005 at 02:42:10PM -0500, Steve R. Burrus wrote:
: Can someone/somebody please tell me just how exactly I go about viewing an
image using both of the FileInputStream and the FileOutputStream classes in
connection with the method getRealPath()??
Share your code, and we can help
, but it is working now. May be things are better in
Tomcat 5.0. Thank you for your help.
Willy
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 5:58 PM
To: Tomcat Users List
Subject: Re: Need help for case insensitive deployment
From
Hi:
Can someone tell me whether my question is posted or not? Am I
having problem with my mail server?
Thanks.
Willy
-Original Message-
From: Willy Lin
Sent: Tuesday, September 28, 2004 10:39 AM
To: 'Tomcat Users List'
Subject: Need help for case insensitive
From: Willy Lin [EMAIL PROTECTED]
Can someone tell me whether my question is posted or not? Am I
having problem with my mail server?
We got it the first time.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html
I don't see any reference to 'caseSensitive' there, do you? It's
On Tue, Sep 28, 2004 at 10:39:19AM -0700, Willy Lin wrote:
: I need to server up some pages through Tomcat4 that are case
: insensitive.
Time for some creative Filter action, then?
-or even not-so-creative Filter action...?
-QM
--
software -- http://www.brandxdev.net
tech news --
-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 28, 2004 5:18 PM
To: Tomcat Users List
Subject: Re: Need help for case insensitive deployment
From: Willy Lin [EMAIL PROTECTED]
Can someone tell me whether my question is posted or not? Am I
having problem with my mail server
From: Willy Lin [EMAIL PROTECTED]
Thank you. Now, I know I am not talking to myself. You are right that
there is no mention of case sensitivity at the context level in Tomcat
4.0,
but it is mentioned at the resource level.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/resources.html
On Fri, Sep 03, 2004 at 02:16:26PM +0800, Venu wrote:
: I am trying to execute my jsp's servlets from my remote server
: from /home/httpd/vhosts/domainname.com dir
:
: It works fine for the Html's but when try to execute my jsp's servlets
: it is not able to execute and even doesnt displays an
Hi,
Just what's mentioned in the log4j manual:
- Place log4j.jar in WEB-INF/lib
- Place log4j code in your JSPs as you wish
- Place log4j.properties in WEB-INF/classes or configure log4j
programmatically.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Tonte
Thanks I will try this... I had my log4j.properties in web-inf/config/ instead of
web-inf/classes
Thanks again.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 7:50 AM
To: Tomcat Users List
Subject: RE: Need help with Log4j and Tomcat5
Hi
Thanks a lot. I was successful at logging my debug statements. Thanks a bunch!
tp
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 7:50 AM
To: Tomcat Users List
Subject: RE: Need help with Log4j and Tomcat5
Hi,
Just what's mentioned
/debug classpath, in which case
it only picks up the first jar and I only get one logger.
Has anybody else run into this? Anybody have any idea what to do
next?
TIA,
Bill
Send reply to: Tomcat Users List [EMAIL PROTECTED]
Subject:RE: Need help with Log4j and Tomcat5
Date
So you have different log4j jar files? If so why, why not just use one?
-Original Message-
From: Bill Harrelson [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 9:37 AM
To: Tomcat Users List
Subject: RE: Need help with Log4j and Tomcat5
This works fine for me under Tomcat
find anyone that has been able to help.
TIA
Bill
Send reply to: Tomcat Users List [EMAIL PROTECTED]
Subject:RE: Need help with Log4j and Tomcat5
Date sent: Fri, 23 Jul 2004 09:50:28 -0500
From: Tonte Pouncil [EMAIL PROTECTED]
To: Tomcat Users
Informatics
-Original Message-
From: Bill Harrelson [mailto:[EMAIL PROTECTED]
Sent: Friday, July 23, 2004 11:20 AM
To: Tomcat Users List
Subject: RE: Need help with Log4j and Tomcat5
I have multiple applications, say app1 and app2. I want separate
logging for each application. log4j creates
AFAIK, you won't be able to get an NSAPI connector for JK2. We're using
JK 1.2.5 and Netscape, but I built it with good ol' make.
What were the actual error messages you got?
Benjamin J. Armintor
Systems Analyst
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
Hi!
Mathew wrote:
For me it looks like my program is not able to
read tags in server.xml to get driver class info. Any help is really
appreciated.
If sure looks that way, but without further information one can't be sure.
It would really help matters if you could post the relevant parts of
your
Supply more information.
What does your server.xml and web.xml look like? (don't post the whole
file, just relevant parts).
Where is your driver jar located? (it should be common/lib)
That class of error (class '' for URL 'null') is fairly common, and
normally it's mis-configuration.
Thak you for your response.. I appreciate your time ..
This is my server.xml
---
Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
Context path=sunil docBase=sunil
I am still trying to fix this problem. I looked at
TOMCAT_HOME/commons/lib dircory and found out that I have
commons-dbcp-1.1.jar instead of commons-dbcp.jar. Do Ihave to remane to
commons-dbcp.jar. Same thing for commons-pool-1.1.jar too.
I am using TOMCAT 5.0.19 and Apache 1.3.x. I
where is the oracle connection driver jar file ?
It needs to be in common/lib as well
-Original Message-
From: Mathew [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 2:18 PM
To: [EMAIL PROTECTED]
Subject: RE: Need help - Data Source problem
I am still trying
here. ;)
-Original Message-
From: Mathew [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 2:18 PM
To: [EMAIL PROTECTED]
Subject: RE: Need help - Data Source problem
I am still trying to fix this problem. I looked at
TOMCAT_HOME/commons/lib dircory and found out
thoughts as
to what else I can do to troubleshoot this problem further? I am running
Tomcat-4.1.27.
Thanks,
Arun
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 3:31 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Need help
Hi,
same import statement, and it worked fine. Does anyone have any
thoughts
as
to what else I can do to troubleshoot this problem further? I am
running
Tomcat-4.1.27.
I have a thought: start your own thread for your question and don't
hijack other peoples' ;)
Yoav Shapira
This e-mail,
My apologies. I forgot to change the subject before posting.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 4:04 PM
To: Tomcat Users List
Subject: RE: Need help - Data Source problem
Hi,
same import statement, and it worked fine
: RE: Need help - Data Source problem
I am still trying to fix this problem. I looked at
TOMCAT_HOME/commons/lib dircory and found out that I have
commons-dbcp-1.1.jar instead of commons-dbcp.jar. Do Ihave to
remane to commons-dbcp.jar. Same thing for commons-pool-1.1.jar too.
I am using
I think you can get the user name by getting the Principal object from
request and then getting the name from it like
String userName = request.getUserPrincipal().getName();
-Shanmugam-
amit varshney wrote:
I want to use tomcat user authentication in my application. for that i am using
Hi folks.
I'm still unsuccessful at adding an explicit classpath to Tomcat when
running as a service via the -Djava.class.path= switch detailed below.
Can someone confirm or deny that this is the proper way to add an explicit
classpath to the service? If so, I'll log the bug.
Thanks,
-R
If you moved engine.jar from the shared/lib folder to the common/lib folder,
would that remove the need to explicitly set the classpath?
-Original Message-
From: Robert Ensinger [mailto:[EMAIL PROTECTED]
Sent: 06 February 2004 16:49
To: 'Tomcat Users List'
Subject: RE: need help adding
tomcat utility.
-Original Message-
From: Bodycombe, Andrew [mailto:[EMAIL PROTECTED]
Sent: Friday, February 06, 2004 12:00 PM
To: 'Tomcat Users List'
Subject: RE: need help adding classpath to Tomcat 5.0.18 NT Service
If you moved engine.jar from the shared/lib folder to the common/lib
why don't you just add the files to /common/endorsed/ that way they will get
automatically added to the tomcat classpath without you setting any
variables.
also, setting up tomcat in a file system with spaces in the paths, can be a
debug pain in the butt,
I would try to avoid doing that
Filip
Check
http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb
and see if that information helps.
/mde/
just my two cents . . . .
__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
Howdy,
So you want to disallow access based on local, rather than remote (the request's), IP
address?
Remote address filtering is easy: see the Valve How-To page section on
RemoteAddressValve.
Local address filtering is also not very difficult, but requires you to write some
code. Namely,
: Friday, December 19, 2003 2:38 PM
To: Tomcat Users List
Subject: RE: Need help with Virtual Host Directive
Howdy,
So you want to disallow access based on local, rather than remote (the
request's), IP address?
Remote address filtering is easy: see the Valve How-To page section
accessible.
Yoav Shapira
Terry
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 2:38 PM
To: Tomcat Users List
Subject: RE: Need help with Virtual Host Directive
Howdy,
So you want to disallow access based on local, rather than remote
Thanks,
In the interim I got it to work :-)
-Terry
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, December 19, 2003 3:04 PM
To: Tomcat Users List
Subject: RE: Need help with Virtual Host Directive
Howdy,
Your alternative suggestion sounds
Howdy,
It's a classic thread safety issue. Dump your homebrew connection
pooling implementation in favor of a 3rd party one like DBCP that is
better tested against these race conditions.
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Vikas [mailto:[EMAIL PROTECTED]
I am assuming you downloaded apache, tomcat, and mod_jk_2.X.X.dll
Try:
1) rename mod_jk_2.X.X.dll to mod_jk2.dll, and place it under
$APACHE_HOME/modules/
2) In apache httpd.conf
# Using mod_jk2.dll to redirect dynamic calls to Tomcat
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler /
-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 5:33 PM
To: 'Tomcat Users List'
Subject: RE: Need help with connectors
I am assuming you downloaded apache
PM
To: Tomcat Users List
Subject: RE: Need help with connectors
This should solve your problem
httpd.conf: just one single row like this:
LoadModule jk2_module modules/mod_jk2-2.0.43.dll
Then I added a worker2.properties in Apache/conf/ like this:
[logger]
level=DEBUG
file=c:/programme/apache
YES the default port is 8009. It should be 8009 in server.xml file as well
-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 6:02 PM
To: 'Tomcat Users List'
Subject: RE: Need help with connectors
Just one quick question(I am just playing
never get a reply about it in the mail-group.
cranky this morning,
Mike
- Original Message -
From: Mike Kellstrand [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 4:40 PM
Subject: Re: Need Help getting SSL to work with HttpsURLConnections
I
-group.
cranky this morning,
Mike
- Original Message -
From: Mike Kellstrand [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 4:40 PM
Subject: Re: Need Help getting SSL to work with HttpsURLConnections
I just came across a similar
An update and a correction...
I was able to get the HttpsURLConnection to work by replacing:
import javax.net.ssl.*;
with:
import com.sun.net.ssl.*;
Contrary to what I had said below there is an java.lang.ClassCastException being
thrown when making the call :
= (HttpsURLConnection) url.openConnection();
Anybody know what is going on?
Thanks, Mike
- Original Message -
From: John Kammer [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 4:02 PM
Subject: Re: Need Help getting SSL to work with HttpsURLConnections
I don't think this subject is really on topic for the tomcat list...
import javax.net.ssl.*;
import java.net.*;
public class HTTPTest
{
public static void main (String args[])
{
try
{
URLConnection myConnection =
(new
Make sure you have a JDK in your machine and that JAVA_HOME env variable
points to it.
Then click on the startup script to run tomcat. Should be able to run.
S.Gokul wrote:
Hi,
I have installed tomcat 5 in my machine running windows 98. Is it compatible with 98 or do I have to do anything else
- Original Message -
From: Kwok Peng Tuck [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 03, 2003 1:46 PM
Subject: Re: need help
Make sure you have a JDK in your machine and that JAVA_HOME env variable
points to it.
Then click on the startup script
:46 PM
Subject: Re: need help
Make sure you have a JDK in your machine and that JAVA_HOME env variable
points to it.
Then click on the startup script to run tomcat. Should be able to run.
S.Gokul wrote:
Hi,
I have installed tomcat 5 in my machine running windows 98. Is it
compatible
Subject: Re: need help
Hello Gokul,
It's helpful if we can see the exception, so you might want to
run the script file catalina.bat located in
the bin directory.
Run it with:catalina run
This makes tomcat run in the current window and you will be able to see
the exceptions. I'm
]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 03, 2003 2:20 PM
Subject: Re: need help
Hello Gokul,
It's helpful if we can see the exception, so you might want to
run the script file catalina.bat located in
the bin directory.
Run it with:catalina run
This makes tomcat
On Mon, 03 Nov 2003 21:42, S.Gokul wrote:
Hi,
I do have jdk1.3 installed and I have made the changes in the startup.bat
file in the tomcat bin folder. But still I am not able to run it.
It starts up and then after a few seconds it closes the tomcat window. I
think its throwing some java
requires JDK 1.4 I remember reading that java.nio packages are
used from JDK1.4
-
Basu..
- Original Message -
From: Kwok Peng Tuck [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 03, 2003 2:20 PM
Subject: Re: need help
Hello Gokul,
It's
This describes exactly where you should put files:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html
And you also might find the ClassLoader HOWTO helpful:
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
John
sheba Tasaduque wrote:
hi
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html
http://jakarta.apache.org/tomcat/faq/
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
John
Yogesh wrote:
Hello,
I was using Tomcat 3.1 on old server and we have shifted to new server now.
we were using URL
Hello Vincent,
fro problem 1:
you are using the correct procedure, but it looks like your server was
never started in the first place. The connection refused is due to the
fact that it tries to connect to a port (for shutdown procedure) which
is not open. Alternatively, tomcat can some time
Hi,
I'm not sure if cross posting like that was such a good idea... But since
I just had to figure this out last week I will share what I learned.
I had to play with this a bit befor I was able to get it to work. I was
using Solaris so I can't help you with the correct version of the
redirector
On Sat, 2003-07-12 at 08:08, [EMAIL PROTECTED] wrote:
We are currently starting up with -Xmx256M. Java is currently using about
327MB and has been that way for hours. I haven't really seen any fluxuations
at all, which leans me away from the garbage collection issue.
Constant memory usage
ditto.
There is no sure fire way from the system aspect (CPU, run queue, etc)
that will tell you what's going on. You need to peek inside the VM and
see what it's doing.
-e
On Fri, 11 Jul 2003, John Turner wrote:
Like I said, I'm no guru. Sounds like you need to bust out a profiler.
John
Are these results occurring when tested on a local
area network as well?
I have had an issue like that, but it turned out to be
a networking issue..not tomcat.
--- [EMAIL PROTECTED] wrote:
With Tomcat 4.1.x
We've recently run into an issue where some of our
pages either
a) take a really
Yes, these occur internally and externally. There does not appear to be any
network traffic that is causing this (according to the network people...).
We're also seeing this on two different environments on two distinct networks.
After some more digging, there is just NOTHING happening on the
In a situation like that, the two things I check first are:
1) DNS lookup failing, especially a reverse lookup..do you have Tomcat
trying to look up a hostname for access logging, perhaps?
2) database connection timing out
Also, I would look at garbage collection, but I doubt that's it.
John
Could be a Memory Leak/Garbage Collection issue (we had a similar problem
with a memory intensive app),
maybe your heap is too small and java is running many Full GC's.
Start java with -verbose:gc and look in tomcat/logs/catalina.out for
Garbage Collections.
(set Environment Variables JAVA_OPTS
I don't believe that the host lookup or db connection is the issue. The page
we are serving up is the login page. I will create a test hello world jsp to
see if the problem still occurs with that page.
-- Dave
In a situation like that, the two things I check first are:
1) DNS lookup
We are currently starting up with -Xmx256M. Java is currently using about
327MB and has been that way for hours. I haven't really seen any fluxuations
at all, which leans me away from the garbage collection issue.
I created a hello.jsp, which is completely separate from our application. Same
Another followup. If we try to access the root context of the server, which is
not available, the same thing happens. I get back a 500 error immediately, but
then the page doesn't finish loading (i.e. get all the response back from the
server) for another 20 seconds or so.
This seems like a
I'm certainly no guru, but if you are setting a max of 256 and then your
app is soaking up 327 with no load whatsoever, I'd say you have a problem.
Have you tried a max of 512?
John
On Fri, 11 Jul 2003 20:08:10 +, [EMAIL PROTECTED] wrote:
We are currently starting up with -Xmx256M. Java
I definitely don't know enough about how the memory settings in java to be of
much use on this part. I do not know if we've tried 512. We probably should.
As for the 327, is that actually unreasonable? The mx setting specfies the
maximum heap size. Can the thread stack (specified using
I have no idea, but based on past experience, if you are using more RAM
than you've allocated, then you have a swap situation. If the max setting
wasn't an actual max, and you could blow past it whenever you needed it,
why on earth would you need it in the first place?
John
On Fri, 11 Jul
But again, the mx is only setting the heap size, not the whole JVM. The thread
stack is controlled with an entirely different parameter for example.
I found this with a quick search:
The -Xmx setting controls the maximum size of the Java heap.
However, the Java heap represents only part of
If your application is running on same Tomcat/JVM then blocking GC calls
could still lead to that effect for hello.jsp too.
Are you using Apache/mod_jk/Tomcat or Tomcat standalone?
HTTPS Connections?
Does the Problem occur only with IE or with other Browsers (Mozilla) too?
I read once something
Like I said, I'm no guru. Sounds like you need to bust out a profiler.
John
On Fri, 11 Jul 2003 20:34:40 +, [EMAIL PROTECTED] wrote:
But again, the mx is only setting the heap size, not the whole JVM. The
thread stack is controlled with an entirely different parameter for
example.
I
Yes, still running on the same tomcat, which is standalone BTW.
The problem occurs with both IE and mozilla, but a little differently. Mozilla
tends to render the results immediately, then sit there for 20 seconds. IE
will wait a bit, render the results, then sit there.
I'm assuming the
Tomcat 4.1 processes need some extra memory besides the heap i believe,
so the total process memory will always be bigger than the maximum
specified heap
(unless this isn't a bug or a misunderstanding of me of course :-)
Our Tomcat 4.1.24 on Redhat Linux with 1GB heapsize consumes about 1,25GB
of magnitude. I suspect that there is an issue with the way
Jasper created servlets use the out.write()/out.print() methods.
Lars
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 1:38 PM
To: Tomcat Users List
Subject: Re: Need help with performance
-verbose:gc may affect performance a bit (cpu/disk), but since your system
doesn't run so well anyway, oh well :-)
Using a higher acceptCount doesn't hurt much (needs maybe 1k memory for
each queue place i think)
On earlier Java Versions there is a switch to turn on incremental Garbage
On Fri, 11 Jul 2003 19:22:41 +, [EMAIL PROTECTED] wrote:
When I submit my request to get the login page (not to process the login,
just to serve the login page), I couple of the java threads will spin up
and take maybe 3% of the cpu, but it still takes over 30 seconds to get
the page.
I'm surprised that nobody else has asked this (since it would be one of the
first things that I would try if this was happening to me): What is the
response from just using telnet?
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
With Tomcat 4.1.x
We've recently run into an issue
Howdy,
Look at the tomcat logs: what errors are in there?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, June 23, 2003 11:20 AM
To: [EMAIL PROTECTED]
Subject: Need help on deploying application
I have
Sounds like the JDK 1.4.1 not liking spaces in the directory paths.
Try putting tomcat in D:\Tomcat4.1
HTH
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 23 June 2003 17:20
To: [EMAIL PROTECTED]
Subject: Need help on deploying application
I have installed
] - email
-Original Message-
From: Shapira, Yoav [EMAIL PROTECTED]
Sent: Mon, 23 Jun 2003 11:22:07 -0400
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: Need help on deploying application
Howdy,
Look at the tomcat logs: what errors are in there?
Yoav Shapira
1 - 100 of 301 matches
Mail list logo