Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

NetBeans12 Ant Application: JDK 11: JAX-WS; Provider com.sun.xml.internal.ws.spi.ProviderImpl not found

Introuduction

I am upgrading javax to jakartha jar's to support for latest java versions. but when i tried to work with SOAP webservices in JDK 11. I am suffering "ProviderImpl not found." issue.

My Ant project file's /lib contains below all jar's related to jakartha soap services.

I have verified that com.sun.xml.ws.spi.ProviderImpl IS available in also.

But still i am facing below issue.

caughtException = (jakarta.xml.ws.WebServiceException) jakarta.xml.ws.WebServiceException: Provider com.sun.xml.ws.spi.ProviderImpl not found

java.lang.NullPointerException
[catch] at jakarta.xml.ws.spi.FactoryFinder.lookupUsingOSGiServiceLoader(FactoryFinder.java:154)
at jakarta.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:99)
at jakarta.xml.ws.spi.Provider.provider(Provider.java:64)
at jakarta.xml.ws.Service.<init>(Service.java:82)
at com.adminserver.remotedebuggerconnector.webservice.remotedebuggerstubs.Services_DebuggerService.<init>(Services_DebuggerService.java:53)
at com.adminserver.remotedebuggerconnector.RemoteDebugClientWrapper.initializeDebuggerServiceObjects(RemoteDebugClientWrapper.java:51)
at com.adminserver.remotedebuggerconnector.RemoteDebugClientWrapper.<init>(RemoteDebugClientWrapper.java:35)
at com.adminserver.asgraphicrulesidemodule.editors.ui.debugger.context.DebuggerContext.createRemoteDebugClientWrapper(DebuggerContext.java:164)
at com.adminserver.asgraphicrulesidemodule.editors.ui.debugger.context.DebuggerContext.initiateActivityDebuggerService(DebuggerContext.java:115)
at com.adminserver.asgraphicrulesidemodule.editors.ui.debugeditor.TransactionDebuggerUi.initiateDebuggerService(TransactionDebuggerUi.java:278)
at com.adminserver.asgraphicrulesidemodule.editors.ui.debugeditor.BaseDebuggerUi$InitiateDebugServiceJob.run(BaseDebuggerUi.java:87)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

I tried below options as per stack forum solution .

in my ant project below jar is existing.

<class-path-extension>
<runtime-relative-path>ext/jaxws-rt-4.0.1.jar</runtime-relative-path>
<binary-origin>release/modules/ext/jaxws-rt-4.0.1.jar</binary-origin>
</class-path-extension>

kindly help me to resolve this issue.

Comments

Arnoschots-Oracle Apr 22 2020 — edited on Apr 22 2020

Hi,

The "sudo al-config -s" doesn't work on my Autonomous Linux instance.

Command output:

[opc@opsserver ~]$ sudo al-config -s

/sbin/al-config: illegal option -- s

Configure OCI notification service topic OCID:

  Usage:

    al-config -T [topic OCID]

  Options:

    -T [topic OCID] OCI notification service topic OCID

Configure OCI CLI profile:

  Usage:

    al-config -u [user OCID] -t [tenancy OCID] -k [key file]

  Options:

    -u [user OCID] OCI User OCID

    -t [tenancy OCID] OCI Tenancy OCID

    -k [key file] from which we obtaion the API private key

    -p [key passphrase file] from which we obtain API key passphrase. Provide

       this if API private key is encrypted. If not provided, user will be

       prompted to enter passphrase.

1 - 1

Post Details