Hi,
My UNIX logs give me trace OU_PKTS_DROP DST=140.211.11.130 .
It seems that is apache foundation ?
Why ?
Regards
Philippe
> From: James Ravn [mailto:[EMAIL PROTECTED]
> Subject: Re: antioJarLocking not working
>
> jruby-rack makes a call to the ServletContext's getRootPath() method
No such animal; perhaps you mean getRealPath()?
> It looks like this is returning the erroneous "/temp-appname"
> which doesn't exist.
For session replication to happen in a cluster, all attributes stored in
the session object should be serializable - that is why you are seeing
the exception you see below.
On Thu, 2008-10-30 at 03:40 -0700, kashif_tomcat wrote:
> Thanks Filip...
>
> i have got out of that problem... after adding
Hi Greg:
Please see below for my comments.
Regards
Sanjeev
On Thu, 2008-10-30 at 15:58 -0700, Greg Dick wrote:
> Hi,
>
> I know that for typical web applications one of these approaches is
> generally enough to achieve load balancing across nodes in a cluster,
> but we here with an ICEfaces a
> From: Mohit Anchlia [mailto:[EMAIL PROTECTED]
> Subject: Re: Logging
>
> But I quite didn't understand what tomcat-juli.jar is
> and how it will help with this issue.
The tomcat-juli.jar provides the APIs that core Tomcat code calls; in the
standard distribution, this is a streamlined and renam
Strip your web.xml file down to this:
http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
version="2.5">
Servlet and JSP Examples.
Hi Greg
makes perfect sense to deliver the same look&feel but more importantly
maintaining same performance characteristics Does IceSoft have a configurable
option to direct the client to the same webappserver as a previous browser
session?
Advantages of icesoft over using (Load-Balance) lbfact
Martin Gainty wrote:
> Good Evening John-
>
> in /WEB-INF/web.xml make sure your listener is configured in e.g.
>
> listeners.SessionListener
>
No. Completely wrong.
The whole point is that Tomcat *can't* find a listener that is already
configured in web.xml.
>> Attached is my
> From: John Byrne [mailto:[EMAIL PROTECTED]
> Subject: RE: Version 6.0.18 of Tomcat -- Web.xml file and
> file/directory structure
>
> Attached is my web.xml file.
Your web.xml file is completely wrong for your test application. All of those
extra filters, listeners, and servlets which aren't p
Good Evening John-
in /WEB-INF/web.xml make sure your listener is configured in e.g.
listeners.SessionListener
Keep up the good work
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relate
Mohit-
the configuration as well as the specifics of how to setup log handlers for
logging.properties are located at
http://tomcat.apache.org/tomcat-6.0-doc/logging.html
HTH
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail an
I think I remember now. But I quite didn't understand what
tomcat-juli.jar is and how it will help with this issue. Any reference
would be helpful.
On Thu, Oct 30, 2008 at 4:07 PM, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
>> From: Mohit Anchlia [mailto:[EMAIL PROTECTED]
>> Subject: Re: Logg
Greg Dick wrote:
> Hi,
>
> I know that for typical web applications one of these approaches is
> generally enough to achieve load balancing across nodes in a cluster,
> but we here with an ICEfaces application would find it useful to do
> both. Session duplication to ensure the spreading around of
> From: Mohit Anchlia [mailto:[EMAIL PROTECTED]
> Subject: Re: Logging
>
> Thanks ..but I don't see that reply from Filip. Could you please give
> that to me.
Look in the archives for your threads. The main page:
http://marc.info/?l=tomcat-user
This month:
http://marc.info/?l=tomcat-user&r=1&b=2
>
> However, I get an error in
> the users log specifying a class is not found. Is this my Test.class
> file it can't find?
Nope. The class not found is listeners.SessionListener. Can you post
Test/WEB-INF/web.xml? Also can you post some info regarding your file
layout?
> The container itself
Thanks ..but I don't see that reply from Filip. Could you please give
that to me.
On Thu, Oct 30, 2008 at 2:19 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:
> Mohit Anchlia wrote:
>> I added log4j.xml in classes dir in .war and log4j.jar in WEB-INF/lib
>> dir in .war. This helped me in getting the l
Hi,
I know that for typical web applications one of these approaches is
generally enough to achieve load balancing across nodes in a cluster,
but we here with an ICEfaces application would find it useful to do
both. Session duplication to ensure the spreading around of session
information, an
> From: Aaron Axelsen <[EMAIL PROTECTED]>
> To: Tomcat Users List
> Date: Sun, 31 Aug 2008 14:39:46 -0500
> Subject: Re: antioJarLocking not working
> I tried sticking the jars there - but it did not seem to make any
> difference.
>
> Let me recap on what we are trying to accomplish.
>
> The instr
Hi,
Caldarale, Charles R wrote:
>
>> From: br1 [mailto:[EMAIL PROTECTED]
>> Subject: Re: Convenient web application configuration.
>>
>> The easiest way is to place Context and the different
>> Resource elements into each Tomcat's server.xml file.
>
> Certainly not "easiest" by any definition
I've tried for 2 days now to get my own HelloWorld program working with
Apache Tomcat. I have the exact same structure that the examples and
ROOT containers in the distribution have. However, I get an error in
the users log specifying a class is not found. Is this my Test.class
file it can't find
[EMAIL PROTECTED] schrieb:
> Yes, it is set to something like
> LD_LIBRARY_PATH=/opt/app/libtcnative/lib:/opt/app/apr/lib:$LD_LIBRARY_PATH
>
>
> The files are all world readable and even owned by the user running
> Tomcat.
>
> I just want to mention that I compiled both libs with another prefix
Right. This is very much the same way other services like Apache httpd
do things. The privileged process is there to catch signals and open
ports for listening. The unprivileged process does the actual work.
--David
Andrew Ralph Feller, afelle1 wrote:
> Thanks for the reply David!
>
> If you s
Jason Cipriani wrote:
> I have a web application with a lot of configuration options, all
> currently stored as servlet initialization parameters in
> WEB-INF/web.xml. The parameters are site specific and are different
> for my development machine, the machines of the two other developers
> working
Mohit Anchlia wrote:
> I added log4j.xml in classes dir in .war and log4j.jar in WEB-INF/lib
> dir in .war. This helped me in getting the logs in app.log, but didn't
> stop logs in catalina.out
Because you haven't configured Tomcat to use log4j for its internal
logging. Filip gave you the steps to
> From: Andrew Ralph Feller, afelle1 [mailto:[EMAIL PROTECTED]
> Subject: Re: relation between Tomcat and Apache Commons
>
> it seems possible to run Tomcat on a non-privileged port with a
> non-root account and have requests for port 443 redirected to
> Tomcat's listening port.
Of course - but it
Chuck,
I'm already following up on this on a different thread, however it seems
possible to run Tomcat on a non-privileged port with a non-root account and
have requests for port 443 redirected to Tomcat's listening port. This way
Tomcat can run as non-root and no need to compile and use JSVC. I
Thanks for the reply David!
If you startup jsvc and do "ps axu | grep jsvc", you will find two processes
with one being owned by root and the other by the non-root account. The
non-root process will actually handle the incoming requests, however the
root process is needed to bind to port 443 sinc
On Thu, Oct 30, 2008 at 8:22 AM, Pid <[EMAIL PROTECTED]> wrote:
> Is your build process automated, say with ant or maven?
> If so, it should be a relatively simple one-off job to configure
> multiple output war files from one codebase with several configurations.
I'm developing with Eclipse but co
> simpler = better
Fully agree. Keep it simple.
We however have to put an httpd in front in the DMZ anyway because our security
people would never allow us to put any business logic there. And they want us
to change protocol on the way to the application so the switch from HTTPS to
AJP is good
Yes, it is set to something like
LD_LIBRARY_PATH=/opt/app/libtcnative/lib:/opt/app/apr/lib:$LD_LIBRARY_PATH
The files are all world readable and even owned by the user running Tomcat.
I just want to mention that I compiled both libs with another prefix than where
I have copied them to now - bec
>
> I don't have any personal issue with moving to running Tomcat directly as
> the non-privileged account meant for Tomcat ...
Just to clarify, jsvc runs tomcat as an unprivileged user as well. One
advantage to jsvc is it allows tomcat to be run by itself without funky
iptables rules or a front-
Hello,
I would like to create a Tomcat 6.0.18. cluster with session replication
based on JDBC store, and with WAR auto-deployment on tomcat instances.
The would be like this:
Load Balancer
/ \
Cluster1 Cluster2
/ \/ \
Tomcat1 Tomcat2
> From: Petr Sumbera [mailto:[EMAIL PROTECTED]
> Subject: Re: relation between Tomcat and Apache Commons
>
> Btw I don't see any benefit using jsvc. Is somebody using it? Why?
Judging from the comments on this list, many people are using it. The primary
reason is to avoid running Tomcat as root
> From: br1 [mailto:[EMAIL PROTECTED]
> Subject: Re: Convenient web application configuration.
>
> The easiest way is to place Context and the different
> Resource elements into each Tomcat's server.xml file.
Certainly not "easiest" by any definition of the term that I'm familiar with,
especially
I am wondering if someone could help me in identifying why I recieve
those extra logs. They just keep growing. Same messages in log4j log
file and catalina.out
On Wed, Oct 29, 2008 at 9:53 AM, Mohit Anchlia <[EMAIL PROTECTED]> wrote:
> I added log4j.xml in classes dir in .war and log4j.jar in WEB-
jason cipriani-2 wrote:
>
>
> Ideally I'd be able to put the settings in context.xml and web.xml
> somewhere outside of the web application directory, and leave them out
> of the web-app's local files, and so they wouldn't have to be packaged
> with the WAR and deploying the WAR wouldn't blow a
Torsten,
What is your LD_LIBRARY_PATH set to? Is it something like this:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/apr/lib
Are there world permissions for anyone to read this directory?
I know you mentioned that you front-end Tomcat with HTTPD and assumed your
use of APR is to free Tom
CAn some tell me how to enter the instructions below:
1) Start | Run and type cmd in the Open: Click OK.
I go to the start biutton, Run and type Open
I get a DOS window and when I enter sc delete Tomcat5, it says "specified
service does not exist as an installed service"
But when I try to i
Thanks for the response Torsten!
In our environment, the machines we have Tomcat running on strictly use
Tomcat 6, APR for SSL support, and we load balance applications through an
external load balancer. We have been able to get by without brining HTTPD
for things like mod_rewrite or any of the P
yes I would do that..symlink is specific to your shell session and only works
at shell command line or
thru java shell out e.g. java.lang.Runtime.exec("shell call");
Viel Gluck
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail
Hi Martin,
It is Solaris SPARC. Would it help to copy shared libs into the JRE bin folder?
I symlinked them into $JAVA_HOME/jre/lib/sparc but that didn't help either.
Torsten
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 30. oktober 2008 18:34
To: Tomcat Users
Hi Andrew,
We let all our Tomcats run on a non-privileged port and use some init script
using startup.sh/shutdown.sh, and have an Apache httpd forwarding requests with
AJP.
We then use Apache httpd for things like terminating SSL, do RADIUS or LDAP
authentication, load balancing several Tomcat
pls follow Andrew's advice..if windows its probably a dll? so you'll want to
copy apr-1.lib to %JRE_HOME%\bin
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. Th
Hi Andrew,
Yes, I did that. So both libapr and libtcnative are in the
LD_LIBRARY_PATH/java.library.path that Tomcat includes in the message that it
couldn't load the library.
I even included the OpenSSL libs in the path.
Torsten
-Original Message-
From: Andrew Ralph Feller, afelle1 [m
Torsten,
Have you updated your LD_LIBRARY_PATH to include APR lib?
A-
On 10/30/08 12:15 PM, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I am trying to install the APR Tomcat Native Library on a Solaris SPARC
> server.
>
> Since it has only OpenSSL installed and no build system available,
QUESTION: What is the best practice for running Tomcat? JSVC daemon or
startup / shutdown scripts as a non-root user and forwarding HTTPS requests
to a non-privileged port?
While reading the Professional Apache Tomcat 6 (ISBN: 978-0-471-75361-2),
they recommend running Tomcat to start it up using
I am trying to install the APR Tomcat Native Library on a Solaris SPARC server.
Since it has only OpenSSL installed and no build system available, I compiled
libapr 1.3.3 and libtcnative 1.1.14 on another machine with the same OS.
I then copied the lib folders of both libs to the server, and add
Rainer Jung-3 wrote:
>
> Commons collections seems to be a relict and not really used.
> DBCP and pool is contained in tomcat-dbcp.jar. We ranem the packages in
> order to make to dbcp and pool classes independant of any webapp bundled
> dbcp or pool versions.
>
And how about commons-daemon.ja
An extreme kludge is to create a Filter which creates a
HttpServletRequestWrapper which overrides getCookies() with a custom
implementation.
That custom implementation would read the headers, find the cookies and
perform its own parsing mechanism to read the cookies.
-Tim
Mark Thomas wrote:
Stephen More wrote:
> I see in version 5.5.26 there are "Cookie handling/parsing changes!"
>
> 5.5.25 and prior I was able to read cookie values that included colons:
>cookie-name: lastaccess cookie-value: 10/30/2008%2010:41:00%20AM
>
> 5.5.26 and after:
>cookie-name: lastaccess cookie-va
Hello,
While profiling my application running on tomcat 6.0 and wicket 1.3.5 I've
noticed that a lot of CPU time is used in this tomcat's method:
ProxyDirContext.lookup(String).
My guess is that the problem is due to the fact that wicket is deployed as a
servlet filter (mapped on /*) and when a
I see in version 5.5.26 there are "Cookie handling/parsing changes!"
5.5.25 and prior I was able to read cookie values that included colons:
cookie-name: lastaccess cookie-value: 10/30/2008%2010:41:00%20AM
5.5.26 and after:
cookie-name: lastaccess cookie-value: 10/30/2008%2010
Other threa
Paul-
unless otherwise configured please re-xmit (or display inline) the latest of
%WINDIR%/system32/LogFiles/W3SVC1/*.log
thx
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official busin
Hi
I've uploaded a fresh log which shows only an attempted connection from an
affected user (DOMAIN\mbn)
A subsequent test with a 'normal' user produced a large log showing the
successful connection.
Thanks
Paul
Rainer Jung-3 wrote:
>
> Scrumpy Jack schrieb:
>> Hi
>> I'm trying to resolve an
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Subject: Howto ip-protect a specific url in webapp?
>
> I can restrict the whole /foo by using valve in
> "/etc/tomcat5/Catalina/localhost/foo.xml" but howto protect
> only /foo/admin?
Either put the check in the servlet that handles /foo/adm
> From: Jason Cipriani [mailto:[EMAIL PROTECTED]
> Subject: Convenient web application configuration.
>
> Is there a better place I can store site-specific
> configuration options?
Read the doc:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Context%20Parameters
> Is there some other
> From: Pierre Goupil [mailto:[EMAIL PROTECTED]
> Subject: Tomcat memory increasing without any activity on our webapp
>
> When we start it up without any surfing on it or without
> any activity of any kind, the JVM memory first goes to some
> level, then stays at this level for 5-10 minutes and af
Hello all,
We have a Spring webapp running in a Tomcat 5.5 (5.5.7 or 5.5.25 depending
upon the machines). When we start it up without any surfing on it or without
any activity of any kind, the JVM memory first goes to some level, then
stays at this level for 5-10 minutes and after some times it ke
Jason Cipriani wrote:
> I'm using Tomcat 6.0.18 on Windows XP SP3, Windows Server 2003, and
> Windows Vista (UAC disabled).
>
> I have a web application with a lot of configuration options, all
> currently stored as servlet initialization parameters in
> WEB-INF/web.xml. The parameters are site sp
If you have two completely separate installations, you should specify a
catalina home in the batch file that starts the instance, if just the config
an apps are separate, specify a catalina base in the startup fileAlso you
could use http://www.linuxjournal.com/article/8561 for a more step by step
a
Thanks for the reply Serge,
On Win32 I have the CATALINA_HOME set to pont to where Tomcat is installed,
and were server1 resides. To configure CATALINA_BASE the same way, but pont
to another directory that ONLY contains *conf*, *webapps*, *logs*, *temp*,
and *work*? What would need to be in the
http://tomcat.apache.org/tomcat-6.0-doc/
look for "Cluster Basics"
Filip
kashif_tomcat wrote:
Thanks Filip...
i have got out of that problem... after adding clustering port in iptable.
now i am getting another exception and following is detail.
when i add tag in web.xml of my applicatoi
Thanks Filip...
i have got out of that problem... after adding clustering port in iptable.
now i am getting another exception and following is detail.
when i add tag in web.xml of my applicatoin and start
tomcat. then after login my application crashs and i get following exception
in logs.
I'm using Tomcat 6.0.18 on Windows XP SP3, Windows Server 2003, and
Windows Vista (UAC disabled).
I have a web application with a lot of configuration options, all
currently stored as servlet initialization parameters in
WEB-INF/web.xml. The parameters are site specific and are different
for my de
Hi
Unfortunately the log I've uploaded isn't quite what you asked for. We have
little access or control over the remote system, so this is just the start
of the log. There are too many accesses in between to isolate the point
where the failing user tries to connect - other than to say it doesn't
You can define a CATALINA_HOME/BASE in the startup file(catalina.bat/sh).
(all it does now is use the global environment variable because it isn't
specified inside the file)You could define a HOME1 and HOME2 variable, but
that would require a lot more changes inside the startup file.
To be sure, s
66 matches
Mail list logo