Error
Error : The detailed exception is: java.io.IOException: Cannot run program "javac": CreateProcess error=206, The filename or extension is too long
atg.servlet.pagecompile.jsp11.JSPPageProcessor.javaToClass(JSPPageProcessor.java:421) [_DAS_slib_sclasses.jar:]
APPLIES TO:
Oracle Commerce Platform - Version 9.4 and later
Information in this document applies to any platform.
Information in this document applies to any platform.
CAUSE
Above error is Java compiler error, where java compiler fails to compile.
SOLUTION
1. Follow the steps in sequence
- Go to location "servers/atg_config/local_prod1a_cbsbuild/localconfig/atg/dynamo/servlet" in your code base.
- Add folder pagecompile under servlet.
- Add two files with name "ExtendedJhtmlPageProcessor.properties" and "PageProcessor.properties"
- In Extend file add following code snippet
$class = atg.servlet.pagecompile.jsp11.JSPPageProcessor
javaCompilerClassName=atg.servlet.pagecompile.SunJavaSourceCompiler - In PageProcessor.properties add following code
javaCompilerClassName=atg.servlet.pagecompile.SunJavaSourceCompiler - Build your project again and restart the server.
No comments:
Post a Comment