AnsweredAssumed Answered

Alfresco SDK FirstFoundationClient example problems

Question asked by cyber_terminator on Dec 19, 2007
Latest reply on Dec 27, 2007 by fhomasp
Hi i'm new to alfresco, as you can figure i have lots of problems with it  :D .
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.

Outcomes