Re: TransformerException in studio tools (Studio, Chassis, confiuration wizard etc)
We understand that you are getting the "javax.xml.transform.TransformerException"
exception on creating and saving a project in studio. This error message usually occurs when
trying to open/create a project in studio or client builder, and
when installing a project using the Deployment Wizard with JDK1.5
version. When using JDK1.5 with studio tools, additional configuration
need to be performed.
In
the case of using JDK1.5 with studio tools, certain environmental
changes needs to be done. You have to implement the endorsed
mechanism. In brief you have to perform the following steps to include
the endorsed mechanism:
1. Create a folder named "endorsed_nms"
inside <Web
NMS Home>\classes\ folder.
2. Copy the files crimson.jar,
jaxp.jar, xalan.jar into the folder.
3. Include the statement "-Djava.endorsed.dirs=%WEBNMSHOME%\classes\endorsed_nms"
in the java script in the <StudioHome>/Studio/setEnv.bat file.
set
JAVA_CMD="%JAVA_HOME%\bin\java" -Xmx200M
-Djava.endorsed.dirs=%WEBNMSHOME%\classes\endorsed_nms
(If you are working on LINUX ensure you are providing the correct slash and proper signs $ instead of %)
4. Similarly for Chassis Wizard and Configuration Wizard include the
statement "-Djava.endorsed.dirs=%WEBNMSHOME%\classes\endorsed_nms"
in the java script in the <StudioHome>/ClientBuilder/setEnv.bat file.
For Deployment Wizard tool, include the statement in the <Web NMS Home>/bin/developertools
folder in the java script entry as shown below.
%JAVA_HOME%\bin\java
-DNMS_RESOURCE_DIRECTORY=%RESOURCE_DIRECTORY%
-DRESOURCE_PROPERTIES=%RESOURCE_FILE%
-DRESOURCE_LOCALE=%RESOURCE_LOCALE%
-Djava.endorsed.dirs=%WEBNMSHOME%\classes\endorsed_nms
com.adventnet.nms.tools.nar.InstUninst
Include
the endorsed statement in script files for the respective tools that
you want to invoke.
Hope this Helps.
Deborah CD.
Re: TransformerException in studio tools (Studio, Chassis, confiuration wizard etc)
Re: TransformerException in studio tools (Studio, Chassis, confiuration wizard etc)
Please let us know the studio tool in which you are getting the error, for example, chassis or configuration wizard etc. And also post the entries that you have modified in the corresponding .bat/sh files to include the endorsed mechanism.
Also post the folder structure where you have copied the crimson, jaxp, and xalan jars.
Regards,
Deborah CD.
Corp