cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with the Sharepoint functionality

moe
Champ in-the-making
Champ in-the-making
Hello,

first of all, I`m pretty new to Alfresco as I`ve installed the software just yesterday.
So please don`t mind if I`m asking a beginner`s question.

I`d like to know how to get the Sharepoint support for Alfresco to work.

I`ve downloaded 'Alfresco-Labs-'3c-Mini-Setup.exe' which contains the Sharepoint functionality.
After that, the installation and configuration of Alfresco Labs went fine. I`m able to log on to Alfresco Explorer and Share.

Then, I´ve tried to use the Sharepoint functionality.
I`ve opened a Word document and set the Document Workspace to 'SPP'.
In the 'Location for new workspace' field, I set the value to 'http://10.2.181.79:7070/alfresco' and clicked on 'Create'.
Unfortunately, I received the following error message (translated from german ;-)):

'The action could not be finished. Please ask your web site administrator for further information or try again later.'

Does it really have to be port 7070?
I tried to do this with 8080, sure I had no luck, but the error message wasn`t displayed 😉

This is a log entry directly after the server start (alf_start.bat).

16:50:46,171 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
16:50:57,656 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.DerbyDialect.
16:50:57,656 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Alfresco is using the Apache Derby default database. Please only use this while evaluating Alfresco, it is NOT recommended for production or deployment!
16:51:00,609 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
16:51:05,453 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\AlfrescoLabs3\alf_data
16:51:05,578 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
16:51:05,734 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
16:51:05,750 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 2 module(s).
16:51:06,125 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.RecordsManagement' version 1.3.
16:51:06,546 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.0.
16:51:08,437 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
16:51:08,562 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_07-b06; maximum heap size 506,313MB
16:51:08,562 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (c 1342) schema 1000 - Installed version 3.0.0 (c 1342) schema 1000
16:51:09,546 WARN  [org.alfresco.linkvalidation.LinkValidationServiceImpl] LinkValidationService Update is not running (virtualization server not registered or started)
16:51:24,734 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 21 Web Scripts (+0 failed), 23 URLs
16:51:24,750 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 111.88629ms)
16:51:25,296 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 134 Web Scripts (+0 failed), 136 URLs
16:51:25,328 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 574.9116ms)
16:51:25,406 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
16:51:59,312 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

I`ve also double-clicked on 'apply_amps.bat', as I`ve  read in another post that it might be helpful to run this file.

