[CONF] Apache Syncope Run Syncope in embedded mode

2014-08-04 Thread Francesco Chicchiricco (Confluence)














  


Francesco Chicchiricco edited the page:
 


Run Syncope in embedded mode   






 



 Table of Contents








style
decimal


 




Introduction
Once you have created your project, you already have a set of tools for evaluating Syncope in a quite rich scenario, without the need of setting up additional components like JEE container, database, LDAP server and so on.
Running
 Go under From the top-level directory of your project, execute: 



 Code Block




 
console
 



...



 
mvn clean package
 



 then, from the console subdirectory execute:



 Code Block




 

mvn -P embedded
 
  

[CONF] Apache Syncope Run Syncope in embedded mode

2013-06-17 Thread confluence







Run Syncope in embedded mode
Comment removed by  Francesco Chicchiricco



Hi,

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

==COMMAND PROMPT CONSOLE==
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.0:run failed: Failed to start the Tomcat 7.x container. Check the L:\IAM\MyIAM\console\target/log/cargo-output.log file containing the container logs for more details.
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:110)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: org.codehaus.cargo.container.ContainerException: Failed to start the
Tomcat 7.x container. Check the L:\IAM\MyIAM\console\target/log/cargo-output.log file containing the container logs for more details.
at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:231)
at org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(ContainerStartMojo.java:63)
at org.codehaus.cargo.maven2.ContainerRunMojo.doExecute(ContainerRunMojo.java:86)
at org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo.java:432)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
... 20 more
Caused by: org.codehaus.cargo.container.ContainerException: Deployable http://localhost:9080/cargocpc/index.html failed to finish deploying within the timeout period 12. The Deployable state is thus unknown.
at org.codehaus.cargo.container.spi.deployer.DeployerWatchdog.watch(DeployerWatchdog.java:111)
at org.codehaus.cargo.container.spi.AbstractLocalContainer.waitForCompletion(AbstractLocalContainer.java:310)
at org.codehaus.cargo.container.tomcat.internal.AbstractCatalinaInstalledLocalContainer.waitForCompletion(AbstractCatalinaInstalledLocalContainer.java:212)
at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:218)
... 24 more

==CARGO.LOG==
00:56:54.643infotalledLocalContainer Tomcat 7.x starting...
00:58:56.871infoyer.DeployerWatchdog Deployable http://localhost:9080/cargocpc/index.html failed to finish deploying within the timeout period 12. The Deployable state is thus unknown.

==CARGO_OUTPUT.LOG==
17.06.2013 00:58:35 INFO  org.springframework.jdbc.datasource.DriverManagerDataSource.setDriverClassName\(\):153 Loaded JDBC driver: org.h2.Driver
17.06.2013 00:58:35 INFO  org.springframework.web.context.ContextLoader.initWebApplicationContext\(\):313 Root WebApplicationContext: initialization completed in 1242 ms

==CONSOLE.LOG==
00:58:00.660 INFO  org.apache.wicket.Application - SyncopeConsole init: Wicket extensions initializer
00:58:00.767 INFO  org.apache.wicket.protocol.http.WebApplication - SyncopeConsole Started Wicket version 6.7.0 in DEVELOPMENT mode



   
Change Notification Preferences
   









[CONF] Apache Syncope Run Syncope in embedded mode

2013-02-15 Thread confluence







Run Syncope in embedded mode
Page
comment added by  Francesco Chicchiricco



   Content updated as per your suggestion, thanks!



In reply to a comment by Jesse van Bekkum:
Suggestion:

Post where to find the logs on an embedded system. (core/target/log/). This took me a while to find.



   
Change Notification Preferences
   
   View Online
  |
   Reply To This