Re: post redirect get to the same tomcat instance in a tomcat cluster ?

2012-06-13 Thread Albert Kam
Oops, i really misread the documentation, thinking it will never use session to provide that feature. Thank you for the pointers ! On Wed, Jun 13, 2012 at 7:23 PM, Pid wrote: > On 13/06/2012 13:13, Pid * wrote: >> On 12 Jun 2012, at 18:17, Albert Kam wrote: >> >>> Hi all ! >>> >>> Is it possible

RE: Jakarta ISAP Redirector

2012-06-13 Thread DeMarco, Alex
I have 4 servers all configured the same way.. Locally the call works fine yet remotely I get an iis 404 - Alex -Original Message- From: DeMarco, Alex [mailto:alex.dema...@suny.edu] Sent: Wednesday, June 13, 2012 8:45 PM To: Tomcat Users List Subject: RE: Jakarta ISAP Redirector Y

RE: wget and Tomcat resources

2012-06-13 Thread Darryl Lewis
The -T 0 options limits disables the timeout, so it will hold the connection open until it gets a response. Personally, I'd remove it as if the 'ourserver' fails to respond (busy, network issues, solar flares), that wget job will sit on the calling server forever. The default is 900 seconds, wh

RE: Jakarta ISAP Redirector

2012-06-13 Thread DeMarco, Alex
Yes I have looked in the log file and set it debug. There are no errors logged. My uriworkermap has this: /myapp=DTS_Submission /myapp/*=DTS_Submission My Workers file has: worker.list=DTS_Submission worker.DTS_Submission.type=ajp13 worker.DTS_Submission.host=xxx.xxx.xxx.xxx worker.DTS_Submi

wget and Tomcat resources

2012-06-13 Thread Miguel González Castaños
Dear all, Our developer has set a cronjob similar to this: wget -T 0 http://ourserver.com/email_sender which calls a javabean to check pending emails to send in a database and actually send them. I'm concerned about this, since I have realized that we have peaks of 500 http connecti

Re: URL Rewriting

2012-06-13 Thread Hassan Schroeder
On Wed, Jun 13, 2012 at 2:34 PM, Kiran Badi wrote: >> 1) Embed it in the URL for GET requests, either via query string or >>   as path info  (e.g. /story/data/17 ) > I think this is what I am presently doing. The query string approach, yes; personally I think the pathinfo approach is cleaner vi

Re: URL Rewriting

2012-06-13 Thread Kiran Badi
Thanks Hassan. If you want 'clean' URLs you should get rid of the '.jsp' too, but ... The bottom line is the value for 'id' needs to come from somewhere. Your choices are: 1) Embed it in the URL for GET requests, either via query string or as path info (e.g. /story/data/17 ) and handle t

Re: URL Rewriting

2012-06-13 Thread Hassan Schroeder
On Wed, Jun 13, 2012 at 11:12 AM, Kiran Badi wrote: > why I not getting the url of jsp something like > > http://localhost:8080/ourstory/myiddata.jsp If you want 'clean' URLs you should get rid of the '.jsp' too, but ... The bottom line is the value for 'id' needs to come from somewhere. Your c

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-13 Thread Mark Eggers
- Original Message - > From: Daniel Mikusa > To: Tomcat Users List > Cc: > Sent: Wednesday, June 13, 2012 6:25 AM > Subject: Re: Apache tomcat (7.0.27) is not loading the user and role class > for JAASRealm > > - Original Message - >> I am creating a website and implement sec

Re: Jakarta ISAP Redirector

2012-06-13 Thread Pid *
On 13 Jun 2012, at 18:18, "DeMarco, Alex" wrote: > I hope this is the right place to post this question. > > > > We have the latest Jakarta Plugin installed with IIS 7.5. > > > > Do you know, does the plugin specifically block /services requests on > wsdl's No, it doesn't. > If I go here: > >

Re: Jakarta ISAP Redirector

2012-06-13 Thread André Warnier
DeMarco, Alex wrote: I hope this is the right place to post this question. It is the right place. We have the latest Jakarta Plugin installed with IIS 7.5. Do you know, does the plugin specifically block /services requests on wsdl's Short answer : no, it does not specifically blo

Re: URL Rewriting

2012-06-13 Thread Kiran Badi
Please inline for my answers Andre. Kiran, Why does that "id=17" visible in the URL bother you ? Is it because of some security aspect ? (that the user could change it, and get something else than what they should be getting ?) Thanks for reminding this aspect.I was not checking for empty resu

Jakarta ISAP Redirector

2012-06-13 Thread DeMarco, Alex
I hope this is the right place to post this question. We have the latest Jakarta Plugin installed with IIS 7.5. Do you know, does the plugin specifically block /services requests on wsdl's If I go here: http://myural/myapp/services I get a page not available However, if

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-13 Thread Daniel Mikusa
- Original Message - > I am creating a website and implement security. For this I am using > Form > based authentication and JAASRealm. I have implemented the login > module and > able to authenticate but while authorizing tomcat is not able to load > the > user and role classes once I star

Re: HttpOnly

2012-06-13 Thread Pid
On 12/06/2012 15:11, Christopher Schultz wrote: > Paul, > > On 6/12/12 9:03 AM, Paul Singleton wrote: >> On 12/06/2012 06:57, Caldarale, Charles R wrote: From: N.s.Karthik [mailto:nskarthi...@gmail.com] Subject: HttpOnly >>> Tomcat 6.0.10 >>> For some specific Reason We use Tom

Re: tomcat cluster for stateless web application

2012-06-13 Thread zhenek
On 06/12/2012 07:21 PM, Albert Kam wrote: I've noticed that in the documentation, it says a lot about session replication. I wonder what can be omitted in the configurations for a stateless java webapp setup (without any sessions), to hopefully get a simpler configuration or even gain more effic

Re: post redirect get to the same tomcat instance in a tomcat cluster ?

2012-06-13 Thread Pid
On 13/06/2012 13:13, Pid * wrote: > On 12 Jun 2012, at 18:17, Albert Kam wrote: > >> Hi all ! >> >> Is it possible to do POST submit to the tomcat-A, redirect happens, >> and then GET to the same tomcat-A again in a tomcat cluster ? >> And, in hope to make things easier, all the tomcat servers in

Re: post redirect get to the same tomcat instance in a tomcat cluster ?

2012-06-13 Thread Pid *
On 12 Jun 2012, at 18:17, Albert Kam wrote: > Hi all ! > > Is it possible to do POST submit to the tomcat-A, redirect happens, > and then GET to the same tomcat-A again in a tomcat cluster ? > And, in hope to make things easier, all the tomcat servers in the > cluster are stateless wihout any ses

Re: tomcat cluster for stateless web application

2012-06-13 Thread Pid *
On 12 Jun 2012, at 18:22, Albert Kam wrote: > I've noticed that in the documentation, it says a lot about session > replication. > > I wonder what can be omitted in the configurations for a stateless > java webapp setup (without any sessions), > to hopefully get a simpler configuration or even g

Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-13 Thread javed ansari
I am creating a website and implement security. For this I am using Form based authentication and JAASRealm. I have implemented the login module and able to authenticate but while authorizing tomcat is not able to load the user and role classes once I start the tomcat server. It gives the followin

Re: URL Rewriting

2012-06-13 Thread André Warnier
Kiran Badi wrote: Hi All, For some of the functionality, I have url in the below format http://localhost:8080/mysite/getmyservice.do?id=17 What I was looking for is to hide the id part of the url and just show something like http://localhost:8080/mysite/getmyservice.do# Is this hack possib

Re: iis not looking for jsp in tomcat webapps folder

2012-06-13 Thread André Warnier
Hi. Quoting you : Vijaya wrote: Thanks for the reply Andre Warnier. It is not virus. It happened over the week end while the download of signatures failed. It is that IIS is not looking at the tomcat' webapps folder for the jsps through ISAPI filter. When I try to delete isapi_redirector dll,