--
Jakob Ericsson
+46 704 533 627
11 nov 2008 kl. 22.37 skrev Christopher Schultz <[EMAIL PROTECTED]
>:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jakob,
Jakob Ericsson wrote:
We are also experiencing this problem.
Our setup is running Windows 2003 Server with Apache 2.0.59 (no
pref
I am not sure if this works and it is probably not a nice solution, but maybe
you can do something like
BoOcorrenciaPolicial bo = (BoOcorrenciaPolicial)
unmarshaller.unmarshal(new File(XML_DIR + id + ".xml"));
Class clazz = bo.getClass();
Field field = clazz.getDeclaredField("his
Hi All,
I am getting the following error when I try to start Tomcat 6. I am new to
Tomcat.
Nov 12, 2008 12:31:12 PM org.apache.catalina.startup.Bootstrap
initClassLoaders
SEVERE: Class loader creation threw exception
java.io.IOException: Invalid argument
at java.io.WinNTFileSystem.canoni
Hi Mark,
Mark Thomas schrieb:
> Florian Hopf wrote:
>>
>> Is a mapping containing a path info not supported for forwards?
>
> Looks like https://issues.apache.org/bugzilla/show_bug.cgi?id=45441
>
> This is fixed in 6.0.x trunk if you want to try that or wait for 6.0.19.
>
Thank's a lot, that's
Hello All ,
I am a newbie to the Tomcat and Tomcat clustering
environment .I was just going through some posts on this forum for reference
.
I wish to deploy the classic JPetStore application which comes with the
Spring framework in the clustered environment involving 2 mach
Filip Hanik .. and many others - Dev Lists wrote:
[...]
Thanks for all the answers, very enlightening.
In summary thus :
- Tomcat (or rather I suppose the Connector) will create new threads as
needed to service simultaneous requests, up to the number given in the
Connector's maxThreads attribute
I never set JAVA_HOME globally, I configure it explicitly for each different
Tomcat. In this particular instance I have set:
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07
in setclasspath.bat, i.e. the 64bit jdk. CATALINA_HOME is set in startup.bat
(set CATALINA_HOME=%CURRENT_DIR%) and is the p
> > Our Tomcat 5.5 sends 30 cookie
> > (cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod;
> > domain=null; path=/)
>
> Are they all identical?
No. They are ALL different (and they also differ from response to response)
>
> > and 900 Set-Cookie
> > (header=Set-Cookie=JSESSIONID=2D79FB71
David kerber wrote:
Pid wrote:
...
Having said that, parsing XML can be a memory intensive operation as
well, so your old box could be experiencing problems there - check the
garbage collection log.
p
I try to avoid XML for this exact reason. We found that our application
could handle bet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
> - The memory usage one sees with "top" under some versions of Linux for
> each one of these threads is not really cumulative, because most of it
> is actually shared between the threads. The total really used is only
> s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
Leon Rosenberg wrote:
> On Wed, Nov 12, 2008 at 2:26 PM, David kerber <[EMAIL PROTECTED]> wrote:
>> Peng Tuck Kwok wrote:
>>> Probably the reason why he's seeing one instance of tomcat moving quicker
>>> than 2 instances is the fact that there i
David, was replying to Charles's earlier email on that.
I thought I read it right first in the email and assumed Charles was correct
in that.
Hazards of reading mail on the go :P
On Wed, Nov 12, 2008 at 9:26 PM, David kerber <[EMAIL PROTECTED]> wrote:
> Peng Tuck Kwok wrote:
>
>> Probably the re
Hi all,
We are trying to get APR to work. Sofar without success.
tThe APR libraries are build, are readable for the world, but tomcat seems
unable to find them.
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.l
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
- The memory usage one sees with "top" under some versions of Linux for
each one of these threads is not really cumulative, because most of it
is actually shared between the threads. The total
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat threads
>
> recent JVMs use shared memory to share common class data
> (like JITed object code from java.* packages)
Careful - JITed code is *not* shared - only some of the PermGen is, and that
only on a -client JVM. Whe
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat threads
>
> - they would actually share (in memory) the compiled classes that are
> part of the standard Java library (java.* etc..)
No - see my previous post. You can use JConsole to see which memory pools are
shared (none on
Paul van Beukering wrote:
Hi all,
We are trying to get APR to work. Sofar without success.
tThe APR libraries are build, are readable for the world, but tomcat seems
unable to find them.
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments
Hello,
You should copy libtcnative-1.so to java JDK installation folder in my
case: jre/lib/amd64/
Those libraries are needed by java...
Greetings
Paul van Beukering wrote:
Hi all,
We are trying to get APR to work. Sofar without success.
tThe APR libraries are build, are readable for the w
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat threads, II
>
> We have already tried - because that is one thing we can do - to split
> the XML data into smaller chunks, but that does not seem to have any
> significant impact.
Nor would I expect it to. The total amount of m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Markus,
Markus Reis wrote:
> I fear you are right :-)
>
> Due to the fact that you cannot read twice from the same
> ServletInputStream (unfortunately you are again right here :-)) I did
> the following in the mean time:
Is this just a draft? Or do
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Tomcat threads, II
>
> -classpath :/usr/lib/jvm/java-1.5.0-sun/jre//lib/jcert.jar:
> /usr/lib/jvm/java-1.5.0-sun/jre//lib/jnet.jar:
> /usr/lib/jvm/java-1.5.0-sun/jre//lib/jsse.jar:
> /usr/share/tomcat5.5/bin/bootstrap.jar:
> /usr/share/tomc
Hi,
I want to set
Xms1024m
Xmx1024m
and MaxPermSize paramater to 128
How do I do that in tomcat6.0.16
thanks
Hello Milan and Mladen,
See here the libraries that are created:
-rwxr-xr-x 1 belpop belpop 872663 Nov 12 14:41 libtcnative-1.so.0.1.14
lrwxrwxrwx 1 belpop belpop 23 Nov 12 14:41 libtcnative-1.so.0 ->
libtcnative-1.so.0.1.14
lrwxrwxrwx 1 belpop belpop 23 Nov 12 14:41 libtcnative-1.so -
> From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat Performance
>
> David, was replying to Charles's earlier email on that.
> I thought I read it right first in the email and assumed
> Charles was correct in that.
Assuming you're referring to me, I have not commented on this thr
Paul van Beukering wrote:
Hello Milan and Mladen,
See here the libraries that are created:
-rwxr-xr-x 1 belpop belpop 872663 Nov 12 14:41 libtcnative-1.so.0.1.14
lrwxrwxrwx 1 belpop belpop 23 Nov 12 14:41 libtcnative-1.so.0 ->
libtcnative-1.so.0.1.14
lrwxrwxrwx 1 belpop belpop 23 Nov
looks like its working, what is it that you don't think is working or
would like help with?
6 nov. 2008 17:08:30 org.apache.catalina.ha.session.DeltaManager
getAllClusterSessions
ATTENTION: Manager [localhost#/jpetstore], requesting session state from
org.apache.catalina.tribes.membership.Memb
Milan Cvejic wrote:
Hello,
You should copy libtcnative-1.so to java JDK installation folder in my
case: jre/lib/amd64/
Those libraries are needed by java...
There's no need for that.
It is enough that it is (as well as all dependencies
apr, eventual openssl, etc) in the LD_LIBRARY_PATH
Re
Markus Reis wrote:
Our Tomcat 5.5 sends 30 cookie
(cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod;
domain=null; path=/)
Are they all identical?
No. They are ALL different (and they also differ from response to response)
and 900 Set-Cookie
(header=Set-Cookie=JSESSIONID=2D79FB71207A
Brian Gillan schrieb:
> We're using Rational Team Concert with Tomcat and authenticating with
> LDAP.
> I want to log authentication events for users accessing RTC so we can see
> who's authenticating, and if unsuccessfully, who they're trying to
> authenticate as. Is this just a matter of conf
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 I sent the
Hi again.
Now that I have (with your help) established some basic facts, I have a
practical case for analysis.
Before I get into details (because this is quite long), I'd like to
explain the reason why I'm asking this.
We have been testing a Tomcat application from a vendor. It works very
nic
Well, I don't know about always. I have yet to find a 1.6 JDK from
Sun that is even close to stable. With heavy use (especially heavy
multithreaded use), we have found that all of the available 1.6 JDK's
segfault.
The latest JDK (1.6 update 10) is less than a month old - and it is a
huge change
On Wed, Nov 12, 2008 at 5:34 PM, Dan Armbrust
<[EMAIL PROTECTED]> wrote:
> Well, I don't know about always. I have yet to find a 1.6 JDK from
> Sun that is even close to stable. With heavy use (especially heavy
> multithreaded use), we have found that all of the available 1.6 JDK's
> segfault.
h
Hi Mladen
The output is:
[EMAIL PROTECTED]:/home/belpop/tomcat/lib]$ ldd libtcnative-1.so
libssl.so.6 => /lib64/libssl.so.6 (0x2affd1727000)
libcrypto.so.6 => /lib64/libcrypto.so.6 (0x2affd197)
libapr-1.so.0 => /usr/local/apr/lib/libapr-1.so.0
(0x2affd1cb800
> From: rajesh202023 [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 6 startup error
>
> I am getting the following error when I try to start Tomcat 6.
What exact version of Tomcat?
What JVM are you using?
Which version of Windows are you using?
Supplying adequate information and being precise will
Try creating new file in /etc/ld.so.conf.d
name it custom.conf or something.conf and add line
/usr/local/apr/lib
in that file. Then run ldconfig
and try to restart tomcat.
Paul van Beukering wrote:
Hi Mladen
The output is:
[EMAIL PROTECTED]:/home/belpop/tomcat/lib]$ ldd libtcnative-1.so
Hello Filip,
Thanks a lot for your reply. From the logs , the session state send is
evident .The scenario i tried is as follows
I opened the application web page on the first node via my browser ,
logged in , did some operations like some additions and modifications. I
displayed the items
Thanks you very much...
2008/11/12 Christopher Schultz <[EMAIL PROTECTED]>:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Alberto,
>
> Alberto Jesus La Rosa Agramonte wrote:
>> [is ~25 Java processes normal for Tomcat?]
>
> Yes. Most UNIX/Linux variants display individual threads as proces
Apache is the load balancer???
2008/11/12 Filip Hanik - Dev Lists <[EMAIL PROTECTED]>:
> you're missing the membership elelemnt
>
>
> className="org.apache.catalina.cluster.mcast.McastService"
> mcastAddr="228.0.0.4"
> mcast
Caldarale, Charles R wrote:
From: André Warnier [mailto:[EMAIL PROTECTED]
Subject: Tomcat threads, II
>> -Djava.security.manager
>
> Enabling the security manager slows things down; do you really need it?
>
Not as far as I know. It was only the default setting on that system,
from the (non-of
Peng Tuck Kwok wrote:
Probably the reason why he's seeing one instance of tomcat moving quicker
than 2 instances is the fact that there is some form of contention for
resources on that single machine assuming that the 2 instances are
configured identically in every aspect (other than ports).
Y
Hi Mladen,
Did what you told me to do but the song remains the same.
[EMAIL PROTECTED]:/root]# ldconfig -v
/usr/local/apr/lib:
libtcnative-1.so.0 -> libtcnative-1.so.0.1.15
libaprutil-1.so.0 -> libaprutil-1.so.0.3.4
libexpat.so.0 -> libexpat.so.0.1.0
libapr-1.so.0
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Markus,
Markus Reis wrote:
Pardon me for butting in where I'm obviously outclassed, consider this
as a genuine question :
Would what Markus wants to do not be easier to do with a servlet filter ?
It would also be a pe
you could enable tracing for the two following categories
org.apache.catalina.ha
org.apache.catalina.tribes.MESSAGES
Filip
Anupam Beri wrote:
Hello Filip,
Thanks a lot for your reply. From the logs , the session state send is
evident .The scenario i tried is as follows
I opened the app
On Wed, Nov 12, 2008 at 2:26 PM, David kerber <[EMAIL PROTECTED]> wrote:
> Peng Tuck Kwok wrote:
>>
>> Probably the reason why he's seeing one instance of tomcat moving quicker
>> than 2 instances is the fact that there is some form of contention for
>> resources on that single machine assuming tha
> André Warnier wrote:
> > Markus Reis wrote:
> Our Tomcat 5.5 sends 30 cookie
> (cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod;
> domain=null; path=/)
> >>> Are they all identical?
> >>
> >> No. They are ALL different (and they also differ from response to
> >> response)
Jakob Ericsson schrieb:
>
>
> --
> Jakob Ericsson
> +46 704 533 627
>
> 11 nov 2008 kl. 22.37 skrev Christopher Schultz
> <[EMAIL PROTECTED]>:
>
> Jakob,
>
> Jakob Ericsson wrote:
We are also experiencing this problem.
Our setup is running Windows 2003 Server with Apache 2.0.59 (no
We're running two Tomcat (5.5.16) instances in a load-balanced capacity
behind an Apache server (2.0.55 w/ mod j/k 1.2.14).
We'd like to set up some sort of monitoring that would allow us to not
just check to see if the Tomcat Java processes are still running (that's
easy) but to actually conn
application manager, is not free, but with the trial licence you can
work with all the functionalities.
bye
2008/11/13 Adam Gordon <[EMAIL PROTECTED]>:
> We're running two Tomcat (5.5.16) instances in a load-balanced capacity
> behind an Apache server (2.0.55 w/ mod j/k 1.2.14).
>
> We'd like to
Guys,
Anything to say regarding JRockIt ? Is it still under development ?
Regards,
Pierre
On Wed, Nov 12, 2008 at 5:53 PM, Leon Rosenberg <
[EMAIL PROTECTED]> wrote:
> On Wed, Nov 12, 2008 at 5:34 PM, Dan Armbrust
> <[EMAIL PROTECTED]> wrote:
> > Well, I don't know about always. I have yet
Op woensdag, 12 november 2008 om 9:56 uur schreef Tomcat Users List
:
Subject: Re: Tomcat threads
Date: Wed Nov 12 09:56:01 CET 2008
From: André Warnier <[EMAIL PROTECTED]>
Filip Hanik .. and many others - Dev Lists wrote:
[...]
Thanks for all the answers, very enlightening.
In summary thus
Can you please include a link? Google is not helping... Thanks.
Alberto Jesus La Rosa Agramonte wrote:
application manager, is not free, but with the trial licence you can
work with all the functionalities.
bye
2008/11/13 Adam Gordon <[EMAIL PROTECTED]>:
We're running two Tomcat (5.5.16)
It looks to me that you are using 32bit version of JDK on 64bit linux
installation?
am i right? you are having
libraries in /lib64 and also in
/usr/jdk1.6.0_10/jre/lib/i386
That may be problem... try installing 64bit version od JDK...
Paul van Beukering wrote:
Hi Mladen,
Did what you tol
André Warnier wrote:
> Markus Reis wrote:
Our Tomcat 5.5 sends 30 cookie
(cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod;
domain=null; path=/)
>>> Are they all identical?
>>
>> No. They are ALL different (and they also differ from response to
>> response)
>>
and 900 S
> Markus Reis wrote:
> >>> Our Tomcat 5.5 sends 30 cookie
> >>> (cookie=JSESSIONID=2D79FB71207A83A09B32677B9640693E.jbprod;
> >>> domain=null; path=/)
> >> Are they all identical?
> >
> > No. They are ALL different (and they also differ from response to
> response)
> >
> >>> and 900 Set-Cookie
>
On Wed, Nov 12, 2008 at 9:42 AM, Adam Gordon <[EMAIL PROTECTED]> wrote:
> We're running two Tomcat (5.5.16) instances in a load-balanced capacity
> behind an Apache server (2.0.55 w/ mod j/k 1.2.14).
>
> We'd like to set up some sort of monitoring that would allow us to not just
> check to see if t
Torsten,
Thank you for the quick reply. My apologies: I was getting confused.
I now realise sending jsessionid on the URL gets ignored if there is already
a jsessionid in the cookie, which there will be if you have even briefly
touched the site in any way (eg. to pull up the login page).
Thanks
On Wed, Nov 12, 2008 at 11:17 AM, bhavik shah <[EMAIL PROTECTED]> wrote:
> Hi,
> I want to set
>
> Xms1024m
>
> Xmx1024m
>
> and MaxPermSize paramater to 128
>
> How do I do that in tomcat6.0.16
>
Hi, just need to have the variable JAVA_OPTS exported.
# export JAVA_OPTS="-Xms1024m -Xmx1024m"
au
Adam Gordon wrote:
We're running two Tomcat (5.5.16) instances in a load-balanced capacity
behind an Apache server (2.0.55 w/ mod j/k 1.2.14).
We'd like to set up some sort of monitoring that would allow us to not
just check to see if the Tomcat Java processes are still running (that's
easy)
On Wed, Nov 12, 2008 at 9:42 AM, Adam Gordon <[EMAIL PROTECTED]> wrote:
> Since we're connecting to Tomcat via an Apache load-balancer, we don't know
> of a way to force the load-balancer to go to a certain Tomcat instance.
> Additionally, we don't know how to speak mod j/k so we can't fake a dire
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Markus,
Markus Reis wrote:
> Yes, the RequestDumperValve also dumps the response - therefore I'm
> SURE that it is Tomcat that sends the 900 Set-Cookie headers and no
> other network component between client and server.
I second Andre's recommendatio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nar,
Nar Karapetyan wrote:
> Linux server gives the exceptions for https://localhost
Sorry I misunderstood.
Please post a complete stack trace.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
> Would what Markus wants to do not be easier to do with a servlet filter ?
> It would also be a per-application thing, rather than a
> one-size-fits-all, no ?
Markus was looking at using the ExtendedLogAccessValve which d
> From: Marco Antonio [mailto:[EMAIL PROTECTED]
> Subject: Re: How to set JAVA_OPTS variable in tomcat6.0.16
>
> Hi, just need to have the variable JAVA_OPTS exported.
> # export JAVA_OPTS="-Xms1024m -Xmx1024m"
That works for Linux (except for the leading # that turns it into a comment),
but says
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
>> Subject: Re: Tomcat threads
>>
>> recent JVMs use shared memory to share common class data
>> (like JITed object code from java.* packages)
>
> Careful - JIT
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
Michael Ludwig wrote:
> So the output of S gets collected by WR and is now available to F. And F
> calls getWriter() on the original response, and this to my surprise
> triggers an IllegalStateException:
>
> getOutputStream() has already b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
kennardconsulting wrote:
> ...does Tomcat do something clever, like checking the User-Agent, before
> agreeing to hook into the existing '123' session?
No. Tomcat will append the jsessionid parameter if the client has not
yet proven that Coo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Arun,
Arun Raj Ramkumar wrote:
> Hi friends,
> Please let me know is there a way to find out connection leak in my java
> code , when its deployed in tomcat. Am using tomcat 6.0.18
What type of connection?
- -chris
-BEGIN PGP SIGNATURE-
Vers
André Warnier wrote:
> Hi again.
>
> Now that I have (with your help) established some basic facts, I have a
> practical case for analysis.
>
> Before I get into details (because this is quite long), I'd like to
> explain the reason why I'm asking this.
> We have been testing a Tomcat application
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat threads, II
>
> I have turned it off now, and restarted Tomcat, but it
> did not have any noticeable impact on the startup time.
Wouldn't expect it to, since you're spending nearly all the time parsing that
XML file.
It may ha
On Wed, Nov 12, 2008 at 12:21 PM, Rainer Jung <[EMAIL PROTECTED]> wrote:
> Jakob Ericsson schrieb:
>>
>>
>> --
>> Jakob Ericsson
>> +46 704 533 627
>>
>> 11 nov 2008 kl. 22.37 skrev Christopher Schultz
>> <[EMAIL PROTECTED]>:
>>
>> Jakob,
>>
>> Jakob Ericsson wrote:
> We are also experiencing t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
Leon Rosenberg wrote:
> suns current jdk is always the best choice. the current one is 6.10
I'm not sure about current versions, but several years ago, IBM had the
fastest JVM out there, although it used more memory than Sun's. I did,
though, h
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat threads
>
> PermGen seems like an odd item to share... though I
> guess all those java.lang.Package, java.lang.Class,
> java.lang.Method, etc. objects can really beat a
> system down.
The sharing is not for capacity purpos
Try this link, if you can't click on it, copy and past it.
http://bugs.sakaiproject.org/confluence/display/DOC/Section+-+Tomcat+Installation+(2.5)
For the Tomcat service on Windows, you have to modify the registry. The key is
a multi_reg_sz key, so you'll have to append to that list. You can
Pid wrote:
...
Having said that, parsing XML can be a memory intensive operation as
well, so your old box could be experiencing problems there - check the
garbage collection log.
p
I try to avoid XML for this exact reason. We found that our application
could handle between 6 and 10 times m
Hello!
I'm trying to finish my configuration of the cluster.
But i get the message of 'memberDisappeared' in both nodes:
Node1:
12-Nov-08 5:30:36 PM
org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded
INFO: Replication member
added:org.apache.catalina.cluster.mcast.McastMember[tcp://172
hello thats my configurations files, and work without problems.
cluster 1
cluster 2
Alberto,
Could you please send me the complete configurations of both nodes, this
that you sent to me is missing something. =(
Thanks a lot for you fast reply!
2008/11/12 Alberto Jesus La Rosa Agramonte <[EMAIL PROTECTED]>
> hello thats my configurations files, and work without problems.
>
> cl
On Wed, 12 Nov 2008 09:09:01 +0100
<[EMAIL PROTECTED]> wrote:
> I am not sure if this works and it is probably not a nice solution, but maybe
> you can do something like
>
> BoOcorrenciaPolicial bo = (BoOcorrenciaPolicial)
> unmarshaller.unmarshal(new File(XML_DIR + id + ".xml"));
Hassan-
I apologize if I wasn't clear. We are already running Tomcat in a
load-balanced capacity with sticky sessions which means the jvmRoute is
already set and configured correctly. What we are looking to do is
ensure that the actual Tomcat instance isn't a zombie, rather, that it
can sti
It is not working for me =[
2008/11/12 Gustavo Araujo <[EMAIL PROTECTED]>
> Alberto,
>
> Could you please send me the complete configurations of both nodes, this
> that you sent to me is missing something. =(
>
> Thanks a lot for you fast reply!
>
> 2008/11/12 Alberto Jesus La Rosa Agramonte <[EM
See my reply to Hassan. I think setting up a proxy would be overkill,
and besides, when running Tomcat in a load-balanced capacity w/ sticky
sessions using mod JK, while you can connect directly to the port on
which Tomcat is listening for mod JK requests, unless you speak mod JK,
it doesn't d
Hi,
Is there is was I can get the authenticated User from inside my
servlet/filter?
IT seems none of the assumed ways work :
getSession().getAttribute(Globals.SUBJECT_ATTR);
Subject.getSubject(AccessController.getContext());
Please reply directly, I am not subscribed.
-thanks,
-arash
--
The
Caldarale, Charles R wrote:
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat threads
PermGen seems like an odd item to share... though I
guess all those java.lang.Package, java.lang.Class,
java.lang.Method, etc. objects can really beat a
system down.
The sharing is not f
> From: Arash Bizhan zadeh [mailto:[EMAIL PROTECTED]
> Subject: Get Security subject from Tomcat
>
> Is there is was I can get the authenticated User from inside my
> servlet/filter?
Perhaps reading the Servlet spec or the APIs would help:
http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-
Chris,
Thanks for your prompt reply.
My apologies - I was getting confused. The browser had already assigned a
jsessionid through a cookie just by viewing the login page, so from them on
anything I passed on the URL was being ignored.
Thanks for your time,
Richard.
--
View this message in co
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat threads
>
> Since apparently this conversation clears some matters up, even for
> gurus, would one of you care to back-up a couple of messages, and
> re-state the final consensus in English for us mere mortals ?
Only for specifi
Adam Gordon wrote:
See my reply to Hassan. I think setting up a proxy would be overkill,
and besides, when running Tomcat in a load-balanced capacity w/ sticky
sessions using mod JK, while you can connect directly to the port on
which Tomcat is listening for mod JK requests, unless you speak m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
Christopher Schultz wrote:
> A few parting thoughts:
I knew I was forgetting something:
3. During your 5-minute startup freeze, try taking a few thread dumps
(send a QUIT signal to your JVM) and seeing what the app is doing. Maybe
it's just t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
At the risk of repeating things said by others...
André Warnier wrote:
> We have an old clunker PC (Pentium II, 512 Mb Ram, average ATA disks),
> which we use to test some applications (not only Java/Tomcat).
Based upon this hardware configur
You mentioned you just upgraded your MS SQL. Is it possible that the
default encoding changed? It should be using UTF-8. Can you check that?
On Nov 12, 2008, at 4:48 PM, André Warnier wrote:
Adam Gordon wrote:
See my reply to Hassan. I think setting up a proxy would be
overkill, and besid
On Wed, Nov 12, 2008 at 1:15 PM, Adam Gordon <[EMAIL PROTECTED]> wrote:
> See my reply to Hassan. I think setting up a proxy would be overkill, and
> besides, when running Tomcat in a load-balanced capacity w/ sticky sessions
> using mod JK, while you can connect directly to the port on which Tomc
Ooops, sorry. I meant this to go to someone else...
On Nov 12, 2008, at 5:06 PM, Robert Koberg wrote:
You mentioned you just upgraded your MS SQL. Is it possible that the
default encoding changed? It should be using UTF-8. Can you check
that?
On Nov 12, 2008, at 4:48 PM, André Warnier wr
On Wed, Nov 12, 2008 at 4:06 PM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:
> > From: Arash Bizhan zadeh [mailto:[EMAIL PROTECTED]
> > Subject: Get Security subject from Tomcat
> >
> > Is there is was I can get the authenticated User from inside my
> > servlet/filter?
>
> Perhaps reading the
André Warnier wrote:
> Now that I have (with your help) established some basic facts, I have a
> practical case for analysis.
>
> We have an old clunker PC (Pentium II, 512 Mb Ram, average ATA disks),
> which we use to test some applications (not only Java/Tomcat).
...
> Now, if I stop and restart
> From: Arash Bizhan zadeh [mailto:[EMAIL PROTECTED]
> Subject: Re: Get Security subject from Tomcat
>
> Sure it might help. Reading my mail would have helped too. I need the
> Subject not the principal.
O.k., I'm confused. If you're looking for the user name, then the
java.security.Principal re
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
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 messa
Christopher Schultz schrieb am 12.11.2008 um 16:42:06 (-0500):
> André Warnier wrote:
> > In other words, while this application is being loaded, our Tomcat
> > and the whole system are totally unresponsive for about 5 minutes.
> 1. DNS settings. Especially when parsing XML (which often requires
André
André Warnier wrote:
(and what is PermGen ?)
No one else seemed to answer this. PermGen is the chunk of memory which
is allocated to the JVM in which to hold the 'prototypes' of the class
files used. For a large web app with lots of classes (NOT object) it is
common to have to radic
On Wed, Nov 12, 2008 at 5:34 PM, Christopher Schultz <
[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> 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 princip
1 - 100 of 110 matches
Mail list logo