6 Replies Latest reply: Jul 5, 2013 11:06 PM by 974892 RSS

    Deployment error while deploying targeters in BCC

    974892

      Hi,

      I am trying to create a targeter with content groups and media internal texts. Whenever i deploy a project with these assets, i get deployment error.

      It says "Deployment '169200010' to target 'production' encountered a system level deployment error during data transfer. An automatic rollback deployment has successfully occurred, preserving the state of target 'production'. Click 'Resume' to re-attempt the deployment."

       

      I checked for the VFS set up for targeters and content groups and they are in place.

      There are 3 assets in the project. It says the asset already exists

      The error log below : I am struck up here and not able to take any step further. Please share your inputs on this

       

      2013-06-20 22:40:25,569 WARN  [nucleusNamespace.atg.epub.PublishingRepository] (http-172.19.0.197-40180-6) Using default JDBC type for: project:tar82 could not find this column in the table's meta data

      2013-06-20 22:40:51,348 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Run first apply phase: true

      2013-06-20 22:40:51,349 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Switch switchable CA datasources:

      2013-06-20 22:40:51,349 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG   isDeploymentRollback(): false

      2013-06-20 22:40:51,360 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG   Current Target live datasource name: DataSourceB

      2013-06-20 22:40:51,360 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG   CA switching datasource: /atg/commerce/jdbc/ProductCatalogSwitchingDataSource_production

      2013-06-20 22:40:51,361 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG     Current live datasource name: DataSourceA

      2013-06-20 22:40:51,361 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG     Current offline datasource name: DataSourceB

      2013-06-20 22:40:51,361 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG     The current CA live datasource is pointing at the Target offline datasource. No CA switch necessary.

      2013-06-20 22:40:51,361 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Switchable CA datasources switched.

      2013-06-20 22:40:51,408 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:DAF Deployment with ID: 169200010 not previously deployed.

      2013-06-20 22:40:51,414 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:Creating standard DeploymentData

      2013-06-20 22:40:51,446 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Forward deploying following active workspaces: [workspace:118102]

      2013-06-20 22:40:53,770 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:Deploy Data

      2013-06-20 22:40:53,771 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:Starting DAF deployment with ID: 169200010

      2013-06-20 22:40:53,776 INFO  [nucleusNamespace.atg.deployment.DeploymentManager] (Thread-103) Database: Oracle

      2013-06-20 22:40:53,922 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:Polling Until Data Appplied

      2013-06-20 22:40:53,922 INFO  [nucleusNamespace.atg.deployment.DeploymentManager] (Main deployment thread: ) Starting deployment with id: 169200010

      2013-06-20 22:40:53,950 INFO  [nucleusNamespace.atg.deployment.DeploymentManager] (Main deployment thread: ) Executing deployment in LOCAL mode

      2013-06-20 22:40:55,442 WARN  [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem

      2013-06-20 22:40:55,461 WARN  [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase))  item = fileMarker:mark106400001 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem; SOURCE:deploymentHandlerFileToAddExists: level 3: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem

      atg.deployment.file.DeploymentTargetException: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem

        at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)

        at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)

        at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)

        at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)

        at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)

      message = Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem time = Thu Jun 20 22:40:55 CDT 2013  atg.deployment.DeploymentFailure@17dc0e19

      2013-06-20 22:40:55,490 WARN  [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem

      2013-06-20 22:40:55,490 WARN  [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase))  item = fileMarker:mark106400002 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem; SOURCE:deploymentHandlerFileToAddExists: level 3: Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem

      atg.deployment.file.DeploymentTargetException: Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem

        at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)

        at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)

        at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)

        at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)

        at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)

      message = Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem time = Thu Jun 20 22:40:55 CDT 2013  atg.deployment.DeploymentFailure@38d281d4

      2013-06-20 22:40:55,547 WARN  [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem

      2013-06-20 22:40:55,547 WARN  [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase))  item = fileMarker:mark106400003 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem; SOURCE:deploymentHandlerFileToAddExists: level 3: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem

      atg.deployment.file.DeploymentTargetException: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem

        at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)

        at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)

        at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)

        at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)

        at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)

      message = Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem time = Thu Jun 20 22:40:55 CDT 2013  atg.deployment.DeploymentFailure@70126ca0

      2013-06-20 22:40:55,684 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase))

      CAUGHT AT:

      CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null

      CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..

        at atg.deployment.file.FileWorkerThread.handleErrorLogging(FileWorkerThread.java:1261)

        at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1276)

        at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)

        at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)

        at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)

        at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)

      Caused by: deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null

      CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..

        at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)

        ... 6 more

      SOURCE EXCEPTION:

      deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null

      CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..

      2013-06-20 22:40:55,685 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase))  item = fileMarker:mark106400004 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null

      CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..

        at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)

        at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)

        at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)

        at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)

        at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)

      message = IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null time = Thu Jun 20 22:40:55 CDT 2013  atg.deployment.DeploymentFailure@1f344a25

      CAUGHT AT:

      CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null

      CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..

        at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)

        at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)

        at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)

        at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)

        at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)

      Caused by: deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null

      CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..

        at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)

        ... 5 more

      SOURCE EXCEPTION:

        • 1. Re: Deployment error while deploying targeters in BCC
          Gurvinder

          It seems you are trying to  deploy a repository group that already exists with the same name.

          file /atg/registry/RepositoryGroups/home_spot1_user.properties


          Kindly check.


          ~Gurvinder

          • 2. Re: Deployment error while deploying targeters in BCC
            974892

            yes i checked. To clear this out, i created a new project with new set of content groups and targeters.

            It throws this error. I get this error at 30% of deployment

             

            2013-06-21 12:04:07,944 INFO  [nucleusNamespace.atg.deployment.DeploymentManager] (Thread-124) Database: Oracle

            2013-06-21 12:04:07,959 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-124) DEBUG DistributedDeploymentAdapter:Polling Until Data Appplied

            2013-06-21 12:04:07,959 INFO  [nucleusNamespace.atg.deployment.DeploymentManager] (Main deployment thread: ) Starting deployment with id: 135200010

            2013-06-21 12:04:07,970 INFO  [nucleusNamespace.atg.deployment.DeploymentManager] (Main deployment thread: ) Executing deployment in LOCAL mode

            2013-06-21 12:04:09,708 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-1(Add-Update Phase))

            CAUGHT AT:

            CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null

            CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.

              at atg.deployment.file.FileWorkerThread.handleErrorLogging(FileWorkerThread.java:1261)

              at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1276)

              at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)

              at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)

              at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)

              at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)

            Caused by: deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null

            CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.

              at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)

              ... 6 more

            SOURCE EXCEPTION:

            deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null

            CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.

            2013-06-21 12:04:09,715 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-1(Add-Update Phase))  item = fileMarker:mark115500048 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null

            CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.

              at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)

              at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)

              at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)

              at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)

              at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)

            message = IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null time = Fri Jun 21 12:04:09 CDT 2013  atg.deployment.DeploymentFailure@7bbc32e1

            CAUGHT AT:

            CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null

            CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.

              at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)

              at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)

              at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)

              at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)

              at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)

            Caused by: deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null

            CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.

              at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)

              ... 5 more

            SOURCE EXCEPTION:

            deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null

            CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.

            2013-06-21 12:04:09,741 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-1(Add-Update Phase))  item = fileMarker:mark115500048 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null

            CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.

            • 3. Re: Deployment error while deploying targeters in BCC
              Gurvinder

              First check in BCC in Targeting & Segmentation under Repository Groups if there exist the same name repository group or not.

              If not then

              Can you look into your PublishingAgent folder if there already exist any property with the same name.

              <ATG>\home\servers\<storefront-server>\PublishingAgent\deploymentconfig\staging\config\atg\registry\RepositoryGroups

              <ATG>\home\servers\<storefront-server>\PublishingAgent\deploymentconfig\live\config\atg\registry\RepositoryGroups

               

              See if there already exist the file, if so try removing it and then redeploy the project.

               

              ~Gurvinder

              • 4. Re: Deployment error while deploying targeters in BCC
                974892

                After

                <ATG>\home\servers\<storefront-server>\PublishingAgent\deploymentconfig\staging\config\

                and

                <ATG>\home\servers\<storefront-server>\PublishingAgent\deploymentconfig\live\config

                there are no folders or entries.


                From the error log

                Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.

                How / where do we configure items under RepositoryGroups/ RepositoryTargeters to be mutable ContentRepositoryItem.


                • 5. Re: Deployment error while deploying targeters in BCC
                  Gautam Singh

                  Can you check that you have read/write permission to following directory:

                  If running exploder EAR

                  {ATG_HOME}\servers\{PROD_SERVER}\PublishingAgent\deploymentconfig\live\

                  {ATG_HOME}\servers\{PUB_SERVER}\Publishing\versionFileStore\PublishingFiles\

                   

                  If running standalone EAR on JBOSS

                  {JBOSS_HOME}\ATG-Data\servers\{PROD_SERVER}\PublishingAgent\deploymentconfig\live\

                  {JBOSS_HOME}\ATG-Data\servers\{PUB_SERVER}\Publishing\versionFileStore\PublishingFiles\

                  • 6. Re: Deployment error while deploying targeters in BCC
                    974892

                    Please let me know how or where to find permissions for a given folder