Re: Web App consuming Passive Secure Token Service

2009-03-23 Thread Lucas Galfaso
Hi, The first place I would look for is https://opensso.dev.java.net/ If it is not there, then close-to-for-sure that it cannot be done ;-) Regards, Lucas On Mon, Mar 23, 2009 at 7:09 PM, Angel Java Lopez wrote: > Hi people! > > > > I'm searching for a simple example of a Web Application

Re: single instance of background job?

2009-01-10 Thread Lucas Galfaso
Hi, This should be strait forward if you use terracotta. If you have a NFS that all Tomcat instances share, using FileChannel::lock is way cheaper than any other solution. -lg On Sun, Jan 11, 2009 at 2:30 AM, Rusty Wright wrote: > This isn't really a Tomcat question I'm guessing but I don't kn

Re: I WANT Tomcat to die when a given servlet fails to initialize

2008-08-22 Thread Lucas Galfaso
try { [...] } catch (Exception e) { System.exit(0); } ?? :-) -lg On Fri, Aug 22, 2008 at 3:42 PM, COHEN, STEVEN M (ATTSI) <[EMAIL PROTECTED]> wrote: > This may seem like an odd request and I'm sure it is nonstandard, but it > nonetheless something I'd like to be able to do. We have an in

Re: trim-directive-whitespaces and .tag files

2008-05-09 Thread Lucas Galfaso
Have you try converting your .tag files to .tagx files? On Fri, May 9, 2008 at 11:45 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > > OK Hassan, thanks a lot! If I could get this directive working with .tag > files I would appreciate a lot more, but if I couldn't find a way, I'll > try your sugg

Re: Bending Jasper to My Will

2008-04-21 Thread Lucas Galfaso
Ahh, just one more thing, do not even try to modify Jasper itself unless you know what you are doing; Most people experimenting with Jasper end up in nothing. - lg On Tue, Apr 22, 2008 at 1:40 AM, Lucas Galfaso <[EMAIL PROTECTED]> wrote: > Hi All, > To answer the original questi

Re: Bending Jasper to My Will

2008-04-21 Thread Lucas Galfaso
a day if you know what you have to change and what you want to achieve. Regards, Lucas Galfaso PS: This will make yous web app not 100% standard, and if you have to migrate this behavior to other web containers, it might get trickier, so be sure that you really need this. On Tue, Apr 22

Re: tag file recursivity problem

2008-01-08 Thread Lucas Galfaso
ery much for your reply. > Is this fix going to be available in the next Tomcat version? Do you > know when the next version will be released? > Thank you very much. > > Sincerely, > Jair Jr > > Lucas Galfaso escreveu: > > > Hi, > > This is a

Re: tag file recursivity problem

2008-01-06 Thread Lucas Galfaso
Hi, This is a known issue is Tomcat 6.0.14, it was reported using http://issues.apache.org/bugzilla/show_bug.cgi?id=42693 and it is fixed in the trunk. Regards, lg On Jan 6, 2008 1:50 PM, Jair da Silva Ferreira Jr <[EMAIL PROTECTED]> wrote: > Hi, > I am experiencing a problem with recursi

Re: jsp done processing!

2007-11-09 Thread Lucas Galfaso
Hi, Never do a response.getWriter().close(); A good design would not ask you to close something that you did not open, and this is one of those cases. The full response is sent when your page "releases the thread" that is working on this request. This is, if you want to do some processing and

Re: [tomcat]How to decrypt the DIGEST authentication?

2007-10-29 Thread Lucas Galfaso
Hi, Digest authentication involves multiple MD5s including the username, password, url, realm, random data... Believe me when I tell you that there is no way that you will get the password from the digest (in fact, it was designed this way so this is not feasible.) For your original question,

Re: PKCS#12 type SSL certificate support in Tomcat

2007-10-29 Thread Lucas Galfaso
t; > > clientAuth="false" protocol="TLS" > > keystoreFile="keystore/.keystore" > > keystorePass="changeit" > > keystoreType="pkcs12" /> > > > Please let me know i

Re: PKCS#12 type SSL certificate support in Tomcat

2007-10-26 Thread Lucas Galfaso
Can you post the configuration that you are using? - lg On 10/26/07, Hitesh Raghav <[EMAIL PROTECTED]> wrote: > Dear All, > > Is there any limitation to support PKCS#12 type SSL certificate in > Tomcat. > > As per Tomcat User Guide, Tomcat currently operates with JKS, PKCS11 or > PKCS12 format ke

Re: UTF8

2007-09-23 Thread Lucas Galfaso
hi, What happens if you escape every char in the XML file? This is you replace character number nnn to "&#nnn;" (quotes for clarity.) The number has to be the ISO-10646 of the character and, lucky for you, this is the case of Javas internal encoding. Regards, lg On 9/22/07, Amnon Lahav <[EMAI

Re: Subdomains/ Virtual Hosts+ Tomcat 5.5/6.0

2007-07-28 Thread Lucas Galfaso
.) I think the original question is not for this newsgroup. .) You can use domain identifiers with wildcards, like *.foo.com .) Tomcat load balancing should have no issues with this if the web app does not have an issue with it. On 7/28/07, Łukasz Łapiński <[EMAIL PROTECTED]> wrote: > Hello, > >

Re: Encoding issue: + versus %20

2007-06-07 Thread Lucas Galfaso
Mmmm.. It should read: To use "+" as a space is correct within the query, but is not correct within the path. - LG On 6/7/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lucas, > To use "+" as a space is correct within the query, but is correct

Re: Encoding issue: + versus %20

2007-06-06 Thread Lucas Galfaso
Short answer: An URL has many part, one part that is called "path" (in this case "upload/a b.jpg") and another part is called "query" (that is usually what is after the "?" in a URL) These two parts use slightly different reserved characters that may, should, or must be escaped under different ru

Re: Prevent unwanted requests

2007-05-18 Thread Lucas Galfaso
I think that a new servlet to filter these files is not the proper approach, and you should use a filter :) - LG On 5/18/07, Milanez, Marcus <[EMAIL PROTECTED]> wrote: Is it possible to prevent the request os unwatned extensions, like *.bak, *.java and so on, through web.xml file? My solution w

Re: Demonstration of Chroot when tomcat running in jail

2007-04-11 Thread Lucas Galfaso
Just create a jsp page with a text input that whatever you submit there is executed at a shell and returns the result. On 4/11/07, Jasbinder Singh Bali <[EMAIL PROTECTED]> wrote: To clarify it further, I need demonstrate someone entering the chroot jail where tomcat is running and then he can is

Re: Tomcat and OSGi

2007-02-22 Thread Lucas Galfaso
Hi, Was anybody able to embed Tomcat, and a WebApp as an OSGi plugin? I was able to embed Tomcat, but I am unable to make Tomcat find my web app using the classloader (or any form of VFS.) Regards, LG - To start a new topic, e

Re: Restarting Webapplication From Command Line

2007-02-22 Thread Lucas Galfaso
Hi, If you set the host "autoDeploy" property to "true". You can redeploy doing a touch /WEB-INF/web.xml if not, you need the client deployed. Regards, LG On 2/22/07, Bio Jazz <[EMAIL PROTECTED]> wrote: I understand how to restart the entire Tomcat service from the command line. However, I h