Re: question for sso session replication in tomcat 6.0.26

2010-06-21 Thread Andrew Bruno
Oh sorry, I re-read your answer. Not sure why SSO is not working, be interested to find out though.. AB On Tue, Jun 22, 2010 at 3:04 PM, Andrew Bruno wrote: > Hi Yasushi > > In your serverl.xml have you added the jvmroute to the Engine? > > i.e. > > > > Andrew > > On Tue, Jun 22, 2010 at 2:50

Re: question for sso session replication in tomcat 6.0.26

2010-06-21 Thread Andrew Bruno
Hi Yasushi In your serverl.xml have you added the jvmroute to the Engine? i.e. Andrew On Tue, Jun 22, 2010 at 2:50 PM, Okubo, Yasushi (TSD) wrote: > Hi Andrew > > Thank for your post.  When I checked the session id from firefox, sso session > id [jsessionidsso] does not have jvmroute info,

Re: question for sso session replication in tomcat 6.0.26

2010-06-21 Thread Andrew Bruno
Looking at the code I think this is wrong if (!_ssoSessionId.contains("." + jvmRoute)) { _ssoSessionId += "." + jvmRoute; response.addCookie(new Cookie(_SSO_SESSION_COOKIE_NAME, _ssoSessionId)); } The original sessionId will already have the "."+_any_other_jvmRoute included, so you need to

RE: question for sso session replication in tomcat 6.0.26

2010-06-21 Thread Okubo, Yasushi (TSD)
Hi Andrew Thank for your post. When I checked the session id from firefox, sso session id [jsessionidsso] does not have jvmroute info, but only jsessionid has jvmroute. So, session replication upon failover is working fine, but singlesionon upon failover is not working on tomcat 6.0.x (includ

question for sso session replication in tomcat 6.0.26

2010-06-21 Thread Okubo, Yasushi (TSD)
Hi experts I found this old email from archive in TC 5.5.23. Does this problem still exist in tomcat 6.0.x or 6.0.26? When failover occurs, sso session id is updated with new number after forcing a user to relogin to the application since sso session id is not replicated and rewritten corr

RE: Problem retrieving domain\userid from HttpServletRequest object

2010-06-21 Thread Savoy, Melinda
What I finally did was remove my filter from the web.xml file all together and I have a TEST index.jsp page that only contains the following: <%...@page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> Here is my userid + <%=request.getRemo

RE: Tomcat - ADS connection reset - communication exception

2010-06-21 Thread dB .
It could be that your Active Directory is forcibly closing this connection by some kind of server-side policy. If your goal is authentication and you operate only on Windows, you may want to look at http://waffle.codeplex.com. It does BASIC auth as well as Negotiate using Windows API, so you do

RE: Setting the Right Amount of Memory

2010-06-21 Thread Robinson, Eric
> Sorry for not responding yet. Busy at what I actually > get paid for, and trying to generate some real numbers > for the question at hand. More later. No worries, I just want to keep the thread alive until something definitive comes from it if possible. :-) -- Eric Robinson Disclaimer -

RE: Setting the Right Amount of Memory

2010-06-21 Thread Caldarale, Charles R
> From: Robinson, Eric [mailto:eric.robin...@psmnv.com] > Subject: RE: Setting the Right Amount of Memory > > > So what is the impact say (picking some random > > numbers of the air) if you have an app that is quite > > happy with 256MB of heap space but has 1024MB allocated? > > My question exac

Problem retrieving domain\userid from HttpServletRequest object

2010-06-21 Thread Savoy, Melinda
I am on what I hope is the last issue in trying to get authentication completed on the IIS-Tomcat integration. I have the ISAPI filter loaded and appears to be working properly per the ISAPI log. IIS is sending the NTLM authorization header with the encrypted domain\username and the ISAPI filt

RE: Setting the Right Amount of Memory

