Re: [Resin-interest] Eclipse Plugin

2009-04-17 Thread Stargazer
Emil Ong wrote:
 Hi Aaron,

 The plugin is built on the WST/JST (Java webtools) framework, so you get
 all the goodies that come with that.  It also provides 3 different
 deployment mechanisms:

 1) .war based
 2) in place
 3) new Resin 4.0 remote deploy

 Suggestions for other features are always welcome.

   
Maven, maven maven 
 Thanks,
 Emil

 On Mon, Apr 13, 2009 at 12:20:46PM -0500, Aaron Freeman wrote:
   
 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.

 Emil

 On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
   
   
 I noticed there is an eclipse plugin in the svn tree
 (artifacts/eclipse) that has seen some recent checkins. The build
 instructions seem pretty straight forward and end with directions to
 post the update-site at http://caucho.com/eclipse. When I point the
 eclipse updates to that address there is nothing. Is this something I
 can build from source? Will it be hosted there sometime soon? Is the
 plugin in usable form?

 Oh, and what do people use for an IDE btw?

 Thanks in advance,
 Scott


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 

 Emil Ong
 Chief Evangelist
 Caucho Technology, Inc.
 Tel. (858) 456-0300
 mailto:e...@caucho.com
 http://blog.caucho.com/

 Caucho: Reliable Open Source
 -- Resin: application server
 -- Quercus: PHP in Java
 -- Java CanDI: contexts and dependency injection


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


   
   

 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 

 Emil Ong
 Chief Evangelist
 Caucho Technology, Inc.
 Tel. (858) 456-0300
 mailto:e...@caucho.com
 http://blog.caucho.com/

 Caucho: Reliable Open Source
 -- Resin: application server
 -- Quercus: PHP in Java
 -- Java CanDI: contexts and dependency injection


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
   
 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.0.238 / Virus Database: 270.11.55/2057 - Release Date: 04/13/09 
 17:56:00

   




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Eclipse Plugin

2009-04-17 Thread Levi Stanley
Exadel Studios, use to integrate so well with resin.  I think it is
great that you guys have a eclipse plugin. 

Best regards,
Levi

Stargazer wrote:
 Emil Ong wrote:
   
 Hi Aaron,

 The plugin is built on the WST/JST (Java webtools) framework, so you get
 all the goodies that come with that.  It also provides 3 different
 deployment mechanisms:

 1) .war based
 2) in place
 3) new Resin 4.0 remote deploy

 Suggestions for other features are always welcome.

   
 
 Maven, maven maven 
   
 Thanks,
 Emil

 On Mon, Apr 13, 2009 at 12:20:46PM -0500, Aaron Freeman wrote:
   
 
 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.

 Emil

 On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
   
   
 
 I noticed there is an eclipse plugin in the svn tree
 (artifacts/eclipse) that has seen some recent checkins. The build
 instructions seem pretty straight forward and end with directions to
 post the update-site at http://caucho.com/eclipse. When I point the
 eclipse updates to that address there is nothing. Is this something I
 can build from source? Will it be hosted there sometime soon? Is the
 plugin in usable form?

 Oh, and what do people use for an IDE btw?

 Thanks in advance,
 Scott


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
   
 

 Emil Ong
 Chief Evangelist
 Caucho Technology, Inc.
 Tel. (858) 456-0300
 mailto:e...@caucho.com
 http://blog.caucho.com/

 Caucho: Reliable Open Source
 -- Resin: application server
 -- Quercus: PHP in Java
 -- Java CanDI: contexts and dependency injection


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


   
   
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 
   
 

 Emil Ong
 Chief Evangelist
 Caucho Technology, Inc.
 Tel. (858) 456-0300
 mailto:e...@caucho.com
 http://blog.caucho.com/

 Caucho: Reliable Open Source
 -- Resin: application server
 -- Quercus: PHP in Java
 -- Java CanDI: contexts and dependency injection


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
   
 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.0.238 / Virus Database: 270.11.55/2057 - Release Date: 04/13/09 
 17:56:00

   
 




 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest

   

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Eclipse Plugin

2009-04-17 Thread Jeff Schnitzer
Oh no... I hate this discussion.  Let's just say that there are plenty
of people on both sides of the fence.  I have a fair amount of
experience with Maven on big complicated projects and loathe it
intensely.

This thread is worth reading, you can search for my name to see my
long-winded comment:

http://tapestryjava.blogspot.com/2007/11/maven-wont-get-fooled-again.html

I'd rather see an ant build.  For all its flaws, it's still the better
Java build tool.  I'd probably be willing to write and contribute a
buildfile if the Powers That Be are interested.

Jeff

