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 Anil Guntupalli <ag...@attbi.com> on 2002/11/01 10:55:22 UTC

First call to AXIS fails, subsequent calls succeed

I'm facing this weird problem with Axis. I have a tag library that makes
Axis calls to get to a web service.
The first time the JSP page that uses the tag library is loaded, the SOAP
call fails with an error (below).

All subsequent calls succeed...  Any Ideas what am I doing wrong?


------
AxisFault
 faultCode:
{http://xml.apache.org/axis/}Server.generalException
 faultString: Failure trying to get the Call object
 faultActor: null
 faultDetail:

Failure trying to get the Call object
java.security.AccessControlException: access denied
(java.util.PropertyPermissio
n java.protocol.handler.pkgs write)
        at
java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:272)
        at
java.security.AccessController.checkPermission(AccessController.java:
399)
        at
java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
        at
java.lang.System.setProperty(System.java:641)
        at
org.apache.axis.client.Call.addTransportPackage(Call.java:1408)
        at
org.apache.axis.client.Call.initialize(Call.java:1356)
        at
org.apache.axis.client.Call.<init>(Call.java:238)
        at
org.apache.axis.client.Service.createCall(Service.java:515)
        at com.foobar.createCall(LoginStub.java:40)
        at com.foobar.login(LoginStub.java:97) ava:41)