I just put them in a simple jsp page as scriptlets. That way I can view
the mem usage from wherever I happen to be.
Like this in your jsp page
%out.println(Runtime.getRuntime().totalMemory());%/
Nathan McMinn
Application Developer
NequalsOne
Neal,
This will get you the total amount of memory available to the JVM tomcat
is running in:
Runtime.getRuntime().totalMemory()
And this will get you the amount free
Runtime.getRuntime().freeMemory()
Nathan McMinn
Application Developer
NequalsOne
believe it is based on IBM's Websphere Studio, so
if you think you may have to do battle with Websphere, it couldn't hurt
to know the IDE.
Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http
You may be able to discern this using the User-Agent header in the HTTP
request. From there it is just a matter of serving the appropriate
content, or redirecting.
Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto
Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED] http://www.NequalsOne.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED
/lib. Is there any way to determine what classpaths are
available to the classloader at that point?
Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com
-Original Message
You may want to make sure that the client machine has JSSE (Secure
Sockets Extensions), or that you are making it available. What JVM is
installed on the client?
Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:[EMAIL
The newest version (4.1.29) should be fine. If I recall, however, there
was a problem with Sun's Java Virtual Machine, and RH9, which used an
incompatible threading library.
Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
:
org.apache.catalina.mbeans.ServerLifecycleListener
Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com
-
To unsubscribe, e-mail: [EMAIL
They didn't exactly give it up, the patent expired.
Nathan McMinn
Application Developer
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com
-Original Message-
From: Pike [mailto:[EMAIL PROTECTED
EXACTLY like you referenced it in your EMBED or OBJECT tag.
i.e. If the applet was downloaded from 127.0.0.1 you have to connect to the
server by that IP, if it was dowloaded from www.myserver.com then you have to connect
using the FQDN.
--Nathan McMinn
- Original Message -
From
When was the last time Tomcat had a published exploit?
On a related note, these kind of contests are fairly common, and usually
don't produce any kind of real activity.
--Nathan
- Original Message -
From: Eugene Lee [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent:
-0500, Nathan McMinn [EMAIL PROTECTED]
wrote:
When was the last time Tomcat had a published exploit?
On a related note, these kind of contests are fairly common, and
usually
don't produce any kind of real activity.
--Nathan
- Original Message -
From: Eugene Lee [EMAIL
. That
places all responsibility of security to the OS, which may not be a good
idea. What happened to defense-in-depth ??
Nathan McMinn wrote:
When was the last time Tomcat had a published exploit?
On a related note, these kind of contests are fairly common, and
usually
don't produce any
, thus shortening the classpath. Does anybody know a
cleaner way to handle this?
--Nathan McMinn
not include spaces.
- Original Message -
From: Nathan McMinn [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 9:41 AM
Subject: repost: JSP Compile Fails
I recently upgraded to tomcat 4.1.24 from 4.1.18. After performing this
upgrade, whenever I try
Worked like a charm. You rock!
--Nathan McMinn
- Original Message -
From: Matthew Mamet [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, July 02, 2003 9:03 AM
Subject: RE: repost: JSP Compile Fails
Nathan,
I ran into this problem when Tomcat was trying
Doing some digging, I came up with a thread on a resin mailing list that
details problems that can occur when the classpath is too long. It appears
that this is the case here. Notice below that the classpath is truncated.
Now the question is, does anyone know a workaround for this?
Caused by:
that can be done to optimize tomcat for execution on a
multi-processor system?
--Nathan McMinn
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
-
From: Nathan McMinn [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 5:22 PM
To: Tomcat Users List
Subject: Startup parameters
OK, one quick question that I'm sure anybody here but me can answer.
I am running Tomcat as a service on windows 2000 server. I want to set
some
JVM
He he, I'd love to move to 4.1.18, but I get the most bizzare problems when
I try to do it.
see http://www.experts-exchange.com/Web/Web_Languages/JSP/Q_20456477.html
for details if you are interested.
--Nathan McMinn
Nathan McMinn wrote:
When trying to get a connection pool set up, tomcat
Bill,
I've done the same search for some tomcat-specific tuning tips, to no avail.
I'll wager that alot of the folks on this list could use that. If you come
up with anything, please share.
Thanks,
Nathan McMinn
- Original Message -
From: Bill [EMAIL PROTECTED]
To: Tomcat Users List
-authoring, along with
Peter Lin, a book on that exact subject, not that I think it is the
problem
in Bill's case. Remy also posted a chapter from the book to the list for
review.
John
-Original Message-
From: Nathan McMinn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16
When trying to get a connection pool set up, tomcat spits this exception
back out. Nowhere in the code do I reference this class. Can anyone point
me to a good HOWTO on connection pooling in tomcat 4.0.6?
TyrexDataSourceFactory: Cannot create DataSource, Exception
Any suggestions on what in particular to look for? I know the classloader
that is spitting up on itself is the webapp classloader, because the
exception doesn't occur until I attempt to access this application. Is that
correct?
- Original Message -
From: David Boyer [EMAIL PROTECTED]
To:
That is where the tyrex jars are, problem is, I don't use HypersonicSQL,
which is the jar file tyrex is looking for. If I put the hypersonicSQL jars
there, it attempts to connect to a non-existent database. I found what was
causing that problem, and I have a new one (Progress!!). Now whenever I
)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
at java.lang.Thread.run(Thread.java:536)
- Original Message -
From: Nathan McMinn [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:19 PM
Subject: Re: JDBC Connection pooling
First, thanks to those that pointed me in the right direction. I just have
one more problem with connection pooling. Now when I request a connection
from the connection pool, I get the following exception:
java.sql.SQLException: No suitable driver
pretty standard exception, not really that
Could you send the stack trace?
- Original Message -
From: Paul Tomsic [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 1:17 PM
Subject: stack trace error when viewing html source, but the display in
browser is good.
Has anyone ever seen the expected results in
Is it possible that the response.getOutputStream() method is returning a
null?
- Original Message -
From: Paul Tomsic [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:28 PM
Subject: Re: stack trace error when viewing html source, but the display
inbrowser is
After installing tomcat 4.1.18 on windows 2000, I get the following
exception trying to access my web application. This app worked fine
with
4.0.6. I have also included my web.xml file for this application.
Thanks
in advance.
org.apache.jasper.JasperException:
-
From: Nathan McMinn [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 14, 2003 11:10 AM
Subject: REPOST 4.1.18 installation problems
After installing tomcat 4.1.18 on windows 2000, I get the following
exception trying to access my web application. This app
I have JDBC realms configured connecting to an ODBC database. This works in
most cases. However, many times, the server rejects the first login attempt
with the following exception. Has anyone seen this before?
2003-01-13 07:38:44 JDBCRealm[Standalone]: Exception performing
authentication
I forgot to mention that this error occurs while trying to access any jsp
page within the application
Hi all,
After installing tomcat 4.1.18 on windows 2000, I get the following
exception trying to access my web application. This app worked fine with
4.0.6. I have also included my web.xml
Hi all,
After installing tomcat 4.1.18 on windows 2000, I get the following
exception trying to access my web application. This app worked fine with
4.0.6. I have also included my web.xml file for this application. Thanks
in advance.
org.apache.jasper.JasperException:
release (sufficient unless you want to take a look at and/or tweak
the source code), unzip, and set the environment variables. You could
always give that a try to see if things work better.
HTH,
-Jeff
Nathan McMinn [EMAIL PROTECTED]
01/08/03 04:22 PM
Please respond to Tomcat Users List
System Variable. I am running
XP
Home
on my notebook and it works for me.
Hope this help.
Michael
-Original Message-
From: Nathan McMinn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 1:50 PM
To: Tomcat Users List
Subject: Re: Installation woes
, section 9.7.2. Offending
class: javax/servlet/Servlet.class
Has anyone ever seen this before?
-Nathan McMinn
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
directory
Donie
-Original Message-
From: Nathan McMinn [mailto:[EMAIL PROTECTED]]
Sent: 09 January 2003 13:47
To: Tomcat Users List
Subject: Startup Error
First, thanks to everyone for all the help. I just have one more
question.
When starting tomcat (4.1.18 on win xp, jdk
be
greatly appreciated.
Thanks..
Nathan McMinn
web-app
mime-mapping
extensionjs/extension
mime-typetext/javascript/mime-type
/mime-mapping
welcome-file-list
welcome-fileLogin.jsp/welcome-file
/welcome-file-list
security-constraint
display-nameWWEX Security
your cookie to not be available upon doing the
forward?
-Troy
-Original Message-
From: Nathan McMinn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 9:07 AM
To: [EMAIL PROTECTED]
Subject: Repost: Double Login
Hi all,
Some of you had been kind enough to assist
get errors generated, but at least that
means your request got through...) How many times are you asked to
authenticate then? If it's only one then that points to something your
logon page is doing, right?
Mike.
- Original Message -
From: Nathan McMinn [EMAIL PROTECTED]
To: Tomcat
When installing Tomcat 4.1.18, during the installation, it autodetects the
jdk install location. Is there any way to override this? If not, how do
you change the jdk that tomcat uses? It is automatically using an older jdk
that Jbuilder installed, and I don't want it to use this one.
--Nathan
]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, January 08, 2003 3:41 PM
Subject: RE: Installation woes
Change the JAVA_HOME environment variable to point to the JDK you want to
use.
John
-Original Message-
From: Nathan McMinn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday
on my notebook and it works for me.
Hope this help.
Michael
-Original Message-
From: Nathan McMinn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 08, 2003 1:50 PM
To: Tomcat Users List
Subject: Re: Installation woes
John,
Here's the kicker, running SET from the command
--advanced--env variables and there should be a place for adding
new env variables.
On Wed, 2003-01-08 at 21:50, Nathan McMinn wrote:
John,
Here's the kicker, running SET from the command line (win xp)
doesn't
list JAVA_HOME as an existing env var, neither does sys properties -
advanced
before? I've already searched Google, JGuru, etc etc. This is the
current web.xml for the application having the problem. Any help would be
greatly appreciated.
Thanks..
Nathan McMinn
web-app
mime-mapping
extensionjs/extension
mime-typetext/javascript/mime-type
/mime
47 matches
Mail list logo