2010-06-21 Thread Robinson, Eric
> So what is the impact say (picking some random > numbers of the air) if you have an app that is quite > happy with 256MB of heap space but has 1024MB allocated? My question exactly! -- Eric Robinson Disclaimer - June 21, 2010 This email and any files transmitted with it are confidenti

Re: HTTP Status 408!

2010-06-21 Thread Pid
On 21/06/2010 17:36, neo21 zerro wrote: > > > Ok. Something like this ? > > > > URL protectedResource = new URL("http://localhost:8080/resource";); > *URLConnection yc = *protectedResource*.openConnection();* > BufferedReader in = new BufferedReader( >

Re: HTTP Status 408!

2010-06-21 Thread neo21 zerro
Ok. Something like this ? URL protectedResource = new URL("http://localhost:8080/resource";); URLConnection yc = protectedResource.openConnection(); BufferedReader in = new BufferedReader( new InputStreamReader( yc.getInputStream()));

RE: tomcat.exe 6.0.18 to 6.0.26 stdout/stderr redirection

2010-06-21 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: tomcat.exe 6.0.18 to 6.0.26 stdout/stderr redirection > > Tomcat.exe does not run Tomcat. Well actually, tomcat6.exe does - it's just another JVM launcher. You can use that in lieu of the scripts. Running the .exe

Re: HTTP Status 408!

2010-06-21 Thread Pid
On 21/06/2010 15:48, neo21 zerro wrote: > Ok.I already have send params from my other application to my > Tomcat application and everything goes well, I make this with the > j_security_check on a post method, and I track down the path with the > debug log. The problem is that in the > org.

Re: tomcat.exe 6.0.18 to 6.0.26 stdout/stderr redirection

2010-06-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bulkan, On 6/21/2010 12:46 AM, Bulkan wrote: > I am not running tomcat as a service. I directly start tomcat.exe Tomcat.exe does not run Tomcat. So, how are you really starting Tomcat? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (M

Re: HTTP Status 408!

2010-06-21 Thread neo21 zerro
Ok.I already have send params from my other application to my Tomcat application and everything goes well, I make this with the j_security_check on a post method, and I track down the path with the debug log. The problem is that in the org.apache.catalina.authenticator.FormAuthenticator

Tomcat - ADS connection reset - communication exception

2010-06-21 Thread Manish Kumar
Hi Friends, I'm using tomcat 5.5.28 and ADS on Windows 2003 Server and connecting through realm configuration mentioning in the server.xml. Things are fine but the problem arise when the server use to be idle for a couple of mins(normally 10 to 15 mins). When I saw in the log, I found that

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-21 Thread yuccanel
Hello, I have done as David suggested and has not fixed issue. If you visit thejarbar.org you will see the test page that confirms the jdbc has been opned and therefore the lib is present I found a possible reason in hibernate .cfg and fixed it but still got error after redeployment 1 my databse

Re: HTTP Status 408!

2010-06-21 Thread Pid
On 21/06/2010 15:20, neo21 zerro wrote: > Hello, > > Problem finally solved :) Pid was right my encoding was not ok and a Cookie > was not passed over with the poste of the login page :) I needed to explicity > create a servlet and in that servler add to the response object the > JSSESIONID as

Re: HTTP Status 408!

2010-06-21 Thread neo21 zerro
Hello, Problem finally solved :) Pid was right my encoding was not ok and a Cookie was not passed over with the poste of the login page :) I needed to explicity create a servlet and in that servler add to the response object the JSSESIONID as a Cookie :) I have another question can I login

Re: EL 2.2 in Tomcat 7 RC1/RC2 does not fully support method invocation, such as "#{helloWorldController.doSomething(helloWorldModel)}"

2010-06-21 Thread John Wu
Hi Mark, I just got a chance to test it on the Beta release. It's still broken, with a slightly different exception message. javax.faces.el.MethodNotFoundException: javax.el.MethodNotFoundException: /helloWorld.xhtml @15,85 action="#{helloWorldController.doSomething(helloWorldModel)}": Method no

