axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominik Kacprzak <domi...@opentoolbox.com>
Subject Re: [jira] Updated: (AXIS-1674) NullPointerException on WebLogic81
Date Wed, 08 Dec 2004 07:08:47 GMT
Can somebody with access to CVS review and apply my patch?  We will have one less blocking
issue:)

- Dominik

On Mon, Dec 06, 2004 at 10:47:40AM -0800, Dominik Kacprzak (JIRA) wrote:
>      [ http://nagoya.apache.org/jira/browse/AXIS-1674?page=history ]
> 
> Dominik Kacprzak updated AXIS-1674:
> -----------------------------------
> 
>     Attachment: AXIS-1674.tar.gz
> 
> As Dims noticed earlier,  this issue is caused by a weblogic.xml.jaxp.RegistryDocumentBuilder
not allowing for null values to be passed to setEntityResolver. The attached patch adds a
few more catch statements along the lines of what Dims already did.  I also added log.debug
to the catch statements.
> With my patch, I was able to access ?wsdl URLs, deploy/undeploy and use a few sample
applications. All tests pass.
> My environment:
> - WL: WebLogic Server 8.1 SP3
> - Java: BEA WebLogic JRockit(TM) 1.4.2_04
> - OS: Linux Fedora 3: 2.6.9-1.681_FC3
> 
> On a side note, Axis 1.2 does not work out of the box on Weblogic 8.1 due to a conflict
between classes in Axis saaj.jar and Weblogic's webservices.jar.  I documented this issue
and the configuration changes required to get Axis to work on Weblogic in a README file included
with my patch.  This should be documented somehow in Axis 1.2 release notes and/or in a wiki.
 If my README file does not provide sufficient information, please let me know.
> 
> - Dominik
> 
> > NullPointerException on WebLogic81
> > ----------------------------------
> >
> >          Key: AXIS-1674
> >          URL: http://nagoya.apache.org/jira/browse/AXIS-1674
> >      Project: Axis
> >         Type: Bug
> >   Components: Basic Architecture
> >     Versions: 1.2RC2
> >  Environment: WebLogic 8.1.3,java.runtime.version=1.4.2_04
> >     Reporter: AJ Banck
> >     Priority: Blocker
> >  Attachments: AXIS-1674.tar.gz
> >
> > After replacing the Axis 1.2RC1 jars with RC2, Axis stopped working on WebLogic
8.1. Trying to get wsdl or process wsdd throws an NullPointerException. Looking at the exception
looks like this is related to the checkin for AXIS-1597 of XMLUtils.java.
> > Stacktrace when trying to access the default http://localhost:7001/ias/api4/services/Version?wsdl
> > <Nov 19, 2004 3:12:29 PM CET> <Info> <IAS> <000000> <Mapping
Exception to AxisFault
> > java.lang.NullPointerException
> >         at weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver()Lorg.xml.sax.EntityResolver;(ChainingEntityResolv
> > er.java:61)
> >         at weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(Lorg.xml.sax.EntityResolver;)V(RegistryDocumentBu
> > ilder.java:168)
> >         at org.apache.axis.utils.XMLUtils.releaseDocumentBuilder(Ljavax.xml.parsers.DocumentBuilder;)V(XMLUtils.java:235
> > )
> >         at org.apache.axis.utils.XMLUtils.newDocument()Lorg.w3c.dom.Document;(XMLUtils.java:312)
> >         at org.apache.axis.wsdl.fromJava.Emitter.createDocumentFragment()V(Emitter.java:924)
> >         at org.apache.axis.wsdl.fromJava.Emitter.<init>()V(Emitter.java:233)
> >         at org.apache.axis.providers.BasicProvider.generateWSDL(Lorg.apache.axis.MessageContext;)V(BasicProvider.java:17
> > 6)
> >         at org.apache.axis.strategies.WSDLGenStrategy.visit(Lorg.apache.axis.Handler;Lorg.apache.axis.MessageContext;)V(
> > WSDLGenStrategy.java:33)
> >         at org.apache.axis.SimpleChain.doVisiting(Lorg.apache.axis.MessageContext;Lorg.apache.axis.HandlerIterationStrat
> > egy;)V(SimpleChain.java:118)
> >         at org.apache.axis.SimpleChain.generateWSDL(Lorg.apache.axis.MessageContext;)V(SimpleChain.java:104)
> >         at org.apache.axis.handlers.soap.SOAPService.generateWSDL(Lorg.apache.axis.MessageContext;)V(SOAPService.java:31
> > 6)
> >         at org.apache.axis.server.AxisServer.generateWSDL(Lorg.apache.axis.MessageContext;)V(AxisServer.java:467)
> >         at org.apache.axis.transport.http.QSWSDLHandler.invoke(Lorg.apache.axis.MessageContext;)V(QSWSDLHandler.java:62)
> 
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://nagoya.apache.org/jira/secure/Administrators.jspa
> -
> If you want more information on JIRA, or have a bug to report see:
>    http://www.atlassian.com/software/jira

Mime
View raw message