[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

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

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

[Resin-interest] Content-Length

2007-08-10 Thread Aaron Freeman
larger files? Thanks, Aaron Freeman ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest

Re: [Resin-interest] Content-Length

2007-08-13 Thread Aaron Freeman
I really, really don't want to do). Thanks, Aaron Freeman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serge Knystautas Sent: Friday, August 10, 2007 10:16 AM To: General Discussion for the Resin application server Subject: Re: [Resin-interest

Re: [Resin-interest] Content-Length

2007-08-13 Thread Aaron Freeman
Aaron Freeman wrote: I see from your link that Sun uses an int, but couldn't that be arbitrary? I can't speak to whether the expert committee's decision was arbitrary or not. :) But once they've made a decision, it is a rule that must be implemented. :) I don't believe Jakarta

Re: [Resin-interest] Content-Length

2007-08-13 Thread Aaron Freeman
that would get me by this and I am overlooking it? Aaron Freeman ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest

Re: [Resin-interest] Content-Length

2007-08-13 Thread Aaron Freeman
? However, you could also use chunked-encoding for your uploads (assuming you have control over your client). That would avoid the 32- bit issue entirely. Let me check with the developer of the client and see what this entails. Thanks, Aaron Freeman

[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

[Resin-interest] Multipart Upload

2008-05-22 Thread Aaron Freeman
From the example in the Resin documentation I see how to get the name of the temporary file that was created. But I cannot find on Google any examples on how to reference the original file's name, or content-type. Can someone give me a clue how to get that piece of data? To be clear, in this

Re: [Resin-interest] Multipart Upload

2008-05-23 Thread Aaron Freeman
, -a -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Freeman Sent: Thursday, May 22, 2008 3:53 PM To: resin-interest@caucho.com Subject: [Resin-interest] Multipart Upload From the example in the Resin documentation I see how to get the name

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] Input Sanitization

2008-06-19 Thread Aaron Freeman
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 individual JSP that accepts user input? This could be done either on the input side or on the output side I suppose. Does anyone have experience

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] 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

[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?

[Resin-interest] (no subject)

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] 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

Re: [Resin-interest] Resin 3.0/3.2 Inconsistency

2009-02-06 Thread Aaron Freeman
, 2009 3:32 PM To: General Discussion for the Resin application server Subject: Re: [Resin-interest] Resin 3.0/3.2 Inconsistency On Feb 6, 2009, at 1:21 PM, Aaron Freeman wrote: 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

Re: [Resin-interest] Resin 3.0/3.2 Inconsistency

2009-02-09 Thread Aaron Freeman
, 2009, at 1:21 PM, Aaron Freeman wrote: 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

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

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

[Resin-interest] Context and Dependency Injection

2009-02-11 Thread Aaron Freeman
Scott, I have finally caught up with understanding where you are going with the new Resin IoC -- I am excited to use it. I'd like to do some of the things on this doc: http://www.caucho.com/resin/doc/resin-ioc.xtp but I don't see where to download a release-candidate for the JSR-299 stuff? I

Re: [Resin-interest] Context and Dependency Injection

2009-02-11 Thread Aaron Freeman
application server Subject: Re: [Resin-interest] Context and Dependency Injection On Feb 11, 2009, at 8:38 AM, Aaron Freeman wrote: Scott, I have finally caught up with understanding where you are going with the new Resin IoC -- I am excited to use it. I'd like to do some of the things

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] 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] Resin 3.1.8 Recompile with -Xlint:unchecked for details

2009-02-16 Thread Aaron Freeman
If your resin.xml is using the javac tag, does this work? javac compiler=eclipse args=-Xlint:unchecked/ - Aaron -Original Message- From: resin-interest-boun...@caucho.com [mailto:resin-interest- boun...@caucho.com] On Behalf Of Rafael Escolar | Bookassist Sent: Monday, February 16,

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

[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] 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

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 filter mapping issue

2009-03-19 Thread Aaron Freeman
Can you give some concrete examples of what mappings you want to achieve with the rewrite? Is the scenario like this? 1) You have a bunch of old servlets defined like: servlet-mapping url-pattern=/servlet/a servlet-class=com.a.AServlet / servlet-mapping url-pattern=/servlet/b

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] 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

