• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WebLogic AssertionError: UNIMPLEMENTED at weblogic.xml.domimpl.DocumentImpl

 
Alexey Kandybaev
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have application that uses 3rd party library to generate xml digital signature (JCP from CryptoPro). When I generate this signature in standalone application it works fine. But when I try to use the same code in EJB that deployed in Weblogic I receive following error:

EJB Exception: : java.lang.AssertionError: UNIMPLEMENTED
at weblogic.xml.domimpl.DocumentImpl.getElementById(DocumentImpl.java:407)
at org.apache.xml.security.utils.resolver.implementations.ResolverFragment.engineResolve(ResolverFragment.java:83)
at org.apache.xml.security.utils.resolver.ResourceResolver.resolve(ResourceResolver.java:279)
at ru.CryptoPro.JCPxml.dsig.internal.dom.DOMURIDereferencer.dereference(DOMURIDereferencer.java:97)
at ru.CryptoPro.JCPxml.dsig.internal.dom.DOMReference.dereference(DOMReference.java:395)
at ru.CryptoPro.JCPxml.dsig.internal.dom.DOMReference.digest(DOMReference.java:329)
at ru.CryptoPro.JCPxml.dsig.internal.dom.DOMXMLSignature.digestReference(DOMXMLSignature.java:453)
at ru.CryptoPro.JCPxml.dsig.internal.dom.DOMXMLSignature.sign(DOMXMLSignature.java:352)
...


Is anybody familiar with this problem here? I would appreciate any help.
 
German Gonzalez-Morris
Ranch Hand
Posts: 265
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it looks that WLS saaj implementation doesn't have the method you are trying to call.

use the following system properties:

-Djavax.xml.soap.MessageFactory=com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl
-Djavax.xml.soap.SOAPFactory=com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl
-Djavax.xml.soap.SOAPConnectionFactory=weblogic.wsee.saaj.SOAPConnectionFactoryImpl


or any other implementation. Check which one you are using in your client.


 
Alexey Kandybaev
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. It helped a lot.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic