> From: Dave Filchak [mailto:sub...@zuka.net]
> Subject: tomcat error 404
> I am receiving a HTTP Status 404 error.
Can you tell if the 404 is coming from Tomcat or httpd?
> I have verified that tomcat and apache are running.
By "apache" [sic], I presume you mean httpd. How did you verify the
Folks, I know I have asked about this site befor with a number of
problems and one of the suggestions was to find the original programmer
for help. Well I cannot find him ... he is not available unfortunately.
I was originally getting some except errors but now, after my host
"turned off" my serve
On 21/10/2011 00:26, ramsri wrote:
> I now know that there is no longer a need to mess around with setclasspath.sh.
I'm not sure there ever was.
p
signature.asc
Description: OpenPGP digital signature
Mark Thomas wrote:
...
Of course in all this, my basic assumption is that currently, Tomcat
keeps session information (including the expiration data) in some
location which requires an I/O action to access.
That assumption is incorrect. Which pretty much invalidates the rest of
the points be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thiago,
On 10/21/2011 1:37 PM, Thiago Moreira (timba) wrote:
> On my host machine I fired the tunneling with: ssh -v
> -L10.226.2.212/8849/localhost/8849
> -L10.226.2.212/8850/localhost/8850 192.168.56.101
Is it possible that ssh is confused by your
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
On 10/21/2011 2:10 PM, Tim Watts wrote:
> On Fri, 2011-10-21 at 11:05 -0400, Christopher Schultz wrote: On
> 10/20/2011 7:01 PM, Tim Watts wrote:
This was a while ago -- no HttpSessionListeners available --
so we couldn't easily persist
Brian,
If you can't put Log4j into WEB-INF/lib, could you try putting it into
"shared/lib"?
I believe you mentioned that it was placed into "common/lib", which will
make it accessible to Tomcat & all of your webapps. If you put it into
"shared/lib" it should only be accessible to your webapps,
2011/10/21 Brian Jones :
>
> That defiantly makes sense. Are there any known workarounds for using
> java.util.logging instead of log4j even if the log4j.jar file is present?
>
You will need to read Commons Logging documentation for that.
http://wiki.apache.org/commons/How_to_Configure_the_Loggin
Yes, but the dependencies are not managed locally, it's done using a remote
maven repository.
Thus, it would affect the entire community. No?
Brian J.
-Original Message-
From: David kerber [mailto:dcker...@verizon.net]
Sent: Friday, October 21, 2011 4:26 PM
To: Tomcat Users List
Subject
On 10/21/2011 3:53 PM, Brian Jones wrote:
Charles,
Thanks for your reply.
I'm not able to do as you suggested, because the software project is not
managed by me, or my parent company. It is an open source enterprise system
that is managed by a community and a foundation.
Also, it isn't just on
Charles,
Thanks for your reply.
I'm not able to do as you suggested, because the software project is not
managed by me, or my parent company. It is an open source enterprise system
that is managed by a community and a foundation.
Also, it isn't just one project. The system I'm deploying is compr
> From: Brian Jones [mailto:bjone...@uwo.ca]
> Subject: RE: Tomcat produces empty/missing log files
> Are there any known workarounds for using java.util.logging
> instead of log4j even if the log4j.jar file is present?
If you only want log4j for a specific webapp rather than for Tomcat itself,
Version: Apache Tomcat-6.0-33
Operating System: Windows XP
Eclipse J2EE: Version: 3.5.2
I am using Eclipse Galileo to develop web applications. I attempted to
integrate Apache Tomcat as an internal (local) server to develop, debug, test,
and deploy my application code but I think I am having con
Konstantine and Mark,
Thanks to both of you for your revelations; without you two I would truly be
lost.
That defiantly makes sense. Are there any known workarounds for using
java.util.logging instead of log4j even if the log4j.jar file is present?
Thanks again for allowing me to pick your brain
2011/10/21 Brian Jones :
> Yes, it appears that the project I'm deploying is relying on log4j for
> logging; so when I remove the log4j.jar file, it obviously complains that it
> can't find it.
>
> However, what I don't understand is why Tomcat refuses to log to the log
> files if there is a log4j.
Yes, it appears that the project I'm deploying is relying on log4j for
logging; so when I remove the log4j.jar file, it obviously complains that it
can't find it.
However, what I don't understand is why Tomcat refuses to log to the log
files if there is a log4j.jar file present in the common/lib f
Thanks, I figured that out shortly before getting your reply.
Moving the filter and mapping into the app's web.xml has eliminated the error
from the logs, however, the ssi still won't display a result.
By this I mean if I insert: Today is into my
.jsp, when I view the page I only see "Today is
On 21/10/2011 20:27, Brian Jones wrote:
> My mistake. The distro doesn't include the .jar by default. The project I
> deploy to Tomcat automatically sticks the log4j.jar file there.
>
> Sorry for the confusion; I overlooked this step.
That begs the question "What else is it doing?" since it appea
My mistake. The distro doesn't include the .jar by default. The project I
deploy to Tomcat automatically sticks the log4j.jar file there.
Sorry for the confusion; I overlooked this step.
Brian J
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Friday, October 21, 20
On 21/10/2011 20:18, Brian Jones wrote:
> Thanks again for your insight into the problem.
>
> Following your advice, I started from a fresh install of Tomcat 5.5.33.
> I noticed that log4j.1.2.16.jar is included in the common/lib folder by
> default.
No it isn't. Where are you getting this Tomcat
Thanks again for your insight into the problem.
Following your advice, I started from a fresh install of Tomcat 5.5.33.
I noticed that log4j.1.2.16.jar is included in the common/lib folder by
default.
The only modification I made was the small addition to logging.properties:
org.apache.c
2011/10/21 Steve Major :
> Hello, thank you for replying!
>
> Yes, that is the location I uncommented it since that is what their
> instructions say. I'm only deploying a single webapp, so I do not mind it
> being global.
So every webapp will load that filter and thus every webapp has to be
priv
Please find below the context of logging.properties (updated, the 'verbose'
copy, rather than the minimalized copy you had suggested previously):
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work
Hello, thank you for replying!
Yes, that is the location I uncommented it since that is what their
instructions say. I'm only deploying a single webapp, so I do not mind it being
global. I do see how it would be tidier in the future, if I deploy more, to do
it on a per-app basis. If this is c
The verbose file I was referring to was the original content of the
logging.properties file that I pasted in the previous message.
Brian J.
-Original Message-
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com]
Sent: Friday, October 21, 2011 2:24 PM
To: Tomcat Users List
Subject: R
2011/10/21 Steve Major :
> Hello folks,
>
> I have a new Tomcat install, version 7.0.21 running on OS X 10.6.8 server
> (not using Apple's install of Tomcat, BTW), and Java 1.6.0. I've
> successfully setup a SSI Filter before with Tomcat 6.0 a few years ago with
> the help of this list, but I'm
2011/10/21 Brian Jones :
>
> It would be nice to see the actual command line that starts Tomcat's
> Bootstrap. The JVM keys that configure java.util.logging should be there.
>
> - I don't know what you mean by this.
>
I mean catalina.bat purpose is to prepare and call "java.exe". I'd
like
On Fri, 2011-10-21 at 11:05 -0400, Christopher Schultz wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Tim,
>
> On 10/20/2011 7:01 PM, Tim Watts wrote:
> > This was a while ago -- no HttpSessionListeners available -- so we
> > couldn't easily persist the session and recall it when th
Thanks for your guidance. Yes, I have native code and dd hence the .so file.
I cannot put that in Java. It is in C++.
I did put the LD_LIBRARY_PATH to point to the directory. The error I am
getting is
**
ERROR mycompany.site.newsp11 - The exception is of type
java.io.FileNotFoundException:
Thanks Mark! I was able to connect visualvm to Tomcat without SSH
tunneling, that is a one step forward! But I'm still struggling with SSH
tunneling. Let me show what I have configured.
I have a VirtualBox VM (Ubuntu-11.10) setup with a Tomcat (6.0.32) with
the following configurations:
- s
Hello folks,
I have a new Tomcat install, version 7.0.21 running on OS X 10.6.8 server (not
using Apple's install of Tomcat, BTW), and Java 1.6.0. I've successfully setup
a SSI Filter before with Tomcat 6.0 a few years ago with the help of this list,
but I'm just stuck right now.
I've uncomme
o Tried running the .bat file from the command line directly piping output
to a local .txt file; all that gets piped to the .txt file is the java
environment variables that are being used
startup.bat is equivalent to calling "catalina.bat start"
Try using "catalina.bat run" inst
- Original Message -
> From: Marco Betti
> To: Tomcat Users List
> Cc:
> Sent: Friday, October 21, 2011 7:18 AM
> Subject: Re: FarmWarDeployer undeploy on slave node when tomcat restart
>
> Hi Keiichi,
> many thanks for your suggestion.
> By setting synchronous replication everything w
On 21/10/2011 15:31, Mark Thomas wrote:
> On 21/10/2011 13:12, Bob DeRemer wrote:
>> Thanks Mark, I appreciate the offer. Let me dig into a bit today -
>> based on your steps. if I can't get anywhere, I'll gladly take you
>> up on your offer. What is the best way to communicate out-of-band if
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
On 10/20/2011 7:01 PM, Tim Watts wrote:
> This was a while ago -- no HttpSessionListeners available -- so we
> couldn't easily persist the session and recall it when the user
> logged in again.
Wow. What were you using, Apache JServ? Tomcat 3.x?
On 21/10/2011 13:12, Bob DeRemer wrote:
> Thanks Mark, I appreciate the offer. Let me dig into a bit today -
> based on your steps. if I can't get anywhere, I'll gladly take you
> up on your offer. What is the best way to communicate out-of-band if
> I need to get you a snapshot?
Bob and I too
Hi Keiichi,
many thanks for your suggestion.
By setting synchronous replication everything works.
Unless processing updated war by one message, I think that async replication
shouldn't be used (personal opinion).
By the way I wander If asnyc replication couldn't lead to some other
unexpected behavi
> From: Gianoglio Gabriele [mailto:g.gianog...@eurogroup.it]
> Subject: docBase="" and in server.xml
> in my Tomcat 5.5 instance I'm trying to set a webapp as the
> root (docBase="") webapp
Right there you have a fatal error; docBase must *never* be an empty string.
Please read the FAQ entry
On 21/10/2011 13:56, Thiago Moreira (timba) wrote:
> org.apache.catalina.mbeans.JmxRemoteLifecycleListener
Read this http://tomcat.apache.org/tomcat-6.0-doc/config/listeners.html
> org.apache.catalina.mbeans.JMXAdaptorLifecycleListener but none of them are
> available in Tomcat (ClassNotFoundExce
On 21/10/2011 13:43, André Warnier wrote:
> Mark Thomas wrote:
>
>> On 21/10/2011 11:42, André Warnier wrote:
>>> Allright, so how about a half-way house to start with ?
>>> Keep the list in some thread-safe table, indexed by session-id, and just
>>> scan the table.
>>> Updating the corresponding
Hi there,
I'm trying to attach a Visualvm to a Tomcat (6.0.32) in a remote computer
that only has the port 22 opened. I'm opening a ssh tunnel to bypass the
firewall and access different ports but JMX over RMI it's not working. I
have tried several tutorials but I didn't manage to work.
htt
Mark Thomas wrote:
On 21/10/2011 11:42, André Warnier wrote:
Allright, so how about a half-way house to start with ?
Keep the list in some thread-safe table, indexed by session-id, and just
scan the table.
Updating the corresponding session entry at each request should be cheap.
Of course in a
Hi,
I'm using Tomcat 7.0.20.
I'm writing java code for automated Thread utilization monitoring and alert
system.
I'm struggling to find the Mbean descriptor for Mbeans under
Catalina.ThreadPool.
Can anyone provide any reference?
The big question I've is what the currentThreadCount indicates
Thanks Mark, I appreciate the offer. Let me dig into a bit today - based on
your steps. if I can't get anywhere, I'll gladly take you up on your offer.
What is the best way to communicate out-of-band if I need to get you a snapshot?
-bob
-Original Message-
From: Mark Thomas [mailto:
On 21/10/2011 12:22, Bob DeRemer wrote:
> Hi Mark,
>
> With regard to using Tomcat in production, that was meant
> sarcastically - the team has done a nice job on later Tomcat 6 and
> Tomcat 7 32/64-bit installations - including Windows Service support,
> etc. - nice work.
That comment was more a
Hi Mark,
With regard to using Tomcat in production, that was meant sarcastically - the
team has done a nice job on later Tomcat 6 and Tomcat 7 32/64-bit installations
- including Windows Service support, etc. - nice work.
With regard to using YourKit, I have a licensed copy, but must be missing
On 21/10/2011 11:42, André Warnier wrote:
> Allright, so how about a half-way house to start with ?
> Keep the list in some thread-safe table, indexed by session-id, and just
> scan the table.
> Updating the corresponding session entry at each request should be cheap.
>
> Of course in all this, my
Mark Thomas wrote:
On 21/10/2011 10:05, André Warnier wrote:
I am assuming that at each access to the application, Tomcat updates the
expiration time of the session if any (that is, it sets a new date/time
at which this session will be considered as expired, being "now" +
timeout).
Rather than
I checked FarmWarDeployer's code.
When WAR is updated, FarmWarDeployer sends UndeployMessage and sends
FileMessage after that.
The node which received UndeployMessage undeploys war.
The node which received FileMessage deploys war.
If FileMessage is received while processing UndeployMessage, the
fo
Hy everibody,
in my Tomcat 5.5 instance I'm trying to set a webapp as the root
(docBase="") webapp so that when users connect to http://server:port/ will not
respond "manager" webapp. I've done this by adding the tag in server.xml, but I can't access this webapp because
On 21/10/2011 10:05, André Warnier wrote:
> I am assuming that at each access to the application, Tomcat updates the
> expiration time of the session if any (that is, it sets a new date/time
> at which this session will be considered as expired, being "now" +
> timeout).
Rather than making incorre
On 21/10/2011 09:58, Mike wrote:
> Mark Thomas apache.org> writes:
>
>>
>> On 18/10/2011 13:02, Bjoern Raupach wrote:
>>> Hi group,
>>>
>>> we are using Tomcat 7.0.21 on Windows XP with the manager application for
> remote deployment. Tomcat is
>> configured to unpack wars. Deploying works. How
Mark Thomas wrote:
On 20/10/2011 17:01, Tim Watts wrote:
On Thu, 2011-10-20 at 16:35 +0100, Mark Thomas wrote:
On 20/10/2011 16:22, André Warnier wrote:
Hassan Schroeder wrote:
On Thu, Oct 20, 2011 at 7:52 AM, André Warnier wrote:
1) Tomcat (probably) doesn't spend its time all the time sc
Mark Thomas apache.org> writes:
>
> On 18/10/2011 13:02, Bjoern Raupach wrote:
> > Hi group,
> >
> > we are using Tomcat 7.0.21 on Windows XP with the manager application for
remote deployment. Tomcat is
> configured to unpack wars. Deploying works. However undeploy fails for the
following r
Tried also on Tomcat 7.0.22
Same behaviour: when i restart node1, FarmWarDeployer undeploy my war both
from node1 and node2, but re-deploy it only on node1.
If I touch my war in my watchDir on node1, tomcat redeploys it correctly on
both nodes...
Is tomcat clustering used?
If so, does anybody us
55 matches
Mail list logo