Re: [Resin-interest] resin:import (3.1)

2009-11-29 Thread Aaron Freeman
2009/11/29 Aaron Freeman aaron.free...@layerz.com mailto:aaron.free...@layerz.com I am working with 3.1, was wondering if there is a trick to allowing recursive resin:imports? In other words I would like to resin:import a file from within another file that was already

Re: [Resin-interest] JdbcAuthenticator Cookie-Domain

2009-04-19 Thread Aaron Freeman
Well this still isn't working for me. I have tried: .[domain].com (with a preceding dot) and [domain].com (without a preceding dot) and no matter what it is still creating the cookie named: [host].[domain].com (where [host] is the virtual host I am running the app under). I can't get it to

[Resin-interest] JdbcAuthenticator

2009-04-17 Thread Aaron Freeman
I am playing with the JdbcAuthenticator on Resin 4.0 and for some reason I can not get it to authenticate properly. With the detail level set to finest, I am always getting: mismatched password:aaron where aaron is the username I am trying to authenticate. I have tried trimming the password

Re: [Resin-interest] JdbcAuthenticator

2009-04-17 Thread Aaron Freeman
Ah so I just stumbled on this and answered my own question: http://www.caucho.com/resin-3.0/security/digest.xtp By storing the digested form in the password field, it started working. Aaron I am playing with the JdbcAuthenticator on Resin 4.0 and for some reason I can not get it to

[Resin-interest] PasswordDigest methods

2009-04-17 Thread Aaron Freeman
Is there any reason why the getPasswordDigest( .. ) methods in PasswordDigest can't be static? Aaron ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest

Re: [Resin-interest] Fwd: regexp and security-contraints?

2009-04-17 Thread Aaron Freeman
Should I assume the missing apostrophe in the example that doesn't work is actually there in your test case? security-constraint role-name='viewer should be security-constraint role-name='viewer' Aaron I'm trying this on 3.1.8 but not having any luck: security-constraint

Re: [Resin-interest] Eclipse Plugin

2009-04-13 Thread Aaron Freeman
I use Eclipse and run Resin within it's framework but do not use a plug-in. I just set it up as a Run Configuration doing these steps: 1) Run -- Run Configuration 2) Create a new Java Application On the new configurations screen I do: 1) Main (tab) Main class: com.caucho.server.resin.Resin

Re: [Resin-interest] Eclipse Plugin

2009-04-13 Thread Aaron Freeman
Emil, What does the plug-in provide to us that setting up as a general application doesn't? I haven't tried the plug-in so I am not aware of what it does? Thanks, Aaron Hi Scott, The Eclipse update site isn't up just yet, but will be with the new release, due out this week or early next.

Re: [Resin-interest] 4.0 error

2009-03-24 Thread Aaron Freeman
, the latest version isn't working for me either, but it's a different error from what you're seeing and I haven't had time to investigate it enough to file a bug or fix whatever might be wrong in our code. Rob On Mar 21, 2009, at 8:53 AM, Aaron Freeman wrote: This seems to be broken

Re: [Resin-interest] Remote programmatic authentication

2009-03-20 Thread Aaron Freeman
What's the best way to lobby them? I love the new IoC stuff. -Aaron On Mar 19, 2009, at 2:08 PM, Jeff Schnitzer wrote: First of all, I'd just like to say wow, I'm happy to re-discover Resin - I recall using it briefly in 2002 and I'm impressed with what you've been doing since. It's a

Re: [Resin-interest] Remote programmatic authentication

2009-03-19 Thread Aaron Freeman
#2 is still a mystery to me. I'm in a servlet, how do I programmatically tell the container to log me in with a username and password? This page has a good overview of how to do it: http://www.informit.com/articles/article.aspx?p=24253seqNum=7 So you set up your security constraints in

Re: [Resin-interest] Remote programmatic authentication

