cancel
Showing results for 
Search instead for 
Did you mean: 

FirstFoundationClient did not add any files

stargazers
Champ in-the-making
Champ in-the-making
So, after long fighting (first Eclipse used gjc…) I could compile FirstFoundationClient.
I had stopped Alfresco using /opt/Alfresco/alf_stop.sh
Then I run FirstFoundationClient from Eclipse.

Output:
08:09:19,040  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
08:09:20,695  WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
08:09:26,300  ERROR [transform.swf.PDFToSWFContentTransformer] Failed to start SWF2PDF transformer:
Execution result:
   os:         Linux
   command:    pdf2swf -V
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "pdf2swf": java.io.IOException: error=2, No such file or directory
08:09:27,321  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
08:09:28,820  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
08:09:35,611 UserSmiley Frustratedystem WARN  [repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
08:09:35,613 UserSmiley Frustratedystem INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: ./alf_data
08:09:35,823 UserSmiley Frustratedystem INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
08:09:36,475 UserSmiley Frustratedystem INFO  [admin.patch.PatchExecuter] No patches were required.
08:09:36,484 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
08:09:41,842 UserSmiley Frustratedystem ERROR [alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
08:09:41,843 UserSmiley Frustratedystem ERROR [alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
08:09:43,428 UserSmiley Frustratedystem WARN  [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
08:09:43,437 UserSmiley Frustratedystem INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_10-b33; maximum heap size 63,563MB
08:09:43,438 UserSmiley Frustratedystem WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 63,563MB is less than recommended 512MB
08:09:43,439 UserSmiley Frustratedystem INFO  [service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (a 1032) schema 128 - Installed version 3.0.0 (a 1032) schema 128


So. Is there anything wrong with that output?

After the Eclipse says <Terminated> in Console, then I started Alfresco web server again with /opt/Alfresco/alf_start.sh
Then I log in as an admin user and look in my "Company home" and "Content Items". It says:
"No items to display. To add an existing document click 'Add Content' action. To create an HTML or Plain Text file click 'Create Content' action."

Should Content Items contain new file? Or where I should find output file what FirstFoundationClient should do?

I have set MySQL username and password in custom-repository.properties.
So… what can be wrong?
1 REPLY 1

dranakan
Champ on-the-rise
Champ on-the-rise
Hello,

You have to say to your project where is the files from Alfresco. At this time in your eclipse, the repository is in your project :

08:09:35,611 User:System WARN [repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'. 'dir.root' should be overridden to point to a specific folder.

Go to the file : custom-repository.properties and give the way to the alf_data from the alfresco that you run to see the files
dir.root=/opt/Alfresco/alf_data
Good luck Smiley Wink