Wiring is broken!

Hi all,

I’ve successfully composed a new eclipse plugin for Domino 8.5, and tested it without any issues in DDE. I’ve got it to the point where I wanted to publish it within the company and so have setup an update site. All the wiring is fine when I debug the plugin from eclipse in to notes.

The update site seems to have been created successfully and it’s imported all the plugins and features. The feature is provisioned when I open the composite applicaion. However, I’m getting all sorts of WSDL errors trying to open my composite app from notes standalone (but it works perfectly from within eclipse, ).

If there is anyone out there that knows how to resolve it, your input would be appreciated.

Simon Delicata

CWPPK0301E: A WSDL parser exception has occurred.

WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at ‘C:\DOCUME~1\SDELIC~1\LOCALS~1\Temp\pb_29646.wsdl’.: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl incompatible with javax.xml.parsers.DocumentBuilderFactory: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl incompatible with javax.xml.parsers.DocumentBuilderFactory

at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

at com.ibm.rcp.propertybroker.internal.wsdl.WSDLReaderExtension.getWSDLExtensions(Unknown Source)

at com.ibm.rcp.propertybroker.internal.wsdl.WSDLReaderExtension.getWctWSDLExtensions(Unknown Source)

at com.ibm.rcp.propertybroker.internal.wsdl.Reader.ReadWCTFile(Unknown Source)



at com.ibm.rcp.propertybroker.service.PropertyBrokerFactory.loadWSDL(Unknown Source)

at com.ibm.workplace.notes.pb.RegistrationHandler.loadWSDL(Unknown Source)

at com.ibm.workplace.notes.pb.RegistrationHandler.handleEvent(Unknown Source)

at com.ibm.workplace.notes.ipc.internal.DispatcherRegistry$IpcDescriptor.handleEvent(Unknown Source)

at com.ibm.workplace.noteswc.ipc.NotesDispatcherService.sendEvent(Unknown Source)

at com.ibm.workplace.noteswc.NotesListener$21.run(Unknown Source)

at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)



at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)

at com.ibm.rcp.propertybroker.internal.wsdl.WSDLReaderExtension.getWSDLExtensions(Unknown Source)

at com.ibm.rcp.propertybroker.internal.wsdl.WSDLReaderExtension.getWctWSDLExtensions(Unknown Source)

at com.ibm.rcp.propertybroker.internal.wsdl.Reader.ReadWCTFile(Unknown Source)

at com.ibm.rcp.propertybroker.service.PropertyBrokerFactory.loadWSDL(Unknown Source)

at com.ibm.workplace.notes.pb.RegistrationHandler.loadWSDL(Unknown Source)

at com.ibm.workplace.notes.pb.RegistrationHandler.handleEvent(Unknown Source)

at com.ibm.workplace.notes.ipc.internal.DispatcherRegistry$IpcDescriptor.handleEvent(Unknown Source)

at com.ibm.workplace.noteswc.ipc.NotesDispatcherService.sendEvent(Unknown Source)

at com.ibm.workplace.noteswc.NotesListener$21.run(Unknown Source)

at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)

Contents of the WSDL file mentioned :

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace='http://com.planer.propertybroker'/>

<xsd:schema targetNamespace='http://www.ibm.com/xmlns/prod/datatype'>

  <xsd:simpleType name='emailAddress822'>

    <xsd:restriction base='xsd:string'/>

  </xsd:simpleType>

  <xsd:simpleType name='distinguishedName'>

    <xsd:restriction base='xsd:string'/>

  </xsd:simpleType>

  <xsd:simpleType name='mailTo'>

    <xsd:restriction base='xsd:string'/>

  </xsd:simpleType>

  <xsd:simpleType name='url'>

    <xsd:restriction base='xsd:anyURI'/>

  </xsd:simpleType>

</xsd:schema>
<part name='accumulate' type='xsd:string'/>
<part name='columnX' type='xsd:string'/>
<part name='columnY' type='xsd:string'/>
<part name='dbView' type='xsd:string'/>
<part name='keys' type='xsd:string'/>
<part name='dbName' type='xsd:string'/>
<part name='Property' type='xsd:string'/>

