cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conrad O'Dea" <>
Subject Re: running CXF service under IBM JDK on AIX
Date Fri, 11 May 2007 13:56:11 GMT
One thing I forgot to mention was the the endpoint was being published
over https.

Some more digging and tweaking of logging output showed the cert could
not be read by the JSSE provider in the IBM JDK.  The default setup of
the IBM JRE could not read the certs.  Downloading and installing the
unrestricted policy files allowed me to get over this problem.

On 5/11/07, Conrad O'Dea <> wrote:
> Hi,
> I have a CXF service that runs fine on several platforms but is having
> some problems on IBM's JDK [1] on AIX.  When the server starts up, I
> get the following stack trace when the service tries to publish an
> endpoint:
>  [java] WARNING: URL creation failed:
>      [java] java.lang.NullPointerException
>      [java]     at org.mortbay.http.HttpServer.getContext(
>      [java]     at org.mortbay.http.HttpServer.getContext(
>      [java]     at
> org.apache.cxf.transport.http.JettyHTTPServerEngine.addServant(
>      [java]     at
> org.apache.cxf.transport.http.JettyHTTPDestination.activate(
>      [java]     at
> org.apache.cxf.transport.AbstractDestination.setMessageObserver(
>      [java]     at org.apache.cxf.endpoint.ServerImpl.start(
>      [java]     at
> org.apache.cxf.jaxws.EndpointImpl.doPublish(
>      [java]     at
> org.apache.cxf.jaxws.EndpointImpl.publish(
>      [java]     at
> org.apache.cxf.jaxws.spi.ProviderImpl.createAndPublishEndpoint(
>      [java]     at
>      [java]     at
> com.iona.repository.providers.AbstractInfrastructureProvider.publish(
>      [java]     at com.iona.repository.Main.publishProviders(
> Now, this is a warning and the server continues to start up ok but
> does not respond to requests at all.  The service may not be
> functioning correctly for some other reason  but I wanted to check if
> the stack trace above is something that could be causing a problem.
> Are there any known issues using CXF on AIX or with IBM JDKs?  I can
> reproduce the exception above running the service on Linux with an IBM
> JDK.
> thanks
> /c
> [1] IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32
> j9vmap3223-20060504 (JIT enabled)

View raw message