axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jianlin Chang" <ch...@platform.com>
Subject access violation when deploying web service to axis running on Sun's J2EE server
Date Thu, 14 Feb 2002 16:51:28 GMT
I got access violation error when deploying web service to axis which is
running within Sun's reference implementation J2EE server.  The command
is:
java org.apache.axis.client.AdminClient
-lhttp://localhost:8000/axis/services/AdminService
xml-axis-alpha3/samples/stock/deploy.wsdd
The wsdd is from samples in axis distribution.

I don't see this error when running axis within Tomcat 4.0.2.

What is the cause and how to correct?  Thanks.

The detailed error is:
Processing file xml-axis-alpha3/samples/stock/deploy.wsdd
AxisFault
  faultCode: ns1:Server.userException
  faultString: java.security.AccessControlException: access denied
(java.lang.RuntimePermission createClassLoader)
  faultActor: null
  faultDetail: 
        exceptionName: java.security.AccessControlException
        stackTrace: java.security.AccessControlException: access denied
(java.lang.RuntimePermission createClassLoader)
        at
java.security.AccessControlContext.checkPermission(AccessControlContext.
java:272)
        at
java.security.AccessController.checkPermission(AccessController.java:399
)
        at
java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
        at
java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:61
0)
        at java.lang.ClassLoader.<init>(ClassLoader.java:205)
        at
org.apache.axis.utils.AxisClassLoader.<init>(AxisClassLoader.java:81)
        at
org.apache.axis.utils.AxisClassLoader.getClassLoader(AxisClassLoader.jav
a:89)
        at
org.apache.axis.MessageContext.getClassLoader(MessageContext.java:335)
        at
org.apache.axis.providers.java.JavaProvider.getNewServiceObject(JavaProv
ider.java:336)
        at
org.apache.axis.providers.java.JavaProvider.getServiceObject(JavaProvide
r.java:117)
        at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:216
)
        at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:253)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)
        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:485)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilt
erChain.java:197)
        at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterC
hain.java:176)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:172)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:243)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:201)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
        at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234
3)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:164)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:170)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:170)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
        at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:
368)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
        at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:1012)
        at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1107)
        at java.lang.Thread.run(Thread.java:484)

Mime
View raw message