Hello,
When using ENCTYPE=multipart/form-data in a form on a jsp page, text
sent ignores the SetCharacterEncodingFilter which is calling
request.setCharacterEncoding(UTF-8);
I thought about getting parameter values by using
String field = request.getParameter(whatever);
Hi,
I installed tomcat with apache in the program files i.e directory
containg space in the name.
It does not work fine. when i install it in some other directory it works
fine.Could any one tell me if we ca install
it in the directory containing spaces or not? Is it Documentated??
Hi,
this seems also to be a problem in mod_jk , tomcat4.1.10, apache 1.3 on
a linux server however it does build up slowly over the day.
The problem seems to be that the connection via mod_jk (Port 8009) does
not close, so the java/tomcat processes
will not quit after responding to the request
Hi,
I've got some trouble with tomcat 5 :
It doesn't start with the parameters (It hangs) : CATALINA_OPTS= -Xms512m
-Xmx1024m -server
Whithout those args, tomcat works properly.
Here is my configuration :
Tomcat 5.0.27
Java j2sdk 1.4.2_06
There is nothing in tomcat logs
any idea ?
Hi there,
I've got a problem with mod_jk2 and Apache2 under FreeBSD and I think it is
a bug. I configured mod_jk2 for two Tomcat servers. If one of these machines
is down (unplugging the network cable), mod_jk2 should send all requests to
the server that kept running. That is working 90 percent
Hallo!
My Enviroment:
Suse Linux 9.1
Tomcat 5.0.28
JK2 Connector 2.0.4
Apache2 2.0.50
I've configured the jk2-connctor to load balance. Here my
worker2.properties:
# Set a Logger
[logger.apache2]
file=/usr/local/apache2/logs/error.log
level=DEBUG
#debug=1
# config settings
[config]
When a form has the ENCTYPE=multipart/form-data specified, the data sent is not
accessible via the request.getParameter method. You should only really need the
ENCTYPE when the form is posting files.
This is nothing to do with Tomcat. You need to decode the data using something like
Commons
Ok, and here is the attachment.
I also forgot to mention that FreeBSD has the version 5.x and Tomcat the
version 5.
Michael
--
[logger]
level=DEBUG
[shm]
file=/tmp/shmFile
# Defines a load balancer named lb.
[lb:lb]
[workerEnv:]
info=Global server options
Hi all!
I'm developing an application which embeds Tomcat. There is a management
Java process which never ends and executes a Tomcat on request and shuts him
down.
I have a problem with Tomcat shutdown, it leaves a threads after overall
shutdown, these threads marked as TP-Processor with number
On Monday 25 October 2004 21:59, Michael Schuerig wrote:
Ah, good to know! I was unaware that Tomcat substitute properties in
context.xml. I dumped the properties in my servlet (an axis-based web
service, actually) and there doesn't seem to be a suitable property
available. But as I'm using
Hi!
I'm trying to use the JNDI DataSource to administer my database-connections.
But it seems like the DataSource doesn't get the properties I set. I get the
following error:
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null' (Full stacktrace
The Apache FTP Server is where I started :-)
Made me wonder whether I couldn't write a servlet that delegated to it.
Or whether someone else hadn't already done it.
I have a website on which I now also want to host a blog.
I'm using BlogSpot for the blog but want to publish to my own host, which
Hi Roland,
I'm trying to use the JNDI DataSource to administer my database-connections.
But it seems like the DataSource doesn't get the properties I set. I get the
following error:
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
Try
It has been a while since I touched jk2 but try
group=lb:balanced
PJ
Stephan Müller wrote:
Hallo!
My Enviroment:
Suse Linux 9.1
Tomcat 5.0.28
JK2 Connector 2.0.4
Apache2 2.0.50
I've configured the jk2-connctor to load balance. Here my
worker2.properties:
# Set a Logger
[logger.apache2]
try a quick googling:
http://www.google.com/search?hl=enlr=q=tomcat+space+%22folder+name%22btnG
=Search
I always omit spaces from folder names, on the basis that it _might_ cause
an unexpected problem - why tempt fate?
If you have to use spaces in the name, you may need to enclose paths in
Tomcat, by default, installs into c:\program files\ when you use the
.exe installer.
On Tue, 2004-10-26 at 05:56, Steve Kirk wrote:
try a quick googling:
http://www.google.com/search?hl=enlr=q=tomcat+space+%22folder+name%22btnG
=Search
I always omit spaces from folder names, on the
This is an extract of taglib directive definition
(http://java.sun.com/products/jsp/syntax/1.2/syntaxref1211.html )
Taglib Directive
Defines a tag library and prefix for the custom tags used in the JSP page.
JSP Syntax
%@ taglib uri=URIForLibrary prefix=tagPrefix %
XML Syntax
None. However,
This type of bug crops up a lot on this list. The best answer seems to be
to make sure you follow the instructions on this page _exactly_:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how
to.html
I assume that where you have x/y in your config file this is to hide
Yes I know - I did not find the solution. I tried to remove any thing that
might be a 'reference' outside the https.
I have done some testing within the http area and the taglib worked fine.
When I returned to the https area the taglib at first sight was working -
but ofcourse the image was the
I am currently running Apache 2.0.48 with JK2 and Tomcat 5.0.28 on Redhat
Enterprise 2.1 and experience random 500 errors. I am getting them for GIFs
files and other non Java related access. I am not finding anything in the
error logs to indicate the problem. The access log does show the file
Hello!
Thanks for your answer. I have no ResourceLink in my configuration. I
understand that I should put it a Context-tag but not where.
How does this affect the configuration I already have done? Is the use of
resource-ref and Resource correct?
Thanks in advance
Roland Carlsson
Den 04-10-26
When you say random do you mean that accessing the same URL sometimes
gives a 500 and sometimes not, or that you can't see a pattern in the URLs
that cause the 500?
Are you looking in all the tomcat log files (under CATALINA_HOME\logs ), and
the apache httpd logs, as well as any TC log file you
Hi Steve!
X:s and y:s are to hide a few details of our setup, perhaps a little
paranoid :-)
I can connect to the database with user and password at that url.
My driver is in common/lib, I also check the other libs.
Regards
Roland Carlsson
Den 04-10-26 12.27, skrev Steve Kirk [EMAIL
HI,
I want add user whitout manager of tomcat (writting lines in
stomcat-user.xml),
Is it possible that tomcat updates changes whitout restart tomcat?
sorry for my bad language...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Any place within the Context.../Context tags for your webapp is
fine. I don't believe these are validated against a DTD, so order isn't
an issue. The rest of your config looks good and should work. Oh yeah
-- and name your resources consistently. If your name attribute in
Resource is
On Tue, Oct 26, 2004 at 07:14:56PM +1000, William Ferguson wrote:
: [snip]
: I'm sure it is reasonably common to want to host both an FTP and HTTP
: server.
Maybe, maybe not; but some of us just use separate FTP and HTTP
programs and call it a day.
: Has no-one combined both within Tomcat
On Tue, Oct 26, 2004 at 09:26:12AM +0200, J?r?me GALLOT wrote:
: I've got some trouble with tomcat 5 :
: It doesn't start with the parameters (It hangs) : CATALINA_OPTS= -Xms512m
: -Xmx1024m -server
: Whithout those args, tomcat works properly.
What OS?
Further explain It hangs -- what's the
Sorry, but it has the same effect.
Thanks
Stephan
Try
It has been a while since I touched jk2 but try
group=lb:balanced
PJ
Stephan Müller wrote:
Hallo!
My Enviroment:
Suse Linux 9.1
Tomcat 5.0.28
JK2 Connector 2.0.4
Apache2 2.0.50
I've configured the jk2-connctor to
Hi,
Is it possible to configure tomcat 5.0.28
to expand the wars it finds in the webapp directory,
to another directory?
By default, it expands them in the same directoy as the wars.
Cheers,
Nick.
-
To unsubscribe,
Laba diena.
Dkojame, kad mums parate.
Js atsista inut isaugota ms duomen bazje.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi!
It took a while before i found a way to put the ResourceLink in a context
where I felt it would be appropiate (using autoinstall so i don't have them
in my conf-files). In server.xml I created a default-context and viola! It
worked! :-)
Thanks for your help!
Regards
Roland
Den 04-10-26
Hi,
No. If you edit tomcat-users.xml by hand, the changes are not reflected
automatically.
Consider switching to a database-driven Realm instead.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26,
Hi,
I have read the spec 'srv.7 Sessions', and it is very clear, but not
implementation-specific.
What I am looking for is the tomcat documentation on its session
management parameters.
Such as? These are covered in the Manager configuration reference. The
rest (such as session-timeout) are
Hi,
Not configurable at the moment. Note that Tomcat unpacks WARs more than
once anyways (to the workDir as well) under many configurations.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Nick Pellow [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 8:26 AM
Hi,
I've got some trouble with tomcat 5 :
It doesn't start with the parameters (It hangs) : CATALINA_OPTS=
-Xms512m
-Xmx1024m -server
Whithout those args, tomcat works properly.
Here is my configuration :
Tomcat 5.0.27
Java j2sdk 1.4.2_06
There is nothing in tomcat logs
any idea ?
Hi,
In server.xml I created a default-context and viola! It
worked! :-)
Ahh, I'd stay on tiptoes if I were you. DefaultContext has a couple of
subtle bugs that affect a small subset of applications which rely on
binding order.
It's worth your time to dump DefaultContext and declare the
Hi,
mailto: shouldn't be used, it's not a valid RFC-822 address (although
it's a valid HTML directive, that's irrelevant here).
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Monday, October 25, 2004 5:25 PM
To: 'Tomcat Users
This question illustrates (IMHO) probably the biggest issue of confusion
with regard to DBCP - that is, there are several XML elements that you can
potentially use, and several places that you can potentially put them.
Specifically, the Resource, ResourceParams and ResourceLink elements
can go in
I have a suggestion for an improvement to the how-to docs (a slightly
misleading instruction which I think needs correcting). Where should I send
that? Bugzilla?
Also I have a suggestion for a new how-to document that I would be prepared
to write, or contribute to, if these are written by an
Shapira, Yoav wrote:
Hi,
It seems like connections aren't being closed properly. Some RedHat
users have reported a need to set the LD_ASSUME_KERNEL parameter such
that NPTL is not used and threading problems go away. I myself don't
have experience with that, but if you search this list's
Hi,
Steve's post is excellent, and I hope that in the future people search
the archives and read it. Of course I've been hoping that would happen
with other such posts for years now ;)
Tomcat offers great flexibility in this area. I think the docs now are
at a point where they really cover the
Hi,
Submit your suggestions as .diff patches to Bugzilla. Please mark your
issues as enhancements. Thanks,
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 9:00 AM
To: 'Tomcat Users List'
Subject:
Hi!
We are going to use Tomcat as our J2EE Server for the next project. I was
wondering if anybody knows of some sort of comparative study of performance
of Tomcat on different Linux Distributions. Recently I have seen that
people were posting problems about Debian (woody). We are thinking
I'm currently running Tomcat 5.0.28 w/ JRockit 1.4.2_04 on Debian Sarge.
Tomcat is running great and I haven't had any problems at all (w/ Tomcat,
that is).
-Original Message-
From: sudip shrestha [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 9:28 AM
To: [EMAIL PROTECTED]
If you go with core 2 you'll need to upgrade to a later kernel as there was problems
running java on the shipped kernel. Core 3 should be out soon but that'll no doubt
introduce it's own problems. Might be worth a shot though.
-Original Message-
From: sudip shrestha [mailto:[EMAIL
Stever Kirk: Did I read that right, Resource
nested inside GlobaNamingResource is not visible to
the webapp? I thought that was the whole purpose to
make it visible globally naming resources under
GlobalNamingResource noh? If Im wrong I stand
corrected.
Hi,
A Resource nested inside GlobalNamingResources requires a
ResourceLink element in your Context to be visible to your webapp.
This is explained in the documentation.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: sven morales [mailto:[EMAIL PROTECTED]
Sent:
Hi
I use fedora 2, and I have no problem with java, nor tomcat.
But tomcat deliver with fedora is an old one. You would have to download
some up to date release.
I have also some mandrake and it works good.
Best regards
Andre
Dale, Matt wrote:
If you go with core 2 you'll need to upgrade to a
I agree that you might expect GlobalNamingResources to be accessible
globally. But I think what the name is intended to mean is that the
resources under GlobalNamingResources are _potentially_ available to any
webapp -subject to you configuring the ResourceLink. Contrast this with
placing the
Do I just view page source from the HTML in my browser then base a diff on
that, or is there a separate source repository I need to get it from? I
just browsed through the how to contribute and CVS pages but couldn't see
quickly how to get the page source. The how-to page in question is
Tomcat 4.x works very well on production servers with
RedHat 9 and Fedora 2. The new Java 1.5 adds better
memory management.
Evgeny Gesin
http://www.javadesk.com
http://www.alltelescopes.com
__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete -
redhat 9 is pretty crummy with java, you might need to add in the
LD_ASSUME_KERNEL parameter for stability
Filip
-Original Message-
From: Evgeny Gesin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 9:11 AM
To: Tomcat Users List
Subject: Re: which Linux Platform is best for
Hi,
The diff patches are against the XML source of the docs, so yes you do
need to go to the source repository (or download a Tomcat source
distro). For online access to the source of the how-to's, see
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/webapps/docs/.
Yoav Shapira
I use both Suse 9.1 and Mandrake 10 and all works great! :-)
G
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thank you very much for your help. I appreciate it very much.
I feel that the GlobalNamingResources is the place to put my
DataSource-definition since there I can do it one time for all web-apps that
are going to come and go. If there are any change is our databases it is one
place to change.
My company is running a 2-node cluster of Tomcat 5.0.25 on Debian Woody (custom
upgraded kernel 2.4 and 2.6) with about 70 requests/sec.
Recently we started upgrading some test machines to Debian Sarge, which still runs
very well.
Ronald.
On Tue Oct 26 15:27:44 CEST 2004 sudip shrestha [EMAIL
What the heck.. haven't heard mine yet.
Slack 9, no problems at all. :)
-Original Message-
From: Giuseppe Briotti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 9:18 AM
To: [EMAIL PROTECTED]
Subject: Re: which Linux Platform is best for Tomcat?
I use both Suse 9.1
Hi,
I just upgraded from MySql 3.x to 4.0 and now I can't make connections work
from Tomcat. I have read a bunch of stuff on the Web about this or similar
problems, but, even though it worked before, I can't make it work now.
I specify my connection info in server.xml and context.xml just like
Hi Folks,
I'm having problems starting Tomcat 5.0.28 using jsvc.
My system is SuSE Linux 9.1 with j2sdk1.4.2_05.
When I start Tomcat using $CATALINA_HOME/bin/startup.sh everything works
fine. But now I want to run Tomcat as a daemon under a non-root user.
I followed the instructions on[1] for
i don't know much about this but you mention the things that are different like dollar
in password .. but have you tried setting the password to how it was when you used to
use it? and putting appBase back as it was. You say you changed nothing but you've
changed several things. Did you also
Hi,
You have to start the jsvc as root, then it changes the effective user
ID to non-root.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 11:07 AM
To: [EMAIL PROTECTED]
is it a new username? Are you connecting to mysql from a different host?
The problem is clear in the stacktrace:
Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)
login to mysql and setup your user's access.
-Original Message-
From: e-Denton Subscriber
Hi,
Dollar sign in password is a no-no right now. It gets escaped. It's a
PITA to fix, so I (and apparently others) haven't done it yet. If you
really want a dollar sign in your password, submit a patch ;)
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: e-Denton
Hi
Review current docs from jakarta project regarding jndi config.
I personally disagree with your conclusion, setting server.xml is not such a good idea.
So here what I've done, maybe it will help you.
First set the webapp/[your-app]/META-INF/context.xml
context
Resource
Shapira, Yoav wrote:
Hi,
You have to start the jsvc as root, then it changes the effective user
ID to non-root.
Hi,
That's exactly what I did, and according to the log (line 1, line 685),
the user has been changed. Did I misunderstand something?
Of course, before that, I had tried to start that
Likewise Debian Sid. Works well, but no .deb file to install it
so had to use the tar file.
On Tuesday 26 October 2004 16:02, Mike Curwen wrote:
What the heck.. haven't heard mine yet.
Slack 9, no problems at all. :)
-Original Message-
From: Giuseppe Briotti [mailto:[EMAIL
..nor mine - gentoo!
[EMAIL PROTECTED] 10/26/04 9:02 AM
What the heck.. haven't heard mine yet.
Slack 9, no problems at all. :)
-Original Message-
From: Giuseppe Briotti [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 9:18 AM
To: [EMAIL PROTECTED]
Subject: Re: which
Viorel, Your approach is interesting. It's only different from mine in one
way: you put your Context in
webapp/[your-app]/META-INF/context.xml
but I put mine in
conf/Catalina/localhost/[your-app].xml
Actually I would like your approach better than mine if I could get it to
That was my problem--thank goodness. Wish I had asked earlier, before I
tried all that futile cr*p and before I read all that MySQL stuff I didn't
really need to know ;)
PITA to fix? (Does that mean it takes a lot of bread to fix?)
Thx to all for their interest and help.
$ee you $oon!
-
Hi,
PITA to fix? (Does that mean it takes a lot of bread to fix?)
Pain In The ... Just means the effort to reward ratio for fixing this
item is high. Most OSS developers (not just Tomcat) tend to gravitate
towards either low-effort/high-reward fixes, or exciting new stuff.
That leaves
Hi,
Actually I would like your approach better than mine if I could get it
to
work, because it would mean that the context config is located in a
META-INF/context.xml only works on later versions of Tomcat. He might
be using a later version than yours. Try 5.0.19 or later.
I understood that
error-page
error-code404/error-code
location/errorpages/404.html/location
/error-page
error-page
error-code500/error-code
location/errorpages/500.jsp/location
/error-page
error-page
exception-typejavax.ServletException/exception-type
I'm using 5.0.28 - which I've been running for several months - but no joy.
I'm getting the same SQLNestedException that Roland first reported at the
start of this thread !!
All I did was move my context config file from
conf/Catalina/localhost/mywebapp.xml
to
Hi,
All I did was move my context config file from
conf/Catalina/localhost/mywebapp.xml
to
webapps/mywebapp/META-INF/context.xml
is there something I've missed?
Yeah. The META-INF/context.xml is consulted when deploying a WAR. Just
putting it there for an already deployed and
All I did was move my context config file from
conf/Catalina/localhost/mywebapp.xml
to
webapps/mywebapp/META-INF/context.xml
is there something I've missed?
Yeah. The META-INF/context.xml is consulted when deploying a
WAR. Just
putting it there for an already deployed and
Hi,
Nope, if you just use the unpacked directory structures to deploy,
META-INF/context.xml will not be read.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 12:46 PM
To: 'Tomcat Users List'
Subject:
Error in package name:
javax.servlet.ServletException
^^^
(By the way I configure mine for java.lang.Throwable just in case something
bizarre happens.)
If that doesn't fix it, check that you don't have an error in your 500.jsp
- if you do, then an exception will be thrown when
Interesting. It's actually what I meant earlier, although I expressed it
badly.
So, I am currently including my webapp's Context in
conf/Catalina/localhost/mywebapp.xml, which is sub-optimal for 2 reasons:
1. it's outside the webapp directory
2. the path depends on the server configuration - not
I tried the same and looking at the source code, it seems to work ONLY if you
war deploy your application. In another post I asked if this can be extended
to all deployments, but got no answer or comment.
Branko
-Original Message-
From: Steve Kirk [mailto:[EMAIL PROTECTED]
Sent:
Shapira, Yoav wrote:
Hi,
I have read the spec 'srv.7 Sessions', and it is very clear, but not
implementation-specific.
What I am looking for is the tomcat documentation on its session
management parameters.
Such as? These are covered in the Manager configuration reference. The
rest (such
Hi,
So, I am currently including my webapp's Context in
conf/Catalina/localhost/mywebapp.xml, which is sub-optimal for 2
reasons:
1. it's outside the webapp directory
2. the path depends on the server configuration - not predictable
These server-specific configuration files, unlike web.xml, are
I noticed that error about 5 minutes after sending the email. :( ... Anyway
I am pretty sure that the jsp isnt causing an error because the page that I
am forcing the 500 on is giving the error result I am used to seeing and is
consistent with that page.
Off to try and see if its the jsp page.
Guess What?
Looks like it was the JSP, I should know every single time I rule out
something by taking for granted that I did something right the first time, I
end up finding that was the problem.
Oh well :)
Off to fix that
From: Steve Kirk [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL
To expand on this, RedHat backported the NPTL (New Posix Threading Library)
from the 2.6 kernel into the 2.4.x kernels used in RH8 and RH9. Java has
problems with this backport and it can cause hangs, particularly in
System.exec() type calls.
Setting the environment variable
Hello list
Sorry for coming up with this question again, but I still couldn't find any
detailed documentation about what the entries in conf/catalina.policy
actually do. On line 86 it says:
grant {
// Required for JNDI lookup of named JDBC DataSource's and
// javamail named MimePart
Hi,
Your approach is not inelegant, it's fine. I think the comments above the lines you
quote explain exactly what they do: without them, when running with a SecurityManager,
System.getProperty(...) would return null.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From:
I used ant war task to create the deployable war file, I just want to
know how to put the context.xml into the meta-inf directory using war
target.
Thanks
zipfileset dir=${basedir}/conf includes=**/context.xml
prefix=META-INF/
${basedir}/conf is where my context.xml is stored.
-Original Message-
From: David Lee [mailto:[EMAIL PROTECTED]
Sent: October 26, 2004 2:24 PM
To: [EMAIL PROTECTED]
Subject: How to put context.xml into ant war
[EMAIL PROTECTED] wrote:
When I start Tomcat using $CATALINA_HOME/bin/startup.sh everything works
fine. But now I want to run Tomcat as a daemon under a non-root user.
[...]
The log (line 626)[3] is telling me that server.xml couldn't be
loaded, but it didn't tell why.
Hi Volkmar,
did you check
Hi,
I am using Tomcat 5.0.27. I want to configure my server.xml such that:
1. all system.outs from my webapp
2. all error and exceptions due to my webapp
get written to logs/mywebapp.log under CATALINA_HOME
This is the except from my server.xml file that I have written:
...
...
Engine
Hi,
Add swallowOutput=true to your Context element. It also makes the
SystemOutLogger/SystemErrLogger definitions redundant IIRC.
Then when you have a chance switch to using a real logging toolkit like
log4j.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Mufaddal
OK thanks Yoav. Interesting insights.
PS I hope my comments on warfiles didn't come across as saying that there is
no point in them. That certainly wasn't what I meant. I very much see the
point of warfiles, I just meant to explain why I haven't used them so far:
for me personally, webapp
Yes at some point I do need to switch to log4j. I set the
swallowOutput=true
...
...
Engine name=Catalina defaultHost=localhost
!-- Define the default virtual host --
Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
Context
Hola,
I also hadn't realised that the servlet spec does not require support
for
the unpacked mode that I have been using, and that only packed war
files
need to be supported. Where does the spec say this - I've looked at it
again just now, but can't find it.
It says it implicitly by only
Hi,
When i start tomcat now, I still get some of the system.out from my
webapp written to catalina.out.
No. That can't be right. The output you're seeing is coming from
somewhere else, or your configuration is otherwise messed up.
My webapp implements ServletContextListener and
Yes, most definitely I have to use the log4j library.
I just rechecked my server.xml and I am still baffled as to why the
output is going to catalina.out ?
Heres the entire server.xml:
---START
Server port=8005 shutdown=SHUTDOWN
Service name=Catalina
Connector port=9090
Hi Christoph,
I would recommend to upgrade to Apache 2 and mod_jk2 as soon as
possible. With the old Apache 1 and mod_jk we had a whole set of other
problems when it came to load related instabilities. The new version is
heaps better.
Lars
Christoph Fischer wrote:
Hi,
this seems also to be a
David,
Checking my log files, I can see that I get many of thoe lines in the
generic apache error log:
[...timestamp...] [error] child process xyzabc still did not exit,
sending a SIGKILL
I get at least 40 of these just after it starts running full. That does
not look ok, does it?
Lars
David
Phillip, thanks
the context.xml file works. I finally got the JNDI mail/Session to work.
But I found one thing interesting about the GUI manager deploy (upload
the ant generated war file)
After I uploaded the war file, I found that this action not only
uppacked war into the myapp directory
Hi,
I just rechecked my server.xml and I am still baffled as to why the
output is going to catalina.out ?
Because the Logger is inside your Context, it applies only to that
Context. It does not apply to other Contexts within your Host, such as
those created by autoDeploy. Try moving Logger
1 - 100 of 142 matches
Mail list logo