At 11:30 AM 6/24/2004 +0200, you wrote:
Hello,
I have a Problem with ServletFilters.
I am using a CacheFilter originally from Jason Falkner.
This CacheFilter wraps ServletWrapper and writes outpustream to a
ByteArrayStream and finally this bytearraystream is written to disk.
Installing has been
Quoting Christopher A. Brooks [EMAIL PROTECTED]:
Hi,
My problem is as follows. I would like to have an ant script that
auto-deploys my webapp into Tomcat 5 including any data source resources it
might need (e.g. Database connections). Thus far I have only been able to
define these
Quoting Frank Zammetti [EMAIL PROTECTED]:
I don't see that behavior. Is there a setting in Tomcat to turn that
function on and off perhaps? None of my sessions survive a Tomcat restart,
so I've never had to deal with this.
Tomcat will dump session objects which don't implement
Hi Igor,
It's hard to say what is happening since Enhyda and Jonas are probably
controlling the classloader configuration for Tomcat5. You could add a
log4j.xml file to Tomcat's common/classes directory for Tomcat's logging. For
the webapp itself, make sure log4j.jar is in WEB-INF/lib and if
remove/add sessions.
Jake
Frank
From: Jacob Kjome [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: list active sessions.
Date: Wed, 23 Jun 2004 15:10:31 +
Quoting Frank Zammetti [EMAIL PROTECTED]:
I don't
At 10:37 PM 6/21/2004 -0700, you wrote:
Hey!
As far as I understand, hot code deployment, is when you modify .class
inside /WEB-INF/classes, and tomcat reloads it, correct?
If so, is it true, that whenever it reloads it, the OLD instance of static
objects, threads, and properties stay alive,
Quoting Benson Margulies [EMAIL PROTECTED]:
Sure, but the other question is this:
ServletContext.log allows a webapp to log. Wouldn't It Be Nice if that
same log was somehow available to any old bit-o-java when running in the
environment?
So, you want all logging to go to the servlet
of the WebappClassLoader, so I'll leave the specifics to
someone who knows better.
Jake
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 22, 2004 3:48 AM
To: Tomcat Users List
Subject: Re: Tomcat and hot code deployment
At 10:37 PM 6/21/2004 -0700, you wrote:
Hey
At 12:26 PM 6/20/2004 +0400, you wrote:
Hi, I've just upgraded from TC4.1.12 to TC5.0.25.
Everything is OK, but TC evidently ignores my context configuration file
unless I place it directly into 'conf\Catalina\localhost\'.
It is ignored both if placed as 'webapps\my-app\META-INF\context.xml' and
configuration file URL
file:D:\tomcat\temp\temp\release
filter\webdev-server\conf\Catalina\localhost\releasefilter.xml
I thing, it was also a usefull feature to implement this for directory
deployment.
Easier for some non expert customer or developer ;-)
regards
peter
Jacob Kjome schrieb
At 07:19 PM 6/13/2004 +0300, you wrote:
Hi all,
I've installed apache 2.049 + Tomcat 5.0.26 + PostgreSQL and i could
connect apache to tomcat after painful night with mod_jk2.
So far so good.
I could do regular jdbc connection by using traditional
Class.forName(ZOBARA) method to my existing fair
At 10:54 PM 6/12/2004 -0400, you wrote:
I have no knowledge of either Ant or Tomcat other than a partner told me
that both were necessary to download a file from his IP address.
U. you need to download a file or you need to host a file for
download by others? If the latter, you might
Maybe because of this?
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29255
Grab 5.0.26beta.
Jake
At 01:45 PM 6/13/2004 +1000, you wrote:
Hi all,
I am currently porting an application from Tomcat 4.1.x to Tomcat 5.0.25.
Everything is going fine except for JavaMail.
In the application we have
Quoting Bill Barker [EMAIL PROTECTED]:
1) Assuming boring system encodings, and something to do Base64 encoding:
String creds = username+:+password;
String b64creds = Base64Util.encode(creds.getBytes());
tmc.addRequestProperty(Authorization,Basic +b64creds);
2) Not with Basic.
At 12:25 PM 6/10/2004 -0700, you wrote:
Jerry Miernik wrote:
This works! How did you come to know that?
Is there a doc I should have read to know?
Well, strictly speaking, if you read the doc you'll know that's
not a legal URL :-)
Yep, but it has worked with every server I've ever used it
Is your webapp in ROOT? That's usually the default application for Tomcat and
your own app would be in a named context. Assuming you are doing the latter,
and your named context is mycontext, you'd put it in:
$CATALINA_HOME/webapps/mycontext/WEB-INF/lib
Jake
Quoting [EMAIL PROTECTED] [EMAIL
At 12:41 AM 6/5/2004 -0400, you wrote:
I found the cause of the unfriendly documentation. Certain examples,
imbedded between pre /pre tags are consuming too much horizontal space.
Not only does this cause truncation on the right margin while printing, it
also causes unnecessary horizontal
I think this is because tools.jar isn't added to the classpath in the
service.bat service installer file. I've modified mine to include this. See
attached (renamed to service.txt to avoid being removed by filters).
BTW, I've mentioned this a few times to the Tomcat developers with little
Quoting Michael Mehrle [EMAIL PROTECTED]:
I see - where can I get it? I looked around on the jakarta site and they
still list 5.0.25 (what's up with that?).
Be a little inventive. Look at Filip's post and figure out where it might be
from there. Hint: move up one directory.
Jake
I suggest extracting Tomcat to a directory path with no spaces. Tomcat
*should* work with spaces in the path, but experience tells me to avoid this.
Jake
At 08:27 AM 6/1/2004 -0400, you wrote:
The problem continues with both jakarta-tomcat-5.0.24.exe and
jakarta-tomcat-5.0.24.zip.
At 12:41 AM
to make the change
command line settings via my own web based server management interface.
I assume that the app changes registry enties? Is there documentation on
the registry entries? I could then make changes directly in the
registry
Carl
-Original Message-
From: Jacob Kjome [mailto
You can modify the service parameters via the GUI. See...
http://jakarta.apache.org/commons/daemon/procrun.html
Even though most of the instructions on that page are outdated, the information
near the bottom of the page is still useful. In particular...
Changing the Service Parameters from the
At 12:41 AM 5/27/2004 -0400, you wrote:
A search of the tomcat-user archives suggests that this is a new way
for Tomcat to start poorly on Windows XP.
Below is stdout.log after a clean install of j2sdk-1_4_2_04-windows-i586-p.exe
and jakarta-tomcat-5.0.24.exe on a Windows XP Pro desktop system. I
Of course he can also just use BASIC Auth and do request.getRemoteUser()
and do whatever he wants with that. No realms needed there. The original
question was why was he setting up BASIC Auth programatically when he can
specify it in web.xml. It sounds like he uses some custom authentication
At 09:15 PM 5/26/2004 +0200, you wrote:
4/ depends on the JDK; newer compilers /may/ see a repeat string concat
(+ op) and replace w/ StringBuffer under the covers...
This is a common psuedo-misconception. Compilers can't do anything with
strings
that have a paramter of which the value can
For Tomcat5, look at service.bat in the bin directory. Add to the
following line...
%EXECUTABLE% //US//%SERVICE_NAME% ++JvmOptions
-Djava.io.tmpdir=%CATALINA_BASE%\temp
Something such as...
%EXECUTABLE% //US//%SERVICE_NAME% ++JvmOptions
At 03:39 PM 5/25/2004 +0200, you wrote:
Hi all
I'd like to ask you if there's a significant difference in performance
between:
PrintWriter out = response.getWriter();
String ret = ;
for (count = 0; rs.next(); count++)
ret += rs.getString(column_name); // result of db
Quoting QM [EMAIL PROTECTED]:
On Tue, May 25, 2004 at 03:39:31PM +0200, Rostislav Svoboda wrote:
: I'd like to ask you if there's a significant difference in performance
: between:
:
:String ret = ;
:for (count = 0; rs.next(); count++)
:ret += rs.getString(column_name);
At 11:58 PM 5/25/2004 +0200, you wrote:
Hi
How about use web.xml to configure your security rather than doing it by
hand?
That way tomcat does all the hard work.
We have a complex CMS system with about 35000 users.
We obviously do NOT want to use web.xml.
Can you explain yourself here? It is
CATALINA_BASE allows you to have separate config files and a separate shared/lib
(along with a separate webapps and work dirs). However, most everything such as
core libraries in server/lib and common/lib are used in each CATALINA_BASE
instance. I guess it would be nice if there were a place to
Well, it works for me on Win2k with Tomcat-5.0.25. Same session every post.
You don't have sessions turned off in web.xml by setting the session-timeout to
0 or -1 (can't remember which one, if any, disables sessions) by chance, do you?
You might also check for virus or firewall
At 04:53 PM 5/20/2004 -0400, you wrote:
Ben Souther wrote:
On Thursday 20 May 2004 10:15 am, Shapira, Yoav wrote:
in starting jsp 1
session.setAttribute(ml,ml);
in target jsp 2
MyPackage.MyClass ml = (MyPackage.MyClass)session.getAttribute(ml);
System.out.println(ml = +ml);
then in the log I
Quoting Hector Adolfo Alonso [EMAIL PROTECTED]:
Hi Tomcat gurus:
I've read carefully service.bat from Tomcat 5.0.19 and Apache Commons
Daemon, and built a customized script for Windows 2000.
But service installation syntax changed in Tomcat 5.0.24. I could'n
find any new explanation in
Quoting Sheng Huang [EMAIL PROTECTED]:
Does anyone know whether Tomcat 5 supports stop/start server through a GUI
tool? Or can I reload all the contexts in all hosts through a GUI interface?
Look at the manager app:
http://localhost:8080/manager/html/list
You'll have to set up a user in
,
Sheng
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: May 17, 2004 3:08 PM
To: Tomcat Users List
Subject: Re: Does Tomcat 5 supports stop/start/reload server through
admintool ?
Quoting Sheng Huang [EMAIL PROTECTED]:
Does anyone know whether Tomcat 5
I had to add tools.jar to the classpath for the windows service (in
service.bat) in order to get jsp's to compile. I've mentioned it to the
Tomcat developers, but they haven't added it. The .sh and .bat files add
tools.jar to the classpath, so I don't know why they wouldn't want to do it
for
Quoting Will Hartung [EMAIL PROTECTED]:
From: Shapira, Yoav [EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 6:27 AM
Here's another take that's not seen often, but is intriguing: the
java.util.prefs API. It uses the Registry on Windows, and the
filesystem on unix, by default, but that
Quoting Joseph Shraibman [EMAIL PROTECTED]:
Jacob Kjome wrote:
At 11:47 PM 5/11/2004 -0400, you wrote:
Joerg Baumgaertel wrote:
Hi all,
because often requested,
I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website.
You find the following documents
- How to scan a Java
At 11:47 PM 5/11/2004 -0400, you wrote:
Joerg Baumgaertel wrote:
Hi all,
because often requested,
I added a Jakarta-Tomcat-Howto to the 'jb2works.com' website.
You find the following documents
- How to scan a Java webapplication
http://jb2works.com/refscan/tomcat.html
- How to scan
I'm trying to set --WorkingPath in service.bat, but it doesn't seem to do
anything. It used to in Tomcat-5.0.19 but doesn't in Tomcat-5.0.24. Is there a
new property to set the working path for the service? I also tried adding the
property PR_WORKINGPATH, but that didn't do anything either.
At 07:35 PM 5/7/2004 +0200, you wrote:
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
I'm trying to set --WorkingPath in service.bat, but it doesn't seem to do
anything. It used to in Tomcat-5.0.19 but doesn't in Tomcat-5.0.24. Is
there a
new property to set
Look on the Ant-user list for entity includes. should work for what you need.
Jake
Quoting Steven Garrett [EMAIL PROTECTED]:
Hi,
I was wondering if you can use include in the server.xml. What I want to
do is to define a bunch of different virtual hosts within my tomcat
instance, but
Are you running as a service? If so, try running running with the startup
script. The default service.bat doesn't add tools.jar to the
ImagePath. You will need to do this in order for JSP's to be
compiled. The examples run because they are all pre-compiled and mapped as
servlets. I don't
Are you sure you deploying your app to the webapps directory? Did you do
an install or a deploy? In Tomcat5, install has been deprecated and
deploy should be used with the localWar attribute if you mean to deploy
it to a local directory. In both cases, deploy without localWar will
upload
You are trying to load it up via HTTP? That seems a bit overkill when you
are on the same server. Just load it like this...
context.getResourceAsStream(/WEB-INF/config/myfile.xml);
Should be able to use something like an Entity resolver to provide the
schema. This is done commonly for
At 07:48 PM 4/23/2004 -0700, you wrote:
Servelet Spec requires the session cookie to be JSESSIONID.
If you launch two instances of IE, it should keep track
of a session ID for each instance. That should let you
do what you want.
Mozilla just keeps one session ID, even with two instances.
You
You've got unpackWars=false. I don't use Velocity, but does it use File IO to
load .vm files? If so, you will have to unpack wars to use Velocity. Pretty
stupid on Velocity's part if they use File IO in Webapps.
Jake
Quoting Owen Fellows [EMAIL PROTECTED]:
Hi,
I've raised a bug online
. It explodes war files by default...even on a Tomcat
manager deploy. I would still rethink using a technology that violates the J2EE
by requriing access to the file sytem in order to work properly.
Jake
Cheers,
Owen
On Mon, 19 Apr 2004 15:15:57 +, Jacob Kjome [EMAIL PROTECTED] wrote:
You've
have seen similar behavior. See
http://issues.apache.org/bugzilla/show_bug.cgi?id=18479
The bug is marked resolved fixed, but look at the messages where I (Jacob
Kjome) start commenting. I think this bug shouldn't be marked fixed until
sessionDestroyed() is called properly just as valueUnbound
Here's where it exists in the Tomcat5 CVS. I haven't looked at whether the fix
is there or not, but at least you know where to check it out now...
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java
Jake
Quoting
You would get more responses if you actually provided the stacktrace you are
getting. There are a few reasons for NoClassDefFoundError such as the same
library being loaded by different classloaders and your library ending up using
some classes from one and others from the other. Or, a class you
Well, if it were BASIC Auth, then you'd just do this (over SSL, of course, to
hide the clear text username/password)...
https://myusername:[EMAIL PROTECTED]
If the username and password are valid, there will be no prompt for username or
password. You'll get right to the resource.
Jake
Quoting
At 04:36 PM 3/22/2004 -0800, you wrote:
I am using Log4J in my webapp. I have modified setclasspath.bat so that I
include the path to log4j.properties in my classpath. When I run
startup.bat, all is well and I get logging.
HOWEVER, when I run tomcat from my service manager (the way I wish to run
How much information do you put in servlet sessions? How long do sessions
last? How many active user sessions do you have at any given time? Do you
start the VM up without providing -Xmx512m or something like that? If so,
you are starting a VM with a maximum of 64meg of memory available to
Sessions aren't destroyed until the session times out. If you shut the server
down, existing sessions will be written to file. If you bring the server back
up before the timeout of those sessions, they will still exist upon server
restart. If you think about it, this is usually desired
://barracudamvc.org
--
Coffee? I could quit anytime, just not today
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Friday, March 19, 2004 10:20 AM
To: Tomcat Users List
Subject: Re: Session not destroyed after server shutdown
Try this...
http://marc.theaimsgroup.com/?l=tomcat-userm=107453389016087w=2
Jake
At 01:11 AM 3/20/2004 -0500, you wrote:
Hello Folks,
A quicky question. I've been able to get Tomcat5 to pick up my
context.xml files I place in META-INF when I deploy the app with the
Tomcat Deployer + Ant.
I
Are you running Tomcat as a service on Windows? The default service
install doesn't put tools.jar in the classpath. You can use the
service.bat file in CATALINA_HOME/bin to reinstall the service. I modified
mine to include this stuff
%EXECUTABLE% //IS//%SERVICE_NAME% --DisplayName
I'd be surprised if Tomcat wasn't using an entity resolver to load the DTD. The
entity resolver's job would be to recognize the DTD entry and load a
corresponding one from the local server rather than downloading it from the
internet every time. Just think, if this weren't true, Tomcat wouldn't
You probably have Log4j pre-1.2.x in your classpath. Not sure what
AccessLogValve is doing to cause problems, but since it probably uses
commons-logging, and commons-logging is using Log4j as its logging
implementation, calling LogManager.shutdown() may very well solve that issue.
And, again, it
Quoting Jerald Powel [EMAIL PROTECTED]:
Hello,
Yes, I see it in the Javadoc. Here's my confusion. I am not 'using'
Log4j-1.2.8 at all! To implement the logic you talk of, I would have to get a
JAR from the Apache web site?
Yes, but you are using commons-logging and
See my other message for the reasoning. I would recommend not to use
commons-logging in your code. It does nothing for you and can only cause
problems. Just use Log4j directly. If other apps use commons-logging such as
Struts, you'll obviously have to include commons-logging, but don't let it
At 10:38 PM 3/17/2004 +, you wrote:
Hi,
Thank you for that, and excuse my delay in responding. I tried what
you suggested, but found the LogManager class did not contain such a
method. It did have one method to speak of - getLogManager() which
returns an instance of LogManager, but
At 12:23 PM 3/15/2004 -0500, you wrote:
Hi,
We'd like to do something similar in Tomcat but it's not clear how to
accomplish it. The catalina.sh startup script redirects stdout to
catalina.out, but that file ends up capturing both JVM logging and Web
application logging.
Only if your webapps
This has to do with Log4j. Make sure you set up a servlet context listener
and do LogManager.shutdown() in the contextDestroyed() method. This will
take care of your troubles.
Jake
At 02:13 AM 3/16/2004 +, you wrote:
Hello all,
Can anyone shed some light on the above error
Context reloadable=true ... /
I don't recommend that for production, but for development, it makes life
easier.
Jake
At 11:10 AM 3/16/2004 +0800, you wrote:
Hi,
Once I change the code of a servlet, I have to restart Tomcat5 to
make it reloaded .
Can I make the Tomcat to reload it
Just for the record, this is how it is
Tomcat4.x.x:
If one defines the context in server.xml or in a context configuration
file, the .war file corresponding to the webapp that it refers to will not
be unpacked. Why this is the behavior or Tomcat4.x.x is beyond me.
Tomcat5.x.x
One should
At 06:19 PM 3/13/2004 -0500, you wrote:
Jacob,
My hosting service is Tomcat 4.18 so I'm kind of stuck with 4.x. Are you
saying if I use tomcat 4.x I must not put a context for my applicaton in
server.mxl? Then it will be unpacked automatially?
thanks,
Phil
Yep, that's exactly what I'm saying.
You should never log to within the directory structure of your webapp if you
want your app to be portable. Provide configuration in web.xml as to where you
want the log file to go which an admin can override via proprietary
configuration. For instance, in Tomcat...
Context ...
Parameter
At 07:15 PM 2/25/2004 -0500, you wrote:
Yeah I kind of think so too. I believe for this to work a XSL stylesheet
is necessary for the generated Manager html. You know:
!ELEMENT web-app (icon?, display-name?, description?, distributable?,
context-param*, filter*, filter-mapping*, listener*,
At 10:16 AM 2/16/2004 +, you wrote:
I not think you can put the JNDI/Resource stuff in the deployment
descriptor, though I stand to be corrected (!)
Well, get ready to start standing
resource-ref
descriptionDB Connection/description
res-ref-namejdbc/TestDB/res-ref-name
-Xmx1024M -Xms1024M -Xmn100M -Xss100M
-Xmn is the size of the younger generation heap. Before having -Xmn my
CPU was running at 95% while memory was at 4%. After putting -Xmn my CPU
and memory usage are both aroun 11 %.
-Tom
Jacob Kjome [EMAIL PROTECTED] wrote:
The JAVA_OPTS settings below
The JAVA_OPTS settings below are doing nothing whatsoever. Tom, you need
to remember that these are case sensitive. You must add m for Megabytes
and k for Kilobytes, not M or K. You didn't even provide a value for
-Xmx. And why are you attempting to set -Xss to 100 Megabytes? The
default
One of your jar files is bad, probaby in your webapp. Check all jars for
integrity and redeploy.
Jake
At 11:32 AM 2/16/2004 +0530, you wrote:
Hi
I am not sure whether the problem I'm going to narrate belongs to Tomcat
or Cocoon, but anyway I'm sending this mail to this list just in case it
I have implemented a custom JNDI resource factory according to the
documentation here...
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html#Adding%20Custom%20Resource%20Factories
The Object that gets returned from this factory uses the
Works for me. Are you sure you context is initializing properly? Does it
actually work? Check stdout for info.
Jake
At 03:20 PM 1/24/2004 -0600, you wrote:
Below is the Context element I'm using for my application. It was
originally created for Tomcat 4.1. With this Context element in
At 08:44 AM 1/25/2004 -0600, you wrote:
Jake,
Well, I've managed to show that the Context element itself isn't being
ignored. I modified it so that typing ts on the URL would execute the
timesheet app in webapps. However, the Logger sub-element that
defines a custom log file name for the
At 08:47 AM 1/24/2004 -0600, you wrote:
Remy,
No, it does not. .xml files in the Host appBase will be ignored.
[Sigh...] I thought I had it. Checking back, I see that only the
balancer sample app has it context description file there.
No it isn't... Oh, I see what you mean. It isn't in the
Quoting Luc Foisy [EMAIL PROTECTED]:
I am looking for a quick answer, I don't belong to any other list thats
appropriate, and we should be full of web developers :)
I appologize to the admins.
Any, I was wondering if there was a css tag that would align my text
vertically. like in TD
I don't see how an applet would have anything to do with where Tomcat
starts up as they aren't even in the same JVM's. Did you mean
servlet? Are you counting on being able to read files in a servlet via
File IO? Bad, bad, bad, bad, etc Never, ever, use File IO in a
servlet application
Grab the latest Tomcat-5.0.18 and use the CATALINA_HOME/bin/service.bat. You
might need to add JAVA_HOME/lib/tools.jar to the ImagePath in order to get JSP
compiling, but otherwise it will work for you. Just type:
service install
Jake
Quoting Tobias Eriksson [EMAIL PROTECTED]:
Hi
I'm
At 05:16 PM 1/20/2004 -0600, you wrote:
Remy Maucherat wrote:
Brice Ruth wrote:
When you undeploy, C:\Tomcat-5.0\conf\Catalina\localhost\fiskars.com.xml
should be removed. At least this is what's intended.
I think you should post the task sequence so that this is reproduceable.
Yet another
At 10:04 PM 1/20/2004 -0500, you wrote:
I have a web app served by Tomcat on a Unix system which I have been running
out the development environment. I am trying to deploy it as a jar file.
When the log4j logging system starts up it says it cannot find the
properties file in the war file.
Do I
At 09:36 PM 1/19/2004 -0500, you wrote:
IIS 5.0, Tomcat 4.1.29, Windows XP and 2000
I am trying to use the Tomcat/ISAPI Redirection installer from
http://www.shiftomat.com/opensource
It looks for contexts to map by listing everything in TOMCAT/webapps that
is not ROOT, therefore I need my app
at it and
let you know what I come up with. - MOD
--- Jacob Kjome [EMAIL PROTECTED] wrote:
At 04:37 PM 1/13/2004 -0800, you wrote:
Nope, it was Windows 2000, SP4. All the other
versions of Apache Tomcat services I have all show
up
under their service name, so I expected 5.0.16 to
do
There is a service.bat file in the Tomcat CVS. Here's a copy of that with a
couple minor tweaks. I've attached it before to emails in this list, but I'll
attach it again since it is small. Rename service.txt to service.bat.
Jake
Quoting Michael Duffy [EMAIL PROTECTED]:
Hi, I've recently
done wrong? Please advise. - MOD
--- Jacob Kjome [EMAIL PROTECTED] wrote:
There is a service.bat file in the Tomcat CVS.
Here's a copy of that with a
couple minor tweaks. I've attached it before to
emails in this list, but I'll
attach it again since it is small. Rename
service.txt
Quoting Christopher Schultz [EMAIL PROTECTED]:
I got this error in one tomcat application
java.lang.NoClassDefFoundError: org/apache/tomcat/logging/Logger
It looks like you're missing the log4j library for that particular
application. Check the WEB-INF/lib directory for a log4j-looking
things to work.
Jake
--- Jacob Kjome [EMAIL PROTECTED] wrote:
There is a service.bat file in the Tomcat CVS.
Here's a copy of that with a
couple minor tweaks. I've attached it before to
emails in this list, but I'll
attach it again since it is small. Rename
service.txt to service.bat.
Jake
. Specifically, if the first parameter was not install or
remove. The second parameter is, of course, optional. If you are
familiar with DOS batch scripts, you can check this out
yourself. Otherwise, I'm not sure what the problem is. Works for me.
Jake
--- Jacob Kjome [EMAIL PROTECTED
At 02:44 PM 1/10/2004 -0800, you wrote:
Shapira, Yoav wrote:
1) Is there a reason why the startup.sh script that comes bundled with
Tomcat 5.0.16 adds commons-logging-api.jar to the CLASSPATH? As far as
I can tell, it's the only script that uses it.
Yes, there's a good reason: tomcat internals
,
--
Sean LeBlanc
Software Developer
insightamerica
Those who do not understand Unix are condemned to reinvent it, poorly.
--Henry Spencer
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 10:15 PM
To: Tomcat Users List
Subject: Re: Best practices
At 03:44 PM 1/9/2004 -0600, you wrote:
Bingo!!! That was it.
It might be a good idea to add a paragraph to the JDBC DataSources section
of the documentation that mentions:
(a) That global datasources are defined in GlobalNamingResources of
server.xml
(b) The need for the ResourceLink in the
Quoting Shapira, Yoav [EMAIL PROTECTED]:
Howdy,
One way is by taking advantage of Tomcat's naming conventions with the
tempdir
String tempdir =
+ context.getAttribute(javax.servlet.context.tempdir);
int lastSlash = tempdir.lastIndexOf(File.separator);
At 03:29 PM 1/7/2004 -0700, you wrote:
I have a question about how to load a new application w/o interruption of
service.
What do others do to remove/reduce service interruption when doing a new
code push?
I would like to be able to push new code for new Axis services w/o having to
kill any
Just to contribute to delinquency, here's a couple ways to obtain the
context path at runtime from the ServletContext
One way is by taking advantage of Tomcat's naming conventions with the
tempdir
String tempdir =
+
At 12:23 PM 1/7/2004 -0500, you wrote:
Is there a command I can
run from the command prompt to install it as a service after
I unzip the files into a dir?
Thanks, Mike
Yep.
Actually, this was recently discussed on the list. See..
This is simply a matter of your context path being / or being something
like /mycontext. With the former, as long as you aren't one or more
directories deep into your webapp, then using script/utility.js and
/script/utility.js are completely equivalent. However, if you are a
couple
You have to tell Tomcat whether to get BASIC Auth remote user information from
the connector (Apache) or from Tomcat itself. See the following for details...
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12196
Jake
Quoting Howard Watson [EMAIL PROTECTED]:
Additional Info:
Enumerate
At 01:36 AM 1/6/2004 -0500, you wrote:
Hi All,
I have what I hope will be a simple question. I have 2 Win 2K boxes. One
running Tomcat and the other Apache.
How do I deploy a web app on the Tomcat server and configure it to talk to
the Apache web server on a completely separate box.
Do I need
101 - 200 of 973 matches
Mail list logo