cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco SDK FirstFoundationClient example problems

cyber_terminato
Champ in-the-making
Champ in-the-making
Hi i'm new to alfresco, as you can figure i have lots of problems with it  Smiley Very Happy .
For some time I'm trying to start on of the SDK examples to be more precise - FirstFoundationClient . From the bigining there was a problems -

- Missing class "alfresco-blog-integration" exception in Alfresco SDK sample - FirstFondationClient. - problem solved by downloading and exctracting the file alfresco-blog-integration.amp to <alfresco_SDK_root>\lib\deployment\

-email server exception Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emailServer' defined in class path resource [alfresco/bootstrap-context.xml]: Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/subethamail/smtp/MessageHandlerFactory
Caused by: java.lang.NoClassDefFoundError: org/subethamail/smtp/MessageHandlerFactory - the problem solved by importing external jar libraries

- Alfresco and Tomcat startup problems - ocasionaly but still presist. When starting the alfresco various problems emerged mainly provocated from false port error. It can be fixed by killing all running java processes.  The problem is different from the descrbed one downside which involve SDK.

- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConnector' defined in class path resource false port 50500 error Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi] -ocasionaly emerging, the problem still presist. Can be solved by killing all JAVA processes

- Database settings and indexes problems causing various problems with path directories - solved by resting the indexes and recreating the database.

-'dir.root' path exception org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location.
-main problem, still presist, the reason for it unknown
- Please if someone encountered this problem before help me to solve it
P.S. I edited "custom-repository.properties" and set the dir.root to absolute path -there was no effect, then changed the path to relative - also no effect.
1 REPLY 1

fhomasp
Champ in-the-making
Champ in-the-making
-'dir.root' path exception org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property is pointing to the correct data location.
-main problem, still presist, the reason for it unknown
- Please if someone encountered this problem before help me to solve it
P.S. I edited "custom-repository.properties" and set the dir.root to absolute path -there was no effect, then changed the path to relative - also no effect.

This problem started on my end when I changed database technology from the default one to mysql.

I solved this, this morning by googling it and attempting one of several given solutions.
First I stopped my tomcat container service.
Then I deleted the folder "alf_data".
I then dropped the alfresco database and created a new one.
Then I restarted the tomcat container and all was okay, or at least for that situation.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.