Hi, I got the NPE for signature creation on server side. I looked at the
wss4jFEQ and it states that:
To determine what JAXP implementation is being loaded use the following
code: 

 
System.out.println(javax.xml.parsers.DocumentBuilderFactory.newInstance(
));
and if the class name isn't
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl then the Xerces jar
isn't in your classpath (or it's being masked by the
javax.xml.parsers.DocumentBuilderFactory System property or another
JAXP-enabled XML parser on the classpath or the JRE/lib/jaxp.properties
file). 
 
My question is no matter what I did for my classpath, it always prints
out the class name as 
 
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl and
found this class contained in my JRE1.5 rt.jar. 
 
Could you please let me know how can get the right JAXP implementation?
I am using Tomcat 5.x and JDK 1.5.
 
 
Thanks for your time.
 
 
Lule

Reply via email to