cancel
Showing results for 
Search instead for 
Did you mean: 

Sharepoint Protocol Issue

houldsworth1
Champ in-the-making
Champ in-the-making
Here's hoping someone can help me.

I had Alfresco share running in an EC2 virtual machine without any problems, but I decided to move it to a local machine that I was not using.

I installed Alfresco using the community installer with all options selected. 
I added the following to the alfresco-global.properties file:
### Sharepoint Protocol config items
vti.server.port=7070
vti.alfresco.deployment.context=/alfresco
vti.alfresco.alfresoHostWithPort=http://test.local:8080
vti.share.shareHostWithPort=http://test.local:8080
(the machine name is test and I can ping test.local from any machine)

test.local was also added to the trusted sites in Internet explorer 9 (which is also currently the default browser)

When I try to publish the doc to the site it asks for my user id/password, shows the moving bar saying "saving as 'http:test.local:7070/alfresco/SPS/documentlibrary/test.docx'

It then asks for my password 3 more times (despite my checking the remember me box) before giving error 'A problem occurred while connecting to the server. If the problem continues, contact your administrator' …which is, of course, me. Smiley Happy

Afterwards, when I go to the Alfresco share page I can see that the space has been created but there are no documents in there. 

What am I missing?

The Alfresco server is running on an Ubuntu 10.10 desktop, my PC is a Windows 7 machine with Office 2007 installed.

Thanks!
12 REPLIES 12

mrogers
Star Contributor
Star Contributor
I think the sharepoint protocol expects to run on 7070.    Its certainly not the same port as the rest of alfresco.

houldsworth1
Champ in-the-making
Champ in-the-making
Thanks for the reply.

You are correct - it does run on port 7070.  Unfortunately that isn't the answer here as that is the port that I am already using (trying to create a doc on http:test.local:7070/alfresco/SPS/documentlibrary/test.docx).

Thanks for the input.

houldsworth1
Champ in-the-making
Champ in-the-making
I've tried a whole bunch of different options in the file  /opt/alfresco-3.4.d/tomcat/shared/classes/alfresco-global.properties.  So far nothing has worked.  Is this the right file or is there something else I should be looking at?

It worked fine in my EC2 instance, which was not Ubuntu.  Does anyone believe that Ubuntu is part of the issue?

Any suggestions gratefully received.

TIA

_sax
Champ in-the-making
Champ in-the-making
Maybe this provides you with a hint to the problem
http://forums.alfresco.com/en/viewtopic.php?f=47&t=36649

Does your server listen on port 7070 (to find out, use "netstat -an" at a commandline)?
And does your log say anything about failed connections?
# Sharepoint
log4j.logger.org.alfresco.module.vti=info
in log4j.properties lets Alfresco log everything for this functionality.

houldsworth1
Champ in-the-making
Champ in-the-making
Does your server listen on port 7070 (to find out, use "netstat -an" at a commandline)?
And does your log say anything about failed connections?
Sax - you could be onto something here.  Netstat shows no mention of port 7070.   Any idea how I would fix that?

If I were to upload a log file - which one would be best (sorry - I'm very new to Alfresco).

TIA

houldsworth1
Champ in-the-making
Champ in-the-making
So after some additional digging I came across some posts that seemed to indicate that I needed to download the run the vti-module.amp file and install it using the apply_amps.sh script (found in bin).  I did that but didn't see any mention of the vti-module being loaded.
There was also a post that said I should copy the ROOT.war file into the webapps directory, delete the ROOT directory and restart the server ala instructions found here : http://wiki.alfresco.com/wiki/Installing_Labs_3#Installing_Alfresco_components

Did that, restarted and…nothing.  Port 7070 still not showing up on netstat.

How can I confirm that the vti-module.amp was loaded when I ran apply_amps?  And if it wasn't, does that mean there is a bug in apply_amps or just that I am running it incorrectly (I am using sudo bin/apply_amps.sh).

TIA

houldsworth1
Champ in-the-making
Champ in-the-making
OK - forget it.  Not quite sure exactly what happened but somewhere in the bevy of install_amps, clear ROOT, reboot etc. port 7070 suddenly showed up in my netstat -an and…it started working.

Thanks for the help.

Onto the next issue now - no document preview…

_sax
Champ in-the-making
Champ in-the-making
Glad you got it working!
The installation of the amp should not be neccessary, since your Alfresco version already brings this module integrated. But since netstat didn't show this port it obviously was not active… :?
(Alfresco Labs 3 was another name for Version 3.0x, not to be confused with Alfresco Community Edition, the free version)

How does your document preview problem manifest itself? Is it an issue with Share (server:8080/share) or the normal client (server:8080/alfresco)? Does it occur only with certain document types?

houldsworth1
Champ in-the-making
Champ in-the-making
How does your document preview problem manifest itself? Is it an issue with Share (server:8080/share) or the normal client (server:8080/alfresco)? Does it occur only with certain document types?

When on the document page a preview pane open and, for a while, I have spinning thing.  After a while that is replaced with a grey blank page with something saying that document preview is not available.

I checked and Openoffice is listening on port 7070. 

Since this was installed on an Ubuntu desktop (which comes with OpenOffice) I thought there might be two conflicting versions so I uninstalled the standard one.  Then it didn't work at all, so I put it back and now I am back to the same blank screen.

Thanks