2009-03-19 Thread Aaron Freeman
, Jeff On Thu, Mar 19, 2009 at 7:38 PM, Aaron Freeman aaron.free...@layerz.com wrote: #2 is still a mystery to me. I'm in a servlet, how do I programmatically tell the container to log me in with a username and password? This page has a good overview of how to do it: http

Re: [Resin-interest] Can't start resin on port 80, but 8080 okay (as root)

2009-03-18 Thread Aaron Freeman
On many UNIX systems only the root user can bind to ports below 1024, with out some tricks. That's probably your situation since it works fine on port 8080 but not port 80. If you comment out the user-name section and run it as root, it works fine on port 80? Aaron Rick Mann wrote:

Re: [Resin-interest] mod_caucho failure on CentOS 5.2/Apache 2.2

2009-03-13 Thread Aaron Freeman
Interesting. FWIW, I am using Resin for about 10 web-apps on a single machine, where each web-app has different criteria for logging, virtual hosts, rewriting etc. I know a couple of the posters pointed out that that was a good reason to use Apache as a front-end, but I haven't found it

[Resin-interest] Why Apache?

2009-03-10 Thread Aaron Freeman
After watching a few of these threads about people using mod_caucho with Apache, it dawned on me to ask an open-ended question: Why use Apache at all? I am sure there are good reasons for it out there, so I am just curious what the use-case is for using Apache plus Resin instead of using

Re: [Resin-interest] Resin won't start with JSSE enabled

2009-03-04 Thread Aaron Freeman
Perhaps the key-store-file gets read by a different class at startup than it does at runtime. Have you tried using an absolute path in the key-store-file? I use JSSE and only have the three nodes you show below. Aaron From: resin-interest-boun...@caucho.com

Re: [Resin-interest] j_uri sanitising

2009-02-16 Thread Aaron Freeman
Richard, This is a guess on my part, but perhaps you want a Custom Security Constraint. This page shows an example of setting up constraints: http://my-messages.setar.aw/ref/security.xtp So here is a tact you might try .. I didn't try to compile this so it's probably loaded with errors:

Re: [Resin-interest] upload limit

2009-02-11 Thread Aaron Freeman
. I beleive that if I call getSession() this breaks the flow and the uploaded file is already processed. So how do you suggest to handle the administrator status (I do not use HTTP AUTH because the administrator backoffice is in flex) ? Thanks. Aaron Freeman wrote: No it should be per

Re: [Resin-interest] upload limit

2009-02-10 Thread Aaron Freeman
Hi For one of my project I have to set multipart-form enable='true' upload-max='300M'/ I guess this is a security problem, and I would rather let it to 100K except for the application administrator session where I would set dynamically to 300M. Riccardo are you using a JSP to process the

Re: [Resin-interest] upload limit

2009-02-10 Thread Aaron Freeman
of the application. Aaron Freeman wrote: Hi For one of my project I have to set multipart-form enable='true' upload-max='300M'/ I guess this is a security problem, and I would rather let it to 100K except for the application administrator session where I would set dynamically

[Resin-interest] Annotations in the Comet demo

2009-02-10 Thread Aaron Freeman
I have a question about the one of the annotations in the Comet demo at: http://www.caucho.com/resin-3.1/examples/servlet-comet/comet I am not too familiar with Java's annotations, so I am wondering how I can get access to the _timerService, which is declared like: @In private TimerService

Re: [Resin-interest] Question about the Comet demo

2009-02-09 Thread Aaron Freeman
, at 1:32 PM, Aaron Freeman wrote: I know these are simpleton questions but I gotta ask 'em. ;) In the Comet demo on: http://www.caucho.com/resin-3.1/examples/servlet-comet/ , the IFRAME is referencing SRC=comet. I looked in the example resin.conf and web-beans.xml but I don't see how

Re: [Resin-interest] Question about the Comet demo

2009-02-09 Thread Aaron Freeman
(ThreadPool.java:759) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:681) at java.lang.Thread.run(Thread.java:619) -Original Message- From: resin-interest-boun...@caucho.com [mailto:resin-interest- boun...@caucho.com] On Behalf Of Aaron Freeman Sent: Monday

