cancel
Showing results for 
Search instead for 
Did you mean: 

why to go for deploy?

guhann
Champ in-the-making
Champ in-the-making
If i need to move the files from one system to another then only i need deploy feature? consider in production im going to use only one box, there i will install aflresco(tomcat) and apachewebserver.

if i create xml/html/jsp files and i submit then it is getting reflected automatically in the avm repository, so in that case what is the need for deploy feature? i can map avm using cifs to a drive and from there i can able to server the files, right?

The production url will be accessed globally and if anyone submits the xml files and submit(not deploy) , i hope it will get reflected immediately in the avm repository.

Thanks for clarrifying.
21 REPLIES 21

kseal
Champ in-the-making
Champ in-the-making
I'm using \\ipaddress (as indicated in the Deployment wiki pages). When I use \\my.ip.add.ress:44100 I see the following error(s) in the log:

17:30:45,718 ERROR [avm.actions.AVMDeploySnapshotAction] org.alfresco.service.cmr.avm.AVMException: Could not Initialize Remote Connection to \\my.ip.add.ress
17:30:45,906 ERROR [node.integrity.IntegrityChecker] Found 1 integrity violations:
Invalid property value:
   Node: workspace://SpacesStore/61ff3774-443a-11dc-8490-f511cb4f3afe
   Type: {http://www.alfresco.org/model/wcmappmodel/1.0}deploymentreport
   Property: {http://www.alfresco.org/model/content/1.0}name
   Constraint: Value '\\my.ip.add.ress_44100 deployment report.txt' matches regular expression: (.*[\"\*\\\>\<\?\/\:\|]+.*)|(.*[\.]?.*[\.]+$)|(.*[ ]+$)
17:30:45,968 ERROR [repo.action.AsynchronousActionExecutionQueueImpl] Failed to execute asynchronous action: Action[ id=61c5feff-443a-11dc-8490-f511cb4f3afe, node=null ]
org.alfresco.error.AlfrescoRuntimeException: Unknown Exception in Transaction.
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:292)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:267)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
Caused by: javax.transaction.RollbackException: Transaction didn't commit: Integrity failure
        at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:430)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:239)
        … 5 more
Caused by: org.alfresco.repo.node.integrity.IntegrityException: Integrity failure
        at org.alfresco.repo.node.integrity.IntegrityChecker.checkIntegrity(IntegrityChecker.java:626)
        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.flush(AlfrescoTransactionSupport.java:559)
        at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:630)
        at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:48)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:821)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:637)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:624)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:307)
        at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:420)
        … 6 more

I'm running on Windows (if that helps!). So it looks like the transaction's rolling back because the deployment report can't be created. This causes the deployment to always appear as "IN PROGRESS" in the list of recent snapshots.
If I don't use the \\ then it complains that "authentication" isn't bound in RMI but that's possibly because it's expecting to connect to an Alfresco server rather than a deployment receiver (at a guess).

gavinc
Champ in-the-making
Champ in-the-making
Have you tried using just \\my.ip.add.ress, a bug has been discovered when port numbers are present for file server deployments and as you specifying the default port number it isn't strictly needed.

guhann
Champ in-the-making
Champ in-the-making
Yes, also tried without port number…………

Infact tried all the possibilities..

gavinc
Champ in-the-making
Champ in-the-making
OK, I'm going to be taking a look at all the deployment issues raised shortly, I'll let you know the outcome…

gavinc
Champ in-the-making
Champ in-the-making
Can I ask what version everyone is using for the deployment?

The \\ characters were part of the deployment report name early on in the development cycle (which would cause the integrity error) but I'm sure this was fixed before the final release of community so I was just wondering whether you were using a checkout from SVN or one of the released bundles?

kiran1
Champ in-the-making
Champ in-the-making
Thanks gavin

Deployment feature is working well in alfresco-community-tomcat-2.1.0(i.e) latest rc2 by specifying \\ipaddress.

But the basic functionality of tinyMCEeditor to create tables/to view the html source code are not available as default  while adding content to webforms???

can you tell me how to fix this?

kvc
Champ in-the-making
Champ in-the-making
As a quick follow-up:

In Community Final, if you do not specify a port number and use the default, things should be working properly.

In Community Final, there was a bug with specified port numbers.  This bug was recently fixed on the v2.1 enterprise branch and currently available for check-out for subscribed customers.  It will also be made available as part of our latest Enterprise BETA, BETA 3, mid-week.

The current fixed issue can be found here:  http://issues.alfresco.com/browse/WCM-692

Lastly, we plan providing an updated Community release concomitant with our release of 2.1 Enterprise.  That updated release will include this fix.

Let us know how things go.


Kevin

venkatvj
Champ in-the-making
Champ in-the-making
I am running into the same issue. I have 2.1.0 version installed.

For the Deploy To field i have specified all combinations:
1. \\Ip-address
2. \\hostname
3. \\Ip-address:44100
4. \\hostname:44100
5. \\127.0.0.1
6. \\127.0.0.1:44100
7. \\localhost
8. \\localhost:44100

But hitting the same issue.

11:12:49,120 ERROR [avm.actions.AVMDeploySnapshotAction] org.alfresco.service.cmr.avm.AVMException: Could not Initialize Remote Connection to \\10.1.6.183
11:12:49,303 ERROR [node.integrity.IntegrityChecker] Found 1 integrity violations:
Invalid property value:
……..

Any help in this regard would be greatly appreciated.

Thanks
Venkat

gavinc
Champ in-the-making
Champ in-the-making
Could you possibly turn on debugging for me and post the debug output you see? In your log4j.properties file add the following line and try your deployment again:

log4j.logger.org.alfresco.repo.avm.actions.AVMDeploySnapshotAction=debug

decentrix
Champ in-the-making
Champ in-the-making
Gavin,

Can you confirm or deny that the fix for this (WCM-692) is in the current community 2.2.0dev nightly builds?

Thanx,

-Tony