Re: [OT] Re: problems at thejarbar.org

2010-06-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yucca Nel, On 6/11/2010 4:53 AM, yucca...@live.co.za wrote: > Hello tomcats !! :) A quick question as I tackle configuring jndi > resource for first time: I was referred to using jndi in production > environmrnt snd hsve noted through documentation fo

Re: [OT] Re: problems at thejarbar.org

2010-06-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yucca Nel, On 6/11/2010 4:53 AM, yucca...@live.co.za wrote: > Hello tomcats !! :) A quick question as I tackle configuring jndi > resource for first time: I was referred to using jndi in production > environmrnt snd hsve noted through documentation fo

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-21 Thread David Smith
> > I do not see the mistake that you see I didn't say I saw a mistake ... just listing stuff to look at in diagnosing this issue. The file permission issue can definitely contribute to what you were seeing. Other comments inline --David On 6/21/2010 8:32 AM, yucca...@live.co.za wrote: >

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-21 Thread yuccanel
-- From: "Martin Gainty" Sent: Monday, June 21, 2010 1:16 PM To: "Tomcat Users List" Subject: RE: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN! if you took time to look at

Re: How to speed up tomcat 5.5 jsp precompilation?

2010-06-21 Thread David kerber
On 6/21/2010 7:48 AM, Pid wrote: On 20/06/2010 17:24, shunhao chen wrote: Hi all, I have 2100 jsp files in my system, and I use the following ant script to precompile my jsp files. It takes 10 minutes to complete. 10 minutes is too long for me, because I also need to run class obfusc

Re: How to speed up tomcat 5.5 jsp precompilation?

2010-06-21 Thread Pid
On 20/06/2010 17:24, shunhao chen wrote: > Hi all, > I have 2100 jsp files in my system, and I use the following ant > script to precompile my jsp files. It takes 10 minutes to complete. 10 > minutes is too long for me, because I also need to run class obfuscation, > js/css compressor a

RE: Cleartrust RSA integration

2010-06-21 Thread Martin Gainty
could you briefly explain the need for 2 apache webservers? thanks, Martin _ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein,

Re: Tomcat 5.5.26 with application is having memory/performance issue

2010-06-21 Thread Pid
On 21/06/2010 06:50, Hae Loong Chan wrote: > Hi, > > I have the memory issue/performance with the following situation: > > a. The machine installed with Solaris 10, with memory 2GB and swap space 4GB. > b. Running Tomcat 5.5.26 with one application at Xmx1024m and -Xmx256m > using JDK1.5.0_22. >

RE: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-21 Thread Martin Gainty
if you took time to look at tomcat-users archive you would've come across this post by david smith..the answer is just as good now as when originally posted On 6/19/2010 1:31 PM, yucca...@live.co.za wrote: > I have no choice left but to not let hibernate use my tomcat datasource. This > is

Re: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' AGAIN!

2010-06-21 Thread yuccanel
Ok I thought I found my solution yesterday with eapps but turns out not to be. I am posting a possible fix in hope that this may help someone els who reads this thread one day. apart from making sure that paths are correct, driver is inside tomcat/lib and that resource etc are defined correct,

Re: Cleartrust RSA integration

2010-06-21 Thread Ron McNulty
Hi Andre Thanks for the reply. I had a long discussion with our architecture group today. Basically they want Cleartrust authentication at the web gateway (in place now) and again at the web server. The gateway (an Apache instance) and the Tomcat server would not be on the same physical box -

Re: Setting the Right Amount of Memory

2010-06-21 Thread Mark Thomas
On 21/06/2010 04:15, Caldarale, Charles R wrote: >> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >> Subject: Re: Setting the Right Amount of Memory >> >> Unreachable (dead) objects are never encountered, >> so their number or size does not come into play. > > For complete disclos