chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron DiFrango <>
Subject RE: Null Pointer Exception when combine with JAX-WS Client
Date Mon, 18 Jun 2012 19:47:16 GMT

We "built a custom" version of this jar file without that file and it worked.  Why do you
call for a specific implementation provider and just not utilize the default container provided

I see that in the 0.7.0 branch there is a Websphere specific binding jar, why not produce
one that is specific to WLS?

Our preference is to have an official release, not some custom one, if we can at all avoid


Ron DiFrango

From: Florian Müller []
Sent: Monday, June 18, 2012 3:22 PM
To:; Ron DiFrango
Subject: Re: Null Pointer Exception when combine with JAX-WS Client

Hi Ron,

I still think this a Weblogic bug that we cannot solve in OpenCMIS. But maybe we can work
around it.

The chemistry-opencmis-client-bindings jar contains the file /META-INF/services/
. If you remove it from the jar, OpenCMIS will not insist on using the Sun JAX-WS implementation.
This might break the Web Services binding implementation, but maybe the AtomPub binding works
with this fix.
Since I don't have a Weblogic server, I cannot test it. That's my best guess at the moment.

- Florian

> I just submitted ticket CMIS-542 and Florian asked me to move the discussion to the mailing
list.  To summarize my ticket:
> I am working on a project where we have JAX-WS client that are compile with wsimport
from Weblogic 10.3.2 or 10.3.5. We are now trying to integrate the Chemistry API's into the
mix and when we do, we get the following exception when we attempt to bind JAX-WS compiled
clients, we get an NPE
> at
> The minute I remove the JAR file chemistry-opencmis-client-bindings, my JAX-WS client
code starts working again, so something in that jar file is causing a conflict with WLS.
> Ron DiFrango

View raw message