Hi to everyone!! This is my first email to this list, hope is the correct
one.
I've been analyzing my code with a profiler (JProbe) because I was getting
an
OutOfMemoryException after a few redeploys of my application.
After some tests, it turned out that my static fields were not GCed after
Hi All,
I am having trouble setting up the admin console for Apache Tomcat/5.5.12. I
have downloaded the apache-tomcat-5.5.12-admin.zip file from Tomcat site.
Unzipped it and placed the admin folder under C:\Tomcat55\server\webapps
folder. When I try the below page:
http://localhost/admin/
I get
Hello,
I have an instance of tomcat with APR support which is set to allocate
more heap memory than default (by passing -Xmx512M option to JAVA_OPTS
in catalina.sh).
Under this instance runs a test application which gets data from a
database and makes a cache with the fetched data (around
Hello
I have been asked to migrate a Java Web application to a Windows 2003
Server machine, running IIS 6. The application has been running fine on
Windows 2000 for about 18 months, with Tomcat 4.1 and with
isapi_redirect.dll up and running on IIS 5.
I decided not to upgrade to Tomcat 5, but see
Although it may seem obvious what is the problem, I forgot to ask the
question so I'm doing it now:
What could be the problem in the below described situation ?
I would appreciate if you point some docs that I should read to solve
the issue.
Thanks again,
Cristian
Original message follows:
Hi Richard,
Firstly, thanks for the reply.
I have placed it under:
$CATALINA_HOME/server/webapps folder as indicated.
I get the login page for admin console, but after that I am getting the
error message.
Further help is appreciated.
Thank you.
Regards,
Shridhar
On 11/28/05, Richard Mixon
That's an awful lot of processes. Quite possibly a problem with the
driver you are using ... It's not very well rated.
If you want some advice, try using a non-DBCP pool (C3P0)
sourceforge.net/projects/c3p0, and also the best SQL Server driver out
there which is at jtds.sourceforge.net.
Add
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all;
playing around with tomcat in order to both learn using the package and
create a small web site there, I'm currently left with a problem which,
though probably being small (and not really related to tomcat), keeps
bugging me:
I'm trying to
Your URLs if absolute would need to contain the web application name
unless your web appliation was the ROOT web application (the only one
that runs at /).
Therefore if you webapp was called apple and was in webapps/apple, your
image refs would need to be
/apple/images/
You can use relative
Oh you can use aliases too if fronted with an apache web server
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: 28 November 2005 12:33
To: Tomcat Users List
Subject: RE: css and images (stupid question?)
Your URLs if absolute would need to contain the web
Hi Shridhar,
Tomcat Admin (for 5.5) zip or rar.gz file has following two main contents:
admin.xml
admin (webapps)
You have to put admin.xml inside $CATALINA_HOME/conf/Catalina/localhost and
admin (webapps) inside $CATALINA_HOME/server/webapps . Also make sure that
(which
you already did
Kristian Rink wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all;
playing around with tomcat in order to both learn using the package and
create a small web site there, I'm currently left with a problem which,
though probably being small (and not really related to tomcat), keeps
From: Richard Mixon [mailto:[EMAIL PROTECTED]
Subject: RE: How to set the admin console for 5.5.x
You have placed it in the wrong directory structure. It is
mostly under server/webapps - not webapps.
-Original Message-
From: N S, Shridhar [mailto:[EMAIL PROTECTED]
Subject:
Charles, thanks for pointing that out - its what I get for trying to help at
3:40am. I read too quickly and assumed it was the usual problem with admin.
- Richard
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Monday, November 28, 2005 8:02 AM
To:
Good Morning Martin-
If I understand your question correctly take a look at JSR-000221
https://jsecom16k.sun.com/ECom/EComActionServlet/DownloadPage:~:com.sun.sunit.sdlc.content.DownloadPageInfo;jsessionid=DDCBE747E2BD2C40EC2CC94C8DDB5F84;jsessionid=DDCBE747E2BD2C40EC2CC94C8DDB5F84
and look at
whoops.
I meant to say / is the root of the filesystem and _not_ having a slash
would mean the current directory, so that would be where tomcat has been
started from.
And you want neither of those.
-Original Message-
From: GB Developer [mailto:[EMAIL PROTECTED]
Sent: Monday,
Hi Juan,
I think your problem can't be solved (only) by Tomcat.
The problem is that objets stay in memory because of pointers on static
references...
To solve this :
You can embed a CleanupListener in your webapp.
This listener seem to be like this :
package com.yourWebApp;
import
Is there any tool available to monitor the database connection pools on
a Tomcat server. I would like to be able to determine which connections
are in use at any time.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Given the sad, sad performance findings at:
No More Apple Mysteries, Part Two
Date: September 1st, 2005
http://www.anandtech.com/mac/showdoc.aspx?i=2520
are there any javabased DB alternatives, that may perform better than
MySQL (or PostgreSQL for that matter)? I prefer free, open sourced DBs or
Hi,
I have a form based login page and I want to make sure that HTTPS is
always used when logging in. But the catch is that the URL the user is
trying to go to may not be using HTTPS but HTTP. We just want to make
sure that the user logs into the web app using SSL always. The security
- Original Message -
From: Duan, Nick [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, November 28, 2005 7:30 PM
Subject: RE: heap size problems (speed) [2]
Were you using the right JVM? There were two JDK download for LINUX
on
Sun's web site.
I have
On Monday, 28 בNovember 2005 19:59, Mieke Banderas wrote:
are there any javabased DB alternatives, that may perform better than
MySQL (or PostgreSQL for that matter)? I prefer free, open sourced
DBs or otherwise with a license that could fit a small business/non
profit organisation.
HSQLdb
--- Cristian [EMAIL PROTECTED] wrote:
- Original Message -
From: Duan, Nick [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, November 28, 2005 7:30 PM
Subject: RE: heap size problems (speed) [2]
Were you using the right JVM? There were two JDK
I don't think your CPU L caches are going to influence
the issues you are seeing...not noticeably..not with
todays hardware. Cristian is resizing the java heap
to allow it to get larger than it was able before
(default or the Tomcat default setting). In this case
heap being the amount of
Try this.
download : http://cvs.apache.org/builds/jakarta-taglibs/nightly/
In unix
gzip -c ~/dls/jakarta-taglibs-20051122.tar.gz | tar xvf -
mv jstl.jar and standard.jar (from jakarta-taglibs/standard/lib/) to
$CATALINA_HOME/shared/lib
Now its available to all your webapps..
This would
On Monday, 28 בNovember 2005 19:59, Mieke Banderas wrote:
Given the sad, sad performance findings at:
No More Apple Mysteries, Part Two
Date: September 1st, 2005
http://www.anandtech.com/mac/showdoc.aspx?i=2520
I don't enough of JVMs to know if Javabased DBs are usually better
Hi all. I have a server with multiple applications running under Tomcat 5.5
In TOMCAT_HOME/conf/web.xml session-timeout is set to 30
In TOMCAT_HOME/webapps/myapp/WEB-INF/web.xml session-timeout is set to -1
(infinite)
Users are being timed out of their sessions after 30 minutes as opposed to
--- Cristian [EMAIL PROTECTED] wrote:
I don't think your CPU L caches are going to
influence
the issues you are seeing...not noticeably..not
with
todays hardware. Cristian is resizing the java
heap
to allow it to get larger than it was able before
(default or the Tomcat default
When I start up tomcat 5.5.10-12 I am getting a ClassNotFoundException
for a custom class that implements Filter. Under 5.5.9 and 5.5.1 the
class loads just fine.
My class lives in a jar file in shared/lib as some if it is required by
another webapp. If I move the class files in question to the
Hello RObert
DBCP has configuration parameters available which will enable you to tune your
connection pool check out
http://jakarta.apache.org/commons/dbcp/configuration.html
you can also set these parameters at the server.xml level
check out this example at experts-exchange
Hi,
We are planning to use Tomcat for MQSeries integration.
We need to create Web services that will run on a webserver. These web
services will get the data from MQ, transform the data and call a backend
application.
Can we do this using Tomcat? Can anyone give me some sort of
- Original Message -
From: Wade Chandler [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Monday, November 28, 2005 11:27 PM
Subject: Re: heap size problems (speed) [2]
I don't know really. I've not seen issues with
HashMap in a Linux vs. Windows scenario (might
If you want to run Web Services on Tomcat look at Apache AXIS.
From AXIS services you are going to post messages to an MQ manager, probably
via JMS.
Then you will need to monitor the queue at the other end to call your
backend application.
I don't wish to be rude here but how have you come to
1024 K is still relatively small compare to a heap size of 512M. The
fact is that Duron is really the low-end of AMD processor family. It
shouldn't be used for any serious computing purpose. I'd like to
suggest doing the test at least on an Athlon. Hardware is really cheap
nowadays.
ND
From: Cristian S [mailto:[EMAIL PROTECTED]
Subject: Re: heap size problems (speed) [2]
Frankly I have no ideea what's the point of loading almost
400M of data in memory in a HashMap.
If it's worth doing, it's worth doing to excess. Or maybe not. Try
turning on -verbose:gc and see if
I have 2 tomcat instances (t1, t2) each running in Eclipse (e1, e2).
I kick off tomcat in both. My app loads in both. I am using the JK
redirector from IIS to load balance between the 2 instances. I bring up a
browser and enter my URL (http://localhost/Acuity). I have a breakpoint in
the
Oded Arbel said:
b) Even assuming they are right, you still want to choose MySQL over JVM
space databases, because Java and Java databases are very much thread
enabled and create and destroy many threads.
But do they do it mainly within the OS or within the JVM? Top or PS
doesn't show
Agreed for memory profiler I would check out
http://www.khelekore.org/jmp/
If this solution is workable you may want to set environment variable JAVA_OPTS
to include -verbose:gc
Martin-
- Original Message -
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List
Mieke Banderas said:
I'd like to know
where/how exactly Java threads are started/killed on Hotspot in OS X.
Doesn't java threads mainly intercommunicate within the JVM? Context
switches?
Is it really a completely dead end that minimizing the OS threading in
Mac OS X and keeping threads within
From: Mieke Banderas [mailto:[EMAIL PROTECTED]
Subject: Re: Java databases as alternative to MySQL on OS X
Server? (OT)
It would seem so, as I now learnt that The HotSpot JVM
uses native threads. The only possible escape then would
be to use another JVM that doesn't on OS X. But I'm
On 11/29/05, Aladin Alaily [EMAIL PROTECTED] wrote:
Hello,
Every time I deploy an application using Tomcat 5.5.12, the usual tomcat
icon is being displayed in the url.
I would like to know how I can replace that icon with my own... or
better yet, no put any icon at all.
The icon displayed
From: N S, Shridhar [mailto:[EMAIL PROTECTED]
Subject: Re: How to set the admin console for 5.5.x
I had followed all these steps, except that the admin
folder under ROOT was missing! Since, this is not documented
in Tomcat documents, thought of sharing the exact steps.
An interesting
From: Anto Paul [mailto:[EMAIL PROTECTED]
Subject: Re: Web-application and Tomcat icon
On 11/29/05, Aladin Alaily [EMAIL PROTECTED] wrote:
I would like to know how I can replace that icon with my own... or
better yet, no put any icon at all.
The icon displayed on the browser is
Martin Dubuc wrote:
I am defining a number of JNDI resources in the
server.xml file in the GlobalNamingResources section.
As part of defining JDBC resources in this section,
the username and password attributes are specified.
The password is specified as clear text. I am
wondering if there are
On Mon, Nov 28, 2005 at 06:24:52PM +0100, Lionel Farbos wrote:
Hi Juan,
I think your problem can't be solved (only) by Tomcat.
The problem is that objets stay in memory because of pointers on static
references...
but aren't those supposed to go away when the classloader is no
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Terence et al;
and at first thanks for the many hints regarding this issue.
Terence M. Bandoian schrieb:
My understanding is that relative URLs in CSS style sheets are relative
to the location of the style sheet, not the HTML page which
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all;
another question which probably can be considered stupid, but
nevertheless: I'm in an attempt of learning how to deal with
server-sided java by rebuilding an intranet solution formerly
implemented in Perl which currently runs atop gnu/linux.
Caldarale, Charles R wrote:
From: Anto Paul [mailto:[EMAIL PROTECTED]
Subject: Re: Web-application and Tomcat icon
On 11/29/05, Aladin Alaily [EMAIL PROTECTED] wrote:
I would like to know how I can replace that icon with my own... or
better yet, no put any icon at all.
The icon
48 matches
Mail list logo