You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by Suresh Ajja <su...@gmail.com> on 2014/06/11 08:10:04 UTC

Error while running mvn install

OS: Linux 64-bit Machine
Syncope Version 1.1.7
Tomcat Server: Apache Tomcat 7.0.53 separately installed on the machine.

Error while running:
mvn install

[INFO] Executed tasks
[INFO]
[INFO] --- cargo-maven2-plugin:1.4.8:start (start-container) @ core ---
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Syncope sample project ..................... SUCCESS [  2.876
s]
[INFO] Apache Syncope sample project core ................ FAILURE [ 12.797
s]
[INFO] Apache Syncope sample project console ............. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 16.049 s
[INFO] Finished at: 2014-06-10T23:04:32-08:00
[INFO] Final Memory: 28M/314M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.cargo:cargo-maven2-plugin:1.4.8:start (start-container) on
project core: Execution start-container of goal
org.codehaus.cargo:cargo-maven2-plugin:1.4.8:start failed: Port number 8009
(defined with the property cargo.tomcat.ajp.port) is in use. Please free it
on the system or set it to a different port in the container configuration.

Help highly appreciated.

Re: Error while running mvn install

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 11/06/2014 08:10, Suresh Ajja wrote:
> OS: Linux 64-bit Machine
> Syncope Version 1.1.7
> Tomcat Server: Apache Tomcat 7.0.53 separately installed on the machine.
>
> Error while running:
> mvn install
>
> [INFO] Executed tasks
> [INFO]
> [INFO] --- cargo-maven2-plugin:1.4.8:start (start-container) @ core ---
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Syncope sample project ..................... SUCCESS [ 
>  2.876 s]
> [INFO] Apache Syncope sample project core ................ FAILURE [ 
> 12.797 s]
> [INFO] Apache Syncope sample project console ............. SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 16.049 s
> [INFO] Finished at: 2014-06-10T23:04:32-08:00
> [INFO] Final Memory: 28M/314M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.codehaus.cargo:cargo-maven2-plugin:1.4.8:start (start-container) 
> on project core: Execution start-container of goal 
> org.codehaus.cargo:cargo-maven2-plugin:1.4.8:start failed: Port number 
> 8009 (defined with the property cargo.tomcat.ajp.port) is in use. 
> Please free it on the system or set it to a different port in the 
> container configuration.
>
> Help highly appreciated.

Do you have something else on this machine listening on port 8009? The 
error states exactly this.

Anyway, there is no reason to install a generated Syncope project: 
please follow

https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+embedded+mode

to run the embedded demo environment or

https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments

to prepare deploying to a real environment.

Regards.

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/