Re: [Wicket-user] Wicket and Sun Java App Server
I don't know that Application Server but what is happening is that our PropertyResolver uses reflection to get to a propertyAnd that app servers seems to have that disabled by default in its permissions file. I don't know where exactly to change that and if that is easy to do.But i guess many things should go wrong there. For example does hibernate completely work?johanOn 7/29/06, Ayodeji Aladejebi [EMAIL PROTECTED] 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 rightWicketMessage: 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 - MeAladejebi Ayodeji A., DabarObjects SolutionsEmail: [EMAIL PROTECTED]Mobile: +234 803 589 1780Web: www.dabarobjects.com Community:www.cowblock.net -Take Surveys. Earn Cash. Influence the Future of ITJoin 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.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - 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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Sun Java App Server
I'm doing extensive development these days on SJAS 9.0 (Glassfish) and I've only had one issue w/ Wicket, which was resolved in 1.2.1. I found the logging to conflict w/ SJAS and this was *only* a problem w/ Stateful beans in EJB 3.0. See here: http://www.nabble.com/Testing-Wicket-1.2-on-Glassfish-b48-tf1895983.html On Sat, 2006-07-29 at 06:56 -0700, 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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Sun Java App Server
something like this added into your app servers server.policy should help:grant codeBase "file:/x/webapps/appl/WEB-INF/lib/wicket-1.2.jar" { 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 rightWicketMessage: 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" - MeAladejebi Ayodeji A., DabarObjects SolutionsEmail: [EMAIL PROTECTED]Mobile: +234 803 589 1780Web: www.dabarobjects.comCommunity:www.cowblock.net-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user Janne HietamäkiCemron Ltdhttp://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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket and Sun Java App Server
Does this page (http://www.wicket-wiki.org.uk/wiki/index.php/Java_security_permissions) on the Wiki help? /Gwyn On 29/07/06, Ayodeji Aladejebi [EMAIL PROTECTED] 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 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user