On Fri, Apr 17, 2009 at 8:41 AM, Emil Ong e...@caucho.com wrote:
 On Fri, Apr 17, 2009 at 03:56:43PM +0100, Stargazer wrote:
 Maven, maven maven 

 Could you explain?

 Thanks,
 Emil

  Thanks,
  Emil
 
  On Mon, Apr 13, 2009 at 12:20:46PM -0500, Aaron Freeman wrote:
 
  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.
 
  Emil
 
  On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
 
 
  I noticed there is an eclipse plugin in the svn tree
  (artifacts/eclipse) that has seen some recent checkins. The build
  instructions seem pretty straight forward and end with directions to
  post the update-site at http://caucho.com/eclipse. When I point the
  eclipse updates to that address there is nothing. Is this something I
  can build from source? Will it be hosted there sometime soon? Is the
  plugin in usable form?
 
  Oh, and what do people use for an IDE btw?
 
  Thanks in advance,
  Scott
 
 
  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
  
 
  Emil Ong
  Chief Evangelist
  Caucho Technology, Inc.
  Tel. (858) 456-0300
  mailto:e...@caucho.com
  http://blog.caucho.com/
 
  Caucho: Reliable Open Source
  -- Resin: application server
  -- Quercus: PHP in Java
  -- Java CanDI: contexts and dependency injection
 
 
  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 
 
 
  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest
 
  
 
  Emil Ong
  Chief Evangelist
  Caucho Technology, Inc.
  Tel. (858) 456-0300
  mailto:e...@caucho.com
  http://blog.caucho.com/
 
  Caucho: Reliable Open Source
  -- Resin: application server
  -- Quercus: PHP in Java
  -- Java CanDI: contexts and dependency injection
 
 
  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest
 
  
 
 
  No virus found in this incoming message.
  Checked by AVG - www.avg.com
  Version: 8.0.238 / Virus Database: 270.11.55/2057 - Release Date: 04/13/09 
  17:56:00
 
 




 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 

 Emil Ong
 Chief Evangelist
 Caucho Technology, Inc.
 Tel. (858) 456-0300
 mailto:e...@caucho.com
 http://blog.caucho.com/

 Caucho: Reliable Open Source
 -- Resin: application server
 -- Quercus: PHP in Java
 -- Java CanDI: contexts and dependency injection


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Eclipse Plugin

2009-04-17 Thread Scott Hernandez
I'm confused. What does this have to do with the resin (app-server) plugin?

Doesn't the WST/Eclipse framework for web projects take care of
building (and deploying) everything?

It seems like if you want to use ant/maven/xBuildTool you can do that
outside eclipse, or use one of the existing plugins that work with
eclipse, and WST.

Oh, and I def. prefer ant, just to put my two cents in on that front.

