Hello Travis,
Horine Travis Contr AEDC/ATA wrote:
Just recently upgraded our server to use tomcat 5.5 with JRE 1.6 (was tomcat
4.0 with JRE 1.3). We had several poorly written servlets that still manage
to compile under both javac 1.3 and javac 1.6. When I compile them under
javac 1.6 they no l
Hello,
Angel Todorov wrote:
I have the following scenario: one webapp, which has some jars in its
private WEB-INF\lib dir, and one common jar which I would like to
share among several webapps. Hence, I am putting this jar into the
shared\lib directory of Tomcat. The problem is that this common l
Hi Oren,
Oren Livne wrote:
Dear Gaurav and everyone,
Thanks so much for your help. The explanations were good and helped me
better understand how the tomcat classloader works. However, I still
have a problem running my web application. In short, the exception is
"java.lang.NoClassDefFoundEr
Hi,
Suneet Shah wrote:
Hello,
I am trying to call an EJB from tomcat 5.5.20. The EJB is is located on
Websphere 6.1. I am able to get the JNDI context, but when I lookup the
bean, I get the exception below. I confirmed that its not a classpath
issue
as the ibmorb.jar, which contains the UtilD
Hello Uwe,
Langjahr, Uwe wrote:
Hello together,
I'm a newbie using Java/Tomcat/JSF-MyFaces all together.
Can somebody help me, I have problems with the logging mechanism.
- I want to use the JDK logging mechanism in my webapp.
- I want to use my own class uxspiweb.log.DebugFormatter for the
-
Hi,
> Hi,
> Running Tomcat "standalone" without Eclipse
> Log4j logging is now configured and generating output to /logs/tomcat.log
>
> except that struts logging is not generated ie.
> Oct 19, 2006 11:24:26 AM org.apache.catalina.core.ApplicationContext log
> INFO: action: Processing a POST for
Hello,
> The issue seems to be with commons-logging, Tomcat and Hibernate
>
> There are lot of articles on the Web on this but I still can't resolve
> this
> Anyone have Hibernate 3.2 and Tomcat 5.5 logging with commons-logging?
> >
> >Hi,
> >ENV1: Struts 1.2.9, Tomcat 5.5, Eclipse 3.2.0
> >ENV2:
Hi,
> Hopefully I still miss anything because there is still nothing which looks
> even similiar to an access log:
>
> [EMAIL PROTECTED] /usr/local/tomcat5.5]# grep -ir tomcat\.gif
> /usr/local/tomcat5.5/logs/
> [EMAIL PROTECTED] /usr/local/tomcat5.5]# grep -ir tomcat\.gif /var/log/tomcat/
> [EM
Hello,
>
> Any ideas are appreciated.
>
Have a look at
http://tomcat.apache.org/tomcat-5.5-doc/logging.html
There is a detailed description for Tomcat and log4j.
Regards
Boris
-
To start a new topic, e-mail: users@tomcat.apac
Hello,
>> can I move to 2048mb without any problem ?
Leon Rosenberg wrote:
are you using a 64bit version? If yes than the answer is yes.
Otherwise its probably no :-)
Is this really just a 32 vs 64bit decision? What about garbage
collection cycles?
What about more than one instance of tomcat fo
Hi,
Original-Nachricht
Datum: Tue, 05 Sep 2006 11:50:34 +0200
Von: David Delbecq <[EMAIL PROTECTED]>
An: Tomcat Users List
Betreff: Re: logging does not work in my webapp
> First, problem solved. It appear a 3rd party library include in my
> webapp was doing a manual configurat
Hello David,
my answers are inline:
Original-Nachricht
Datum: Tue, 05 Sep 2006 10:46:07 +0200
Von: David Delbecq <[EMAIL PROTECTED]>
An: users@tomcat.apache.org
Betreff: logging does not work in my webapp
> Hello,
> using tomcat, the logging does not work in my webapp. I am out
Original-Nachricht
Datum: Tue, 22 Aug 2006 07:09:58 -0700 (PDT)
Von: pompiuses <[EMAIL PROTECTED]>
An: users@tomcat.apache.org
Betreff: Log4j and Tomcat problem
>
> I'm using Tomcat 5.0.30 running on Ubuntu Linux (6.06).
>
> I've made a small webapp which runs fine under Tomca
Hello Tolga,
[EMAIL PROTECTED] wrote:
Hi,
I am trying to turn on the logging for JSF, and output the logs to
catalina_log.txt in tomcat 5.0.28. Below are the steps that I have taken
to no avail.
1. Updated catalina.bat with
SET
CATALINA_OPTS=-Djava.util.logging.config.file=C:\Java\jakarta-
Hello,
Pratap Parne wrote:
can anyone help me in downloading the correct version
of tomcat 5.0 like core,deployer?i want to know the differences.
Did you read the download page (
http://tomcat.apache.org/download-55.cgi ) ?
---> Please see the README file for packaging information. It e
Hi,
However, even placing AspectJ in the webapp's WEB-INF/lib directory
gives me the same error.
Did you put everything or just AspectJ in webapp's WEB-INF/lib
directory? Please have a try with everything.
By "everything" do you mean the JDBC driver as well? OK, I'll go try
that...
No, ev
Hello,
Timothy Collett wrote:
On Jul 14, 2006, at 4:45 AM, Boris Unckel wrote:
The usage of common/lib or common/shared is generally not a good idea
if you are not forced to do it (i.E. a JDBC-Driver).
Does AspectJ have the requirement to be in common/lib or shared/lib?
If not, try to put
Hello Timothy,
Timothy Collett wrote:
Greetings.
I've been using Tomcat for some time now, but recently I started
getting a series of intermittent NoClassDefFound errors. They were
first occurring with the Commons Configuration package (specifically,
org.apache.commons.configuration.Propert
Hi,
Garth Patil wrote:
> Thanks Boris!
> One follow up question. That works for ERROR and FATAL, but is there
> any way to suppress ERROR and only show FATAL?
> Best,
> Garth
This levels may apply:
Java Util Logging (JUL)
http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/Level.html
Hi Garth,
Garth Patil wrote:
Hi,
I'm trying to limit the logging output to catalina.out by the
org.apache.catalina.core classes to only ERROR and FATAL. I changed
the value of
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level
to ERROR, but there was no effect. What am I missi
Hello Avi,
Avi Deitcher wrote:
Boris,
Thank you, too. The main issue here is that I *do* want to separate my
webapp's logging from Tomcat's, so it can be fully self-contained.
Hence, I included log4j.jar and log4j.properties within my own webapp,
which should make a lot of sense. In the develop
Hello Avi,
Avi Deitcher wrote:
Bob,
Thanks. Unfortunately, I am running it on my laptop (Windows) where I
need to keep it for now as a dev environment. I run a small consulting
business, this is an "on the side" product that need to be run whenever
I can catch time.
I would love to be able to
Hello Christopher,
> Von: "Christopher Piggott" <[EMAIL PROTECTED]>
> QUESTION: looking at the little diagram in the Tomcat 5.5 Class Loader
> HOW-TO, when I do the above (Class.forName) I am using the Webapp class
> loader, correct?
Yes.
> The handler classes are all in handlers.jar which is in
Hi,
does the user "manikandan mvk" provoke this, or is it the first google
spam I have ever seen? (Aside from
commercial advertising on websites)
Hopefully some google guy recognizes this and stops it.
Regards
Boris
manikandan mvk wrote:
-
Hello Joe,
Joe Mun wrote:
Is it possible to turn off Catalina's Commons logging
(from org.apache.catalina.*) in Tomcat 5.0 without
changing the debug level in log4j?
Problem is I use log4j/commons for my application and
don't need to bother with the tomcat logs.
Unfortunately, Tomcat spits out
Hello,
> Von: GUNJAN SINGH <[EMAIL PROTECTED]>
> hi
> I'm using j2sdk1.4.2_09 version and tamcat 5.5.12 and myeclipse as an
> IDE.
> The problem is that logs are not getting generated under
> apache-tomcat-5.5.12/logs directory.
> The server is starting properly and i have added the required
Hello,
Fran Varin wrote:
The beauty of our WAS solution is that we can hot deploy various pieces like
the jars without having to do anything with the WARs and since we do not
have the jars contained in each WAR it makes maintenance much simpler.
Depending on the application, this approach makes a
Hi,
> Von: Fran Varin <[EMAIL PROTECTED]>
> This approach sounds promising...would you mind elaborating just a little
> on
> what you're thinking? I'm not sure I follow when you mention using a
> symbolic link into WEB-INF/lib.
it would require UNIX or LINUX system. A simple symbolic link:
ln -s /
Hello Dave,
> Von: David Kerber <[EMAIL PROTECTED]>
> I understand the arguments on both sides, but tend to prefer the ease of
> maintenance of what you call "the single point of change in
> shared/lib". Is it possible to make this configurable, so both sides
> can be happy? Or is that too com
Hello,
> Von: Fran Varin <[EMAIL PROTECTED]>
> Yes, quite correct on your statement regarding using "Application" as the
> definition. The essence of what we are looking for is a similar behavior
> with Tomcat. Our over arching goal is to minimize or eliminate the need
> to have jars that are to b
Hello Francis,
VARIN, FRANCIS A. wrote:
As mentioned above, we have used this class for several years in WAS.
In that case, the jar that contains the factory resides at the EAR
level and can instantiate classes that live in the associated WAR
files just fine. The problem only exists in Tomca
Good Morning,
> Von: Sven Schliesing <[EMAIL PROTECTED]>
>
> The webapp runs under Tomcat 5.5.15. I would expect this config-file to
> litter my console with tons of log messages. But it only displays the
> messages from my webapp. None of the 3rd-party-tool-messages, like from
> hibernate or
Hello,
> Von: "Antti Ollilainen" <[EMAIL PROTECTED]>
> I have copied log4j and commons logging jars to Tomcat's common/lib and
> copypasted the log4j.properties from the logging documentation to
> common/classes. The result was that after restarting the apps their
> logging
> went to this common l
Hello Marcus,
> Von: "Marcus Andersson" <[EMAIL PROTECTED]>
> We have suddenly started to get the exception
> org.apache.tomcat.util.threads.ThreadPool logFull. The server have been
> running for several months without any interruptions and suddenly it
> started to appear. We have restarted Tomcat
Hello,
I had a look at directory.apache.org but this is much too heavy weight for
my application.
Currently we have nightly batch runs to pump the user data into an LDAP
Server (currently IPlanet, but could be OpenLDAP or some other LDAPv3
Server). The disadvantage is, that allowing/denying a new
Hello,
Long wrote:
Has anyone develop in Tomcat and deploy to Websphere?
No, but similar, we are developing in WSAD and have our production
environment in
a) Apache http -> Tomcat -> WebSphere z/OS
b) Apache http -> Tomcat -> WebSphere AIX
c) Apache http -> WebSphere Solaris
It depends on t
Hi,
> Boris Unckel wrote:
>
> > I have a workaround:
> > You provide a logging.properties in your webapp. All relevant parameters
> are
> > controlled per system -D properties.
>
> A workaround for what? Providing a logging.properties in my webapp is
> exac
Hi,
I have a workaround:
You provide a logging.properties in your webapp. All relevant parameters are
controlled per system -D properties. With x4juli this will work for all
webcontainers.
Regards
Boris
-
To unsubscribe, e-mail
Hello,
> Thanks for your explanation about why real per-webapp logging is
> currently not possible with Tomcat 5.5 and Juli/java.util.logging. Is it
> the same with Log4J?
>
Yes, naturally. You would have to place log4j.jar into your WEB-INF/lib and
the configuration into the webapp to get logg
Hello Andreas,
I have read your response to Remy's mail.
> >> Could it be that all libraries I use go to the wrong log?
> >
> > This depends on the common and shared classloader. Please put any JAR
> > which is not delivered by Tomcat and already there in a default
> > installation in your
> >
Good Morning Andreas,
Andreas Schildbach wrote:
Hello Boris,
thanks for your answer.
I could not see any error but one:
handlers = 1catalina.org.apache.juli.FileHandler,
2localhost.org.apache.juli.FileHandler,
3app1.org.apache.juli.FileHandler, 4app2.org.apache.juli.FileHandler,
java.util.
Hello,
Andreas Schildbach wrote:
My problem is, there is no logging going to any logfile. What am I
doing wrong?
Do I need to have unique numbers as a prefix to app1 and app2? (could
I use 0app1 and 0app2?)
I could not see any error but one:
handlers = 1catalina.org.apache.juli.FileHandler,
Rik Claesen wrote:
Thnx Boris, I forgot to mention it.
The assist.jar is currently located in the WEB-INF/lib.
and ...this is working fine as long as the security manager is not
active.
Maybe to put this into the system path would solve your problem. But I
think it is better to solve the secu
Hi,
> Do I have to move the javassist.jar to another location? if so where?
Where is the javassist.jar now? In your web application (WEB-INF/lib)?
Boris
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
> Guys, how can I setup log4j with a context specific configuration file ?
>
> In the past I used to put a global log4j configuration in the system
> classpath for the tomcat, but that is no longer appropriate in my
> current setup.
>
Hi,
remove any log4j.jar and log4j.properties from your gl
Hello Jason,
Jason Novotny wrote:
I'm writing a library that will be used by multiple webapps in
Tomcat and wondering what are the tradeoffs between each of the
logging libraries to use with this library. The 3 I'm considering are
commons-logging, log4j, and JDK logger class... should it matt
> Since they use commons logging, I´ve had to call
> LogManager.getLogManager().readConfiguration(InputStream is); in order to
make the logging engine
> load my configurations and let me log where I wish.
> But that affects in a global way. If I have only one context running,
> everything is fine,
> sorry, I just clean forgot to tell the version its 5.5.9.
>
> I discovered the tomcat-juli.jar in the bin directory
> so I suppose its in use. Although I never used it so far.
>
> So the idea is to switch x4juli.jar and I get the same functionality
> as in log4J? That's great because I'm using
Good Morning,
> Does anyone know how configure tomcat so that catalina.out only get a size
> of 100 MB and then replaces it by a new empty catalina.out? The old one
> should be saved under a different name.
>
There is information missing:
Which Tomcat Version?
Which logging API is in use?
Assum
Hello Remy,
> --- Ursprüngliche Nachricht ---
> Von: Remy Maucherat <[EMAIL PROTECTED]>
> This sort of problem is always the same. The component (here, the
> realm; earlier, I think it could occur with a valve as well) calls
> container.getLogger way too early (and needlessly, as you can see in
>
Hi,
I will try to fix this. Please post a bugzilla record with here at
Apache (please post the id in this thread).
Another good place for this special bug is
http://developer.berlios.de/bugs/?group_id=5430
of x4juli - http://www.x4juli.org
which will suffer from the same problem (I have to chec
Hello Craig,
Raymond, Craig (US SSA) wrote:
The logging.properties files are clones of the example at the bottom of
the Tomcat 5.5 docs logging.htm page, with the exception of the
..FileHandler.prefix being changed. They reside as below for all three
servers (where ServerRootDir is different fo
Hello Craig,
> In the server.xml are three s defined, two of which have a realm
> defined in the host tag. The third has the realm defined in its
> ROOT.xml context tag. Each has a logging.properties file in its
> WEB-INF/classes directory.
Good, best chance to have individual logging for same l
> But then, if the API library calls a 3rd party library, that library
> can't be put in WEB-INF/lib either - it has to be put in the tomcat's
> startup classpath as well.
Ok. I will repeat to ensure I understand it:
You have a development system where you do not want to jar for each test of
your
> The way I see it, I have two options - either put all the 3rd party
> libraries back in the JVM classpath, or build jars from my locally
> developed libraries and copy them by hand to the web applications'
> folder. I don't like either option, and I would really like a third one
> - something
Hello Nehal,
> I have 2 of my application specific jarfiles which need to be used by all
> other applications too in tomcat 5.5.9 on linux. Hence, i am placing both
> the jarfiles into common/lib of tomcat binary and linking them into
> shared/lib of application which use them.
>
> But, unfortuna
Hi Bill,
hm, the same logger (name) is not necessarily the same instance due
to org.apache.juli.ClassLoaderLogManager with TCCL approach.
But a configuration entry should work for the same category. I am sorry, but
I do not have my home computer here (somehow public terminal), I am not able
to te
Hello Bill,
Bill Comer wrote:
> we have recently taken management of a web application that uses
> log4j. I am used to using java.util.logging.Logger
>
> I have setup the log4j.xml so that the logging messages go to the
> standrad tomcat log file.
>
> However stack traces still go to catalina.out.
Hello Bill,
may be the following changes can help. I assume you are using
java.util.logging.Logger
Bill Comer wrote:
> Any ideas how this can be resolved ?
>
> thanks in advance.
> Bill
>
> Below is a code snippet.
>
> public class BillTestServlet extends BaseServlet {
>
>private final Logge
Hm, attachments are not allowed.
Take care for any \n which are there because of my web email...
# Copyright 2001-2005 The Apache Software Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may o
Hello Mario,
Mario Ernst wrote:
>
> I need to stop all logging actions to start tomcat from a non writable
> medium (CD). What's the easiest way to do this?
>
I think this is a bad idea: Why don't you simply use just a ConsoleHandler /
ConsoleAppender with level warning?
I understand that writing
Good Morning,
Philippe LEGAY wrote:
> Hello
>
> I succeed by black magie to have log via log4j under tomcat 5.5.9. So
> when a call my servlet, I have some trace into a file (/tmp/phl.log).
> I said black magie, because I had a lot of problems to put the log4.jar
> in the right place.
>
> Now,
Hello,
I am pleased to announce the availability of x4juli 0.6:
Tomcat delivers an extension for logging ([1],[2]). This extension as base
and a port of log4j to java.util.logging is the new x4juli.
x4juli - e(x)tension for(4) the (j)ava util(u) (l)ogging (i)mplemantion.
Tomcat users have benefit
63 matches
Mail list logo