You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/09/18 16:43:40 UTC
DO NOT REPLY [Bug 23250] New: -
Axis client and Java Web Start / Applets: Sandbox problems
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23250>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23250
Axis client and Java Web Start / Applets: Sandbox problems
Summary: Axis client and Java Web Start / Applets: Sandbox
problems
Product: Axis
Version: 1.1
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Blocker
Priority: Other
Component: Basic Architecture
AssignedTo: axis-dev@ws.apache.org
ReportedBy: jpkimber@hotmail.com
Java Web Start, by default, runs its apps in a secure sandbox. Refer to
http://java.sun.com/products/javawebstart/1.2/docs/developersguide.html#dev
Unfortunately, the axis client software breaks this security by either
accessing a system property or running a native method or accessing the local
hard disk, etc. My app will only work if the Java Web Start application has
full security access to the system. This should not be a prerequisite of the
axis client software!
I have listed the stack trace below that occurs when I run the line of
code: "Service service = new Service();"
java.lang.ExceptionInInitializerError
at org.apache.commons.discovery.jdk.JDKHooks.<clinit>(JDKHooks.java:75)
at org.apache.commons.discovery.tools.DiscoverSingleton.find
(DiscoverSingleton.java:412)
at org.apache.commons.discovery.tools.DiscoverSingleton.find
(DiscoverSingleton.java:378)
at org.apache.axis.components.logger.LogFactory$1.run
(LogFactory.java:84)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.components.logger.LogFactory.getLogFactory
(LogFactory.java:80)
at org.apache.axis.components.logger.LogFactory.<clinit>
(LogFactory.java:72)
at
org.apache.axis.configuration.EngineConfigurationFactoryFinder.<clinit>
(EngineConfigurationFactoryFinder.java:87)
at javaApp.jButton1ActionPerformed(javaApp.java:101)
at javaApp.access$100(javaApp.java:22)
at javaApp$2.actionPerformed(javaApp.java:59)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied
(java.lang.RuntimePermission createClassLoader)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkCreateClassLoader(Unknown Source)
at java.lang.ClassLoader.<init>(Unknown Source)
at org.apache.commons.discovery.jdk.PsuedoSystemClassLoader.<init>
(PsuedoSystemClassLoader.java:73)
at org.apache.commons.discovery.jdk.JDK12Hooks.findSystemClassLoader
(JDK12Hooks.java:215)
at org.apache.commons.discovery.jdk.JDK12Hooks.<clinit>
(JDK12Hooks.java:73)
... 35 more