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 "Murphy, Cassie K" <ca...@lmco.com> on 2002/06/25 20:16:16 UTC

invoking web service from stateless ejb

I am calling a web service from a stateless ejb. I am using the j2ee server
from 1.3. When it tries to invoke the web
                       service I get the erros below in the j2ee server.

I am not quite sure if this a problem on just the server side or both axis
and the j2ee server? It points to client-config.wsdd  which is in axis.jar.
Or is there a certain way to set up the invoking of the web service from a
ejb / j2ee perspective?
The client invoking the web service works fine without any j2ee
implementation. I want my stateless ejb to act as the client.
If you have any insite, I would really appreciate it.
				  Trying to call web service..............
				java.security.AccessControlException: access
denied (java.io.FilePermission client-config.wsdd read)
				        at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:267)
				        at
java.security.AccessController.checkPermission(AccessController.java:394)
				        at
java.lang.SecurityManager.checkPermission(SecurityManager.java:540)
				        at
java.lang.SecurityManager.checkRead(SecurityManager.java:885)
				        at
java.io.File.canRead(File.java:500)
				        at
org.apache.axis.configuration.FileProvider.check(Unknown Source)
				        at
org.apache.axis.configuration.FileProvider.<init>(Unknown Source)
				        at
org.apache.axis.configuration.DefaultEngineConfigurationFactory.getClientEng
ineConfig(Unknown Source)
				        at
org.apache.axis.client.Service.<init>(Unknown Source)
				        at
GeoPublish.geoPublishBean.publishDoc(geoPublishBean.java:131)
				        at
GeoPublish.geoPublishBean_EJBObjectImpl.publishDoc(geoPublishBean_EJBObjectI
mpl.java:33)
				        at
GeoPublish._geoPublishBean_EJBObjectImpl_Tie._invoke(Unknown Source)
				at
com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(GenericPO
AServerSC.java:520)
				        at
com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOA
ServerSC.java:210)
				        at
com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC
.java:112)
				        at
com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
				        at
com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.jav
a:84)
				        at
com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.jav
a:99)
				java.security.AccessControlException: access
denied (java.io.FilePermission client-config.wsdd read)


Thanks