cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot start Share from Tomcat 6

lrich
Champ in-the-making
Champ in-the-making
I have installed the alfresco.war and share.war files in the webapps directory in tomcat 6 and have been able to start the Alfresco repository by adding custom configuration files in tomcat/shared/classes/alfresco/extension directory.  I assume a similar set of configuration files are needed in the tomcat/shared/classes/alfresco/web-extension directory to start the Share, but I do not have a full understanding of what is needed.  Any advice and/or guidance on how to do this will be greatly appreciated.
6 REPLIES 6

mikeh
Star Contributor
Star Contributor
Share doesn't need any extensions by default. What does the startup log say?

Mike

lrich
Champ in-the-making
Champ in-the-making
When I enter http://localhost:8080/alfresco, the Alfresco login page appears and I can login as admin.

When I enter http://localhost:8080/share, the Tomcat Error Rport page appears with the following:

   HTTP Status 404 - /share
   type Status report
   message /share
   description The requested resource (/share) is not available.

mikeh
Star Contributor
Star Contributor
Ok, but what do the logs (or Tomcat console) say..?

Mike

lrich
Champ in-the-making
Champ in-the-making
Here is the alfresco.log file



17:08:24,705 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:
Execution result:
   os:         Mac OS X
   command:    [convert, /tomcat-6.0.18/temp/Alfresco/ImageMagickContentTransformer_init_source_44892.gif, /tomcat-6.0.18/temp/Alfresco/ImageMagickContentTransformer_init_target_44893.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        convert: not found
17:08:26,040 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
17:08:30,943 ERROR [org.alfresco.repo.content.transform.swf.PDFToSWFContentTransformer] Failed to start SWF2PDF transformer:
Execution result:
   os:         Mac OS X
   command:    [pdf2swf, -V]
   succeeded:  false
   exit code:  1
   out:       
   err:        pdf2swf: not found
17:08:35,458 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
17:08:38,222 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
17:08:41,307 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /alfresco/alf_data
17:08:41,342 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
17:08:41,598 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
17:08:41,602 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
17:08:46,732 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
17:08:46,732 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
17:08:46,894 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
17:08:46,942 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_13-b05-241; maximum heap size 63.563MB
17:08:46,942 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 63.563MB is less than recommended 512MB
17:08:47,061 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco license: Enterprise - v3.0 granted to Trial User limited to 30 days expiring Wed Apr 22 00:00:00 PDT 2009 (27 days remaining)
17:08:47,062 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Enterprise): Current version 3.0.1 (303) schema 501 - Installed version 3.0.0 (r11498) schema 501

mikeh
Star Contributor
Star Contributor
If that's the whole thing, then the share.war hasn't been deployed. Is it definitely in the Tomcat webapps folder? Is there a corresponding share folder in there too?

Mike

lrich
Champ in-the-making
Champ in-the-making
Both the share.war file and the share directory are present in the tomcat webapps directory.