cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco context load time

thiagogjt
Champ in-the-making
Champ in-the-making
Hi folks,

I have downloaded the SDK in 4.2d version.
I configured a new project (with First JCR examlpe as basis) and when i put it to run in eclipse the alfresco's context takes more than 10 minutes to get ready.
My machine is not so bad… it is a core i7 with 8gb of memory and ssd disk.
In most of the time, the system is creating proxies around the interfaces to apply security settings.
The alfresco communit application takes around 90 seconds to get up.
There some setting I can do to improve this load time?
Sorry about my poor english.

Thanks in advance.

Thiago Lacerda
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
You mean to say that your Alfresco is taking more time in startup?

for very first time alfresco create all tables during startup that is the reason it take significantly more time in startup. Later on time will automatically reduced.
Now if you still want to reduce that startup time you can remove the extra war files which are available(if there are any) apart from alfresco.war and share.war.
Also you can check log file for errors during startup.

Hi!

Thanks for the answer.
In application startup, i call applicationContext = new ClassPathXmlApplicationContext("classpath:alfresco/application-context.xml");
This operation takes over 500 s.
The time comparison is between the load time of an alfresco instance that i have instaled in my machine and my application in eclipse.
I am looking for some diference in those two application configurations that justify this difference.


Best Regards,

Thiago