I also see you have the element under , put it under
instead
Filip
Filip Hanik - Dev Lists wrote:
node one log says
INFO: Receiver Server Socket bound to:/127.0.0.1:4000
Nov 13, 2008 7:56:42 PM
node two log says
INFO: Receiver Server Socket bound to:/127.0.0.1:4000
Nov 13, 2008 7:57:22 PM
node one log says
INFO: Receiver Server Socket bound to:/127.0.0.1:4000
Nov 13, 2008 7:56:42 PM
node two log says
INFO: Receiver Server Socket bound to:/127.0.0.1:4000
Nov 13, 2008 7:57:22 PM
so this is not in theory possible, since you can't have two processes on
the same port.
1.
so the qu
Adam Gordon schrieb:
> The 'wget' command allows the user to play with Cookies so our next step
> is to see if we can specify a fake JSESSIONID in cookie form to see if
> we can dictate to which server Apache will send us. As previously
> mentioned, we cannot simply put this on the URL as a parame
Not to interfere with Dave, but just as another halfway idea :
You could define 2 other workers in the Jk config, which are not
load-balanced, each going to one Tomcat.
You would still not be testing the exact same path as the clients, but
would be checking Apache, mod_jk itself and the Tomcats.
dan lozano schrieb:
>
> Dear Kees Jan,
>
> Thanks for the info, I have verified that my existing Tomcat is
> offline. My existing Apache Tcat 5.5.25 binds to the port without
> incident, only the out of the box 6.0.16 is causing the problem, with
> the identical message as yours.
>
> I'm using
On Thu, Nov 13, 2008 at 2:35 PM, Adam Gordon <[EMAIL PROTECTED]> wrote:
> As previously mentioned, we
> cannot simply put this on the URL as a parameter because we are using sticky
> sessions.
Why not? It works just fine in my tests.
-Dave
We've discovered a problem with simply adding another (HTTP) Connector
in that by allowing a different form of connection to our web app and
using this connector for our monitoring, we aren't testing the path that
a user would take, which is through the load balancer and mod JK. One
of the iss
André,
I only think it's overkill because we're currently not even using
mod-proxy so adding this module for the sole purpose of being able to
monitor our tomcat servers is what I consider to be overkill.
Additionally, with running a proxy comes tons of security enforcement as
you need to pr
Dear Dan,
Thanks for the info, I have verified that my existing Tomcat is
offline. My existing Apache Tcat 5.5.25 binds to the port without
incident, only the out of the box 6.0.16 is causing the problem,
with the identical message as yours.
I'm using netstat -an |grep 8005 on AIX, to on
> From: Mark Fitzgerald [mailto:[EMAIL PROTECTED]
> Subject: Application Won't Deploy
>
> I've verified that the web.xml file for the application
> is not corrupted.
How?
> My software is as follows:
> RedHat Linux
What version?
> Tomcat v5.0.16
Can you reproduce the problem on a supported Tom
Der Torsten,
I got it sorted out with ldd as suggested here on the list but it is
certainly good to know about truss - thank you!
I am curious what performance gain APR has for your application
server. Did you do any load tests? If so, could you please publisch
the results?
--
Kees Jan
this is your problem
SEVERE: Parse Fatal Error at line 19 column 2: The markup in the document
following the root element must be well-formed.
org.xml.sax.SAXParseException: The markup in the document following the root
element must be well-formed.
at
com.sun.org.apache.xerces.internal.uti
Dear Kees Jan,
Thanks for the info, I have verified that my existing Tomcat is offline. My
existing Apache Tcat 5.5.25 binds to the port without incident, only the out of
the box 6.0.16 is causing the problem, with the identical message as yours.
I'm using netstat -an |grep 8005 on AIX, t
> From: Gustavo Araujo [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 6.0.18 - cluster problems!
>
> Follow down the logs:
> Node1:
> SEVERE: Parse error in default web.xml
>
> Node2:
> SEVERE: Parse error in default web.xml
Looks like you (or someone) changed something in conf/web.xml.
You have the
Christopher Schultz wrote:
The only legal ways I know of are to call getReader and getInputStream.
Those are easily handled as I've laid out in previous posts.
Can you point me to one of these posts ?
Because at the moment, I don't see this so easily.
Mmm..
I assume we can be talking about a PO
I have a 3rd party application (JForum) that I have running along side
my application. The forum software has been running fine for over a
year. I restarted the Tomcat server over the weekend, and when it came
back up, the forum software wasn't loaded. I tried to deploy the
application usin
Dear of the list,
Having problems with tomcat 5.5.X, i decided to migrate to 6.0.18.
I still have problems with the cluster connection, and now i got some
problems in JAVA as well.
Follow down the conf and log files, Any advices would be helpful!
Thanks
Node1:
Dear Dan,
Yes it works with apache-tomcat.5.5.25, the port comes up and
listens on Port 8005. I can stop and start at will, no problem.
The installation I have is 6.0.16, no mods to server.xml and this is
one that throws the error.
Strange. When I try a stock 6.0.16, freshly downloaded f
Dear Søren,
How do i change Tomcat 6's bind address?
http://java-monitor.com/forum/showthread.php?t=32
--
Kees Jan
[EMAIL PROTECTED]
06-51838192
Rule 1 for being in a hole: stop digging.
-
To start a new topic, e-mail: u
Christopher Schultz schrieb:
> Try this:
>
> Write a filter that wraps the HttpServletResponde object with an
> HttpServletResponseWrapper object that you customize. Override the
> addCookie method like this:
>
> public void addCookie(Cookie c)
> {
>super.addCookie(c);
>
>new Throwable("
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
That's correct. Aside from writing a plug-in/add-on for X-browser to
handle the user clicking on download for your site, this would most
likely be your only option.
Because of sandbox restrictions between the client (browser) and server
(web app), yo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I do not know of one off-hand except for the standard ones like
FileZilla or something. But, these won't help you out of the box. You
would almost have to create one to work with your specific back-end. You
could however, grab an Open Source project f
Jakob Ericsson schrieb:
> Upgrading to latest version of mod_jk solves the problem. As I said
> before, this on Windows 2003 Server running both httpd (2.0.59) and
> tomcat (6.0.13) on the same machine. We upgraded all production
> machines this morning.
>
> Problem is in mod_jk 1.2.22 and is at l
Hi Mike,
Let me see if I understood.
Your suggestion suggests that I develop my own download file manager? So I
can manipulate the buttons that are pressed by the user?
Sio
-Mensagem original-
De: Mike Duncan [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 13 de novembro de 2008 16
Thanks for your reply David,
Actually, I need to know that the user pressed the SAVE Button in the first
window (OPEN/SAVE/CANCEL) and the SAVE button again in the second window
SAVE/CANCEL).
Remember that he can hit the SAVE button on the first window, select which
directory he wants to store th
It may not be worth the resources, but you can develop/use a download
manager could do this for you. Especially if these are large files, the
users may be happy to use something like that.
The manager would basically tell the service to start the download and
if you do something like resume fun
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It may not be worth the resources, but you can develop/use a download
manager could do this for you. Especially if these are large files, the
users may be happy to use something like that.
The manager would basically tell the service to start the dow
I have a java application under Tomcat that is supposed to track people'
downloads.
The user clicks on a link (to download a file) and a new record has to be
inserted into a postgreSQL table informing which file was downloaded.
However, I need to insert into postgreSQL only after the u
Hi Everybody,
I have a java application under Tomcat that is supposed to track people'
downloads.
The user clicks on a link (to download a file) and a new record has to be
inserted into a postgreSQL table informing which file was downloaded.
However, I need to insert into postgreSQL onl
Chris,
Thanks for the reply.
I upgraded to tomcat 6.0.16 and peeked at the source.
It appears that the filter elements are being returned from the web.xml in the
order they were defined.
They are then placed into a HashMap (which of course has no reliable ordering).
That is where mis-ordering ha
Christopher,
Yes it works with apache-tomcat.5.5.25, the port comes up and listens on Port
8005. I can stop and start at will, no problem.
The installation I have is 6.0.16, no mods to server.xml and this is one that
throws the error.
Any additional information would be apprecaited.
Tha
On Nov 13, 2008, at 12:31 PM, Christopher Schultz wrote:
Kevin Nash wrote:
I have a data resource defined in the server.xml and I wish to
[encrypt the] database
password.
This question comes up occasionally. Things to consider:
1. If you encrypt the password in context.xml, where will you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Len,
Len Popp wrote:
> A brief list of reasons is given in the link from Filip's post:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=46038
Whoops! Sorry. I should have read that before I opened my big mouth.
> The most important reason IMO is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dan,
dan lozano wrote:
> O/S = AIX 5L Tcat version = 6.0.16
>
> When trying to startup Tomcat I'm getting the following error when
> connecting to the shutdown port 8005.
>
> I've checked netstat -a and the port is available and a my existing
> vers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kevin,
Kevin Nash wrote:
> I have a data resource defined in the server.xml and I wish to [encrypt the]
> database
> password.
This question comes up occasionally. Things to consider:
1. If you encrypt the password in context.xml, where will you s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
[EMAIL PROTECTED] wrote:
> However, I can even remove the mapping and just leave the filter declaration
> and the inits still happen.
The servlet specification doesn't say anything about the ordering of
init calls to filters... only that they
We use:
http://www.jasypt.org/
best,
-Rob
On Nov 13, 2008, at 11:35 AM, Kevin Nash wrote:
Hello,
I'm using apache-tomcat-5.5.26, Oracle 10.2.0.3, java version
"1.5.0_14"
I have a data resource defined in the server.xml and I wish to
create a digest of the database
password.
type="
A brief list of reasons is given in the link from Filip's post:
https://issues.apache.org/bugzilla/show_bug.cgi?id=46038
The most important reason IMO is that you can't build Tomcat with a
recent JDK. See:
https://issues.apache.org/bugzilla/show_bug.cgi?id=43147
--
Len
On Thu, Nov 13, 2008 at 1
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: [ANNOUNCE] Beta candidate for Tomcat connection pool
>
> I'm sure this is documented somewhere, but why is Tomcat creating its
> own connection pool instead of continuing to use commons-dbcp?
https://issues.apache.org/bugzilla/sh
http://tomcat.markmail.org/message/4acbkimgilfkcdru?q=+list:org%2Eapache%2Etomcat%2Edev+
-Tim
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
The Apache Tomcat team announces the immediate availability of
Apache Tomcat JDBC Con
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mikolaj,
Mikolaj Rydzewski wrote:
> Ehlers, Kolja wrote:
>> is it somehow possible to set a different session timeout for local
>> 192.168... users and others? I know I could have a rewrite rule and then
>> forward all calls from local workstation to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ratha,
ratha wrote:
> When I run the tomcat
> i can view my html file, but not the output of my script :-( .(ie: the
> functions are not working..)
When you say "script", do you mean javascript, JSP, or something else?
Where did you expect the outpu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
> The Apache Tomcat team announces the immediate availability of
> Apache Tomcat JDBC Connection Pool
I'm sure this is documented somewhere, but why is Tomcat creating its
own connection pool instead of continui
Filip,
your correct, the digest is one way
Thanks for response,
Kevin
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: 13 November 2008 17:01
To: Tomcat Users List
Subject: Re: Encrypting database resouce password
if you digest the password to the databa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Markus,
Markus Reis wrote:
> I added a HttpSessionListener to my web.xml, which only makes a
> System.out.println("session created | destroyed") whenever one of those
> events occurs and found out that before NewSession Servlet (remember the url
>
if you digest the password to the database, how is tomcat supposed to
pass it to the database?
Filip
Kevin Nash wrote:
Hello,
I'm using apache-tomcat-5.5.26, Oracle 10.2.0.3, java version "1.5.0_14"
I have a data resource defined in the server.xml and I wish to create a digest of the datab
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
> Christopher Schultz wrote:
> [...]
>
>>
>> Honestly, an app-server-agnostic Filter that performs the same function
>> would be a really useful thing to write. Care to try your hand at
>> writing it? ;)
>>
> Honestly too,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
> When I started in this business, 64 Kb was a nice quantity of memory to
> program in, and quite expensive too. I created and ran a payroll
> application for a 1,000 people company in there. This Java app looks a
> lot cu
Hi All,
O/S = AIX 5L
Tcat version = 6.0.16
When trying to startup Tomcat I'm getting the following error when connecting
to the shutdown port 8005.
I've checked netstat -a and the port is available and a my existing version
5.2.25 will startup on the same port without incident. When I st
I'd suggest you move to Tomcat 6, start with a clean config.
Tomcat 6 supports static members and validation over TCP, which makes
members stick around even if multicast is flaky
Filip
Gustavo Araujo wrote:
Filip,
Thanks for your response, but the cluster members continue to disappear! =(
F
Hello,
I'm using apache-tomcat-5.5.26, Oracle 10.2.0.3, java version "1.5.0_14"
I have a data resource defined in the server.xml and I wish to create a digest
of the database
password.
I was wondering is it possible to do this in a similar fashion to creating
a digest of the passwords in
> From: Gustavo Araujo [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5.5.23 Cluster Problem - (memberDisappeared)
>
> Thanks for your response, but the cluster members continue to
> disappear! =(
>
> java.library.path: /usr/lib64/gcj-4.1.2
Just a thought: you're not using gcj are you? If so, tr
Filip,
Thanks for your response, but the cluster members continue to disappear! =(
Follow down the logs and the conf files :
Node1:
Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME: /usr/lib/jv
Bret Davies wrote:
I actually dropped it in the mail yesterday.
Oops, I'm sorry, looks like I have some email problems.
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>
-
To start a new topic, e-mail: users@tomcat.apache.org
To un
Yes.
However, I can even remove the mapping and just leave the filter declaration
and the inits still happen.
So that leads me to believe that the mapping has no bearing on the inits.
Thanks for the suggestion tho. I'll give it another try just to make sure I
wasn't sleeping at the wheel last t
Use HttpSession.setMaxInactiveInterval(int).
if (request.getRemoteHost().startsWith("192.168.")) { // or something more
advanced
request.getSession().setMaxInactiveInterval(100);
}
Ronald.
Op donderdag, 13 november 2008 om 15:21 uur schreef Tomcat Users List
:
Subject: Different sess
Peter
I actually dropped it in the mail yesterday.
sorry.
Bret
- Original Message -
From: "Mikolaj Rydzewski" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, November 13, 2008 8:28 AM
Subject: Re: Different session timeout for local and external users
> Ehlers, Kolja wro
On Thu, Nov 13, 2008 at 10:35 AM, <[EMAIL PROTECTED]> wrote:
> Is there a guaranteed way to specify the order that filters get
> initialized?
>
> Running Tomcat 6.0.14 (on windows right now for testing)
> I have also used servlet 2.3 and 2.5 declarations in web.xml
> I have 5 filters defined.
> -
Is there a guaranteed way to specify the order that filters get initialized?
Running Tomcat 6.0.14 (on windows right now for testing)
I have also used servlet 2.3 and 2.5 declarations in web.xml
I have 5 filters defined.
- 2 are custom
- 3 are out of the box (SiteMesh, Struts2, Struts2Cleanup)
I
> From: Markus Reis [mailto:[EMAIL PROTECTED]
> Subject: Re: RE: multiple Set-Cookie headers in initial http response
>
> I have the impression that this happens already before the
> webapp comes into play, because the HttpSessionListener
> implementation prints out those "Session created | destroy
You are welcome,
if it is possible please post back load test results and describe
methodology used for that tests.
Thanks.
> Hi Milan and Mladen,
>
> That helps!! installed the jdk 64bit and rebuild the APR libraries, now I
> can run APR
> Now, lets see whether the outcome of the loadtests
> Sounds like something in the webapp is invalidating the current session
> and creating a new one each time it processes a parameter. Perhaps code that
> should be executed once is incorrectly placed inside a loop?
I have the impression that this happens already before the webapp comes into
pla
Ehlers, Kolja wrote:
is it somehow possible to set a different session timeout for local
192.168... users and others? I know I could have a rewrite rule and then
forward all calls from local workstation to a different webapp folder but I
thought maybe there is a more easy way to do this.
Servl
Hello everybody,
is it somehow possible to set a different session timeout for local
192.168... users and others? I know I could have a rewrite rule and then
forward all calls from local workstation to a different webapp folder but I
thought maybe there is a more easy way to do this.
Thanks
ke
> From: Paul van Beukering [mailto:[EMAIL PROTECTED]
> Subject: Re: Problem install APR Tomcat Native Library on Centos 5.2
>
> That helps!! installed the jdk 64bit and rebuild the APR
> libraries, now I can run APR
> Now, lets see whether the outcome of the loadtests can tell
> the difference.
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: multiple Set-Cookie headers in initial http response
>
> Since you mention JBoss (which I don't know), is that still
> some kind of HTTP server front-end to Tomcat ?
JBoss is a full Java EE app server, using Tomcat internally to supply
Add/change the address attribute in the Connector elements of your
server.xml file. See
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html. The same
attribute also works for the AJP connectors.
--David
[EMAIL PROTECTED] wrote:
> How do i change Tomcat 6's bind address?
>
> Kindly regards
How do i change Tomcat 6's bind address?
Kindly regards
Søren Jepsen
Systemudvikler
Pid wrote:
> Christopher Schultz wrote:
>> Arash,
>>
>> Arash Bizhan zadeh wrote:
>>> Sure [reading the servlet API] might help. Reading my mail would have
>>> helped too. I need the
>>> Subject not the principal.
>> Ouch. You're gonna get the cold shoulder with that kind of snarkiness.
>> Your or
> Since you mention JBoss (which I don't know), is that still some kind of
> HTTP server front-end to Tomcat ?
No (at least not AFAIK).
> I see that you are using port 48080 to access it.
> In your Tomcat "server.xml", is there a Connector with that same port
> number ?
Yes.
> It is a bit far
Christopher Schultz wrote:
> Arash,
>
> Arash Bizhan zadeh wrote:
>> Sure [reading the servlet API] might help. Reading my mail would have helped
>> too. I need the
>> Subject not the principal.
>
> Ouch. You're gonna get the cold shoulder with that kind of snarkiness.
> Your original message sa
Thanks a lot Filip !
Well I tried to set up the log4j.properties at the server as well as the
application level to include these categories but it dosent seem to work,
i.e I couldnt see the traces specific to sessions .
Is there any specific trace that could enable the sessionID to appear in the
Is JULI file handler is designed to work with other application servers or it
is can be configured only with tomcat?
If it is possible to configure with other app servers how it can be
initialized to log per web-app generically?
--
View this message in context:
http://www.nabble.com/Can-JULI-f
Hi,
Upgrading to latest version of mod_jk solves the problem. As I said
before, this on Windows 2003 Server running both httpd (2.0.59) and
tomcat (6.0.13) on the same machine. We upgraded all production
machines this morning.
Problem is in mod_jk 1.2.22 and is at least and fixed in 1.2.27. We
di
Markus Reis wrote:
[...]
> There are however three new observation results:
> (1) This also happens with GET requests (Previously I tested GET
requests only with an empty query string - sorry for that)
Well, if you keep on changing the conditions, we'll never get out of
this ;-)
> I have now
Hi Milan and Mladen,
That helps!! installed the jdk 64bit and rebuild the APR libraries, now I
can run APR
Now, lets see whether the outcome of the loadtests can tell the difference.
Thanks for the help guys, great to have the assistence.
Paul
On Wed, Nov 12, 2008 at 7:05 PM, Milan Cvejic
> Markus Reis wrote:
> [...]
> Further I found out that this happens only with an initial POST request
> - if I do the same via GET only one Set-Cookie header is returned (I
> wrote before that I was not able to reproduce those 900 Set-Cookie
> headers on my PC, but that was due to the fact that
77 matches
Mail list logo