You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/06/11 15:39:42 UTC
DO NOT REPLY [Bug 9773] New: -
Service does not run on Weblogic 6.0 sp2
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9773>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9773
Service does not run on Weblogic 6.0 sp2
Summary: Service does not run on Weblogic 6.0 sp2
Product: Axis
Version: beta-1
Platform: PC
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Basic Architecture
AssignedTo: axis-dev@xml.apache.org
ReportedBy: sundararajan.tk@india.birlasoft.com
I wrote a service and successfully deployed it on Tomcat 4.0.3 with JDK 1.3.1.
But when I deply axis on weblogic 6.0 sp2 and try deploying, I have two
problems.
1. java org.apache.axis.client.AdminClient
com\sundar\webservices\bindings\deploy.wsdd command fails with the following
stack trace
- Processing file com\sundar\webservices\bindings\deploy.wsdd
- AxisFault: AxisFault
faultCode: http://xml.apache.org/axis/:Server.userException
faultString: java.net.ConnectException: Connection refused: connect
faultActor: null
faultDetail:
stackTrace: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.axis.transport.http.HTTPSender.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.client.AxisClient.invoke(Unknown Source)
at org.apache.axis.client.Call.invoke(Unknown Source)
at org.apache.axis.client.Call.invoke(Unknown Source)
at org.apache.axis.client.AdminClient.process(Unknown Source)
at org.apache.axis.client.AdminClient.process(Unknown Source)
at org.apache.axis.client.AdminClient.process(Unknown Source)
at org.apache.axis.client.AdminClient.process(Unknown Source)
at org.apache.axis.client.AdminClient.main(Unknown Source)
Since this step basically inserts a <service> </service> element with the
description of your service in the server-config.wsdd, I copied this file into
the axis/WEB-INF folder of the weblogic deployment.I then restatred the
weblogic server and tried to access the service from a command line client.Now
I get the following stack trace on the client window
C:\tksr\soap\Authentication>java com.sundar.webservices.AuthenticationClient sun
dar aaa
Exception in thread "main" Internal Server Error
at org.apache.axis.transport.http.HTTPSender.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.client.AxisClient.invoke(Unknown Source)
at org.apache.axis.client.Call.invoke(Unknown Source)
at org.apache.axis.client.Call.invoke(Unknown Source)
at org.apache.axis.client.Call.invoke(Unknown Source)
at org.apache.axis.client.Call.invoke(Unknown Source)
at com.sundar.webservices.bindings.AuthenticationSoapBindingStub.authent
icate(AuthenticationSoapBindingStub.java:103)
at com.sundar.webservices.AuthenticationClient.main(AuthenticationClient
.java:15)
The stack trace on the server is as given below
<Jun 11, 2002 7:00:24 PM IST> <Error> <HTTP> <[WebAppServletContext(1401428,axis
)] Servlet failed with Exception
java.lang.AbstractMethodError
at javax.xml.parsers.SAXParser.parse(SAXParser.java:386)
at org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown Sou
rce)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown Source)
at org.apache.axis.Message.getSOAPEnvelope(Unknown Source)
at org.apache.axis.handlers.soap.SOAPService$SOAPRequestHandler.invoke(U
nknown 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 weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:213)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:1265)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1631)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
I think this somethinh to do with the parser.I am using xerces 1.4 and have
modifeid the weblogic's config.xml to include the following line.
<XMLRegistry
DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"
Name="Raptor XML Registry"
SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
For all other application running on this server with this parser, I don't have
any problems.