You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2016/12/28 10:04:58 UTC

[jira] [Closed] (SYNCOPE-986) Syncope Core References Compilation Failed

     [ https://issues.apache.org/jira/browse/SYNCOPE-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francesco Chicchiriccò closed SYNCOPE-986.
------------------------------------------
    Resolution: Not A Problem

Cargo is not able to start Tomcat because you need to explicitly authorize Java to listen to the port 9080, and you need to do that before the scheduled timeout expires.

Given that, I was just able to run the integration test suite successfully.

I invite you to  [subscribe to the user mailing list|http://syncope.apache.org/mailing-lists.html] and to check there before opening new issues.

> Syncope Core References Compilation Failed
> ------------------------------------------
>
>                 Key: SYNCOPE-986
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-986
>             Project: Syncope
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.1
>         Environment: Windows
>            Reporter: Ravi Singareddy
>
> I have cloned latest code from git clone https://git-wip-us.apache.org/repos/asf/syncope.git
> >> cd syncope
> >> mvn clean install
> Build process failing in starting cargo apache container. Here is the error trace:
> main:
>      [copy] Copying 1 file to D:\code-examples\syncope_12272016\syncope\fit\core-reference\target\test-csvdir
>     [mkdir] Created dir: D:\code-examples\syncope_12272016\syncope\fit\core-reference\target\cli-test
>     [unzip] Expanding: D:\code-examples\syncope_12272016\syncope\client\cli\target\syncope-client-cli-2.1.0-SNAPSHOT.zip into D:\code-examples\syncope_12272016\syncope\fit\core-reference\target\cli-test
> [INFO] Executed tasks
> [INFO]
> [INFO] --- cargo-maven2-plugin:1.6.1:start (start-container) @ syncope-fit-core-reference ---
> [ERROR] Starting container [org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer@1c6f9235] failed, now stopping container
> [ERROR] Stopping container [org.codehaus.cargo.container.tomcat.Tomcat8xInstalledLocalContainer@1c6f9235] failed org.codehaus.cargo.container.ContainerException: Failed to stop the Tomcat 8.x container. Check the [D:\code-examples\syncope_12272016\syncope\fit\core-referenc
> e\target/log/cargo-output.log] file containing the container logs for more details.
>         at org.codehaus.cargo.container.spi.AbstractLocalContainer.stop(AbstractLocalContainer.java:302)
>         at org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(ContainerStartMojo.java:67)
>         at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:436)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>         at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.codehaus.cargo.container.ContainerException: Server port 9889 didnot shutdown within the timeout period [300000]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)