You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by lou fox <fo...@yahoo.com> on 2004/01/16 21:45:40 UTC

Axis and Applets

I know there has been alot of messages on applets and axis but I haven't 
seen the question/answer that I'm looking for.  I'm trying use axis 
within an applet with java plugin 1.4.2_03.  Before I add the stack 
trace, I would like to note that this is over https; over http I don't 
have a single problem.  May I also mention that I signed the jar file 
that composes the applet, but I haven't edited my policy file.  If the 
solution lies in the policy file, can I set the policy file as part of 
the applet, or do I have to edit the end user's policy file as well?  
And if it fix does lie in the policy file, does anyone have an example 
policy file?

sun.plugin.cache.DownloadException
    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
    at sun.plugin.cache.FileCache.get(Unknown Source)
    at 
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown 
Source)
    at 
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown 
Source)
    at 
sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown 
Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown 
Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at 
org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:466)
    at java.security.AccessController.doPrivileged(Native Method)
    at 
org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:454)
    at 
org.apache.commons.logging.impl.LogFactoryImpl.isLog4JAvailable(LogFactoryImpl.java:501)
    at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogClassName(LogFactoryImpl.java:364)
    at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:401)
    at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
    at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
    at 
org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:76)
    at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:81)
    at org.apache.axis.client.Service.getAxisClient(Service.java:143)
    at org.apache.axis.client.Service.<init>(Service.java:152)
    at 
com.sforce.soap.partner.SforceServiceLocator.<init>(SforceServiceLocator.java:10)
    at com.bluewolf.sforce.WebPeerImpl.login(WebPeerImpl.java:87)
    at com.bluewolf.sforce.WebPeerProxy.login(WebPeerProxy.java:91)
    at com.bluewolf.applet.Main.getDefaultSession(Main.java:84)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
    at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
    at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.com.DispatchImpl.invoke(Unknown Source)