atg.deployment.file.DeploymentSourceException:

3,010 views
Skip to first unread message

Kadinamkulam

unread,
May 15, 2013, 6:12:13 PM5/15/13
to atg_...@googlegroups.com
Hi Experts,

I am getting the below error while trying to do full-deployments.

Any idea for this issue.

I did "/atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true" as per the error.Still the error is there while doing full deployments.

Any thought highly appreciated.

Warm Regards
KdM



2013-05-15 22:08:01,818 WARN  [SiteRepository_production] invalidateCaches called with global=true on an item-descriptor without cache-mode="distributed" and the GSAInvalidator service is disabled - not sending distributed events
2013-05-15 22:08:01,867 ERROR [DeploymentManager]
CAUGHT AT:
CONTAINER:atg.deployment.file.DeploymentSourceException: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a SwitchableLocalFileSystem.  Either reconfigure it to be switchable or disable this feature by setting /atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true; SOURCE:deploymentHandlerCompVFSNotSwitchable: level 4: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a SwitchableLocalFileSystem.  Either reconfigure it to be switchable or disable this feature by setting /atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true
atg.deployment.file.DeploymentTargetException: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a SwitchableLocalFileSystem.  Either reconfigure it to be switchable or disable this feature by setting /atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true
        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.preDeploymentPhase(FileWorkerThread.java:354)
        at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:338)
Caused by: deploymentHandlerCompVFSNotSwitchable: level 4: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a SwitchableLocalFileSystem.  Either reconfigure it to be switchable or disable this feature by setting /atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true
atg.deployment.file.DeploymentTargetException: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a SwitchableLocalFileSystem.  Either reconfigure it to be switchable or disable this feature by setting /atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true
        at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)
        ... 5 more
SOURCE EXCEPTION:
deploymentHandlerCompVFSNotSwitchable: level 4: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a SwitchableLocalFileSystem.  Either reconfigure it to be switchable or disable this feature by setting /atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true
atg.deployment.file.DeploymentTargetException: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a SwitchableLocalFileSystem.  Either reconfigure it to be switchable or disable this feature by setting /atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true
2013-05-15 22:08:01,868 ERROR [DeploymentManager] Unexpected error occurred. DeploymentWorkerThread terminated prematurely.
CAUGHT AT:
CONTAINER:atg.deployment.file.DeploymentSourceException: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a SwitchableLocalFileSystem.  Either reconfigure it to be switchable or disable this feature by setting /atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true; SOURCE:deploymentHandlerCompVFSNotSwitchable: level 4: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a SwitchableLocalFileSystem.  Either reconfigure it to be switchable or disable this feature by setting /atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true
atg.deployment.file.DeploymentTargetException: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a SwitchableLocalFileSystem.  Either reconfigure it to be switchable or disable this feature by setting /atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true
        at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
        at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
        at atg.deployment.file.FileWorkerThread.preDeploymentPhase(FileWorkerThread.java:354)
        at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:338)
Caused by: deploymentHandlerCompVFSNotSwitchable: level 4: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a SwitchableLocalFileSystem.  Either reconfigure it to be switchable or disable this feature by setting /atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true
atg.deployment.file.DeploymentTargetException: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a SwitchableLocalFileSystem.  Either reconfigure it to be switchable or disable this feature by setting /atg/deployment/file/DeploymentConfiguration.noCopyLiveToStaging=true
        at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)
        ... 4 more
SOURCE EXCEPTION:
deploymentHandlerCompVFSNotSwitchable: level 4: Running a switched deployment in agent-side copy mode can only be done if all target VFSs are switchable.  /atg/epub/file/ConfigFileSystem is not a Switchable

Rajinder S. Nagi

unread,
May 15, 2013, 11:37:11 PM5/15/13
to atg_...@googlegroups.com
Hi K,

     Please send log stack with DeploymentManager, DeploymentServer, DeploymentAgent loggingDebug to true as discussed earlier?

Best Regards,
Rajinder Singh
Oracle ATG Web Commerce Software Engineer
Contact: 404-932-2247
Twitter@Raj_Nagi, Profile: http://www.linkedin.com/in/raindernagi





On Wed, May 15, 2013 at 6:12 PM, Kadinamkulam <kadina...@gmail.com> wrote:
Boxbe This message is eligible for Automatic Cleanup! (kadina...@gmail.com) Add cleanup rule | More info
--
--
You received this message because you are subscribed to the Google Groups "ATG_Tech" group.
To post to this group, send email to atg_...@googlegroups.com
To unsubscribe from this group, send email to atg_tech-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/atg_tech?hl=en
---
You received this message because you are subscribed to the Google Groups "ATG_Tech" group.
To unsubscribe from this group and stop receiving emails from it, send an email to atg_tech+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


Kadinamkulam

