Sunday 16 March 2014

Dyn/admin home page issue in ATG10.2

I encountered below error while trying to open the home page of dyn/admin in ATG10.2.

Unable to execute the command javac -classpath C:\apps\java\jre\lib\resources.jar;C:\apps\java\jre\lib\rt.jar;C:\apps\java\jre\lib\sunrsasign.jar;C:\apps\java\jre\lib\jsse.jar;C:\apps\java\jre\lib\jce.jar;........................................................................................................................./atg/dynamo/servlet/pagecompile/PageCompileServlet The detailed exception is: java.io.IOException: Cannot run program "javac": CreateProcess error=206, The filename or extension is too long.

Follow below steps to resolve this issue.

Add ExtendedJhtmlPageProcessor component at atg\dynamo\servlet\pagecompile\ location and restart the sever.
Steps

1. Navigate to ATG_HOME\localconfig directory.

2. Create atg\dynamo\servlet\pagecompile directory structure there.

3. CreateExtendedJhtmlPageProcessor.properties file with below content in that directory.

     #atg\dynamo\servlet\pagecompile\ExtendedJhtmlPageProcessor.properties
     $class=atg.servlet.pagecompile.jsp11.JSPPageProcessor
     javaCompilerClassName=atg.servlet.pagecompile.SunJavaSourceCompiler

2 comments:

  1. You can use :Long Path Tool to solve such issue of long filename and it can also remove the error-206. It is very useful.

    ReplyDelete