You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Alexey Zavizionov <al...@gmail.com> on 2008/10/20 18:40:29 UTC

XPathFactoryConfigurationException in JOnAS

Hello, list!

I have deployed sample application in a JOnAS with a stack trace.
Please, help me.

java.lang.RuntimeException: XPathFactory#newInstance() failed to
create an XPathFactory for the default object model:
http://java.sun.com/jaxp/xpath/dom with the
XPathFactoryConfigurationException:
javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory
implementation found for the object model:
http://java.sun.com/jaxp/xpath/dom
	javax.xml.xpath.XPathFactory.newInstance(Unknown Source)
	org.apache.cxf.helpers.XPathUtils.<init>(XPathUtils.java:36)
	org.apache.cxf.helpers.XPathUtils.<init>(XPathUtils.java:40)
	org.apache.cxf.wsdl11.ServiceWSDLBuilder.addRequiredSchemaImports(ServiceWSDLBuilder.java:263)
	org.apache.cxf.wsdl11.ServiceWSDLBuilder.buildTypes(ServiceWSDLBuilder.java:318)
	org.apache.cxf.wsdl11.ServiceWSDLBuilder.build(ServiceWSDLBuilder.java:191)
	org.apache.cxf.wsdl11.ServiceWSDLBuilder.build(ServiceWSDLBuilder.java:151)
	org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:138)
	org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:152)
	org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:174)
	org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFServlet.java:156)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:585)
	org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
	java.security.AccessController.doPrivileged(Native Method)
	javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
	org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
	org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)

Thanks and regards,
Alexey.

Re: XPathFactoryConfigurationException in JOnAS

Posted by Alexey Zavizionov <al...@gmail.com>.
I have just found a solution!

Remove the xalan-j2-2.6.0.jar library with the xalan-2.7.0.jar within
JONAS_HOME/lib/endorsed.

Regards,
Alexey.

On Tue, Oct 21, 2008 at 11:04 AM, Alexey Zavizionov
<al...@gmail.com> wrote:
> Hello,
>
> Is there a wiki article for deployment process on JOnAS?
>
> Regards,
> Alexey.
>
> On Mon, Oct 20, 2008 at 7:40 PM, Alexey Zavizionov
> <al...@gmail.com> wrote:
>> Hello, list!
>>
>> I have deployed sample application in a JOnAS with a stack trace.
>> Please, help me.
>>
>> java.lang.RuntimeException: XPathFactory#newInstance() failed to
>> create an XPathFactory for the default object model:
>> http://java.sun.com/jaxp/xpath/dom with the
>> XPathFactoryConfigurationException:
>> javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory
>> implementation found for the object model:
>> http://java.sun.com/jaxp/xpath/dom
>>        javax.xml.xpath.XPathFactory.newInstance(Unknown Source)
>>        org.apache.cxf.helpers.XPathUtils.<init>(XPathUtils.java:36)
>>        org.apache.cxf.helpers.XPathUtils.<init>(XPathUtils.java:40)
>>        org.apache.cxf.wsdl11.ServiceWSDLBuilder.addRequiredSchemaImports(ServiceWSDLBuilder.java:263)
>>        org.apache.cxf.wsdl11.ServiceWSDLBuilder.buildTypes(ServiceWSDLBuilder.java:318)
>>        org.apache.cxf.wsdl11.ServiceWSDLBuilder.build(ServiceWSDLBuilder.java:191)
>>        org.apache.cxf.wsdl11.ServiceWSDLBuilder.build(ServiceWSDLBuilder.java:151)
>>        org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:138)
>>        org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:152)
>>        org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:174)
>>        org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFServlet.java:156)
>>        javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
>>        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>>        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        java.lang.reflect.Method.invoke(Method.java:585)
>>        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
>>        java.security.AccessController.doPrivileged(Native Method)
>>        javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>>        org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
>>        org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
>>
>> Thanks and regards,
>> Alexey.
>>
>

Re: XPathFactoryConfigurationException in JOnAS

Posted by Alexey Zavizionov <al...@gmail.com>.
Hello,

Is there a wiki article for deployment process on JOnAS?

Regards,
Alexey.

On Mon, Oct 20, 2008 at 7:40 PM, Alexey Zavizionov
<al...@gmail.com> wrote:
> Hello, list!
>
> I have deployed sample application in a JOnAS with a stack trace.
> Please, help me.
>
> java.lang.RuntimeException: XPathFactory#newInstance() failed to
> create an XPathFactory for the default object model:
> http://java.sun.com/jaxp/xpath/dom with the
> XPathFactoryConfigurationException:
> javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory
> implementation found for the object model:
> http://java.sun.com/jaxp/xpath/dom
>        javax.xml.xpath.XPathFactory.newInstance(Unknown Source)
>        org.apache.cxf.helpers.XPathUtils.<init>(XPathUtils.java:36)
>        org.apache.cxf.helpers.XPathUtils.<init>(XPathUtils.java:40)
>        org.apache.cxf.wsdl11.ServiceWSDLBuilder.addRequiredSchemaImports(ServiceWSDLBuilder.java:263)
>        org.apache.cxf.wsdl11.ServiceWSDLBuilder.buildTypes(ServiceWSDLBuilder.java:318)
>        org.apache.cxf.wsdl11.ServiceWSDLBuilder.build(ServiceWSDLBuilder.java:191)
>        org.apache.cxf.wsdl11.ServiceWSDLBuilder.build(ServiceWSDLBuilder.java:151)
>        org.apache.cxf.transport.http.WSDLQueryHandler.writeResponse(WSDLQueryHandler.java:138)
>        org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:152)
>        org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:174)
>        org.apache.cxf.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFServlet.java:156)
>        javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
>        javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>        sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        java.lang.reflect.Method.invoke(Method.java:585)
>        org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
>        java.security.AccessController.doPrivileged(Native Method)
>        javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>        org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
>        org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
>
> Thanks and regards,
> Alexey.
>