unread,
May 16, 2013, 12:15:18 PM5/16/13
to atg_...@googlegroups.com
Hi here is the logs after enabling them. I could not find the deploymentAgent component

2013-05-16 16:11:29,237 INFO  [DeploymentServer] DEBUG 7700004:Production:atg.deployment.server.Deployment.readTargetSnapshot(Deployment.java:2905) mTargetSnapshot != null, mTargetSnapshot.ID=13607 mTargetSnapshot.Name=prj78001-DeploymentSnapshot-tar254
2013-05-16 16:11:29,238 INFO  [DeploymentServer] DEBUG state changing : new = ACTIVE_PREPARE : current = DONE_LOCK : previous = ACTIVE_LOCK
2013-05-16 16:11:29,276 INFO  [DeploymentServer] DEBUG 7700004:Production:atg.deployment.server.Deployment.createPrerequisiteSnapshots(Deployment.java:2404) Waited '35' milliseconds for checkin lock.
2013-05-16 16:11:29,283 WARN  [PublishingRepository] Using default JDBC type for: project:tar254 could not find this column in the table's meta data
2013-05-16 16:11:29,285 WARN  [PublishingRepository] Using default JDBC type for: project:tar254 could not find this column in the table's meta data
2013-05-16 16:11:29,290 INFO  [DeploymentServer] DEBUG Utils.findDeploymentPrerequisites()No orphans found for adding to deployment.
2013-05-16 16:11:29,316 INFO  [DeploymentServer] DEBUG 7700004:Production:atg.deployment.server.Deployment.printSnapshotCalculationProjectQueue(Deployment.java:4001) Snapshot Calculation Queue:
 ---> PROJECT_NAME                                PROJECT_ID                                  ACTIVE_COMPLETE    CHECKIN_TIME               SNAPSHOT_ID                                 DEPLOYED?    WORKSPACE_ID
 ---> K Item Test Set II                         prj84004                                    Complete           2013-05-16 13:07:27.597    14001                                       Yes          13707
2013-05-16 16:11:29,326 INFO  [DeploymentServer] DEBUG Found deployment snapshot on project: prj84004-KM Item Test Set II Snapshot ID:14001
2013-05-16 16:11:29,326 INFO  [DeploymentServer] DEBUG Found deployment snapshot on project: prj84004-KM Item Test Set II Snapshot ID:14001
2013-05-16 16:11:29,340 INFO  [DeploymentServer] DEBUG Calculated FROM Snapshot: 14001
2013-05-16 16:11:29,340 INFO  [DeploymentServer] DEBUG Calculated TO Snapshot: 14001
2013-05-16 16:11:29,340 INFO  [DeploymentServer] DEBUG 7700004:Production:atg.deployment.server.Deployment.calculateDeploymentSnapshots(Deployment.java:3551) Using 'To' snapshot: ID='14001' Name='prj84004-DeploymentSnapshot-tar254'
2013-05-16 16:11:29,340 INFO  [DeploymentServer] DEBUG 7700004:Production:atg.deployment.server.Deployment.calculateDeploymentSnapshots(Deployment.java:3558) Using 'From' snapshot: ID='14001' Name='prj84004-DeploymentSnapshot-tar254'
2013-05-16 16:11:29,349 INFO  [DeploymentServer] DEBUG state changing : new = ERROR_PREPARE : current = ACTIVE_PREPARE : previous = DONE_LOCK
2013-05-16 16:11:29,356 ERROR [DeploymentServer]
atg.deployment.common.DeploymentException: error preparing target:agent 'Production:devcommerce' : ERROR : mis-match in live data store name of switchable data stores : 'DataSourceA' != 'DataSourceB'
        at atg.deployment.common.ResourceUtil.exception(ResourceUtil.java:445)
        at atg.deployment.server.Deployment.agentException(Deployment.java:5182)
        at atg.deployment.server.Deployment.prepareAgents(Deployment.java:4434)
        at atg.deployment.server.Deployment.run(Deployment.java:1898)
        at java.lang.Thread.run(Thread.java:662)

Rajinder S. Nagi

unread,
May 16, 2013, 12:44:22 PM5/16/13
to atg_...@googlegroups.com
Hi K,

     Check your DataSourceA and DatasourceB config, there seems to be a mis-match?

Best Regards,
Rajinder Singh
Oracle ATG Web Commerce Software Engineer
Contact: 404-932-2247
Twitter@Raj_Nagi, Profile: http://www.linkedin.com/in/raindernagi





On Thu, May 16, 2013 at 12:15 PM, Kadinamkulam <kadina...@gmail.com> wrote:
Boxbe This message is eligible for Automatic Cleanup! (kadina...@gmail.com) Add cleanup rule | More info

Kadinamkulam

unread,
May 16, 2013, 12:50:31 PM5/16/13
to atg_...@googlegroups.com
any thoughts on where to check it . DS.xml or via dyn admin component?

