Under Tomcat 4.1.27 and 4.1.30, if I deploy an application via a .WAR
file to the server (via ANT and the manager) Tomcat knows about my
deployed application. IF the server restarts for some reason, Tomcat
*still* know about the deployed application.
However, I've noticed that if I deploy the
I'm in the process of moving an application that is in production today
on a TC 4.1.30 deployment over to 5.5.
So far, everything has moved without too much trouble. That is, until I
get to the use of commons-dbcp in the code. The code uses
BasicDataSource to interface to commons-dbcp.
Under
I'm transitioning a web site from 4.x over to 5.5.7. Everything is
going well *except* for logging (a sore subject for me.)
I've created a small log4j.properties file and placed it in
${catalina.home}/common/classes. The file contains:
#log4j.properties
log4j.rootLogger=DEBUG, R
While debugging a log4j problem this afternoon... I happened to attempt
to rearrange the contents of my CLASSPATH on my Fedora Core 2 machine in
order to insure a correct log4j.properties file is being loaded by TC.
To insure the proper file is loaded, I placed
I have an application that I've developed that run strictly on Tomcat.
I've noticed a lot of traffic on this list talking about using Apache
httpd to serve up static content and using mod_jk to have httpd talk to
Tomcat to serve up JSP traffic. And all of that got me thinking about
doing the
reading in tomcat's documentation that it serves static
content almost or just as fast.
-Original Message-
From: Robert Bateman [mailto:[EMAIL PROTECTED]
Sent: Friday, October 22, 2004 11:12 AM
To: Tomcat Users List
Subject: [Slightly OT] Simplifying deployment
I have
Simon,
I use a mix of *nix and Windows here. I've found that using copy with
the (+) option does a pretty nice job of concatenating log files. *nix
has tools for that natively.
As for sorting, Windows has a 'sort' module that can sort pretty good
sized input files. You have to pass the
We use Web Archives (WAR files). I find this the most comprehensive
method of deployment. Everything that is needed for the particular
application is included in one file for upload.
Bob
On Mon, 2004-10-11 at 17:37, Jonathan Wilson wrote:
I need some advice/HOW-TO's on developing and then
The best advice I can give you is to investigate running your test
application in a different context on the server. That way, you can
recompile / alter the JSP files and everything else to your hearts
content. IF that isn't possible, Tomcat runs quite nicely on my
development machine where I
On Wed, 2004-10-06 at 11:59, Anderson, M. Paul wrote:
snip
3. We currently store passwords in a database in plain text but we now wish
to encrypt them.
If you look at the underlying code for the web mail client for yahoo.com
for example, you will find a small amount of JavaScript that encrypts
I find these articles from Novell to be more informative
http://developer.novell.com/ndk/apache.htm
and
http://www.novell.com/documentation/nw6p/index.html?page=/documentation/nw6p/adminenu/data/a3fd4py.html
Best of luck
Bob
On Monday 27 September 2004 01:59 pm, Keith Vaughn wrote:
I have
I think I see the problem...
Those 2 definitions need to be over in your context.xml. Context.xml is
located in META-INF/context.xml It appears you have the definitions in
web.xml within WEB-INF/web.xml, which I believe is incorrect.
Bob
On Wednesday 22 September 2004 02:19 pm, Chuck
If Yahoo is anything like Communigate Pro, it thinks your message (as
reflected by the list server) is a bad e-mail message.I've had to reconfigure
our e-mail server to *not* reject reflected messages.
Bob
On Wednesday 22 September 2004 02:59 pm, Chuck Carson wrote:
I never see my own posts
On Wednesday 22 September 2004 03:28 pm, Shilpa Nalgonda wrote:
Hi,
My connection pool works if i set the removeAbandon parameter to true, but
i still do not understand why it works that way,
can someone suggest...can i use that parameter...
parameter
nameremoveAbandoned/name
I have Tomcat 5.0.25 loaded on a test server where I'm attempting to build a
web service. I'm using Axis to handle the SOAP interractions.
So far, I've been able to get Axis to load. But it seems that Axis is
attempting to load a module that I'm responsible for in order to process the
we are using a combination of 3.0.8-stable and 3.0.14-production on our
servers. The jar files are placed into the same folder you have placed
yours.
What connect string are you using?
Bob
On Monday 20 September 2004 05:48 pm, Chuck Carson wrote:
I am starting to build an application using
Chuck,
I think you need to move your connection pooling over to your context.xml at
the web application level. Here is my pool definition from one of my apps:
Resource name=jdbc/MySQL_Sequoia_Admin
scope=Shareable
type=javax.sql.DataSource/
ResourceParams
I'm playing with some code that loads classes at run time.
Some where in the code I think I've messed up a call because the code I'm
invoking is failing. The problem is, the message I'm getting isn't telling
me what I specified wrong. What I'd like to do is have the system tell me
what
I'm having the same problem on Linux. My practice TC instance is started as
part of the system startup with user root and group root. If I log in as
root, I can't seem to locate the TC instance. But a ps -aef | grep java
reveals the task.
I feel foolish even asking, but I can't see where
-
From: Robert Bateman [mailto:[EMAIL PROTECTED]
Sent: 16 August 2004 18:55
To: Tomcat Users List
Subject: Re: Help with JVMStat or JProbe
I'm having the same problem on Linux. My practice TC instance is started
as part of the system startup with user root and group root. If I log
Someone please correct me if I'm wrong here...
Also be aware that non-protected pages will not provide you with a value to
request.getRemoteUser(). I had assumed I could get the remote user from any
page once the user logged in, but it doesn't work as I expected. I believe
there *was* a bug
On Monday 16 August 2004 02:34 pm, Nandish Rudra wrote:
Are you guys running tomcat through jprobe.?
No. Trying to use jvmstat and Jprobe to see the TC instance that is already
running.
Bob
-
To unsubscribe, e-mail: [EMAIL
On Friday 13 August 2004 12:40 pm, Dale, Matt wrote:
Hi,
Has anyone got around the maximum heap size of 2G on linux? We've got a new
server with 12G of ram which was going to be used for an uber tomcat but
this plan may have to be changed if we can't get more than 2G of memory
used for the
On Friday 13 August 2004 01:13 pm, Dale, Matt wrote:
Hi,
We are a call centre and the application is a scripting tool for outbound
calling. I've seen over 300G an hour of memory allocated with 100 users and
we need to support well over 200. With that much memory being consumed it
obviously
On Friday 06 August 2004 11:36 am, Anastasios Angelidis wrote:
The general approach is to set up a separate component in source
control for each component of your code that can be depended upon. All
modern source control systems allow you to label branches, so you can
have a DB1_1.0 label for
On Friday 06 August 2004 11:52 am, Shilpa Nalgonda wrote:
I am trying to deploy my prototype shoppingcart application onto linux
environment , i am using apache tomcat4.0.4, and struts 1.1. The same
application was deployed successfully on windows. I have copied
Did you by chance make *any*
I've just finished reading the report and can find no where in the report that
Tomcat failed
It *does* indicate that the combination of Apache httpd and Apache Tomcat had
problems - but the report does not indicate, as far as I can tell, which
component reported the failure. Without
Khalid,
Search the list... You will see that Windows 2000/2003/XP services need to
know how to log into any data bases in order to access them. One of the
biggest problems with services is accessing mapped files or files that
require user permissions. It is unfortunate, but a fact of life
Please show us the source that is causing this error...
On Monday 02 August 2004 02:44 pm, Isen,Ciji wrote:
Hi,
I am using tomcat-5. I was trying out the connection pooling in it. I did
things as per their documentation but ended up with this error.
javax.servlet.ServletException: Cannot
Another good place is the Java Performance Tuning web site. They have a LOT
of really good articles and spend a LOT of time on GC. The IBM developer web
site also has some good articles on memory and GC.
Bob
On Thursday 29 July 2004 12:09 pm, Shapira, Yoav wrote:
Hi,
| The options for
On Wednesday 28 July 2004 03:47 pm, SH Solutions wrote:
3. Is there an easy way to forward host/test/... to
http://127.0.0.1:8080/test/ (there is apache in 8080, tomcat on 80). I
read that filters could do so, but found no example...
I used a simple HTML Redirect to accomplish this. I
Ivan,
It may not be a jar issue. One of the problems with running something as
a service in Windows is that the program must know it's a service and log
into and network drives or data bases itself. Do you have your data source
set to read a file on a networked drive?
Bob
On Wednesday 21
Stephen,
If I understand what your asking, you are looking at statistics generated by
Tomcat that tells you how many *active* sessions are still laying around
inside the server. But the first row tells you about sessions that have been
alive between 30 and 40 minutes. You logged in but your
opened
in the past half hour, give or take 10 minutes. Is this not true?
- Original message -
From: Robert Bateman [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Date: Wed, 14 Jul 2004 13:29:33 -0400
Subject: Re: manager app: sessions
Stephen,
If I understand what your
NOT a direct answer to your question...
The IBM Developer Works site has a wonderful set of tutorials on GC and Java.
They can be found at
http://www-106.ibm.com/developerworks/views/java/articles.jsp?sort_order=descexpand=sort_by=Dateshow_abstract=trueview_by=Searchsearch_by=performance%3A
On Wednesday 14 July 2004 06:02 pm, dom wrote:
I'm using tomcat 5.0.27 on win2000, j2sdk-1.4.2_04
My problem is that I have a jsp including custom tags, everything is fine
when the jsp shows in IE6.
But when I want to edit this page with MS-Word 2003 using the IE edit
button, Word reloads the
This may or may not be totally on topic - apologies if it's not...
On Wednesday 30 June 2004 12:16 am, Aris Javier wrote:
Still the same error occured after replacing my service.bat with your
service.bat... (declares tools.jar inside) =|
org.apache.commons.dbcp.SQLNestedException: Cannot
I have an old JDBC driver for a Legacy Data Base that I'm attempting to access
in Tomcat 5.0.25.
When I attempt to call DriverManager.getConnection() on my legacy Data Base, I
get the following log (some snipped to make it easier to read...)
2004-06-30 12:22:02 StandardWrapperValve[jsp]:
Almost forgot to note, once I get the access error, I can no longer talk to
Tomcat (it's looking for access to 127.0.0.1:35479)
Bob
On Wednesday 30 June 2004 12:32 pm, Robert Bateman wrote:
I have an old JDBC driver for a Legacy Data Base that I'm attempting to
access in Tomcat 5.0.25.
When
I'm attempting to set a cookie in a servlet within my webapp and am running
into a problem
Inside the servlet, I create a cookie and add it to response. I then set
context and write HTML to the user. The html does a forward to another page
where I read all cookies.
As far as I can tell,
Apologies for asking the original question.
It appears the code works as expected - AFTER I restarted the server :(
On Monday 28 June 2004 01:32 pm, Robert Bateman wrote:
I'm attempting to set a cookie in a servlet within my webapp and am running
into a problem
Inside the servlet, I
Wouldn't test.trim().length() be a better test? length() after trm would
tell you if non white-space was left.
Bob
On Thursday 24 June 2004 12:30 pm, Peter Guyatt wrote:
Hi There,
You could do the check test.length() 0
Pete
-Original Message-
From: Carl Olivier
Frank,
NOT questioning your solution, but doesn't the call to equalsIgnoreCase()
cause a temp String object to be created and destroyed? Or do todays JIT
compilers handle that case effectively?
Bob
On Thursday 24 June 2004 01:16 pm, Frank Zammetti wrote:
I've always done
if (test == null
I'm attempting to create a cookie within a Tag. My log messages tell me that
the call to pageContext.getResponse().addCookie() is being called - but
nothing is showing up at the browser.
I noticed a recent thread talking about sending cookie from JSPs. I looked
thru that thread and as far as
I've been looking thru the archived messages and can't find a match to my
problem
I'm using Tomcat 5.0.25 to serve up a JSP site. I do not use Apache httpd as
my front end. All authentication for Tomcat is thru tomcat and is set to
BASIC.
On my site is a frame page that I want to
45 matches
Mail list logo