This discussion is archived
0 Replies Latest reply: Jul 12, 2013 7:35 AM by 88cfab7f-f639-4ebe-9306-6c5f55239ed5 RSS

Getting exception after updated to Java 1.6 51 , first it was running fine in Java 1.6 24 patch

88cfab7f-f639-4ebe-9306-6c5f55239ed5 Newbie
Currently Being Moderated

2013-07-02 15:34:06,229 ERROR TP-Processor7 nl.ictu.gmv.global.ui.http.util.XmlUtil - Fout tijdens validate ondertekening van bericht.

javax.xml.crypto.dsig.XMLSignatureException: javax.xml.crypto.URIReferenceException: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException: Cannot resolve element with ID body

  at org.jcp.xml.dsig.internal.dom.DOMReference.dereference(DOMReference.java:412)

  at org.jcp.xml.dsig.internal.dom.DOMReference.validate(DOMReference.java:371)

  at org.jcp.xml.dsig.internal.dom.DOMXMLSignature.validate(DOMXMLSignature.java:265)

  at nl.ictu.gmv.global.ui.http.util.XmlUtil.validateMessageSignature(XmlUtil.java:373)

  at nl.ictu.gmv.pb.ui.http.utils.HttpKoppelvlakFilter.validateSignature(HttpKoppelvlakFilter.java:143)

  at nl.ictu.gmv.pb.ui.http.utils.HttpKoppelvlakFilter.doFilter(HttpKoppelvlakFilter.java:181)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

  at nl.ictu.gmv.global.ui.components.filters.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:62)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

  at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

  at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)

  at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)

  at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)

  at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)

  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)

  at java.lang.Thread.run(Thread.java:662)

Caused by: javax.xml.crypto.URIReferenceException: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException: Cannot resolve element with ID body

  at org.jcp.xml.dsig.internal.dom.DOMURIDereferencer.dereference(DOMURIDereferencer.java:124)

  at org.jcp.xml.dsig.internal.dom.DOMReference.dereference(DOMReference.java:404)

  ... 23 more

Caused by: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException: Cannot resolve element with ID body

  at com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverFragment.engineResolve(ResolverFragment.java:90)

  at com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolve(ResourceResolver.java:283)

  at org.jcp.xml.dsig.internal.dom.DOMURIDereferencer.dereference(DOMURIDereferencer.java:117)

  ... 24 more

javax.xml.crypto.URIReferenceException: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException: Cannot resolve element with ID body

  at org.jcp.xml.dsig.internal.dom.DOMURIDereferencer.dereference(DOMURIDereferencer.java:124)

  at org.jcp.xml.dsig.internal.dom.DOMReference.dereference(DOMReference.java:404)

  at org.jcp.xml.dsig.internal.dom.DOMReference.validate(DOMReference.java:371)

  at org.jcp.xml.dsig.internal.dom.DOMXMLSignature.validate(DOMXMLSignature.java:265)

  at nl.ictu.gmv.global.ui.http.util.XmlUtil.validateMessageSignature(XmlUtil.java:373)

  at nl.ictu.gmv.pb.ui.http.utils.HttpKoppelvlakFilter.validateSignature(HttpKoppelvlakFilter.java:143)

  at nl.ictu.gmv.pb.ui.http.utils.HttpKoppelvlakFilter.doFilter(HttpKoppelvlakFilter.java:181)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

  at nl.ictu.gmv.global.ui.components.filters.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:62)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

  at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)

  at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)

  at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)

  at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)

  at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)

  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)

  at java.lang.Thread.run(Thread.java:662)

Caused by: com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException: Cannot resolve element with ID body

  at com.sun.org.apache.xml.internal.security.utils.resolver.implementations.ResolverFragment.engineResolve(ResolverFragment.java:90)

  at com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolver.resolve(ResourceResolver.java:283)

  at org.jcp.xml.dsig.internal.dom.DOMURIDereferencer.dereference(DOMURIDereferencer.java:117)

  ... 24 more

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points