Rajinder S. Nagi

unread,
May 16, 2013, 1:27:19 PM5/16/13
to atg_...@googlegroups.com
You can check anywhere, make sure they are configured correctly.

Best Regards,
Rajinder Singh
Oracle ATG Web Commerce Software Engineer
Contact: 404-932-2247
Twitter@Raj_Nagi, Profile: http://www.linkedin.com/in/raindernagi





On Thu, May 16, 2013 at 12:50 PM, Kadinamkulam <kadina...@gmail.com> wrote:
Boxbe This message is eligible for Automatic Cleanup! (kadina...@gmail.com) Add cleanup rule | More info

any thoughts on where to check it . DS.xml or via dyn admin component?

Kadinamkulam

unread,
May 16, 2013, 7:24:45 PM5/16/13
to atg_...@googlegroups.com
I am getting below error too..
Deployment '7800004-switch' to target 'Production' encountered a system level deployment error during data transfer.

Rajinder S. Nagi

unread,
May 16, 2013, 7:52:35 PM5/16/13
to atg_...@googlegroups.com
Hi K,

     First check for allowMissingNonEssentialAgents property ins Deployment to true or false. Change the value at admin console and redo deployment. 


    Once not fixed : Check in atg.deployment.server.Deployment class has getTargetLiveDataStoreName() of type String and getSwitchableDataSources which extends DeploymentServer component of publishing. 

     you will find DeploymentAgent component in production or agent.

Try this?

Best Regards,
Rajinder Singh
Oracle ATG Web Commerce Software Engineer
Contact: 404-932-2247
Twitter@Raj_Nagi, Profile: http://www.linkedin.com/in/raindernagi





On Thu, May 16, 2013 at 7:24 PM, Kadinamkulam <kadina...@gmail.com> wrote:
Boxbe This message is eligible for Automatic Cleanup! (kadina...@gmail.com) Add cleanup rule | More info

I am getting below error too..
Deployment '7800004-switch' to target 'Production' encountered a system level deployment error during data transfer.

Bibin K T

unread,
May 17, 2013, 8:52:35 AM5/17/13
to atg_...@googlegroups.com, kadina...@gmail.com
Hello

 Prepare failure may happen due to one of following reasons.

1. Live Data Source mismatch in Production.
2. Production RMI is non listening mode.

In your case it seems to be the first one  so

1. Go to Agents Tab and Click on "Switchable DataSources"
2. Change "SwitchDataSource" and "ConfigFileSystem" to either DataSourceA or DataSourceB. Select the mismatch    datasource and Switch selected datasources.
3. Go back to "Details" tab and resume the deployment

, let me know if it helps



--

Rajinder S. Nagi

unread,
May 17, 2013, 10:33:38 AM5/17/13
to atg_...@googlegroups.com
Hi K,

    I agree with Bipin recommendations. 

    Thanks for it, Bipin!!

Best Regards,
Rajinder Singh
Oracle ATG Web Commerce Software Engineer
Contact: 404-932-2247
Twitter@Raj_Nagi, Profile: http://www.linkedin.com/in/raindernagi





On Fri, May 17, 2013 at 8:52 AM, Bibin K T <bibi...@gmail.com> wrote:
Boxbe This message is eligible for Automatic Cleanup! (bibi...@gmail.com) Add cleanup rule | More info

Hello

 Prepare failure may happen due to one of following reasons.

1. Live Data Source mismatch in Production.
2. Production RMI is non listening mode.

In your case it seems to be the first one  so

1. Go to Agents Tab and Click on "Switchable DataSources"
2. Change "SwitchDataSource" and "ConfigFileSystem" to either DataSourceA or DataSourceB. Select the mismatch    datasource and Switch selected datasources.
3. Go back to "Details" tab and resume the deployment

, let me know if it helps


On Thu, May 16, 2013 at 12:12 AM, Kadinamkulam <kadina...@gmail.com> wrote:

--
--
You received this message because you are subscribed to the Google Groups "ATG_Tech" group.
To post to this group, send email to atg_...@googlegroups.com
To unsubscribe from this group, send email to atg_tech-u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/atg_tech?hl=en
---
You received this message because you are subscribed to the Google Groups "ATG_Tech" group.
To unsubscribe from this group and stop receiving emails from it, send an email to atg_tech+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Rajinder S. Nagi

unread,
May 17, 2013, 10:56:17 AM5/17/13
to atg_...@googlegroups.com
Hi K,

     Probably, I was going in different direction

Kadinamkulam

unread,
May 17, 2013, 11:35:00 AM5/17/13
to atg_...@googlegroups.com
No No, the debug enabling helped me to find the root cause which eventually lead me to the epub_deployment tables :)

Reply all
Reply to author
Forward
0 new messages