8 Replies Latest reply: Nov 9, 2012 12:07 AM by 967909 RSS

    ATG 9.1 Installation Problem

    967909
      Hi
      I installed ATG 9.1 in my D drive like this D:\ATG\ATG9.1 but while running pioneercycling jsp it is showing the following error

      ***
      *** The JBoss server directory for server: atg does not exist.
      *** You must specify a valid JBoss server when using the -c option.
      ***
      *** startDynamoOnJBOSS [server-name] [-clean] [-l] [-c server-config-name] [-ear
      ear-file-name] [-f additional-flag] [-j jboss-home-dir] [-layer config layers]
      [-debug -debugPort] [-m additional-module-list]
      ***
      *** server-name is the name of the Dynamo server to use.
      *** -clean Delete existing ear file and data source xml files.
      *** -l Run with the liveconfig config layer.
      *** -c The jboss server to use. Default value is atg.
      *** -ear The destination ear file name. Default is ATG.ear.
      *** -f Run additionally with the specified runAssembler flag.
      *** -j The location of the jboss installation directory.
      *** -layer Run additionally with the specified configuration layers
      *** -m Run additionally with the specified modules.
      *** -debug Run with Java remote debugging enabled on port 3000
      *** -debugPort Specifies the port for remote debugging

      D:\ATG\ATG9.1\home>

      plz resolve my problem weather i have to install C drive or any other solutions
        • 1. Re: ATG 9.1 Installation Problem
          Nitin Khare
          startDynamoOnJBOSS internally invokes ATG's runAssembler and then callls the JBoss startup script (run.bat|.sh) as run.bat -c <serverconfig>. Now if you do not give any server configuration name to startDynamoOnJBOSS commmand then by default it takes the server configuration name as atg. So there must be a server named atg within JBoss which you can create by making a copy of the existing "default" server folder within <JBOSS>\server directory and rename the copied folder to atg. This should resolve the issue.
          • 2. Re: ATG 9.1 Installation Problem
            967909
            Hi Nithin
            I did like what u said then i am getting following error


            1 file(s) copied.
            Assembly started.
            Target application is D:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear.
            Creating exploded ear file D:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear.
            Initializing...
            Updating D:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear.
            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 PioneerCyclingJSP
            Importing classes for module B2CCommerce
            Importing classes for module DCS.AbandonedOrderServices
            Importing classes for module Fulfillment
            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
            Importing classes for module manuals
            Importing J2EE module atg-admin.war declared in DafEar.Admin
            Parsing D:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear\atg_admin.war\WEB-INF\web.xml
            Importing J2EE module atg-bootstrap.war declared in DafEar.base
            Parsing D:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear\atg_bootstrap.war\WEB-INF\web.xml
            Importing J2EE module atg-bootstrap-ejb.jar declared in DafEar.base
            Importing J2EE module pioneer.war declared in PioneerCyclingJSP
            Parsing D:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear\pioneer.war\WEB-INF\web.xml
            Assembly took 9.32 seconds.
            ===============================================================================

            JBoss Bootstrap Environment

            JBOSS_HOME: D:\jboss-eap-4.2\jboss-as

            JAVA: D:\jdk6.0\bin\java

            JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

            CLASSPATH: D:\jdk6.0\lib\tools.jar;D:\jboss-eap-4.2\jboss-as\bin\run.jar

            ===============================================================================

            23:36:04,234 INFO [Server] Starting JBoss (MX MicroKernel)...
            23:36:04,234 INFO [Server] Release ID: JBoss [EAP] 4.2.0.GA (build: SVNTag=JBPAPP_4_2_0_GA date=200706281411)
            23:36:04,234 INFO [Server] Home Dir: D:\jboss-eap-4.2\jboss-as
            23:36:04,234 INFO [Server] Home URL: file:/D:/jboss-eap-4.2/jboss-as/
            23:36:04,234 INFO [Server] Patch URL: null
            23:36:04,234 INFO [Server] Server Name: atg
            23:36:04,234 INFO [Server] Server Home Dir: D:\jboss-eap-4.2\jboss-as\server\atg
            23:36:04,234 INFO [Server] Server Home URL: file:/D:/jboss-eap-4.2/jboss-as/server/atg/
            23:36:04,234 INFO [Server] Server Log Dir: D:\jboss-eap-4.2\jboss-as\server\atg\log
            23:36:04,234 INFO [Server] Server Temp Dir: D:\jboss-eap-4.2\jboss-as\server\atg\tmp
            23:36:04,234 INFO [Server] Root Deployment Filename: jboss-service.xml
            23:36:04,484 INFO [ServerInfo] Java version: 1.6.0_17,Sun Microsystems Inc.
            23:36:04,484 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 14.3-b01,Sun Microsystems Inc.
            23:36:04,500 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
            23:36:04,687 INFO [Server] Core system initialized
            Failed to boot JBoss:
            org.jboss.deployment.DeploymentException: url file:/D:/jboss-eap-4.2/jboss-as/server/atg/conf/jboss-service.xml could not be opened, does it exist?
            at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:214)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:781)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy5.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
            at org.jboss.Main.boot(Main.java:200)
            at org.jboss.Main$1.run(Main.java:508)
            at java.lang.Thread.run(Thread.java:619)
            23:36:04,750 INFO [Server] Runtime shutdown hook called, forceHalt: true
            23:36:04,765 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
            23:36:04,765 INFO [Server] Shutdown complete
            Shutdown complete
            Halting VM
            Press any key to continue . . .
            • 3. Re: ATG 9.1 Installation Problem
              Nitin Khare
              Can you confirm if jboss-service.xml file is present in jboss-as/server/default/conf? The jboss-service.xml is an important part of the JBoss configuration and has to be present within the conf folder. If it is not even there in the server/default/conf then you won't be able to start JBoss. It will fail even in the simple start using run.bat from jboss\bin. In that case you would need to setup JBoss fresh.
              • 4. Re: ATG 9.1 Installation Problem
                967909
                Hi Nithin
                I am getting following errors



                C:\Documents and Settings\Mahesh>c:

                C:\Documents and Settings\Mahesh>cd..

                C:\Documents and Settings>cd..

                C:\>cd C:\ATG\ATG9.1\home\bin

                C:\ATG\ATG9.1\home\bin>startDynamoOnJBOSS.bat -m mahesh
                Assembly started.
                Target application is D:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear.
                Creating exploded ear file D:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear.

                Initializing...
                Updating D:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear.
                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 mahesh
                Importing classes for module B2CCommerce
                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
                Importing classes for module manuals
                Importing J2EE module atg-admin.war declared in DafEar.Admin
                Parsing D:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear\atg_admin.war\WEB-
                INF\web.xml
                Importing J2EE module atg-bootstrap.war declared in DafEar.base
                Parsing D:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear\atg_bootstrap.war\
                WEB-INF\web.xml
                Importing J2EE module atg-bootstrap-ejb.jar declared in DafEar.base
                Importing J2EE module mahesh.war declared in mahesh
                Parsing D:\jboss-eap-4.2\jboss-as\server\atg\deploy\ATG.ear\mahesh.war\WEB-INF
                \web.xml
                Assembly took 0.985 seconds.
                ===============================================================================

                JBoss Bootstrap Environment

                JBOSS_HOME: D:\jboss-eap-4.2\jboss-as

                JAVA: D:\jdk6.0\bin\java

                JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli
                ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

                CLASSPATH: D:\jdk6.0\lib\tools.jar;D:\jboss-eap-4.2\jboss-as\bin\run.jar

                ===============================================================================

                23:59:41,078 INFO [Server] Starting JBoss (MX MicroKernel)...
                23:59:41,078 INFO [Server] Release ID: JBoss [EAP] 4.2.0.GA (build: SVNTag=JBPA
                PP_4_2_0_GA date=200706281411)
                23:59:41,078 INFO [Server] Home Dir: D:\jboss-eap-4.2\jboss-as
                23:59:41,078 INFO [Server] Home URL: file:/D:/jboss-eap-4.2/jboss-as/
                23:59:41,078 INFO [Server] Patch URL: null
                23:59:41,078 INFO [Server] Server Name: atg
                23:59:41,078 INFO [Server] Server Home Dir: D:\jboss-eap-4.2\jboss-as\server\at
                g
                23:59:41,078 INFO [Server] Server Home URL: file:/D:/jboss-eap-4.2/jboss-as/ser
                ver/atg/
                23:59:41,078 INFO [Server] Server Log Dir: D:\jboss-eap-4.2\jboss-as\server\atg
                \log
                23:59:41,078 INFO [Server] Server Temp Dir: D:\jboss-eap-4.2\jboss-as\server\at
                g\tmp
                23:59:41,078 INFO [Server] Root Deployment Filename: jboss-service.xml
                23:59:41,359 INFO [ServerInfo] Java version: 1.6.0_17,Sun Microsystems Inc.
                23:59:41,359 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 14.3-b01,Sun
                Microsystems Inc.
                23:59:41,359 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
                23:59:41,703 INFO [Server] Core system initialized
                23:59:43,734 INFO [WebService] Using RMI server codebase: http://mahesh-c360957
                7:8083/
                23:59:43,734 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
                ce:jboss-log4j.xml
                23:59:44,171 INFO [TransactionManagerService] JBossTS Transaction Service (JTA
                version) - JBoss Inc.
                23:59:44,171 INFO [TransactionManagerService] Setting up property manager MBean
                and JMX layer
                23:59:44,421 INFO [TransactionManagerService] Starting recovery manager
                23:59:44,500 INFO [TransactionManagerService] Recovery manager started
                23:59:44,500 INFO [TransactionManagerService] Binding TransactionManager JNDI R
                eference
                23:59:44,906 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

                --- Packages waiting for a deployer ---
                org.jboss.deployment.DeploymentInfo@6fd3b2df { url=file:/D:/jboss-eap-4.2/jboss-
                as/server/atg/deploy/atg-apps-solid-ds.xml }
                deployer: null
                status: null
                state: INIT_WAITING_DEPLOYER
                watch: file:/D:/jboss-eap-4.2/jboss-as/server/atg/deploy/atg-apps-solid-ds.xml

                altDD: null
                lastDeployed: 1352399384890
                lastModified: 1352399384890
                mbeans:

                org.jboss.deployment.DeploymentInfo@ba7b6d66 { url=file:/D:/jboss-eap-4.2/jboss-
                as/server/atg/deploy/atg-solid-ds.xml }
                deployer: null
                status: null
                state: INIT_WAITING_DEPLOYER
                watch: file:/D:/jboss-eap-4.2/jboss-as/server/atg/deploy/atg-solid-ds.xml
                altDD: null
                lastDeployed: 1352399384906
                lastModified: 1352399384906
                mbeans:

                org.jboss.deployment.DeploymentInfo@9d4cce06 { url=file:/D:/jboss-eap-4.2/jboss-
                as/server/atg/deploy/ATG.ear/ }
                deployer: null
                status: null
                state: INIT_WAITING_DEPLOYER
                watch: file:/D:/jboss-eap-4.2/jboss-as/server/atg/deploy/ATG.ear/
                altDD: null
                lastDeployed: 1352399384906
                lastModified: 1352399380484
                mbeans:

                --- Incompletely deployed packages ---
                org.jboss.deployment.DeploymentInfo@6fd3b2df { url=file:/D:/jboss-eap-4.2/jboss-
                as/server/atg/deploy/atg-apps-solid-ds.xml }
                deployer: null
                status: null
                state: INIT_WAITING_DEPLOYER
                watch: file:/D:/jboss-eap-4.2/jboss-as/server/atg/deploy/atg-apps-solid-ds.xml

                altDD: null
                lastDeployed: 1352399384890
                lastModified: 1352399384890
                mbeans:

                org.jboss.deployment.DeploymentInfo@ba7b6d66 { url=file:/D:/jboss-eap-4.2/jboss-
                as/server/atg/deploy/atg-solid-ds.xml }
                deployer: null
                status: null
                state: INIT_WAITING_DEPLOYER
                watch: file:/D:/jboss-eap-4.2/jboss-as/server/atg/deploy/atg-solid-ds.xml
                altDD: null
                lastDeployed: 1352399384906
                lastModified: 1352399384906
                mbeans:

                org.jboss.deployment.DeploymentInfo@9d4cce06 { url=file:/D:/jboss-eap-4.2/jboss-
                as/server/atg/deploy/ATG.ear/ }
                deployer: null
                status: null
                state: INIT_WAITING_DEPLOYER
                watch: file:/D:/jboss-eap-4.2/jboss-as/server/atg/deploy/ATG.ear/
                altDD: null
                lastDeployed: 1352399384906
                lastModified: 1352399380484
                mbeans:


                23:59:45,031 INFO [Server] JBoss (MX MicroKernel) [4.2.0.GA (build: SVNTag=JBPA
                PP_4_2_0_GA date=200706281411)] Started in 3s:938ms
                • 5. Re: ATG 9.1 Installation Problem
                  Nitin Khare
                  Check the following two datasource XMLs for anything invalid like any extra white space within any attributes/values.

                  jboss-as/server/atg/deploy/atg-apps-solid-ds.xml
                  jboss-as/server/atg/deploy/atg-solid-ds.xml

                  Delete ATG.ear from jboss-as/server/atg/deploy and restart.
                  • 6. Re: ATG 9.1 Installation Problem
                    967909
                    HI Nithin
                    server is working fine but while trying to open acc it is showing an error that following error

                    This version of the ATG control centre supports jre version 1.3 only you are running version 1.6.0_17 please ensure that JAVA_VM is set to correct in your startAcc script

                    please resove my problem weather i have to install java 1.3 or any other solutions
                    • 7. Re: ATG 9.1 Installation Problem
                      Nitin Khare
                      You are getting this error in starting ACC because you are using incompatible JDK. I remember that ATG 9.1 was supported with JDK 1.5 and support for JDK 1.6 only came later through a patch and this was all before Oracle acquisition. So you have to either try to install JDK 1.5 and use it with ATG by updating ATGJRE to point to JDK 1.5 in ATG9.1\home\locaolconfig\dasEnv.bat or if you want to continue using JDK 1.6 you should use ATG9.4.
                      • 8. Re: ATG 9.1 Installation Problem
                        967909
                        Nithin if i install atg 9.4 i am using jdk 6.0 so can i open acc properly