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
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
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
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
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
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
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
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.
, 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
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
#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
,
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
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:
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
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
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
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:
. 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
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
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
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
, 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
(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
[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
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
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?
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
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
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
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
)
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
:
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
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
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
101 - 134 of 134 matches
Mail list logo