atg dynamo - Atg dyn exception -
i face below error while trying run http://localhost:7103/dyn/admin/ atg 10.1.2 on windows 7 dyn/admin
the detailed exception is: java.io.ioexception: cannot run program "javac": createprocess error=87, parameter incorrect
this appear because windows has limitation on command parameter lenght please advice how solve issue.
according atg support site:
oracle commerce atg convert jhtml pages java servlets , compile them class files using javac java compiler. default, javac executable invoked perform page compilation.
these errors point low level problem invoking javac compiler. error=87
problem on weblogic 12 has many different libraries in nested directories.
the solution (which works me on atg11.1 , weblogic 12.1.3) is
edit or create files
<atg_home>/localconfig/atg/dynamo/servlet/pagecompile/pageprocessor.properties <atg_home>/localconfig/atg/dynamo/servlet/pagecompile/extendedjhtmlpageprocessor.properties
(i prefer create them in <atg_data>/servers/<servername>/localconfig/...
folder not sure of setup)
add these lines created above.
# use java's internal compiler - use when using oracle's jvm. javacompilerclassname=atg.servlet.pagecompile.sunjavasourcecompiler
Comments
Post a Comment