Re: [Resin-interest] Question about the Comet demo

2009-02-09 Thread Aaron Freeman
[mailto:resin-interest- boun...@caucho.com] On Behalf Of Scott Ferguson Sent: Monday, February 09, 2009 5:02 PM To: General Discussion for the Resin application server Subject: Re: [Resin-interest] Question about the Comet demo On Feb 9, 2009, at 2:43 PM, Aaron Freeman wrote: Ok I

[Resin-interest] Resin 3.0/3.2 Inconsistency

2009-02-06 Thread Aaron Freeman
Under Resin-3.0.x the following code works whether I pass in a 'email' param or not. However on Resin 3.2.1, which I just installed .. It throws an exception if an 'email' param wasn't passed in. However it works great if I do pass an email param in. Any thoughts? c:set var=email

[Resin-interest] Question about the Comet demo

2009-02-04 Thread Aaron Freeman
I know these are simpleton questions but I gotta ask 'em. ;) In the Comet demo on: http://www.caucho.com/resin-3.1/examples/servlet-comet/ , the IFRAME is referencing SRC=comet. I looked in the example resin.conf and web-beans.xml but I don't see how and/or what that comet call is mapping to?

Re: [Resin-interest] Websphere?

2008-06-27 Thread Aaron Freeman
Hahaha, I am still laughing at that. By the same logic, his company should swap out all servers and personal computers to OS/2 as well. Seriously though Haluk, give us some specific points other than database connectivity that would lead you to consider switching so we have something to

Re: [Resin-interest] Input Sanitization

2008-06-22 Thread Aaron Freeman
of black-listing when deciding what HTML tags are allowed for users to input. Cheers, Kai 2008/6/19 Aaron Freeman [EMAIL PROTECTED]: Is there an easy way to sanitize input such that a user cannot inject javascript via user input fields, or does sanitation have to occur within each

Re: [Resin-interest] Multipart Upload

2008-05-23 Thread Aaron Freeman
Ahhh, I tried a hold laundry list of stuff and finally guessed it: ${param['file.filename']} That dumps the original filename. -a -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Freeman Sent: Friday, May 23, 2008 10:23 AM To: 'General

[Resin-interest] Calling a JSP on Start Up (like load-on-startup)

2007-11-21 Thread Aaron Freeman
Is there any way to have Resin call a JSP when it first fires up, similar to how you can call a servlet: I saw somebody doing this with Resin 2.x, but it doesn't do anything for Resin 3.0.22: servlet servlet-namelogin_jsp_sname/servlet-name jsp-file/login.jsp/jsp-file

Re: [Resin-interest] Calling a JSP on Start Up (likeload-on-startup)

2007-11-21 Thread Aaron Freeman
) what are you trying to do? I would think you would be coding startup type processes in a ServletContextListener not in Servlet's or JSP's Aaron Freeman wrote: Is there any way to have Resin call a JSP when it first fires up, similar to how you can call a servlet: I saw somebody

Re: [Resin-interest] XML View Question

2007-05-10 Thread Aaron Freeman
: c:out value=Hello/ c:out value=World/ will output: HelloWorld instead of: Hello World Bill On 5/8/07, Scott Ferguson [EMAIL PROTECTED] wrote: On May 8, 2007, at 9:51 AM, Aaron Freeman wrote: Can anybody provide me with any links/hints on this? JSP 2.1 has

Re: [Resin-interest] XML View Question

2007-05-08 Thread Aaron Freeman
Can anybody provide me with any links/hints on this? Thanks, Aaron -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Freeman Sent: Thursday, May 03, 2007 10:59 AM To: resin-interest@caucho.com Subject: [Resin-interest] XML View Question

[Resin-interest] XML View Question

2007-05-03 Thread Aaron Freeman
We have a controller JSP that looks like this: Begin Controller %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % %@ taglib uri=http://java.sun.com/jsp/jstl/functions; prefix=fn % c:catch var=exception ... do some logic /c:catch c:choose c:when

<    1   2