Problem with FrameworkLauncher on shared server [message #654392] |
Tue, 15 February 2011 14:52 |
Eclipse User |
|
|
|
Hi,
When deploying my RAP .war on a shared server at my web hotel I get the
stacktrace below (it works in a local tomcat). I got this reply from my
web hotel:
==
You are not allowed to write properties as that would change settings
for other users in the shared instance.
If you run the following it requires read and write:
Properties sysProps = System.getProperties();
If you change to the following it only requires read:
Properties myProps = new Properties();
Properties sysProps = System.getProperties();
==
Well, as far as I can tell the FrameworkLauncher does this already so I
don't really understand what the problem is. Does anyone have any idea?
Any tips for a workaround or should I simply switch web hotel?
Thanks,
/Ola
Stacktrace:
java.security.AccessControlException: access denied
(java.util.PropertyPermission * read,write)
java.security.AccessControlContext.checkPermission(Unknown Source)
java.security.AccessController.checkPermission(Unknown Source)
java.lang.SecurityManager.checkPermission(Unknown Source)
java.lang.SecurityManager.checkPropertiesAccess(Unknown Source)
java.lang.System.getProperties(Unknown Source)
org.eclipse.equinox.servletbridge.FrameworkLauncher.clearPre fixedSystemProperties(FrameworkLauncher.java:638)
org.eclipse.equinox.servletbridge.FrameworkLauncher.setIniti alProperty(FrameworkLauncher.java:587)
org.eclipse.equinox.servletbridge.FrameworkLauncher.buildIni tialPropertyMap(FrameworkLauncher.java:534)
org.eclipse.equinox.servletbridge.FrameworkLauncher.start(Fr ameworkLauncher.java:353)
org.eclipse.equinox.servletbridge.BridgeServlet.init(BridgeS ervlet.java:65)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil .java:270)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil .java:269)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Unknown Source)
org.apache.catalina.security.SecurityUtil.execute(SecurityUt il.java:302)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:163)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(Secu rityUtil.java:117)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd apter.java:298)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler. java:190)
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.ja va:291)
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java :776)
org.apache.jk.common.ChannelSocket.processConnection(Channel Socket.java:705)
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(Ch annelSocket.java:898)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:690)
java.lang.Thread.run(Unknown Source)
|
|
|
Powered by
FUDForum. Page generated in 0.02214 seconds