axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas <nwhit...@yahoo.com>
Subject Will Axis Clients Simply Not Work In Applets ?
Date Thu, 16 Jan 2003 13:37:24 GMT
Has anyone managed to get an Axis client to work in an
applet ? Some google searches have revealed the common
event of a security exception like this:

java.lang.ExceptionInInitializerError

	at
org.apache.commons.discovery.log.DiscoveryLogFactory._newLog(DiscoveryLogFactory.java:142)

	at
org.apache.commons.discovery.log.DiscoveryLogFactory.<clinit>(DiscoveryLogFactory.java:105)

	at
org.apache.commons.discovery.resource.DiscoverResources.<clinit>(DiscoverResources.java:82)

	at
org.apache.commons.discovery.tools.ResourceUtils.getResource(ResourceUtils.java:122)

	at
org.apache.commons.discovery.tools.ResourceUtils.loadProperties(ResourceUtils.java:175)

	at
org.apache.commons.discovery.tools.PropertiesHolder.getProperties(PropertiesHolder.java:102)

	at
org.apache.commons.discovery.tools.DiscoverClass.find(DiscoverClass.java:360)

	at
org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579)

	at
org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418)

	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:94)

	at
org.apache.axis.client.Service.<init>(Service.java:111)

	at
com.adp.ebs.flt.ejb_generated.ClientManagerLocalServiceLocator.<init>(ClientManagerLocalServiceLocator.java:14)

	at
com.adp.ebs.client.hta.SOAPApplet.initWebService(SOAPApplet.java:62)

	at
com.adp.ebs.client.hta.SOAPApplet.jbInit(SOAPApplet.java:57)

	at
com.adp.ebs.client.hta.SOAPApplet.init(SOAPApplet.java:48)

	at sun.applet.AppletPanel.run(AppletPanel.java:341)

	at java.lang.Thread.run(Thread.java:536)

Caused by: java.security.AccessControlException:
access denied (java.util.PropertyPermission
org.apache.commons.discovery.log.level read)

	at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)

	at
java.security.AccessController.checkPermission(AccessController.java:401)

	at
java.lang.SecurityManager.checkPermission(SecurityManager.java:542)

	at
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)

	at java.lang.System.getProperty(System.java:572)

	at
org.apache.commons.discovery.log.SimpleLog.<clinit>(SimpleLog.java:155)


=====
Nicholas Whitehead
Home: (973) 377 9335
Cell: (201) 615 2716
Work: (212) 622 5639
nwhitehe@yahoo.com

Mime
View raw message