Hi Jason,
         In my development environment,
           i am using java 1.6.0.21 
           Server Tomcat5
          No jaxb jar file 
so my code works fine here in dev environment as following code from context.java does not execute 
- Code: Select all
- try {
 Class.forName("com.sun.xml.bind.marshaller.MinimumEscapeHandler");
 log.info("JAXB: Using RI");
 
 }
but when code promoted to SIT
there server is IBM WAS 6.0 , WAS  have JAXB Jar so above code able to load MinimumEscapeHandler from JAXB jar of WAS Server
so i was thinking if we can comment this code in context.java  it will load the MinimumEscapeHandler from following code 
- Code: Select all
-    try {
 Class.forName("com.sun.xml.internal.bind.marshaller.MinimumEscapeHandler");
 log.info("JAXB: Using Java 6 implementation.");
 } catch (ClassNotFoundException e) {
 log.info("JAXB: neither Reference Implementation nor Java 6 implementation present?");
 }
in this Scenario MinimumEscapeHandler  is part of rt.jar in jre6, so i hope problem will get solved.
so i am expecting if you can comment the code in conext.java and share me doc4j2.7.1 jar ,that will fix the problem
i am not able to compile the source code on my machine.
if you can help me commenting the code and share me docx4j2.7.1 that will be a great help to me.
regards
Anil