[Resin-interest] 4.0 error

2009-03-21 Thread Aaron Freeman
This seems to be broken in 4.0.S090211. I have attached two JSPs that when run throw the following error. [show] javascript:show(); java.lang.IllegalAccessException: Class javax.el.BeanELResolver can not access a member of class com.caucho.server.webapp.DispatchRequest with modifiers

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] 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.

[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] PasswordDigest methods

2009-04-17 Thread Aaron Freeman
Also, for what it's worth if you add setUsername( .. ) and setPassword( .. ) methods then you could use this class with pure JSTL, which would be convenient: Something like: jsp:useBean id=pwDigest class=com.caucho.server.security.PasswordDigest jsp:setProperty name=passwordDigest

[Resin-interest] JdbcAuthenticator Cookie-Domain

2009-04-17 Thread Aaron Freeman
Should the cookie-domain setting on the JdbcAuthenticator from this page: http://wiki.caucho.com/JdbcAuthenticator work on Resin 4.0, or is that old documentation? I am setting it inside the init tag, but it doesn't seem to be working. I will keep trying other iterations. Aaron

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] 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] Resin-4.0 and multipart upload

2009-04-28 Thread Aaron Freeman
I am using the latest snapshot of Resin-4.0 (4.0.s090425) and I am unable to obtain a file's original filename when I submit an upload. I can read and save the file okay using ${param.file}, but ${param[file.filename]} is always empty. I have tried lots of other iterations to see if I can

Re: [Resin-interest] Resin-4.0 and multipart upload

2009-04-28 Thread Aaron Freeman
Bah, while I tried many iterations, I didn't try enough. This works: ${param['file.filename']} I was missing the apostrophes. Aaron I am using the latest snapshot of Resin-4.0 (4.0.s090425) and I am unable to obtain a file's original filename when I submit an upload. I can read and save

[Resin-interest] resin:import (3.1)

2009-11-29 Thread Aaron Freeman
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 resin:imported. Thanks, Aaron ___ resin-interest mailing

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

[Resin-interest] Resin 3.1: resin:import of jvm-args

2009-11-30 Thread Aaron Freeman
I have a situation where different servers should have different jvm-args, but I would like to have a single resin.xml. I tried doing a resin:import on a jvm.xml file that has just jvm-args in it, but I haven't found a combination that works. I have tried surrounding the jvm-arg tags like

Re: [Resin-interest] Resin 3.1: resin:import of jvm-args

2009-11-30 Thread Aaron Freeman
I have a situation where different servers should have different jvm-args, but I would like to have a single resin.xml. You should be able to achieve this by using jvm-arg inside the server server id=a address=127.0.0.1 port=6800 jvm-arg-Dserver=A/jvm-arg /server server id=b

Re: [Resin-interest] Resin 3.1: resin:import of jvm-args

2009-11-30 Thread Aaron Freeman
You should be able to achieve this by using jvm-arg inside the server server id=a address=127.0.0.1 port=6800 jvm-arg-Dserver=A/jvm-arg /server server id=b address=127.0.0.1 port=6801 jvm-arg-Dserver=B/jvm-arg /server Regards, Alex Hmm, that's exactly what I tried first,

Re: [Resin-interest] Resin 3.1: resin:import of jvm-args

2009-11-30 Thread Aaron Freeman
The excerpt below should work and it will allow you to have all the configuration in one file. server id=a address=127.0.0.1 port=6800 jvm-arg-Dserver=A/jvm-arg /server server id=b address=127.0.0.1 port=6801 jvm-arg-Dserver=B/jvm-arg /server Thanks Alex. My problem

Re: [Resin-interest] Resin 3.1: resin:import of jvm-args

2009-11-30 Thread Aaron Freeman
Aaron, Maybe I am missing something, but if you can pass in -Dconfiguration=wherever to your individual machines (in your /etc/init.d/resin script or wherever, I assume?), can't you pass in your server specific JVM args there too? Rachel Probably. The configuration is passed in via

Re: [Resin-interest] Resin 3.1: resin:import of jvm-args

2009-12-01 Thread Aaron Freeman
Alex wrote: I've got this, which is a slightly different but equivalent technique that doesn't require the jvm-arg tag (applicable bits only, my startup script does other things too): Just for the benefit of understanding the use case: is this to support n environments that are

[Resin-interest] Resin 3.0.x and PCI Compliance

2009-12-29 Thread Aaron Freeman
I am a bit baffled. For PCI compliance we must restrict weak ciphers, but I see no mechanism to do that with JSSE, which we have been using for years. It appears we can do this with openssl on Resin 3.0.x Is that correct? Does that mean I need to purchase a new certificate or can we easily

Re: [Resin-interest] Resin 3.0.x and PCI Compliance

2009-12-30 Thread Aaron Freeman
format. -Knut On Tue, Dec 29, 2009 at 05:49, Aaron Freeman aaron.free...@layerz.com mailto:aaron.free...@layerz.com wrote: I am a bit baffled. For PCI compliance we must restrict weak ciphers, but I see no mechanism to do that with JSSE, which we have been using for years

[Resin-interest] Classpath Question

2010-03-19 Thread Aaron Freeman
Resin version: resin-pro-3.1.9 I am trying to convert my resin-pro-3.0.23 startup scripts and resin.conf file to work with resin-pro-3.1.9. It's close, but there is a small error. I am trying to build a start script similar to: $RESIN_HOME/bin/httpd.sh -verbose \ -J-server \ -J-Xmx$JAVA_MX \

Re: [Resin-interest] Classpath Question

2010-03-19 Thread Aaron Freeman
, you can also add all those Java args in the resin.xml file (I think you can in 3.1, too, but I don't know for sure). On Mar 19, 2010, at 07:48:27, Aaron Freeman wrote: Resin version: resin-pro-3.1.9 I am trying to convert my resin-pro-3.0.23 startup scripts and resin.conf file to work

Re: [Resin-interest] Classpath Question

2010-03-19 Thread Aaron Freeman
Bah the entire start mechanism is quite different from 3.0.x to 3.1.x. I didn't realize that and was continuing to use my 3.0.x start script which calls ${resin.home}/bin/httpd.sh. I am now going to swap that call out to a direct call to java. Aaron On 3/19/2010 4:22 PM, Aaron Freeman

Re: [Resin-interest] Classpath Question

2010-03-19 Thread Aaron Freeman
It's working now. For completeness and to help others moving from 3.0.x to 3.1.x or 4.0.x you should change your startup script from this style (which relies on a wrapper.pl): $RESIN_HOME/bin/httpd.sh -verbose \ -J-server \ -J-Xmx$JAVA_MX \ -J-Xms$JAVA_MS \ -J-verbose:gc \

Re: [Resin-interest] Conditionalizing rewrite rules based on file/directory?

2010-03-22 Thread Aaron Freeman
On this link there is resin:IfFileExists tag, but I am thinking what you want to do is more simple than that, if you want to elaborate: http://caucho.com/resin-4.0/admin/http-rewrite.xtp Aaron On 3/21/2010 3:03 PM, Rick Mann wrote: With my WordPress installation, I need to redirect some

Re: [Resin-interest] Classpath Question

2010-03-22 Thread Aaron Freeman
19, 2010 at 5:53 PM, Aaron Freeman aaron.free...@layerz.com mailto:aaron.free...@layerz.com wrote: It's working now. For completeness and to help others moving from 3.0.x to 3.1.x or 4.0.x you should change your startup script from this style (which relies on a wrapper.pl

[Resin-interest] Bug in Resin 4.0.x (and 3.1.x)?

2010-03-22 Thread Aaron Freeman
This page says that I can obfuscate a password in the resin.xml file, but doesn't appear to work. It works in 3.0.23, but stopped working in 3.1.x and 4.0.x. We use this feature, not to protect the password on the server, but to make sure it isn't accidentally transmitted in clear-text by

[Resin-interest] Resin 4.0.5 production/stable?

2010-03-22 Thread Aaron Freeman
I just noticed that resin-pro-3.1.10 no longer says latest stable, or whatever it used to say. Is 4.0.5 now considered stable and production ready? Aaron ___ resin-interest mailing list resin-interest@caucho.com

Re: [Resin-interest] Bug in Resin 4.0.x (and 3.1.x)?

2010-03-22 Thread Aaron Freeman
On 3/22/2010 1:11 PM, Scott Ferguson wrote: Aaron Freeman wrote: This page says that I can obfuscate a password in the resin.xml file, but doesn't appear to work. It works in 3.0.23, but stopped working in 3.1.x and 4.0.x. We use this feature, not to protect the password

Re: [Resin-interest] Resin 4.0.5 production/stable?

2010-03-22 Thread Aaron Freeman
doing something wrong, but it seems flaky, at best. On Mar 22, 2010, at 11:59:33, Aaron Freeman wrote: I just noticed that resin-pro-3.1.10 no longer says latest stable, or whatever it used to say. Is 4.0.5 now considered stable and production ready? Aaron

Re: [Resin-interest] Bug in Resin 4.0.x (and 3.1.x)?

2010-03-22 Thread Aaron Freeman
On 3/22/2010 2:29 PM, Scott Ferguson wrote: Aaron Freeman wrote: Ok, so I thought what you were saying is that this: password xmlns:encryption=urn:java:com.encryption encryption:Passwordabcdefg/encryption:password /password is a drop-in replacement for this: password resin:type

Re: [Resin-interest] Bug in Resin 4.0.x (and 3.1.x)?

2010-03-22 Thread Aaron Freeman
On 3/22/2010 3:44 PM, Scott Ferguson wrote: Aaron Freeman wrote: Ok, here is the full http block I am using, in case its out of date for some reason (I am using the block directly from our working 3.0.23 implementation verbatim, with your recommended tweak): http address=* port=443

Re: [Resin-interest] CanDI unable to inject @Stateless

2010-03-23 Thread Aaron Freeman
Can you show your resin-web.xml? The first thing that leaps out at me (and may be okay, but looks odd) is: com.caucho.config.ConfigException: *foo.HelloServlet.personService*: javax.enterprise.inject.UnsatisfiedResolutionException: Can't find a bean for 'interface *foo.PersonService*'.

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-23 Thread Aaron Freeman
Rick, Out of curiosity did you trying running a vanilla version of 4.0.5 without compiling (using Java sockets instead of the native sockets)? I am curious if you still have the issue with it uncompiled. Aaron On 3/23/2010 2:15 PM, Rick Mann wrote: On Mar 23, 2010, at 12:10:35, Scott

Re: [Resin-interest] New 4.0.5 install constantly dropping connections on unloaded server

2010-03-23 Thread Aaron Freeman
late tonight I'll try installing it fresh. What's the right way to invoke it? Just not run make/make install? On Mar 23, 2010, at 13:46:43, Aaron Freeman wrote: Rick, Out of curiosity did you trying running a vanilla version of 4.0.5 without compiling (using Java sockets instead

[Resin-interest] Resin-Pro-4.0.5 Admin

2010-03-24 Thread Aaron Freeman
Since we are upgrading from pro-3.0.23 to pro-4.0.5, we thought we would take advantage of the resin-admin stuff. However the docs aren't clear on how that's supposed to happen. This page says nothing about what to install: http://caucho.com/resin-4.0/admin/resin-admin.xtp And this page

Re: [Resin-interest] Resin-Pro-4.0.5 Admin

2010-03-24 Thread Aaron Freeman
On 3/24/2010 1:15 PM, Rick Mann wrote: On Mar 24, 2010, at 09:07:07, Aaron Freeman wrote: Since we are upgrading from pro-3.0.23 to pro-4.0.5, we thought we would take advantage of the resin-admin stuff. However the docs aren't clear on how that's supposed to happen. This page says

Re: [Resin-interest] Resin-Pro-4.0.5 Admin

2010-03-24 Thread Aaron Freeman
that we have had to add on top of resin is now part of it. Bill On Wed, Mar 24, 2010 at 2:15 PM, Rick Mann rm...@latencyzero.com mailto:rm...@latencyzero.com wrote: On Mar 24, 2010, at 09:07:07, Aaron Freeman wrote: Since we are upgrading from pro-3.0.23 to pro-4.0.5, we thought we

[Resin-interest] Resin 4.0.5 Buffer Commit Point

2010-03-25 Thread Aaron Freeman
We take some fairly lengthy queries (lengthy row based on row count), and push the data into hashmaps in JSTL pages. After that sometimes we evaluate the hashmap and sometimes have to redirect the request to another page. In 3.0.23 it works with no problems. In 4.0.5 we get

Re: [Resin-interest] Resin 4.0.5 Buffer Commit Point

2010-03-25 Thread Aaron Freeman
: This is why you don't put application logic into the view layer. Before you 'push' your data into the view, figure out if you want to do the redirect or not. jon On Thu, Mar 25, 2010 at 7:49 AM, Aaron Freeman aaron.free...@layerz.com mailto:aaron.free...@layerz.com wrote: We take some

Re: [Resin-interest] Resin 4.0.5 Buffer Commit Point

2010-03-25 Thread Aaron Freeman
to change that dependency because you can (and should) be doing it differently. jon On Thu, Mar 25, 2010 at 8:18 AM, Aaron Freeman aaron.free...@layerz.com mailto:aaron.free...@layerz.com wrote: It's not in the view layer. We segregate our controller JSPs from our view JSPs. So you

[Resin-interest] Resin-pro-4.0.5: JSSE + cipher-suites

2010-03-25 Thread Aaron Freeman
Is there any documentation for using the cipher-suites tag? Instead of explicitly listing ciphers we do want, is there a way to list cipher-suites you want to exclude? Google isn't helping me find such an animal, so I am guess that it's not possible? Thanks, Aaron

Re: [Resin-interest] Resin-pro-4.0.5: JSSE + cipher-suites

2010-03-25 Thread Aaron Freeman
, Emil On Thu, Mar 25, 2010 at 02:34:33PM -0500, Aaron Freeman wrote: Is there any documentation for using the cipher-suites tag? Instead of explicitly listing ciphers we do want, is there a way to list cipher-suites you want to exclude? Google isn't helping me find such an animal, so I

[Resin-interest] Resin-4.0.5 Watchdog on Shutdown

2010-03-30 Thread Aaron Freeman
When we try to stop the resin-4.0.5 processes using: $JAVA_HOME/bin/java \ -server \ -Djava.util.logging.manager=com.caucho.log.LogManagerImpl \ -Djava.security.egd=/dev/urandom \ -Dhost=${SERVER} \ -Dresin.home=${RESIN_HOME} \ -jar ${RESIN_HOME}/lib/resin.jar \ -conf

Re: [Resin-interest] Resin-4.0.5 Watchdog on Shutdown

2010-03-30 Thread Aaron Freeman
of updating the documentation this week to reflect the change. Thanks, Emil On Tue, Mar 30, 2010 at 11:01:23AM -0500, Aaron Freeman wrote: When we try to stop the resin-4.0.5 processes using: $JAVA_HOME/bin/java \ -server \ -Djava.util.logging.manager=com.caucho.log.LogManagerImpl

[Resin-interest] jsp:param behavior change from 3.0.22 to 4.0.5

2010-03-31 Thread Aaron Freeman
We are experiencing a fundamental change in how data is being passed as a jsp:param between 3.0.22 and 4.0.5. We need to know if this change is intentional as it has a work-heavy impact on converting our code base over which currently relies on the behavior of 3.0.x. It appears that a call to

Re: [Resin-interest] jsp:param behavior change from 3.0.22 to 4.0.5

2010-03-31 Thread Aaron Freeman
Oh, you will have to swap out the httputil with whatever you use to URLEncode strings in order to test it. Thanks, Aaron On 3/31/2010 2:46 PM, Aaron Freeman wrote: We are experiencing a fundamental change in how data is being passed as a jsp:param between 3.0.22 and 4.0.5. We need to know

Re: [Resin-interest] jsp:param behavior change from 3.0.22 to 4.0.5

2010-03-31 Thread Aaron Freeman
Ok, thanks, we will hold off on pushing forward on upgrading until we get some idea as to whether this is an issue or not. Aaron On 3/31/2010 2:53 PM, Scott Ferguson wrote: Aaron Freeman wrote: We are experiencing a fundamental change in how data is being passed as a jsp:param between

Re: [Resin-interest] Resin Pro 4.0.5 serving pages intermittently.

2010-04-09 Thread Aaron Freeman
Scott, Does that snapshot address the encoding issue with jsp:param? Thanks, Aaron On 4/9/2010 11:23 AM, Scott Ferguson wrote: Rob Lockstone wrote: This is Resin Pro 4.0.5 running on a non-busy OS X machine. When I perform curl -I requests (which just retrieves the header

Re: [Resin-interest] Resin Pro 4.0.5 serving pages intermittently.

2010-04-12 Thread Aaron Freeman
On 4/9/2010 7:10 PM, Scott Ferguson wrote: Aaron Freeman wrote: Scott, Does that snapshot address the encoding issue with jsp:param? Yes it does. -- Scott Thanks, Aaron On 4/9/2010 11:23 AM, Scott Ferguson wrote: Rob Lockstone wrote: This is Resin

Re: [Resin-interest] Caching issue? with resin pro 3.1.9

2010-04-14 Thread Aaron Freeman
Marco, If you are repeating that pattern every time, it sounds more like your _brower's_ cache being the culprit. Instead of calling: http://my-server.com/newfolder/ with an empty folder, place the index.html in there and _then_ call it so your browser doesn't cache up the 404 not found

Re: [Resin-interest] Caching issue? with resin pro 3.1.9

2010-04-16 Thread Aaron Freeman
Well I don't know the internals of Resin, so I cannot comment on the reason, but I can think of a potential work-around: Assuming you can call http://.../folder/index.html and it works, but they are distributing http://.../folder/ Add this to your web-app section of your resin.xml:

Re: [Resin-interest] Question about Resin 4.0.6

2010-05-07 Thread Aaron Freeman
only put implementations of interfaces into the context. Otherwise, I'd consider putting a Map in there for the effect you want. jon On Fri, May 7, 2010 at 1:43 PM, Aaron Freeman aaron.free...@layerz.com mailto:aaron.free...@layerz.com wrote: Bummer, what's the proper way to test

Re: [Resin-interest] Question about Resin 4.0.6

2010-05-07 Thread Aaron Freeman
Yes, that's exactly right. In several instances we have many controllers that are written in JSP (pure JSTL code), that c:import our models (also in this case JSPs) and also c:import our views. Works great! The upside to it is: a) easier to code -- people with limited Java expertise can

Re: [Resin-interest] Question about Resin 4.0.6

2010-05-07 Thread Aaron Freeman
On 5/7/2010 5:39 PM, Jeff Schnitzer wrote: I doublechecked the spec and the current Resin behavior is the proper behavior. I don't think this behavior has changed in the spec, so the old behavior was a bug. You can't use the empty operator to test for the existence of fields (or methods).

Re: [Resin-interest] Bug in Resin 4.0.x (and 3.1.x)?

2010-05-17 Thread Aaron Freeman
: /password Thanks, Aaron On 3/22/2010 6:09 PM, Scott Ferguson wrote: Aaron Freeman wrote: O Man, I don't see how I am blowing it then. Does this look right: password xmlns:encryption=urn:java:[full package, not including the class] encryption:[class name]abcdefg/encryption:[class name

Re: [Resin-interest] Bug in Resin 4.0.x (and 3.1.x)?

2010-05-17 Thread Aaron Freeman
, Aaron Freeman wrote: Scott, Still struggling with the issue where we cannot encrypt passwords in our resin.xml file. As you have indicated, there is now a better clue: C:\opt\. . .\conf\admin.xml:41: unable to create attribute SetterAttribute[public void

  1   2   >