Showing posts with label missing JRE. Show all posts
Showing posts with label missing JRE. Show all posts

Friday, December 23, 2011

ATG - runAssembler The system cannot find the path specified

Problem

I was running ATG runAssembler script and got the following error

C:\ATGDEV\ATG\ATG10.0.2\home\bin>runAssembler DCSSampleCatalog.ear -m DCSSampleCatalog;DafEar.Admin
The system cannot find the path specified.

Solution

I opened up the runAssembler batch file, switched echo on and then reran the runAssembler command above. Figured out that the issue was with the path of the java exe, it was pointing to a wrong path. Actually I uninstalled JDK and reinstalled it onto some other path after I installed ATG and that was the cause of the issue. I had to open the dasEnv.bat inside ATG_HOME\localconfig folder and update the ATGJRE environment variable to point to the new java.exe path. Reran the runAssembler command it worked fine.

C:\ATGDEV\ATG\ATG10.0.2\home\bin>runAssembler DCSSampleCatalog.ear -m DCSSampleCatalog;DafEar.Admin
Assembly started.
Target application is C:\ATGDEV\ATG\ATG10.0.2\home\bin\DCSSampleCatalog.ear.
 Creating exploded ear file C:\ATGDEV\ATG\ATG10.0.2\home\bin\DCSSampleCatalog.ear.
Initializing...
 Before make meta-inf file.
Making meta-inf file C:\ATGDEV\ATG\ATG10.0.2\home\bin\DCSSampleCatalog.ear\META-INF
Creating application.xml...
 Creating Ear file MANIFEST...
 Importing classes...
Importing classes for module DafEar
 Importing classes for module DafEar.Admin
 Importing classes for module DafEar.base
      Importing classes for module DCSSampleCatalog
 Importing classes for module DCS
   Importing classes for module DSS
   Importing classes for module DPS
   Importing classes for module DAS-UI
    Importing classes for module DAS
  Ignoring classpath entry lib/servlet.jar from module DAS
 Ignoring classpath entry lib/jsp-api.jar from module DAS
      Importing classes for module manuals
  Importing J2EE module atg-admin.war declared in DafEar.Admin
  Parsing C:\ATGDEV\ATG\ATG10.0.2\home\bin\DCSSampleCatalog.ear\atg_admin.war\WEB-INF\web.xml
 Importing J2EE module atg-bootstrap.war declared in DafEar.base
  Parsing C:\ATGDEV\ATG\ATG10.0.2\home\bin\DCSSampleCatalog.ear\atg_bootstrap.war\WEB-INF\web.xml
 Importing J2EE module atg-bootstrap-ejb.jar declared in DafEar.base
 Importing J2EE module sampleCatalog.war declared in DCSSampleCatalog
  Parsing C:\ATGDEV\ATG\ATG10.0.2\home\bin\DCSSampleCatalog.ear\sampleCatalog.war\WEB-INF\web.xml
  Assembly took 2.72 seconds.