<operation name='getKeys'>

  <output message='tns:keys'/>

</operation>

<operation name='publish_accumulate'>

  <output message='tns:accumulate'/>

</operation>

<operation name='publish_columnX'>

  <output message='tns:columnX'/>

</operation>

<operation name='publish_columnY'>

  <output message='tns:columnY'/>

</operation>

<operation name='publish_dbView'>

  <output message='tns:dbView'/>

</operation>

<operation name='publish_keys'>

  <output message='tns:keys'/>

</operation>

<operation name='publish_dbName'>

  <output message='tns:dbName'/>

</operation>

  <output message='tns:Property'/>

</operation></portType><binding name='com.planer.propertybrokerbinding' type='tns:com.planer.propertybroker_Service'>

<portlet:binding/>

<operation name='getKeys'>

  <portlet:action name='getKeys' type='standard' caption='' description='' activeOnStartup='true' selectOnMultipleMatch='false'/>

  <output>

    <portlet:param name='keys' boundTo='request-attribute' partname='keys'/>

  </output>

</operation>

<operation name='publish_accumulate'>

  <portlet:action name='publish_accumulate' type='standard' activeOnStartup='true' selectOnMultipleMatch='true'/>

  <output>

    <portlet:param name='accumulate' boundTo='request-attribute' caption='' partname='accumulate' description=''/>

  </output>

</operation>

<operation name='publish_columnX'>

  <portlet:action name='publish_columnX' type='standard' activeOnStartup='true' selectOnMultipleMatch='true'/>

  <output>

    <portlet:param name='columnX' boundTo='request-attribute' caption='' partname='columnX' description=''/>

  </output>

</operation>

<operation name='publish_columnY'>

  <portlet:action name='publish_columnY' type='standard' activeOnStartup='true' selectOnMultipleMatch='true'/>

  <output>

    <portlet:param name='columnY' boundTo='request-attribute' caption='' partname='columnY' description=''/>

  </output>

</operation>

<operation name='publish_dbView'>

  <portlet:action name='publish_dbView' type='standard' activeOnStartup='true' selectOnMultipleMatch='true'/>

  <output>

    <portlet:param name='dbView' boundTo='request-attribute' caption='' partname='dbView' description=''/>

  </output>

</operation>

<operation name='publish_keys'>

  <portlet:action name='publish_keys' type='standard' activeOnStartup='true' selectOnMultipleMatch='true'/>

  <output>

    <portlet:param name='keys' boundTo='request-attribute' caption='' partname='keys' description=''/>

  </output>

</operation>

<operation name='publish_dbName'>

  <portlet:action name='publish_dbName' type='standard' activeOnStartup='true' selectOnMultipleMatch='true'/>

  <output>

    <portlet:param name='dbName' boundTo='request-attribute' caption='' partname='dbName' description=''/>

  </output>

</operation>
  <portlet:action name='Action' type='standard' caption='werwer' activeOnStartup='true' selectOnMultipleMatch='true'/>

</operation><operation name='publish_Property'>

  <portlet:action name='publish_Property' type='standard' activeOnStartup='true' selectOnMultipleMatch='true'/>

  <output>

    <portlet:param name='Property' boundTo='request-attribute' caption='tewtewwet' partname='Property' description='wetwetwet'/>

  </output>

</operation></binding></definitions>

Subject: A possible cause

I thought I would post an update on resolving this problem. I raised a support request and the technician said that a very similar stack had come up in pre gold release 8.5, and was related to an incompatible version of xerces which had to be patched by IBM (2.6 I understand).

I found that in my data\workspace\applications\eclipse\plugins folder I found that an application I had tried (the BIRT sample in the sandbox) had installed a later version (2.8) of the xerces library.

I believe the fix (for me atleast) was to remove all traces of xerces from the data\workspace and later uninstall the application.

regards

Simon Delicata