Hi,

I am getting the following exception on creating a new project in chassis wizard.

IOException occurred when trying to write to file : C:\AdventNet\WebNMS\StudioTools\ClientBuilder\projects\test.proj Message : java.io.FileNotFoundException: file:\C:\AdventNet\WebNMS\StudioTools\ClientBuilder\projects\test.proj (The filename, directory name, or volume label syntax is incorrect)
Exception Details :
   Type : javax.xml.transform.TransformerException
   Message : java.io.FileNotFoundException: file:\C:\AdventNet\WebNMS\StudioTools\ClientBuilder\projects\test.proj (The filename, directory name, or volume label syntax is incorrect)
 Parsing failed for test .proj. File is corrupted or missing

Please reply as soon as possible.

Regards,

Carol.



  • No status

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.


Hi,

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.


Post Actions
Statistics
  • 3
     Replies
  • 339
     Views
  • 0
     Followers
Tags for the post
No tags available for this topic.
© 2009 Corp. All rights reserved. Trademarks | Privacy Policy | Site Map | Contact Us | Careers

Edit Link Delete Link

Edit Link Delete Link

LoadingImage