cancel
Showing results for 
Search instead for 
Did you mean: 

Ms-Word Document not Saved in Alfresco

komal
Champ in-the-making
Champ in-the-making
Hi,
          I have downloaded and installed "Alfresco-Labs-3c-Full-Setup" , and it is working fine including alfresco share.Then i have downloaded and installed "alfresco-labs-office2003-addins-3c" . I configure it  as according to  mention here "http://wiki.alfresco.com/wiki/Microsoft_Office" .

My problem is this i am unable to either save a word document from Ms-Word to alfresco or open alfresco word document in MS-word.


Please Help Me …

Thanks & Regards
komal
6 REPLIES 6

mikeh
Star Contributor
Star Contributor
What's the error you're seeing? Also how have you configured the add-ins?

Note that if you installed the SharePoint module, the Labs 3C and earlier version is incompatible with the Office add-ins. Does the Tomcat startup log mention a "Vti module" being loaded?

Mike

komal
Champ in-the-making
Champ in-the-making
Thanks Mike
                       When i start alfresco server the tomcat startup log is as follows:

    Jan 21, 2009 2:27:29 PM org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 21, 2009 2:27:29 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 907 ms
    Jan 21, 2009 2:27:29 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 21, 2009 2:27:29 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
    Jan 21, 2009 2:27:29 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 21, 2009 2:27:30 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive alfresco.war
    14:27:58,535  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
    14:28:11,500  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
    14:28:13,299  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
    14:28:14,738  ERROR [util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
    Exec
ution result:
   os:         Windows XP
   command:    "C:/Alfresco/openoffice/OpenOffice.org/program/soffice" "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" "-env:UserInstallation=file:///C:/Alfresco/openoffice/OpenOffice.org"
   succeeded:  false
   exit code:  2
   out:
   err:        Cannot run program ""C:/Alfresco/openoffice/OpenOffice.org/program/soffice"": CreateProcess error=3, The system cannot find the path specified
14:28:15,254 UserSmiley Frustratedystem WARN  [node.index.FullIndexRecoveryComponent] The indexes are not synchronized with the database.
14:28:15,926 UserSmiley Frustratedystem INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data
14:28:16,176 UserSmiley Frustratedystem INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
14:28:16,630 UserSmiley Frustratedystem INFO  [admin.patch.PatchExecuter] No patches were required.
14:28:16,646 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Found 2 module(s).

14:28:16,724 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.RecordsManagement' version 1.3.
14:28:16,927 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.0.


14:28:18,538 UserSmiley Frustratedystem WARN  [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
14:28:18,616 UserSmiley Frustratedystem INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_11-b03; maximum heap size 493.063MB
14:28:18,616 UserSmiley Frustratedystem WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493.063MB is less than recommended 512MB
14:28:18,616 UserSmiley Frustratedystem INFO  [service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (c 1342) schema 1000 - Installed version 3.0.0 (c 1342) schema 1000
14:28:18,976 UserSmiley Frustratedystem WARN  [alfresco.linkvalidation.LinkValidationServiceImpl] LinkValidationService Update is not running (virtualization server not registered or started)
Jan 21, 2009 2:28:40 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
14:28:44,249  INFO  [web.scripts.DeclarativeRegistry] Registered 21 Web Scripts (+0 failed), 23 URLs
14:28:44,249  INFO  [web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 196.38446ms)
14:28:45,235  INFO  [web.scripts.DeclarativeRegistry] Registered 134 Web Scripts (+0 failed), 136 URLs
14:28:45,235  INFO  [web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 977.30994ms)
14:28:45,313  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
Jan 21, 2009 2:28:45 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive studio.war
14:29:19,876  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
Jan 21, 2009 2:29:20 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jan 21, 2009 2:29:20 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jan 21, 2009 2:29:20 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 110555 ms

________________________________________________________________________________________________________________________________________________———–
           It implies that alfresco server loaded Vti-module ,

Now when i started Ms-word 2003 and click "Alfresco" button here and write a word doc after select "save to Alfresco" to save my current document  in alfresco  then following error appears :



_________________________________________________________________________________________________________________________________________________

14:44:24,387 User:admin ERROR [vti.method.AbstractVtiMethod] put document
org.alfresco.module.vti.VtiException: The folder that would hold URL does not exist on the server.
        at org.alfresco.module.vti.VtiException.create(VtiException.java:47)
        at org.alfresco.module.vti.handler.alfresco.AlfrescoVtiMethodHandler.putDocument(AlfrescoVtiMethodHandler.java:849)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
        at org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInterceptor.java:126)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy85.putDocument(Unknown Source)
        at org.alfresco.module.vti.method.PutDocumentMethod.doExecute(PutDocumentMethod.java:67)
        at org.alfresco.module.vti.method.AbstractVtiMethod.execute(AbstractVtiMethod.java:77)
        at org.alfresco.module.vti.VtiBinServlet.processVtiMethod(VtiBinServlet.java:119)
        at org.alfresco.module.vti.VtiBinServlet.doPost(VtiBinServlet.java:104)
        at org.alfresco.module.vti.VtiServlet.doPost(VtiServlet.java:150)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.alfresco.module.vti.httpconnector.VtiServletContainer.doServlets(VtiServletContainer.java:238)
        at org.alfresco.module.vti.httpconnector.VtiServletContainer$HttpFilterChain.doFilter(VtiServletContainer.java:280)
        at org.alfresco.module.vti.VtiFilter.doFilter(VtiFilter.java:327)
        at org.alfresco.module.vti.httpconnector.VtiServletContainer$HttpFilterChain.doFilter(VtiServletContainer.java:273)
        at org.alfresco.module.vti.httpconnector.VtiServletContainer.service(VtiServletContainer.java:133)
        at org.alfresco.module.vti.VtiContextFilter.doFilter(VtiContextFilter.java:101)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
        at java.lang.Thread.run(Thread.java:619)

Thanks
Komal

mikeh
Star Contributor
Star Contributor
You have three options:

1 - Uninstall the Vti module (replace the .war with the backup copy)
2 - Use Word's built-in SharePoint collaboration features instead of the add-in (uninstall the add-in)
3 - Update to Labs 3D ("Stable")

Thanks,
Mike

komal
Champ in-the-making
Champ in-the-making
Hi Mike

  Thanks a lot .
                      I have downloaded and installed "Alfresco-Labs-3Stable-Full-Setup &  alfresco-labs-word2003-addin-3Stable "  and every thing is working fine  Smiley Very Happy  .

     Now i have only one question that now  i can create a new document from ms-word and and can save in "Alfresco"  , but if i try to open any "alfresco check out " file in Ms-word  ,like i selected "insert file into Current Document " , it shows an error dialog window " unable to insert content into the document:Command Failed" .


Thanks & Regards
Komal

mikeh
Star Contributor
Star Contributor
That's a known issue and seems to be a regression with Windows itself, as the request is never made over the network. We're looking into it.

Mike

komal
Champ in-the-making
Champ in-the-making
Thanks Mike,

Thanks for Resolving Query so Quick.

Thanks & Regards,

Komal