HLP#001 - FIXED - ATG dyn/admin classpath issue

ERROR Statement: 

Unable to execute the command 'javac -classpath ' The detailed exception is: java.io.IOException: Cannot run program "javac": CreateProcess error=206, The filename or extension is too long

SCREENSHOT:



REASON

When ATG dyn/admin opens, due to long paths (of Java/Weblogic/ATG etc), the java compilation command (javac) is not able to execute properly, which results in the JHTML page of dyn/admin not getting compiled by the DAS Servlet Pipeline.

FIX:


1. Navigate to the directory /localconfig/atg/dynamo
2. Create a folder servlet, if not created already.
3. Inside the folder servlet, create another folder pagecompile if not created already.
4. Inside the folder pagecompile, create a file named ExtendedJhtmlPageProcessor.properties
5. Put the following contents in the file
$class=atg.servlet.pagecompile.jsp11.JSPPageProcessor
javaCompilerClassName=atg.servlet.pagecompile.SunJavaSourceCompiler
6. Restart your server (no need to re-build)
7. Now try to open dyn/admin; your issue should be resolved.

5 comments:

  1. I have done that. Still its not opening. Any other thing to check

    ReplyDelete
    Replies
    1. Try re-deploying your application.

      Delete
    2. Its resolved. It was because the property file i created was text document with .properties extension. Now I Made it propert file. It worked.
      Thanks

      Delete
  2. What do you mean by re-deploy application .Should i configure the server instance again

    ReplyDelete
  3. Where is actually the location of /localconfig in windows

    ReplyDelete

Subscribe

Get All The Latest Updates Delivered Straight Into Your Inbox For Free!

Flickr