something like this added into your app servers server.policy should help:

        permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
};

Google for "server.policy" and "suppressAccessChecks"



On 29.7.2006, at 16.56, Ayodeji Aladejebi wrote:

please any anyone tried wicket on Sun Java Application Server, I am just evaluating this i met this error. Any ideas on how i can make this right

WicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id = menuItem, page = net.cowblock.president.pages.StartPage, path = 0:pageLayout:menubar:menuLayout:menuBar:menuItem.HorizontalMenuBar$1, isVisible = true, isVersioned = false]]

Root cause:

java.security.AccessControlException: access denied ( java.lang.reflect.ReflectPermission suppressAccessChecks)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:321)
at java.security.AccessController.checkPermission(AccessController.java :546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.reflect.AccessibleObject.setAccessible(AccessibleObject.java:107)
at wicket.util.lang.PropertyResolver$MethodGetAndSet .<init>(PropertyResolver.java:783)
at wicket.util.lang.PropertyResolver.getGetAndSetter(PropertyResolver.java:340)
at wicket.util.lang.PropertyResolver.getObjectAndGetSetter(PropertyResolver.java:200)
at wicket.util.lang.PropertyResolver.getValue(PropertyResolver.java:88)
at wicket.model.AbstractPropertyModel.onGetObject(AbstractPropertyModel.java:126)
at wicket.model.AbstractDetachableModel.getObject (AbstractDetachableModel.java:100)



--
"It takes insanity to drive in sanity" - Me

Aladejebi Ayodeji A.,
DabarObjects Solutions
Email: [EMAIL PROTECTED]
Mobile: +234 803 589 1780
Web: www.dabarobjects.com

Community:
www.cowblock.net
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
Wicket-user mailing list

Janne Hietamäki
Cemron Ltd
http://www.cemron.fi



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to