This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes WebLogic AssertionError: UNIMPLEMENTED at weblogic.xml.domimpl.DocumentImpl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "WebLogic AssertionError: UNIMPLEMENTED at weblogic.xml.domimpl.DocumentImpl" Watch "WebLogic AssertionError: UNIMPLEMENTED at weblogic.xml.domimpl.DocumentImpl" New topic
Author

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

Alexey Kandybaev
Greenhorn

Joined: Mar 18, 2013
Posts: 2
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

Joined: Nov 16, 2009
Posts: 160

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.



http://devwebcl.blogspot.com/
Alexey Kandybaev
Greenhorn

Joined: Mar 18, 2013
Posts: 2
Thanks. It helped a lot.
 
Don't get me started about those stupid light bulbs.
 
subject: WebLogic AssertionError: UNIMPLEMENTED at weblogic.xml.domimpl.DocumentImpl
 
Similar Threads
java.rmi.ConnectException: Connection refused to host
Security Violation: In Cabin EJB
[EJB:010160]Security Violation
Newbie question
Quary about Setter Methord