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 Tom Jordahl <to...@macromedia.com> on 2004/12/08 17:37:51 UTC

RE: [jira] Updated: (AXIS-1674) NullPointerException on WebLogic8 1

Dominik,

I am running all-tests now.

Do you want to make a patch for the WebLogic 8 documentation info?  I can
patch that too...

--
Tom Jordahl
Macromedia Server Development

> -----Original Message-----
> From: Dominik Kacprzak [mailto:dominik@opentoolbox.com]
> Sent: Wednesday, December 08, 2004 2:09 AM
> To: axis-dev@ws.apache.org
> Subject: Re: [jira] Updated: (AXIS-1674) NullPointerException on
> WebLogic81
> 
> 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.E
> ntityResolver;(ChainingEntityResolv
> > > er.java:61)
> > >         at
> weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(Lorg.xml.sax.E
> ntityResolver;)V(RegistryDocumentBu
> > > ilder.java:168)
> > >         at
> org.apache.axis.utils.XMLUtils.releaseDocumentBuilder(Ljavax.xml.parsers.D
> ocumentBuilder;)V(XMLUtils.java:235
> > > )
> > >         at
> org.apache.axis.utils.XMLUtils.newDocument()Lorg.w3c.dom.Document;(XMLUtil
> s.java:312)
> > >         at
> org.apache.axis.wsdl.fromJava.Emitter.createDocumentFragment()V(Emitter.ja
> va:924)
> > >         at
> org.apache.axis.wsdl.fromJava.Emitter.<init>()V(Emitter.java:233)
> > >         at
> org.apache.axis.providers.BasicProvider.generateWSDL(Lorg.apache.axis.Mess
> ageContext;)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;Lor
> g.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.Me
> ssageContext;)V(SOAPService.java:31
> > > 6)
> > >         at
> org.apache.axis.server.AxisServer.generateWSDL(Lorg.apache.axis.MessageCon
> text;)V(AxisServer.java:467)
> > >         at
> org.apache.axis.transport.http.QSWSDLHandler.invoke(Lorg.apache.axis.Messa
> geContext;)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

Re: [jira] Updated: (AXIS-1674) NullPointerException on WebLogic8 1

Posted by Dominik Kacprzak <do...@opentoolbox.com>.
Tom,

I created a patch with info on how to configure Weblogic 8.1 for Axis 1.2 to work.  I decided to stick it in "Installation instructions" document, under "Setting up the libraries" section which already contains Tomcat 4.x info. I hope this is the right spot. 

- Dominik

On Wed, Dec 08, 2004 at 11:37:51AM -0500, Tom Jordahl wrote:
> Dominik,
> 
> I am running all-tests now.
> 
> Do you want to make a patch for the WebLogic 8 documentation info?  I can
> patch that too...
> 
> --
> Tom Jordahl
> Macromedia Server Development