Hi Ian,

On Feb 10, 2010, at 4:50 PM, Ian Neill wrote:

> 
> When I deploy xWiki to an Oracle Application server 10.3 and try to access
> the Wiki I get a 500 internal server error. The log file shows
> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
> XWiki context 
> Wrapped Exception: java.lang.reflect.InvocationTargetException 
>    at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:341) 
> ...
> Wrapped Exception: 
> java.lang.reflect.InvocationTargetException 
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
> ...
> Caused by: java.lang.SecurityException: Unauthorized access from
> application: xwiki to MBean: java.lang:type=ClassLoading 
>     at
> oracle.oc4j.admin.jmx.shared.UserMBeanServer.checkRegisterAccess(UserMBeanServer.java:873)
>  
> 
> From what I can find out it is related to the security around Oracles JMX
> and the MBeans in xWiki,  but I cann't seem to find a way to fix it.

Indeed you need to allow XWiki some privileges if you run with a Java Security 
Manager.

I've added info here to better explain this:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallandconfigureaServletContainer

Hope it helps,
-Vincent

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to