AnsweredAssumed Answered

Alfresco SDK 4.0.d & 4.0.e dir.root Exception

Question asked by ccc_chen on Aug 24, 2012
Latest reply on Aug 29, 2012 by t_sato
I have searched this problem, but I cannot find any solution, so I post in the forum.

My Enviroment:
Windows 7 x64
Mysql Server 5.1 + (Mysql-connector-java.jar in Alfresco/tomcat/lib)
Alfresco community 4.0-d (also tested in Alfresco community 4.0-e)
Alfresco community sdk 4.0-d (Alfresco community sdk 4.0-e)

I have the dir.root Exception when I run FirstFoundationClient sample of Alfresco SDK


My SDK Settings:
(alfresco-global.properties)
—————————————————
dir.root=C://Alfresco//alf_data

### database connection properties ###
db.driver=org.gjt.mm.mysql.Driver
db.username=alfresco
db.password=alfresco
db.name=alfresco
db.url=jdbc:mysql://localhost/alfresco
——————————————————-

Ich have added the external jars file from C:\Alfresco\tomcat\lib in project "SDK FirstFoundationClient"

but I have the Exception like:

2012-8-24 14:05:54 org.activiti.engine.impl.ProcessEngineImpl <init>
Message: ProcessEngine default created
2012-8-24 14:05:57 org.activiti.engine.impl.ProcessEngineImpl <init>
Message: ProcessEngine activitiBootstrapEngine created
2012-8-24 14:05:57 org.activiti.engine.impl.jobexecutor.JobAcquisitionThread run
Message: JobAcquisitionThread starting to acquire jobs
Exception in thread "main" org.alfresco.error.AlfrescoRuntimeException: 07240001 Ensure that the 'dir.root' property is pointing to the correct data location.
   at org.alfresco.repo.admin.ConfigurationChecker.check(ConfigurationChecker.java:248)
   at org.alfresco.repo.admin.ConfigurationChecker.access$000(ConfigurationChecker.java:68)
   at org.alfresco.repo.admin.ConfigurationChecker$1.execute(ConfigurationChecker.java:179)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:278)
   at org.alfresco.repo.admin.ConfigurationChecker.onBootstrap(ConfigurationChecker.java:183)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
   at org.alfresco.util.BaseApplicationContextHelper.getApplicationContext(BaseApplicationContextHelper.java:67)
   at org.alfresco.util.ApplicationContextHelper.getApplicationContext(ApplicationContextHelper.java:46)
   at org.alfresco.sample.FirstFoundationClient.main(FirstFoundationClient.java:63)
Exception in thread "SolrWatcherScheduler_QuartzSchedulerThread" Exception in thread "JobAcquisitionThread" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[127.0.0.1:50508]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[127.0.0.1:50501,org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory@0]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[127.0.0.1:50502,org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory@0]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[127.0.0.1:50504,org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory@0]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[127.0.0.1:50505,org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory@0]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[127.0.0.1:50506,org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory@0]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultScheduler_Worker-4" java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultScheduler_Worker-3" java.lang.OutOfMemoryError: PermGen space
Exception in thread "SolrWatcherScheduler_Worker-3" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultScheduler_Worker-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultScheduler_Worker-1" java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultScheduler_Worker-10" java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultScheduler_Worker-8" java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultScheduler_Worker-7" java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultScheduler_Worker-9" java.lang.OutOfMemoryError: PermGen space
Exception in thread "DefaultScheduler_Worker-6" java.lang.OutOfMemoryError: PermGen space

I need help! can any one help me.  :(

Outcomes