You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by rahulsharma <ra...@gmail.com> on 2017/06/01 09:04:21 UTC
Re: Factory method 'createTLSServerParametersMap' threw exception;
nested exception is java.lang.RuntimeException: Cannot create a secure
XMLInputFactory
Hi Daniel,
Thanks for the reply
I have include this woodstox-core-asl-4.4.1.jar and Stax2-api.jar for the
first in my code.
I have used these jars at compile time to generate the WSDL2Java files for
cxf and added these jars at run time in my application.
Could you please suggest me any other place where I need to add these jars.
Regards,
Rahul
--
View this message in context: http://cxf.547215.n5.nabble.com/Factory-method-createTLSServerParametersMap-threw-exception-nested-exception-is-java-lang-RuntimeExcy-tp5780853p5780880.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Factory method 'createTLSServerParametersMap' threw exception;
nested exception is java.lang.RuntimeException: Cannot create a secure
XMLInputFactory
Posted by rahulsharma <ra...@gmail.com>.
Hi everyone,
There was a previous version of woodstox present in the classpath
wstx-asl.jar was present in my classpath
After removing this jar there was no exception related to Cannot create a
secure XMLInputFactory
Thanks Daniel for the info..
Regards,
Rahul
--
View this message in context: http://cxf.547215.n5.nabble.com/Factory-method-createTLSServerParametersMap-threw-exception-nested-exception-is-java-lang-RuntimeExcy-tp5780853p5781362.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Factory method 'createTLSServerParametersMap' threw exception;
nested exception is java.lang.RuntimeException: Cannot create a secure
XMLInputFactory
Posted by rahulsharma <ra...@gmail.com>.
Hi Everyone,
Please can anybody help me in resolving this issue.
Previously I had no Stax2-api and woodstox-core jars present in project when
I was using CXF 2.2.6
Now while Upgrading to CXF 3.1.11 I found that we need to have these 2 jars
in compile and runtime for secure connections
I have added these 2 jars in my classpath of the project, but still getting
the same exception for SecureConnection.
Am I missing some jars, or do we need to add some more jars to eliminate
this issue.
Thanks & Regards,
Rahul
--
View this message in context: http://cxf.547215.n5.nabble.com/Factory-method-createTLSServerParametersMap-threw-exception-nested-exception-is-java-lang-RuntimeExcy-tp5780853p5781154.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Factory method 'createTLSServerParametersMap' threw exception;
nested exception is java.lang.RuntimeException: Cannot create a secure
XMLInputFactory
Posted by rahulsharma <ra...@gmail.com>.
Hi Daniel,
Previously we never used these jars.
These jars are added while updating the cxf jars from 2.2.6 to 3.1.11
I am not able to understand what might be the problem for this actually.
Regards,
Rahul
--
View this message in context: http://cxf.547215.n5.nabble.com/Factory-method-createTLSServerParametersMap-threw-exception-nested-exception-is-java-lang-RuntimeExcy-tp5780853p5780944.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Factory method 'createTLSServerParametersMap' threw exception;
nested exception is java.lang.RuntimeException: Cannot create a secure
XMLInputFactory
Posted by Daniel Kulp <dk...@apache.org>.
The issue is not that the new version is there but that there is likely on OLD version also there that is being picked up. You need to go through the class paths and container libraries and such and see if there is an older version of woodstox that is being made available.
Dan
> On Jun 1, 2017, at 5:04 AM, rahulsharma <ra...@gmail.com> wrote:
>
> Hi Daniel,
>
> Thanks for the reply
>
> I have include this woodstox-core-asl-4.4.1.jar and Stax2-api.jar for the
> first in my code.
> I have used these jars at compile time to generate the WSDL2Java files for
> cxf and added these jars at run time in my application.
>
> Could you please suggest me any other place where I need to add these jars.
>
> Regards,
> Rahul
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Factory-method-createTLSServerParametersMap-threw-exception-nested-exception-is-java-lang-RuntimeExcy-tp5780853p5780880.html
> Sent from the cxf-user mailing list archive at Nabble.com.
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com