Does anybody know what I am doing wrong?
As there are only a few threads regarding Sharepoint functionality, it doesn`t seem to be that difficult…

Thanks in advance,
moe
16 REPLIES 16

moe
Champ in-the-making
Champ in-the-making
Isn`t there anyone who encounters the same problem?
Please, I`d really like to get this done.

Best regards,
moe

bimmo2007
Champ in-the-making
Champ in-the-making
I have the exact same problem, also working on 8080 from word as you described but same message on 7070: The action could not be completed…

gronfelt
Champ in-the-making
Champ in-the-making
Same issue here, I get the same uninformative error message from Word.

My settings are


vti.server.port=7070
vti.share.shareHostWithPort=http://a1:8080
vti.alfresco.deployment.context=/alfresco

I can also save through WebDAV as described above (by supplying "http://a1:8080/alfresco" as the filename in the Save as… box).

I'm running a multi-tenancy environment, but I don't think that should be an issue, since I'm able to log in to Alfresco Share through the web interface (http://a1:8080/share) with my tenant users.

I have tried to go to "http://a1:7070" with my web browser, that brings up a login question (a simple http authorization box), it won't accept any of my login credentials, neither for my tenant users nor for my underlying admin account. I don't know what's supposed to happen when you try that.

In Word, when I try to save to workspace, I get a login window, and it seems to accept my credentials, or at least it only shows up once.

Any ideas?

UPDATE:
I had obviously put the custom-vti files in the wrong extensions-directory. I had placed them in

tomcat/shared/classes/alfresco/extension/

although they should be in

tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/

Now it's working as intended with the normal admin user, but I get the same generic error message as before when i try with a tenant user (for an example admin@mydomain.com).

Is it not possible at all to use the SharePoint Protocol Support with multi-tenants?

gronfelt
Champ in-the-making
Champ in-the-making
I've been trying a bit further to get SharePoint functionality with a tenant user and I can't seem to figure out exactly what's not working.

This is what I believe to be the essential part of the alfresco.log:


13:28:54,889 DEBUG [org.alfresco.module.vti.web.VtiFilter] Ticket was validated
13:28:54,889 DEBUG [org.alfresco.module.vti.web.VtiRequestDispatcher] Process request
13:28:54,889 DEBUG [org.alfresco.module.vti.web.VtiRequestDispatcher] Find appropriate action by specific rules
13:28:54,889 DEBUG [org.alfresco.module.vti.web.VtiRequestDispatcher] Specific rule not found
13:28:54,889 DEBUG [org.alfresco.module.vti.web.VtiRequestDispatcher] Find appropriate action by pattern for uri='/_vti_bin/dws.asmx'
13:28:54,889 DEBUG [org.alfresco.module.vti.web.VtiRequestDispatcher] Action found for request
13:28:54,889 DEBUG [org.alfresco.module.vti.web.VtiRequestDispatcher] Execute target action
13:28:54,890 DEBUG [org.alfresco.module.vti.web.ws.CreateDwsEndpoint] SOAP method with name CreateDws is started.
13:28:54,891 DEBUG [net.sf.acegisecurity.intercept.AbstractSecurityInterceptor] Secure object: ReflectiveMethodInvocation: public abstract org.alfresco.service.cmr.model
.FileInfo org.alfresco.service.cmr.model.FileFolderService.resolveNamePath(org.alfresco.service.cmr.repository.NodeRef,java.util.List) throws org.alfresco.service.cmr.mo
del.FileNotFoundException; target is of class [org.alfresco.repo.model.filefolder.FileFolderServiceImpl]; ConfigAttributes: [AFTER_ACL_NODE.sys:base.ReadProperties]
13:28:54,891 DEBUG [net.sf.acegisecurity.providers.ProviderManager] Authentication attempt using org.alfresco.repo.security.authentication.AuthenticatedAuthenticationPas
sthroughProvider
13:28:54,891 DEBUG [net.sf.acegisecurity.intercept.AbstractSecurityInterceptor] Authenticated: net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken@485220c
0: Username: net.sf.acegisecurity.providers.dao.User@7e44258: Username: admin@domain.com; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNo
nExpired: true; AccountNonLocked: true; Granted Authorities: ROLE_AUTHENTICATED; Password: [PROTECTED]; Authenticated: true; Details: net.sf.acegisecurity.providers.dao.
User@7e44258: Username: admin@domain.com; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted
Authorities: ROLE_AUTHENTICATED; Granted Authorities: ROLE_AUTHENTICATED
13:28:54,891 DEBUG [net.sf.acegisecurity.intercept.AbstractSecurityInterceptor] Authorization successful
13:28:54,891 DEBUG [net.sf.acegisecurity.intercept.AbstractSecurityInterceptor] RunAsManager did not change Authentication object
13:28:54,892 DEBUG [net.sf.ehcache.store.MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for org.alfresco.tenantsTransactionalCache_44552833-33ea-4420-beb2-
3ccd4e3b0d39_updates
13:28:54,892 DEBUG [net.sf.ehcache.store.LruMemoryStore] org.alfresco.tenantsTransactionalCache_44552833-33ea-4420-beb2-3ccd4e3b0d39_updates Cache: Using SpoolingLinkedH
ashMap implementation
13:28:54,892 DEBUG [net.sf.ehcache.Cache] Initialised cache: org.alfresco.tenantsTransactionalCache_44552833-33ea-4420-beb2-3ccd4e3b0d39_updates
13:28:54,892 DEBUG [net.sf.ehcache.store.MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for org.alfresco.tenantsTransactionalCache_44552833-33ea-4420-beb2-
3ccd4e3b0d39_removes
13:28:54,892 DEBUG [net.sf.ehcache.store.LruMemoryStore] org.alfresco.tenantsTransactionalCache_44552833-33ea-4420-beb2-3ccd4e3b0d39_removes Cache: Using SpoolingLinkedH
ashMap implementation
13:28:54,892 DEBUG [net.sf.ehcache.Cache] Initialised cache: org.alfresco.tenantsTransactionalCache_44552833-33ea-4420-beb2-3ccd4e3b0d39_removes
13:28:54,892 DEBUG [net.sf.ehcache.store.MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for org.alfresco.storeAndNodeIdTransactionalCache_44552833-33ea-442
0-beb2-3ccd4e3b0d39_updates
13:28:54,892 DEBUG [net.sf.ehcache.store.LruMemoryStore] org.alfresco.storeAndNodeIdTransactionalCache_44552833-33ea-4420-beb2-3ccd4e3b0d39_updates Cache: Using Spooling
LinkedHashMap implementation
13:28:54,892 DEBUG [net.sf.ehcache.Cache] Initialised cache: org.alfresco.storeAndNodeIdTransactionalCache_44552833-33ea-4420-beb2-3ccd4e3b0d39_updates
13:28:54,892 DEBUG [net.sf.ehcache.store.MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for org.alfresco.storeAndNodeIdTransactionalCache_44552833-33ea-442
0-beb2-3ccd4e3b0d39_removes
13:28:54,892 DEBUG [net.sf.ehcache.store.LruMemoryStore] org.alfresco.storeAndNodeIdTransactionalCache_44552833-33ea-4420-beb2-3ccd4e3b0d39_removes Cache: Using Spooling
LinkedHashMap implementation
13:28:54,892 DEBUG [net.sf.ehcache.Cache] Initialised cache: org.alfresco.storeAndNodeIdTransactionalCache_44552833-33ea-4420-beb2-3ccd4e3b0d39_removes
13:28:54,893 DEBUG [net.sf.ehcache.store.MemoryStore] org.alfresco.storeAndNodeIdTransactionalCache_44552833-33ea-4420-beb2-3ccd4e3b0d39_removesCache: Cannot remove entr
y as key workspace://@domain.com@SpacesStore/9965f4b9-a63c-491e-8f35-9086d5bb1cbb was not found

There's no error, nothing obvious failing ("Cannot remove entry…"-messages are seen when it's working too, in a single-tenent environment). Any ideas of what could be the problem?

Obviously the above is a very verbose logging (root level set to debug), if I set only the sharepoint logging level to debug, the last output connected to the SharePoint module is this:

13:28:54,890 DEBUG [org.alfresco.module.vti.web.ws.CreateDwsEndpoint] SOAP method with name CreateDws is started.

So the method starts, but it never finishes. How do I go about to find out why?

moe
Champ in-the-making
Champ in-the-making
UPDATE:
I had obviously put the custom-vti files in the wrong extensions-directory. I had placed them in

tomcat/shared/classes/alfresco/extension/

although they should be in

tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/

Hello gronfelt,

which files do you mean?
"custom-vti.properties.sample" and "custom-vti-context.xml.sample"  from "/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context", which should be copied and renamed to "vti.properties" and "vti-context.xml"? I copied those those 2 files to the directory you have described above.
But even with using the admin user in Word, I still receive the same error messagen.

Best regards,
moe

gronfelt
Champ in-the-making
Champ in-the-making
UPDATE:
I had obviously put the custom-vti files in the wrong extensions-directory. I had placed them in

tomcat/shared/classes/alfresco/extension/

although they should be in

tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/

Hello gronfelt,

which files do you mean?
"custom-vti.properties.sample" and "custom-vti-context.xml.sample"  from "/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context", which should be copied and renamed to "vti.properties" and "vti-context.xml"? I copied those those 2 files to the directory you have described above.
But even with using the admin user in Word, I still receive the same error messagen.

Best regards,
moe

Hello moe,

those are the files I meant, however I did not rename them that way, I just copied them and removed the ".sample" extension, keeping the "custom-" in the beginning of the file names.

To clarify:

../tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/custom-vti.properties.sample
../tomcat/webapps/alfresco/WEB-INF/classes/alfresco/module/org.alfresco.module.vti/context/custom-vti-context.xml.sample

where copied to

../tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/custom-vti.properties
../tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/custom-vti-context.xml

I then edited custom-vti.properties as described in previous posts and restarted Alfresco, this worked for me, I hope it works out for you to.

ndemarco
Champ in-the-making
Champ in-the-making
Hi,

I've been following this thread and other resoucres to get SharePoint integration working properly. It's not working for me either. My experiences are identical to many on this thread.

I'm saving a document AND creating a new document workspace (SPP) per the user doc for sharepoint functionality. I get the same 'unimaginitive error' from Word.

At times, I've seen a login box, but my credentials are not accepted. Thanks to all for their help so far. I suspect we're all a few well placed keystrokes away from solving this.

Best regards,

Nick