axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vidyanand Murunikkara" <Vidyan...@infravio.com>
Subject RE: class Service not working in tomcat 4.1.18
Date Tue, 14 Jan 2003 19:37:59 GMT
that looks like saaj.jar is not being found in the classpath.

Vidyanand

-----Original Message-----
From: Dave Searle [mailto:dave@davesearle.co.uk]
Sent: Tuesday, January 14, 2003 11:37 AM
To: axis-user@xml.apache.org
Subject: RE: class Service not working in tomcat 4.1.18


Hi Dan,

Just tried that, but to no avail - however I do have a new error message

Here's the modified code:

<%@ page import="org.apache.axis.AxisFault,
org.apache.axis.EngineConfiguration,
org.apache.axis.configuration.SimpleProvider,
org.apache.axis.configuration.DefaultEngineConfigurationFactory,
org.apache.axis.client.Service" 
%>
<%

    	try
		{
        	org.apache.axis.EngineConfiguration defaultConfig = (new
org.apache.axis.configuration.DefaultEngineConfigurationFactory()).getCl
ientEngineConfig();
        	org.apache.axis.configuration.SimpleProvider
provider_config = new
org.apache.axis.configuration.SimpleProvider(defaultConfig);	
        	org.apache.axis.client.Service service_test = new
org.apache.axis.client.Service(provider_config);

    	} catch (Exception e) {
    			e.printStackTrace();
    	}
		
%>

New Error:

root cause 

javax.servlet.ServletException: javax/xml/soap/SOAPException
	at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:497)
	at org.apache.jsp.test_jsp._jspService(test_jsp.java:64)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:204)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
	at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
	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:260)
	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:241
5)
	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:170)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
	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:223)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:43
2)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:386)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:53
4)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:530)
	at java.lang.Thread.run(Thread.java:536)


-----Original Message-----
From: Dan [mailto:dan@mcenter.com] 
Sent: 14 January 2003 19:29
To: axis-user@xml.apache.org
Subject: Re: class Service not working in tomcat 4.1.18


You probably need to use explicit naming for the Service class.  There
is a org.apache.service.Service class in the catalina.jar file.

When dealing with application servers or large application bases, I find
it becomes necessary, good practice to use explicit naming, to avoid
these types of errors.



Mime
View raw message