cancel
Showing results for 
Search instead for 
Did you mean: 

Is Deployment Engine running?

tagany
Champ in-the-making
Champ in-the-making
Following the instructions in Getting_Started_with_WCM_for_Alfresco_Community_Edition_3_2.pdf I've gotten to deployment, and when I try to deploy I get

\\localhost:44100
Deployment Failed
07130021 Could not connect to remote FSR, transportName:default, hostName:localhost, port: 44100

sudo ss -lnp shows nothing running on 44100.  So I'm wondering if the deployment server is running?  Might there be a mistake in a config file that it didn't get started?  Or … ?

Thanks, David
10 REPLIES 10

mrogers
Star Contributor
Star Contributor
Doesn't look like it.     

By default it is the standalone deployment reciever that uses 44100 and is a separate executable that you will have to start.    It will typically be run on a remote machine.

For testing purposes 3.2 comes with a filesystem target built into the repo now on 50500 that you may be able to use.

tagany
Champ in-the-making
Champ in-the-making
Thank you,

David

godber
Champ in-the-making
Champ in-the-making
Doesn't look like it.     

By default it is the standalone deployment reciever that uses 44100 and is a separate executable that you will have to start.    It will typically be run on a remote machine.

For testing purposes 3.2 comes with a filesystem target built into the repo now on 50500 that you may be able to use.

So the Deployment server included with Alfresco by default is for "testing" only?  Is it then recommended to install the standalone deployment server along with the Alfresco server?  Or is it generally recommended to have run the stand alone deployment server on a separate host?

Austin

mrogers
Star Contributor
Star Contributor
I was not careful enough with what I wrote.   Smiley Sad

You choose what options suit you and your environment.

For testing, demo and evaluation people tend to like running everything as a single process on a single machine.  But it is unlikely that this is how the live environment, which has to worry about all sort of administrative concerns, will be used.

The inbuilt filesystem target was added in 3.2 to preview via a test server.   Only time will tell how it gets used or whether it is a good idea to have it there.

tagany
Champ in-the-making
Champ in-the-making
Well, I got to deployment, everything seems good, attempted to deploy rev 3 and …
   
\\localhost:50500
Deployment Failed
07140144 No such target: default

the catalina.out log has this …
08:39:26,583  ERROR [avm.actions.AVMDeployWebsiteAction] Deployment Error
org.alfresco.service.cmr.avm.AVMException: 07140146 Deployment exception, unable to deploy : srcPath:alfrescosample:/www/avm_webapps, target:default, version:3, adapterName:default, hostName:localhost, port:50,500, errorSmiley Surprisedrg.alfresco.service.cmr.avm.AVMException: 07140145 Error during deployment srcPath: alfrescosample:/www/avm_webapps, version:3, adapterName:default, hostName:localhost, port:50,500, errorSmiley Surprisedrg.alfresco.deployment.impl.DeploymentException: 07140144 No such target: default
at org.alfresco.repo.deploy.DeploymentServiceImpl.deployDifferenceFS(DeploymentServiceImpl.java:1179)
(stack trace continues)

Searching didn't bring up anything that seemed pertinent.

David

jarinys
Champ in-the-making
Champ in-the-making
Well, I got to deployment, everything seems good, attempted to deploy rev 3 and …
   
\\localhost:50500
Deployment Failed
07140144 No such target: default

David

I think you have to specify target "avm" in the "Configure Deployment Servers" wizard for your Web Site. It is supposedly possible to configure, but
the docs I've read failed to mention how.

Jari

mrogers
Star Contributor
Star Contributor
When deploying as well as saying where you want to deploy your content you also need to specify which target you want to deploy to.   You could have one project to one target or many projects to one target or one project to many targets, the choice is yours.

Out of the box there are two targets defined on the newly introduced repo based receiver called "avm" and "filesystem".
On the standalone deployment reciever there is a single target which for backwards compatibility with the old FSR has the name "default".

You should see an INFO message when the deployment system starts which tells you the names of the targets that have registered with it.

To define a new target you need to add a new target definition. 

There's some documentation here but I agree it needs to be expanded.
http://wiki.alfresco.com/wiki/WCM_Deployment_Engine#Targets

jarinys
Champ in-the-making
Champ in-the-making
Ah, thanks for the link- I think i saw it earlier, but assumed it was some really low-level customization due to all the xml/bean wiring and stuff.

I'll try it out and cleanup the docs if I can. Smiley Happy

rosa_martin
Champ in-the-making
Champ in-the-making
Hi

I had the same problem, but the document at http://wiki.alfresco.com/wiki/WCM_Deplo … ne#Targets since too much work for me, so I deleted the FSR Deployment Receiver configuration and I added it again.
At least I could deploy. But it only works with PORT=50500 and to type a "TARGET NAME" is mandatory.

Rosa