axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jianghui Liu" <j...@successfactors.com>
Subject RE: Service Fails when deploying simple request and response flow handlers
Date Tue, 22 Mar 2005 18:44:57 GMT
Hi John,
 
I'm having similar problem when I tried to deploy a service.I got
exception like this:
 
org.apache.axis.deployment.wsdd.WSDDNonFatalException:
java.lang.ClassNotFoundException: Found languageSpecificType namespace
'', expected 'http://xml
.apache.org/axis/wsdd/providers/java'
java.lang.ClassNotFoundException: Found languageSpecificType namespace
'', expected 'http://xml.apache.org/axis/wsdd/providers/java'
        at
org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(
WSDDTypeMapping.java:213)
        at
org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeploym
ent.java:341)
        at
org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WS
DDDeployment.java:520)
        at
org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FilePr
ovider.java:287)
        at
org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:293)
        at
org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.jav
a:419)
        at
org.apache.axis.encoding.SerializationContextImpl.getTypeMapping(Seriali
zationContextImpl.java:376)
        at org.apache.axis.AxisFault.writeDetails(AxisFault.java:766)
        at
org.apache.axis.message.SOAPFault.outputImpl(SOAPFault.java:199)
        at
org.apache.axis.message.MessageElement.output(MessageElement.java:783)
        at
org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:174)
        at
org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:509)
        at
org.apache.axis.message.MessageElement.output(MessageElement.java:783)
        at org.apache.axis.AxisFault.output(AxisFault.java:692)
        at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:259)
        at org.apache.axis.SOAPPart.getAsString(SOAPPart.java:468)
        at org.apache.axis.SOAPPart.getAsBytes(SOAPPart.java:375)
        at org.apache.axis.Message.getContentType(Message.java:399)
        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:887)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.j
ava:339)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
        at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilte
r.java:75)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:186)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:214)
 
and my deploy.wsdd is like:
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
 
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java/">
 <service name="TestService" provider="java:RPC">
  <parameter name="className"
value="com.sf.sfv4.axis.server.TestService"/>
  <parameter name="allowedMethods" value="*"/>
 </service>
</deployment>

I think these are similar problem. You said if you remove the references
to the handler it works fine, can you tell me which reference?
 
Thanks,
Jane

  _____  

From: John McCosker [mailto:J.McCosker@andronics.com] 
Sent: Tuesday, March 22, 2005 7:33 AM
To: 'axis-user@ws.apache.org'
Subject: Service Fails when deploying simple request and response flow
handlers



Hi, 
when I deploy two simple handlers, one for request and the other
response and run my service 
its fails. If I remove references to the handlers in the WSDD the
service runs fine. 

==WSDD== 

<deployment xmlns="http://xml.apache.org/axis/wsdd/" 
 
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" 
 
xmlns:xsi="http://www.w3c.org/2000/10/XMLSchema-instance"> 
        
        <handler name="ServiceRequestLogger"
type="neo.axis.handlers.logging.ServiceRequestLogger"> 
                <parameter name="performanceLog"
value="c:\cfusionmx\runtime\logs\axis_performance.log"/> 
        </handler> 
        <handler name="ServiceResponseLogger"
type="neo.axis.handlers.logging.ServiceResponseLogger"> 
                <parameter name="performanceLog"
value="c:\cfusionmx\runtime\logs\axis_performance.log"/> 
        </handler> 
        
        <service name="FleetInformation" provider="java:RPC"> 
                <requestFlow> 
                        <handler type="ServiceRequestLogger"/> 
                </requestFlow> 
                <responseFlow> 
                        <handler type="ServiceResponseLogger"/> 
                </responseFlow> 
                <parameter name="className"
value="neo.axis.levelOne.FleetInformation"/> 
                <parameter name="allowedMethods" value="getPosition
testConnection initializeSession getOdometer"/> 
        </service> 
        
</deployment> 

==Stack Trace== 

java.lang.Exception: SimpleChain::addHandler:  Null handler; 
        at org.apache.axis.InternalException.<init>(Unknown Source) 
        at org.apache.axis.SimpleChain.addHandler(Unknown Source) 
        at
org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(Unknown
Source) 
        at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(Unknown
Source) 
        at
org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(Unknown
Source) 
        at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(Unknown
Source) 
        at
org.apache.axis.deployment.wsdd.WSDDDeployment.getService(Unknown
Source) 
        at org.apache.axis.configuration.FileProvider.getService(Unknown
Source) 
        at org.apache.axis.AxisEngine.getService(Unknown Source) 
        at org.apache.axis.MessageContext.setTargetService(Unknown
Source) 
        at org.apache.axis.handlers.http.URLMapper.invoke(Unknown
Source) 
        at org.apache.axis.strategies.InvocationStrategy.visit(Unknown
Source) 
        at org.apache.axis.SimpleChain.doVisiting(Unknown Source) 
        at org.apache.axis.SimpleChain.invoke(Unknown Source) 
        at org.apache.axis.server.AxisServer.invoke(Unknown Source) 
        at org.apache.axis.transport.http.AxisServlet.doPost(Unknown
Source) 
        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.doFilter(ApplicationFilt
erChain.java:193) 
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256) 
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643) 
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80) 
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191) 
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643) 
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80) 
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:242
2) 
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180) 
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643) 
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171) 
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641) 
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:163) 
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641) 
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80) 
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174) 
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643) 
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80) 
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) 
        at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) 
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:82
8) 
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:700) 
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
4) 
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683) 
        at java.lang.Thread.run(Thread.java:536) 

thanks jp. 


Mime
View raw message