当前位置: 首页 > 工具软件 > Xalan > 使用案例 >

org.apache.xalan.processor.TransformerFactoryImpl not found

叶福
2023-12-01

APPLIES TO:

Oracle Agile PLM Framework - Version 9.3.0.0 to 9.3.1.1 [Release 9.3]
Information in this document applies to any platform.

SYMPTOMS

When accessing Agile's WebLogic Administrator console, many web pages do not display properly but give a javax message similar to the following (Domain General Config example):

Error opening /jsp/core/server/ServerConfigGeneralForm.jsp.
The source of this error is:

javax.servlet.ServletException: javax.xml.transform.TransformerFactoryConfigurationError: Provider oracle.xml.jaxp.JXSAXTransformerFactory not found
...

CHANGES

 

CAUSE

XML parser system variable is incorrectly set
 

SOLUTION

1. Take backup of startAgile.cmd (for Windows) or startAgile.sh (for Linux), and open the file with text editor
2. Add option "-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl" before "weblogic.Server".

"$JAVA_HOME/bin/java" -server -XX:MaxPermSize=256M -ms2048M -mx2048M -XX:NewSize=256M -XX:MaxNewSize=256M -classpath $CLASSPATH $JMX_SET -Dweblogic.Name=<hostname>-AgileServer -Dbea.home=$WLS_HOME/wl/bea -Dweblogic.management.username=$WLS_USERNAME -Dweblogic.management.password=$WLS_PW -Djava.awt.headless=true -Dweblogic.ProductionModeEnabled=$STARTMODE -Dweblogic.log.StdoutSeverity=Error -Dagile.log.dir=$WLS_HOME/wl/agile/agile93/agileDomain/log -Djava.awt.headless=true -Djava.security.policy=$WLS_HOME/server/lib/weblogic.policy -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl weblogic.Server

3. Stop WebLogic server
4. Clear the Weblogic temporary deployment folder <Agile home>/agileDomain/server/-AgileServer/tmp
5. Restart WebLogic.
6. Log into WebLogic admin console and confirm that the error is gone now 

REFERENCES

BUG:9561307 - CAN NOT GENERATE REPORTS FROM AGILE
NOTE:1307737.1 - Generating Standard Reports in Agile Results in Blank or 0 Byte Files; stdout.log Shows "java.util.MissingResourceException": "Can't find resource for bundle"

 类似资料:

相关阅读

相关文章

相关问答