Mini Francis
unread,Aug 11, 2009, 7:46:24 AM8/11/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ATG_Tech
Hi All,
We have a requirement to manage file assets.
1. Images, PDF, document - Binary File Assets
2. Html,jsp – text file assets
We are using ATG9.0 ,Jboss server and Oracle10G.
Followed the steps from Content Administration Programming Guide
ATG9.0 manual: 4: Configure JSP File Asset Support,Configure Support
for Other File
We have a storefront server and CA server . Both were running in
Jboss.
ATG-Required modules for storefront: B2BCommerce PublishingAgent
DafEar.Admin
ATG-Required modules for CA: PubPortlet Publishing.base
B2BCommerce.Versioned DCS.CustomCatalogs.Versioned DafEar.Admin
myStorefront
Followed the steps for Configure JSP File Asset in CA
1. Extend the PublishingFileRepository repository definition to
support JSP. (.../config/atg/epub/file/publishingFiles.xml ;
/atg/epub/file/PublishingFileRepository that sets the new item
descriptor’s cache mode to locked in the liveconfig layer .../
liveconfig/atg/epub/file/publishingFiles.xml)
2. Configure a custom VFS to expose new item types in the content
development environment. (.../config/atg/epub/file/
myAppFileSystem.properties)
4. Set up the VersionManagerService to manage the custom VFS. (...../
config/atg/epub/version/VersionManagerService.properties)
5. configure TypeMapping components for new item types. (.../config/
atg/epub/file/typemappers/myAppJavaServerPageTypeMapping.properties;
PublishingTypeMapper.properties)
In Storefront
1. The target site requires a configuration file for the VFS
SelectiveDeleteVFSService , to which the JSPs are deployed from the
content development environment.
(.../config/atg/epub/file/myAppFileSystem.properties)
$class=atg.service.vfs.SelectiveDeleteVFSService
localDirectory=C:/ATG/ATG9.0/myApp/j2ee-apps/myApp
fileExtensions=jsp,jspf,JSP,JSPF
scheduler=/atg/dynamo/service/Scheduler
#ownerCacheDataFile={serverHomeDirResource?
resourceURI=PublishingAgent/data/webappref-owner-cache.txt}
# uncomment to turn on ownership conflict management
# ownerCacheEnabled=true
After the configuration, started storefront server and CA server.
1. Access the CA, Admin Console=>Configuration
2. Created site and agent.When created the Agent I can see the
myAppFileSystem in available FileSystems. Edited the transport URl and
selected myAppFileSystem and saved to the Agent.
3. When trying to select the full deployment, I got the following
error, and when I checked the production,all the commerce data was
deleted from the db also. I am copying the error below, what I got:
16:24:32,125 ERROR [DeploymentManager]
CAUGHT AT:
CONTAINER:atg.repository.RepositoryException;
SOURCE:org.jboss.util.NestedSQLException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >); - nested throwable:
(org.jboss.resource.JBossResourceException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >))
at atg.adapter.gsa.GSAItemDescriptor.addItem
(GSAItemDescriptor.java:6349)
at atg.adapter.gsa.GSARepository.addItem(GSARepository.java:
1009)
at
atg.deployment.repository.ReferenceItemGenerator.createDummyItem
(ReferenceItemGenerator.java:499)
at
atg.deployment.repository.ReferenceItemGenerator.findDummyReferenceItem
(ReferenceItemGenerator.java:577)
at
atg.deployment.repository.ReferenceItemGenerator.generateDummyItems
(ReferenceItemGenerator.java:258)
at
atg.deployment.repository.RepositoryWorkerThread.preDeploymentPhase
(RepositoryWorkerThread.java:534)
at atg.deployment.DeploymentWorkerThread.run
(DeploymentWorkerThread.java:303)
Caused by: org.jboss.util.NestedSQLException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >); - nested throwable:
(org.jboss.resource.JBossResourceException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >))
at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:95)
at atg.adapter.gsa.GSATransaction.getConnection
(GSATransaction.java:725)
at atg.adapter.gsa.GSAItemDescriptor.getConnection
(GSAItemDescriptor.java:2314)
at atg.adapter.gsa.GSAItemDescriptor.addItem
(GSAItemDescriptor.java:6268)
... 6 more
Caused by: org.jboss.resource.JBossResourceException: Could not enlist
in transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >)
at
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected
(TxConnectionManager.java:358)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection
(BaseConnectionManager2.java:524)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection
(BaseConnectionManager2.java:405)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection
(BaseConnectionManager2.java:849)
at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:89)
... 9 more
Caused by: javax.transaction.SystemException: java.lang.Throwable:
Unabled to enlist resource, see the previous warnings.
tx=TransactionImple < ac, BasicAction: -53e0cc0f:601:4a813deb:c4b8
status: ActionStatus.ABORT_ONLY >
at org.jboss.resource.connectionmanager.TxConnectionManager
$TxConnectionEventListener$TransactionSynchronization.checkEnlisted
(TxConnectionManager.java:759)
at org.jboss.resource.connectionmanager.TxConnectionManager
$TxConnectionEventListener.enlist(TxConnectionManager.java:592)
at
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected
(TxConnectionManager.java:352)
... 13 more
SOURCE EXCEPTION:
org.jboss.util.NestedSQLException: Could not enlist in transaction on
entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >); - nested throwable:
(org.jboss.resource.JBossResourceException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >))
at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:95)
at atg.adapter.gsa.GSATransaction.getConnection
(GSATransaction.java:725)
at atg.adapter.gsa.GSAItemDescriptor.getConnection
(GSAItemDescriptor.java:2314)
at atg.adapter.gsa.GSAItemDescriptor.addItem
(GSAItemDescriptor.java:6268)
at atg.adapter.gsa.GSARepository.addItem(GSARepository.java:
1009)
at
atg.deployment.repository.ReferenceItemGenerator.createDummyItem
(ReferenceItemGenerator.java:499)
at
atg.deployment.repository.ReferenceItemGenerator.findDummyReferenceItem
(ReferenceItemGenerator.java:577)
at
atg.deployment.repository.ReferenceItemGenerator.generateDummyItems
(ReferenceItemGenerator.java:258)
at
atg.deployment.repository.RepositoryWorkerThread.preDeploymentPhase
(RepositoryWorkerThread.java:534)
at atg.deployment.DeploymentWorkerThread.run
(DeploymentWorkerThread.java:303)
Caused by: org.jboss.resource.JBossResourceException: Could not enlist
in transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >)
at
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected
(TxConnectionManager.java:358)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection
(BaseConnectionManager2.java:524)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection
(BaseConnectionManager2.java:405)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection
(BaseConnectionManager2.java:849)
at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:89)
... 9 more
Caused by: javax.transaction.SystemException: java.lang.Throwable:
Unabled to enlist resource, see the previous warnings.
tx=TransactionImple < ac, BasicAction: -53e0cc0f:601:4a813deb:c4b8
status: ActionStatus.ABORT_ONLY >
at org.jboss.resource.connectionmanager.TxConnectionManager
$TxConnectionEventListener$TransactionSynchronization.checkEnlisted
(TxConnectionManager.java:759)
at org.jboss.resource.connectionmanager.TxConnectionManager
$TxConnectionEventListener.enlist(TxConnectionManager.java:592)
at
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected
(TxConnectionManager.java:352)
... 13 more
16:24:32,218 ERROR [DeploymentManager] item = null cause =
CONTAINER:atg.repository.RepositoryException;
SOURCE:org.jboss.util.NestedSQLException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >); - nested throwable:
(org.jboss.resource.JBossResourceException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >))
at atg.adapter.gsa.GSAItemDescriptor.addItem
(GSAItemDescriptor.java:6349)
at atg.adapter.gsa.GSARepository.addItem(GSARepository.java:
1009)
at
atg.deployment.repository.ReferenceItemGenerator.createDummyItem
(ReferenceItemGenerator.java:499)
at
atg.deployment.repository.ReferenceItemGenerator.findDummyReferenceItem
(ReferenceItemGenerator.java:577)
at
atg.deployment.repository.ReferenceItemGenerator.generateDummyItems
(ReferenceItemGenerator.java:258)
at
atg.deployment.repository.RepositoryWorkerThread.preDeploymentPhase
(RepositoryWorkerThread.java:534)
at atg.deployment.DeploymentWorkerThread.run
(DeploymentWorkerThread.java:303)
message = An error occurred during the pre-deployment phase time =
2009-08-11 atg.deployment.DeploymentFailure@78f444
CAUGHT AT:
CONTAINER:atg.repository.RepositoryException;
SOURCE:org.jboss.util.NestedSQLException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >); - nested throwable:
(org.jboss.resource.JBossResourceException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >))
at atg.adapter.gsa.GSAItemDescriptor.addItem
(GSAItemDescriptor.java:6349)
at atg.adapter.gsa.GSARepository.addItem(GSARepository.java:
1009)
at
atg.deployment.repository.ReferenceItemGenerator.createDummyItem
(ReferenceItemGenerator.java:499)
at
atg.deployment.repository.ReferenceItemGenerator.findDummyReferenceItem
(ReferenceItemGenerator.java:577)
at
atg.deployment.repository.ReferenceItemGenerator.generateDummyItems
(ReferenceItemGenerator.java:258)
at
atg.deployment.repository.RepositoryWorkerThread.preDeploymentPhase
(RepositoryWorkerThread.java:534)
at atg.deployment.DeploymentWorkerThread.run
(DeploymentWorkerThread.java:303)
Caused by: org.jboss.util.NestedSQLException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >); - nested throwable:
(org.jboss.resource.JBossResourceException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >))
at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:95)
at atg.adapter.gsa.GSATransaction.getConnection
(GSATransaction.java:725)
at atg.adapter.gsa.GSAItemDescriptor.getConnection
(GSAItemDescriptor.java:2314)
at atg.adapter.gsa.GSAItemDescriptor.addItem
(GSAItemDescriptor.java:6268)
... 6 more
Caused by: org.jboss.resource.JBossResourceException: Could not enlist
in transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >)
at
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected
(TxConnectionManager.java:358)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection
(BaseConnectionManager2.java:524)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection
(BaseConnectionManager2.java:405)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection
(BaseConnectionManager2.java:849)
at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:89)
... 9 more
Caused by: javax.transaction.SystemException: java.lang.Throwable:
Unabled to enlist resource, see the previous warnings.
tx=TransactionImple < ac, BasicAction: -53e0cc0f:601:4a813deb:c4b8
status: ActionStatus.ABORT_ONLY >
at org.jboss.resource.connectionmanager.TxConnectionManager
$TxConnectionEventListener$TransactionSynchronization.checkEnlisted
(TxConnectionManager.java:759)
at org.jboss.resource.connectionmanager.TxConnectionManager
$TxConnectionEventListener.enlist(TxConnectionManager.java:592)
at
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected
(TxConnectionManager.java:352)
... 13 more
SOURCE EXCEPTION:
org.jboss.util.NestedSQLException: Could not enlist in transaction on
entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >); - nested throwable:
(org.jboss.resource.JBossResourceException: Could not enlist in
transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >))
at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:95)
at atg.adapter.gsa.GSATransaction.getConnection
(GSATransaction.java:725)
at atg.adapter.gsa.GSAItemDescriptor.getConnection
(GSAItemDescriptor.java:2314)
at atg.adapter.gsa.GSAItemDescriptor.addItem
(GSAItemDescriptor.java:6268)
at atg.adapter.gsa.GSARepository.addItem(GSARepository.java:
1009)
at
atg.deployment.repository.ReferenceItemGenerator.createDummyItem
(ReferenceItemGenerator.java:499)
at
atg.deployment.repository.ReferenceItemGenerator.findDummyReferenceItem
(ReferenceItemGenerator.java:577)
at
atg.deployment.repository.ReferenceItemGenerator.generateDummyItems
(ReferenceItemGenerator.java:258)
at
atg.deployment.repository.RepositoryWorkerThread.preDeploymentPhase
(RepositoryWorkerThread.java:534)
at atg.deployment.DeploymentWorkerThread.run
(DeploymentWorkerThread.java:303)
Caused by: org.jboss.resource.JBossResourceException: Could not enlist
in transaction on entering meta-aware object!; - nested throwable:
(javax.transaction.SystemException: java.lang.Throwable: Unabled to
enlist resource, see the previous warnings. tx=TransactionImple < ac,
BasicAction: -53e0cc0f:601:4a813deb:c4b8 status:
ActionStatus.ABORT_ONLY >)
at
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected
(TxConnectionManager.java:358)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection
(BaseConnectionManager2.java:524)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection
(BaseConnectionManager2.java:405)
at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection
(BaseConnectionManager2.java:849)
at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection
(WrapperDataSource.java:89)
... 9 more
Caused by: javax.transaction.SystemException: java.lang.Throwable:
Unabled to enlist resource, see the previous warnings.
tx=TransactionImple < ac, BasicAction: -53e0cc0f:601:4a813deb:c4b8
status: ActionStatus.ABORT_ONLY >
at org.jboss.resource.connectionmanager.TxConnectionManager
$TxConnectionEventListener$TransactionSynchronization.checkEnlisted
(TxConnectionManager.java:759)
at org.jboss.resource.connectionmanager.TxConnectionManager
$TxConnectionEventListener.enlist(TxConnectionManager.java:592)
at
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected
(TxConnectionManager.java:352)
... 13 more
16:24:32,609 INFO [DeploymentServer] DEBUG
600002:Target:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentFailed
(DistributedDeploymentAdapter.java:3049)
DeploymentListener.deploymentFailed called for deployment with ID:
600002
16:24:32,609 INFO [DeploymentServer] DEBUG
600002:Target:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentFailed
(DistributedDeploymentAdapter.java:3057) DAFDeploymentID: 600002
matches DeploymmentID: 600002
16:24:32,609 INFO [DeploymentServer] DEBUG
600002:Target:atg.deployment.adapter.DistributedDeploymentAdapter.deploymentFailed
(DistributedDeploymentAdapter.java:3061)
DeploymentListener.deploymentFailed
16:24:32,609 INFO [DeploymentServer] DEBUG
600002:Target:atg.deployment.adapter.DistributedDeploymentAdapter.displayDeploymentFailures
(DistributedDeploymentAdapter.java:2537) found 1 failure messages
16:24:32,625 INFO [DeploymentServer] DEBUG
600002:Target:atg.deployment.adapter.DistributedDeploymentAdapter.displayDeploymentFailures
(DistributedDeploymentAdapter.java:2568) adding failure message An
error occurred during the pre-deployment phase with severity Error
16:24:32,656 INFO [DeploymentServer] DEBUG
600002:Target:atg.deployment.adapter.DistributedDeploymentAdapter.deployData
(DistributedDeploymentAdapter.java:2101) deployment failed
16:24:32,656 INFO [DeploymentServer] DEBUG state changing : new =
ERROR_APPLY : current = ACTIVE_APPLY_COMMITTED : previous =
ACTIVE_APPLY
16:24:32,859 ERROR [DeploymentServer]
atg.deployment.common.DeploymentException: Deployment '600002' to
target 'Target' encountered a system level deployment error during
data transfer.
at atg.deployment.common.ResourceUtil.exception
(ResourceUtil.java:306)
at
atg.deployment.adapter.DistributedDeploymentAdapter.deployData
(DistributedDeploymentAdapter.java:2142)
at
atg.deployment.adapter.DistributedDeploymentAdapter.transferData
(DistributedDeploymentAdapter.java:290)
at atg.deployment.server.Deployment.run(Deployment.java:1677)
at java.lang.Thread.run(Thread.java:595)
////////////////////////////////////////////////////////
Let me know, anyone have the prior experience in this task could you
please provide me the steps and how can I solve this error?
Thanks
Mini