On 17/06/2013 10:25, Gurpreet Bagga wrote:

1.I setup my environment with Apache Maven 3.0.5 and JDK 1.6.0-32.

2.In the console, executed below command to create new project (reference -> https://cwiki.apache.org/confluence/display/SYNCOPE/Create+a+new+Syncope+project):

: mvn archetype:generate -DarchetypeGroupId=org.apache.syncope -DarchetypeArtifactId=syncope-archetype -DarchetypeRepository=http://repo1.maven.org/maven2 -DarchetypeVersion=1.1.2

3.: mvn clean package

4.Then under directory 'console' executed : mvn --P embedded


Everything seems to work right (assuming that point 3 was executed from the directory created by point 2).

I have just tested this again on Windows and had no problems: please start from scratch again. Probably you just need more than 2 minutes to startup everything: see [1] for changing this timeout.

Alternatively, you can try the standalone distribution [2].

Regards.

[1] https://cwiki.apache.org/confluence/display/SYNCOPE/FAQ#FAQ-InembeddedmodeIgettheerror%22Deployable [2] https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+standalone+distribution

*From:*Francesco Chicchiriccò [mailto:[email protected]]
*Sent:* Monday, June 17, 2013 3:16 AM
*To:* [email protected]
*Subject:* Re: Apache Syncope - Error on running embedded server

On 17/06/2013 10:12, Gurpreet Bagga wrote:

    Hi,

    I am new to Apache Syncope. I created a new project and tried to
    start embedded server and got some errors; can you please suggest
    what might be going wrong. Below are excerpts from log files. Thanks.

    *[...]*
    Caused by: org.codehaus.cargo.container.ContainerException:
    Deployable http://localhost:9080/cargocpc/index.html failed to
    finish deploying within the timeout period 120000
    </confluence/pages/createpage.action?spaceKey=SYNCOPE&title=120000>.
    The Deployable state is thus unknown.


Hi,
it seems that after 2 minutes (1200000 milliseconds) the application was not able to start.

Can you report the exact commands you have used to generate and start your project?

Regards.

--
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/

Reply via email to