Integrated WebLogic Server WebService Testing problem


Hi everyone!

I'm using "Oracle Hands on Lab JD Edwards BSSV Development" guide to develop BSSV and I faced with this trouble.
I deployed my project on Integated WebLogic Server for testing purposes. The problem is that I could test my web service only once. The first test goes fine. When I changed web servive's arguments and click "Invoke" again I get an error (listed below). After Integrated Weblogic Server restart I could test my web service again but only once as mentioned before.
If someone faced with such a problem could You give me some advice how to handle this?

I'm using JDeveloper 12.1.3, Integrated Web Logic Server 12c and JD Edwards 9.2 Standalone
Thanks in advance!

"javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found at javax.xml.parsers.FactoryFinder.newInstance( at javax.xml.parsers.FactoryFinder.newInstance( at javax.xml.parsers.FactoryFinder.find( at javax.xml.parsers.SAXParserFactory.newInstance( at at at at weblogic.wsee.jaxws.spi.WLSServiceDelegate.staticCreateCatalogResolver( at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate( at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate( at at at at at at at at at at at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke( at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch( at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch( at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept( at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept( at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept( at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept( at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept( at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest( at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest( at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest( at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest( at com.sun.jersey.spi.container.servlet.WebComponent.service( at com.sun.jersey.spi.container.servlet.ServletContainer.service( at com.sun.jersey.spi.container.servlet.ServletContainer.service( at javax.servlet.http.HttpServlet.service( at weblogic.servlet.internal.StubSecurityHelper$ at weblogic.servlet.internal.StubSecurityHelper$ at weblogic.servlet.internal.StubSecurityHelper.invokeServlet( at weblogic.servlet.internal.ServletStubImpl.execute( at weblogic.servlet.internal.TailFilter.doFilter( at weblogic.servlet.internal.FilterChainImpl.doFilter( at at weblogic.servlet.internal.FilterChainImpl.doFilter( at at weblogic.servlet.internal.FilterChainImpl.doFilter( at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun( at weblogic.servlet.internal.WebAppServletContext$ at at at at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute( at weblogic.servlet.internal.WebAppServletContext.securedExecute( at weblogic.servlet.internal.WebAppServletContext.execute( at at weblogic.servlet.provider.ContainerSupportProviderImpl$ at at Caused by: java.lang.ClassNotFoundException: org/apache/xerces/jaxp/SAXParserFactoryImpl at java.lang.Class.forName0(Native Method) at java.lang.Class.forName( at javax.xml.parsers.FactoryFinder.getProviderClass( at javax.xml.parsers.FactoryFinder.newInstance( ... 62 more "
I had a slightly similar issue and an answer here would've made my day. Unfortunately there was no answer but I did workaround the issue myself and I'll explain that story now.

I first worked around this issue in October with 12.1.3 but spaced out what I did today encountering the issue using 12.2.1.

My issue was a similar error and similar circumstance of running JDE in WLS. It ran fine once then wouldn't run later. (I received the error you did when trying to undeploy my bad JDE deployment within the WLS console.)

The tweak I made was to WLS and is along the lines of what you can see here:

My exact steps:
1) Find my startWebLogic.cmd file, that for me was here: C:\Users\[email protected]\AppData\Roaming\JDeveloper\system12.\DefaultDomain\bin.
2) Replaced "set CLASSPATH=%SAVE_CLASSPATH%" with "set CLASSPATH=%SAVE_CLASSPATH%;C:\Oracle\JDeveloper1221\Oracle_Home\oracle_common\modules\oracle.owasp\xercesImpl.jar" (not sure how I picked this magical JAR--I have a bunch of them on my box but am going with this one for no remembered reason).
3) Restarted my WLS (and in my case, removed the bad deployment, re-deployed, and off I go).

Note that my caveat to this reply is that this tweak helps me continue working. It might not be the best idea or appropriate but it's working for me so I'll go with it. Maybe it'll help you if you still have a problem.