Friday, March 24, 2017

-Djava.security.policy=lib/java.policy: No such file or directory

     [echo] runAssembler path is /data/ATG/ATG11.2/home/bin/
     [echo]
     [exec] Error:   -Djava.security.policy=lib/java.policy -Datg.dynamo.home=. -Datg.dynamo.root=./.. -Datg.dynamo.display= -Djava.protocol.handler.pkgs=atg.net.www.protocol -Djava.naming.factory.url.pkgs=atg.jndi.url  -Datg.dynamo.modulepath=./.. -Xms512m -Xmx1024m -XX:MaxPermSize=128m -XX:MaxNewSize=128m -Datg.dynamo.server.home= -Datg.dynamo.modules=:DSS:DSS -Datg.dynamo.layers= -Datg.dynamo.root=./.. -Datg.cygwin=false atg.applauncher.dynamo.DynamoServerLauncher -environment /tmp/dynamoEnv2656.sh :DSS:DSS -classPathModules :DSS:DSS  failed
     [exec] CLASSPATH was ./locallib/:./lib/launcher.jar:/data/ATG/ATG11.2/home/../Tomcat/apache-tomcat-7.0.37/lib/servlet-api.jar:/data/ATG/ATG11.2/home/../Tomcat/apache-tomcat-7.0.37/lib/jsp-api.jar:./../DafEar/Tomcat/atomikos/jta.jar:./../DAS/lib/min-ejb3-api.jar
     [exec] DYNAMO_HOME was .
     [exec] DYNAMO_MODULES was :DSS:DSS
     [exec] ./bin/dynamoEnv.sh: line 347: -Djava.security.policy=lib/java.policy: No such file or directory
     [exec] /data/ATG/ATG11.2/home/bin/runAssembler: line 33: -Xms96m: command not found



This is known bug in ATG, it doesnot create entries in dynEnv.sh  file location

<DYNAMO_HOME>/home/localconfig/dasEnv.sh

Please add these values if youre using jboss [please use appropriate paths]

ATGJRE=/data/jdk/jre/bin/java;export ATGJRE JBOSS_HOME=/data/jboss-as;export JBOSS_HOME JBOSS_VERSION=6.4.0;export JBOSS_VERSION


if youre using weblogic
export ATGJRE=/data/jdk/jre/bin/java;export ATGJRE


export WL_HOME=/data/weblogic/middleware/oracle_Home/wlserver;export WL_HOME


export WL_VERSION=12.0.1;export WL_VERSION


No comments:

Post a Comment