cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying Using FSR

clynham
Champ in-the-making
Champ in-the-making
Hi,

Happy New Year All!

I'm extremely new to Surf development/Alfresco WCM stuff.  I've been following Ben's really good tutorials here: http://www.benh.co.uk/alfresco/surf-part-3-alfresco-wcm-content/

I'm now at the point in the tutorial where I need to deploy content.  I've created the FSR on the server and have successfully managed to start it.  If I call it by URL I get a page that says Surf has been installed… all is well.  However if I try to deploy from Alfresco WCM i'm unable to connect to the FSR: " Could not connect to remote FSR"  I've tried using a few port numbers (80, 44100, 44101) however don't seem to be able to connect with any of them.

Does anyone know where I might be going wrong or whether there are any logs that further detail why I might not be able to connect?

Cheers!
5 REPLIES 5

mrogers
Star Contributor
Star Contributor
The port to use is 44100.   

However first is it running?    Depending on what version you are using there should be a deployment.log file or console output.

clynham
Champ in-the-making
Champ in-the-making
Cheers for replying so quick! Almost as soon as I posted that I realised I was confusing the FSR with the sample website and hadn't bothered to start both of them.

I've started it up and got a new error: Failed to invoke RMI stub for remote service [rmi://appaf57:44100/deployment]; nested exception is java.lang.NoSuchMethodException: $Proxy0.begin(java.lang.String, java.lang.String, int, java.lang.String, java.lang.String)

mrogers
Star Contributor
Star Contributor
I suspect you are attempting to deploy across different versions.

What version of Alfresco are you using?   What version of the FSR?

clynham
Champ in-the-making
Champ in-the-making
I'm using Alfresco 3.2 Community.  Not sure on the version of the FSR. It's the version Ben is offering for download in his tutorial: http://www.benh.co.uk/wp-content/uploads/2009/03/surf-sample.zip

mrogers
Star Contributor
Star Contributor
You need to make sure that the versions of alfresco and its deployment servers match.      Ben's version of the FSR is older than 3.2.   

(And please note that 3.2 does not have a FSR, it has a "standalone deployment server" which replaces it.)