Thanks for the help on this one. It looks like I might eventually get my app
online.
I've sent Matthew an email to ask his jar file...
though I would just like to understand Levi's alternative... as the
reference page is a little hard to follow.
If I want to use my own configuration, I'd have a
'Configuration.Class'/'com.myco.CustomConfiguration' param for the
StripesFilter filter... where CustomConfiguration extends
RuntimeConfiguration,
and I'd have a MyBootstrapResolver extends BootstrapPropertyResolver, whose
getProperty() does a little String s; try {s = super.getProperty();} catch
(Exception e){} return s;
and I'd call CustomConfiguration.setBootstrapPropertyResolver(MyBootstrap)
from somewhere?
-Daniel
levi_h 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
>
>
--
View this message in context:
http://www.nabble.com/BootstrapPropertyResolver.getProperty%28...%29-tp20205218p20261759.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