axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phung Huu Phu" <phunghuu...@gmail.com>
Subject Security sample problem
Date Fri, 07 Apr 2006 12:23:04 GMT
Dear all,

I deploy the security sample on Axis1.3
>java org.apache.axis.client.AdminClient %* securitydeploy.wsdd
The content of securitydeploy.wsdd file:

<deployment xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <!-- define the logging handler configuration -->
 <handler name="track" type="java:samples.security.LogHandler">
  <parameter name="filename" value="MyService.log"/>
 </handler>

 <!-- define the service, using the log handler we just defined -->
 <service name="http://localhost:8080/LogTestService" provider="java:RPC">
  <requestFlow>
   <handler type="track"/>
  </requestFlow>

  <parameter name="className" value="samples.security.Service"/>
  <parameter name="allowedMethods" value="*"/>
 </service>

</deployment>


but I get the error as following:


HTTP Status 500 -
------------------------------

*type* Exception report

*message* **

*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*

*exception*

javax.servlet.ServletException: Servlet.init() for servlet AxisServlet
threw exception
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:831)
        org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:652)
        org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1203)
        java.lang.Thread.run(Unknown Source)

 *root cause*

org.apache.axis.InternalException:
org.apache.axis.ConfigurationException: org.xml.sax.SAXException:
Fatal Error: URI=null Line=-1: Premature end of
file.org.xml.sax.SAXException: Fatal Error: URI=null Line=-1:
Premature end of file.
        at org.apache.axis.utils.XMLUtils$ParserErrorHandler.fatalError(XMLUtils.java:723)
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown
Source)
        ....


Anybody experiencing this problem please help me.

Thank in advance,
Phu

Mime
View raw message