camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/config/applicationContext.xml]; nested exception is java.lang.NullPointerException
Date Fri, 22 Feb 2013 11:02:18 GMT
On Fri, Feb 22, 2013 at 7:36 AM, CamelNewbieUser
<harddrive.manoj@gmail.com> wrote:
> Hi Claus,
>
> I am also facing similar issue with JDK 7 / Tomcat 7 on Windows / Linux
> environment with Spring 3.0 jars.
>
> When same war is deployed again or tried to start the application, it fails
> again but eventually it will work in 2-3 tries.
>
> I am being asked so many questions that same war deployed is giving error
> even after restarting tomcat but it will work after re-deploy or restart of
> application.
>

When using JDK7 you should use JAXB 2.2. if you include JAXB JARs in
your application.
JAXB 2.1 is better used for JDK6 only.



>
>
> Any possible remedies to this?
>
> Please help urgently.
>
> Thanks in advance,
> Manoj
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Unexpected-exception-parsing-XML-document-from-ServletContext-resource-WEB-INF-config-applicationConn-tp5721144p5727990.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message