AnsweredAssumed Answered

Starting Alfresco on Tomcat from Eclipse IDE

Question asked by ipeters on Aug 4, 2009
Latest reply on Aug 6, 2009 by fooblahblah

I'm trying to run Alfresco 3.2 from Eclipse. To that end I've followed the following documentation:

I am able to compile successfully, albeit with a bunch of "deprecated" warnings.
I've installed the Tomcat plugin, but could not find information on how this works other than finding the info on setting the Tomcat options.

More searching led me to this documentation:
I created the database and skipped the steps related to checking out the code, since I already had done that.

I also followed the steps outlined in

In the Development Environment documentation it recommends using the "start-tomcat-application" target to launch the app server. However, doing so produced the following out-of-memory error:
14:42:01,393 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed

Caused by: java.lang.OutOfMemoryError: PermGen space

Does launching Tomcat in this manner not take into consideration the server parameters I set under Eclipse -> Windows -> Preferences -> Tomcat -> JVM Settings?

If not, where would I set them?

At any rate, I would prefer to simply use the Eclipse menu item "Tomcat -> Start Tomcat". When I try this I only see the following vague indication of a problem in the Console: "<terminated> C:\alfresco_dev\Java\jre6\bin=javaw.exe"

Can someone advise me what the recommended way for testing Alfresco is, when working inside of Eclipse?

FWIW, my eventual goal is to simply define an action that kicks of an Oracle BPEL workflow, which is published as a web service. But first I'd like to make sure I have a firm grasp on building the entire application and setting up my development environment.

Thanks for any tips!


PS. Update: I have seen the article on tuning at . But in my case I'm using the new 3.2 release, so the scripts should reflect the higher PermGen space setting. But anyways, I would prefer to use the Eclipse tomcat plugin for launching the app server.