Sounds reasonable to me....could you log it in JIRA?

Cheers,
Freddy
http://www.stripesbook.com

On Thu, 30 Oct 2008 09:19:06 -0600, "Matthew Altman"
<[EMAIL PROTECTED]> said:
> Yes, I did recommend InterAdvantage.
> The problem you're seeing isn't specific to them, though. It has to do
> with
> any host that enables security, which is just about everyone in a shared
> JVM
> environment.
> I'm still on Stripes 1.4.3, so I don't know if 1.5 has changed this at
> all,
> but what I ended up doing is actually modifying the source of the
> net.sourceforge.stripes.config.BootstrapPropertyResolver and the
> net.sourceforge.stripes.util.ResolverUtil classes to simply catch those
> exceptions.
> Those two classes try to access lots of properties that could be secure
> but
> never catch those exceptions and handle them nicely.
> I mentioned this on the forums a long time ago, but I never created a
> JIRA
> defect for it.
> 
> Just keep in mind that Stripes will have this issue on any shared JVM
> host.
> You could always pay more for a dedicated JVM and configure
> accordingly...but like me, that would probably be overkill and I'm also a
> penny-pincher. :)
> 
> If you want, I can email you my versions of the 1.4.3 of those files...?
> 
> -Matthew
> 
> 
> On Thu, Oct 30, 2008 at 5:13 AM, Levi Hoogenberg
> <[EMAIL PROTECTED]>wrote:
> 
> > To work around this, you could configure your own configuration (see
> > http://stripesframework.org/display/stripes/Configuration+Reference on how
> > to do this) - if you extend from RuntimeConfiguration, all you have to do is
> > invoke setBootstrapPropertyResolver with a custom bootstrap property
> > resolver (for which you've overridden the getProperty method).
> >
> >   Levi
> >
> >
> > On Thu, Oct 30, 2008 at 11:48 AM, dbrownell83 <[EMAIL PROTECTED]>wrote:
> >
> >>
> >> Hi all,
> >>
> >> I recently gave up on hosting my Stripes app at godaddy.com, and am
> >> trying
> >> interAdvantage.com, after a recommendation on the stripes forum in my
> >> 'Stripes in a shared VM' post.
> >>
> >> The main advantage of this host is that it actually logs my errors.
> >>
> >> I looked on the forum, and my question is the same as a previous post that
> >> was unresolved.
> >>
> >> There seems to be a problem that stripes wants to check the system
> >> properties, and this is not allowed by the shared VM computer.  Is there
> >> any
> >> way around this?
> >>
> >> (And if there isnt, why did Matthew recommend this hosting company?, or
> >> what
> >> is different about his/your setup?)
> >>
> >> Thanks,
> >> Daniel B.
> >>
> >>
> >> Caused by: java.security.AccessControlException: access denied
> >> (java.util.PropertyPermission ActionResolver.PackageFilters read)
> >>        at
> >>
> >> java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
> >>        at
> >> java.security.AccessController.checkPermission(AccessController.java:546)
> >>        at
> >> java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> >>        at
> >> java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
> >>        at java.lang.System.getProperty(System.java:652)
> >>        at
> >>
> >> net.sourceforge.stripes.config.BootstrapPropertyResolver.getProperty(BootstrapPropertyResolver.java:68)
> >>        at
> >>
> >> net.sourceforge.stripes.controller.AnnotatedClassActionResolver.getPackageFilters(AnnotatedClassActionResolver.java:492)
> >>        at
> >>
> >> net.sourceforge.stripes.controller.AnnotatedClassActionResolver.findClasses(AnnotatedClassActionResolver.java:510)
> >>        at
> >>
> >> net.sourceforge.stripes.controller.AnnotatedClassActionResolver.init(AnnotatedClassActionResolver.java:94)
> >>        at
> >>
> >> net.sourceforge.stripes.controller.NameBasedActionResolver.init(NameBasedActionResolver.java:115)
> >>        at
> >>
> >> net.sourceforge.stripes.config.DefaultConfiguration.init(DefaultConfiguration.java:101)
> >>        ... 48 more
> >> --
> >> View this message in context:
> >> http://www.nabble.com/BootstrapPropertyResolver.getProperty%28...%29-tp20205218p20205218.html
> >> Sent from the stripes-users mailing list archive at Nabble.com.
> >>
> >>
> >> -------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >> challenge
> >> Build the coolest Linux based applications with Moblin SDK & win great
> >> prizes
> >> Grand prize is a trip for two to an Open Source event anywhere in the
> >> world
> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> _______________________________________________
> >> Stripes-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/stripes-users
> >>
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > Stripes-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/stripes-users
> >
> >
-- 
  
  [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to