On Fri, Apr 17, 2009 at 9:06 AM, Jeff Schnitzer j...@infohazard.org wrote:
 Oh no... I hate this discussion.  Let's just say that there are plenty
 of people on both sides of the fence.  I have a fair amount of
 experience with Maven on big complicated projects and loathe it
 intensely.

 This thread is worth reading, you can search for my name to see my
 long-winded comment:

 http://tapestryjava.blogspot.com/2007/11/maven-wont-get-fooled-again.html

 I'd rather see an ant build.  For all its flaws, it's still the better
 Java build tool.  I'd probably be willing to write and contribute a
 buildfile if the Powers That Be are interested.

 Jeff

 On Fri, Apr 17, 2009 at 8:41 AM, Emil Ong e...@caucho.com wrote:
 On Fri, Apr 17, 2009 at 03:56:43PM +0100, Stargazer wrote:
 Maven, maven maven 

 Could you explain?

 Thanks,
 Emil

  Thanks,
  Emil
 
  On Mon, Apr 13, 2009 at 12:20:46PM -0500, Aaron Freeman wrote:
 
  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.
 
  Emil
 
  On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Hernandez wrote:
 
 
  I noticed there is an eclipse plugin in the svn tree
  (artifacts/eclipse) that has seen some recent checkins. The build
  instructions seem pretty straight forward and end with directions to
  post the update-site at http://caucho.com/eclipse. When I point the
  eclipse updates to that address there is nothing. Is this something I
  can build from source? Will it be hosted there sometime soon? Is the
  plugin in usable form?
 
  Oh, and what do people use for an IDE btw?
 
  Thanks in advance,
  Scott
 
 
  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
  
 
  Emil Ong
  Chief Evangelist
  Caucho Technology, Inc.
  Tel. (858) 456-0300
  mailto:e...@caucho.com
  http://blog.caucho.com/
 
  Caucho: Reliable Open Source
  -- Resin: application server
  -- Quercus: PHP in Java
  -- Java CanDI: contexts and dependency injection
 
 
  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 
 
 
  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest
 
  
 
  Emil Ong
  Chief Evangelist
  Caucho Technology, Inc.
  Tel. (858) 456-0300
  mailto:e...@caucho.com
  http://blog.caucho.com/
 
  Caucho: Reliable Open Source
  -- Resin: application server
  -- Quercus: PHP in Java
  -- Java CanDI: contexts and dependency injection
 
 
  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest
 
  
 
 
  No virus found in this incoming message.
  Checked by AVG - www.avg.com
  Version: 8.0.238 / Virus Database: 270.11.55/2057 - Release Date: 
  04/13/09 17:56:00
 
 




 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
 

 Emil Ong
 Chief Evangelist
 Caucho Technology, Inc.
 Tel. (858) 456-0300
 mailto:e...@caucho.com
 http://blog.caucho.com/

 Caucho: Reliable Open Source
 -- Resin: application server
 -- Quercus: PHP in Java
 -- Java CanDI: contexts and dependency injection


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[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 and even forcing it like:

password-query select 'abcd' password from login where username = 
?/password-query

and cannot get it to authenticate.

So the next question is, are the passwords stored in the database 
plaintext or do they need to be encrypted?  If they need to be 
encrypted, what is the default digest for doing that?

Thanks,

Aaron


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


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 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 and even forcing it like:

 password-query select 'abcd' password from login where username = 
 ?/password-query

 and cannot get it to authenticate.

 So the next question is, are the passwords stored in the database 
 plaintext or do they need to be encrypted?  If they need to be 
 encrypted, what is the default digest for doing that?

 Thanks,

 Aaron


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


   



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[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


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

2009-04-17 Thread Ryan Vanderwerf


I'm trying this on 3.1.8 but not having any luck:

security-constraint role-name='viewer
url-pattern
include-pattern/*/include-pattern
exclude-pattern/usr/something.jsp/exclude-pattern
/url-pattern
/security-constraint


The above does not work. This works:
security-constraint url-pattern='/*' role-name='viewer'/

I've also tried variations with:
security-constraint role-name='viewer
url-pattern
include-regexpany regexp that excludes some things../include-pattern
/url-pattern
/security-constraint

or exclude-regexp. None work. Is there a way to accomplish applying a security 
contrains to everything BUT a certain page or directory? They all either don't 
authenticate at all for authenticate for everything (for me at least)

Ryan

-- 

NOTICE: This e-mail message is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information. Any unauthorized 
review, use, disclosure or distribution is prohibited. Nothing contained in 
this message or in any attachment shall constitute a contract or electronic 
signature under the Electronic Signatures in Global and National Commerce Act, 
any version of the Uniform Electronic Transactions Act or any other statute 
governing electronic transactions. 


___
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 Scott Ferguson

On Apr 17, 2009, at 2:55 PM, Ryan Vanderwerf wrote:



 I'm trying this on 3.1.8 but not having any luck:

 security-constraint role-name='viewer
 url-pattern
 include-pattern/*/include-pattern
 exclude-pattern/usr/something.jsp/exclude-pattern
 /url-pattern
 /security-constraint


 The above does not work. This works:
 security-constraint url-pattern='/*' role-name='viewer'/

 I've also tried variations with:
 security-constraint role-name='viewer
 url-pattern
 include-regexpany regexp that excludes some things../include- 
 pattern
 /url-pattern
 /security-constraint

 or exclude-regexp. None work. Is there a way to accomplish applying  
 a security contrains to everything BUT a certain page or directory?  
 They all either don't authenticate at all for authenticate for  
 everything (for me at least)

It should be working on a first-match basis.  So you can create a  
security-constraint with no requirement for the page that should  
automatically pass, and then have one matching everything else.

-- Scott



 Ryan

 -- 

 NOTICE: This e-mail message is for the sole use of the intended  
 recipient(s) and may contain confidential and privileged  
 information. Any unauthorized review, use, disclosure or  
 distribution is prohibited. Nothing contained in this message or in  
 any attachment shall constitute a contract or electronic signature  
 under the Electronic Signatures in Global and National Commerce Act,  
 any version of the Uniform Electronic Transactions Act or any other  
 statute governing electronic transactions.


 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
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 role-name='viewer
 url-pattern
 include-pattern/*/include-pattern
 exclude-pattern/usr/something.jsp/exclude-pattern
 /url-pattern
 /security-constraint


 The above does not work. This works:
 security-constraint url-pattern='/*' role-name='viewer'/

 I've also tried variations with:
 security-constraint role-name='viewer
 url-pattern
 include-regexpany regexp that excludes some things../include-pattern
 /url-pattern
 /security-constraint

 or exclude-regexp. None work. Is there a way to accomplish applying a 
 security contrains to everything BUT a certain page or directory? They all 
 either don't authenticate at all for authenticate for everything (for me at 
 least)

 Ryan

   



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest