Ok, I found the problem thanks to Catalina.out : 1 - I did not have jar file for mysql-connector-java in my Tomcat /lib. GRAVE: Error listenerStart org.apache.catalina.core.StandardContext startInternal GRAVE: Erreur de démarrage du contexte [/syncope] suite aux erreurs précédentes (I downloaded it on www.mysql.com)
2 - I did not create syncope database. (com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'syncope') Now I can Log on web interface and core is not null. Thanks for your help. -- Nicolas 2012/4/26 Francesco Chicchiriccò <[email protected]>: > On 26/04/2012 11:37, Prigent Nicolas wrote: >> >> My /syncope application doesn't exist. I don't know why. >> I have only /syncope-console/ and no /syncope/rest. >> On tomcat web interface in "application manager", /syncope-console is >> started but /syncope/ is stopped (can't be started) >> >> Log file : >> "GET /syncope/rest/user/request/create/allowed HTTP/1.1" 404 1085 >> "GET /syncope/rest/user/request/create/allowed HTTP/1.1" 404 1085 >> "GET /syncope/rest HTTP/1.1" 404 1001 > > > It seems that the deployment of syncope.war did not succeed: you should > check Tomcat logs (catalina.out, ...) for understanding why. > > Regards. > > >> 2012/4/24 Francesco Chicchiriccò<[email protected]>: >>> >>> On 23/04/2012 16:08, Francesco Chicchiriccň wrote: >>>> >>>> On 23/04/2012 16:04, Prigent Nicolas wrote: >>>>> >>>>> Here is my "console/src/main/resources/configuration.properties" : >>>>> >>>>> scheme=http >>>>> host=localhost >>>>> port=8080 >>>>> path=/syncope/core/rest/ >>>>> version=${project.version} >>>>> baseURL=http://localhost:8080/syncope/core/rest/ >>>> >>>> It should be (note 'path' + baseURL is not necessary any more, I will >>>> remove it from the wiki page): >>>> >>>> scheme=http >>>> host=localhost >>>> port=8080 >>>> path=/syncope/rest/ >>>> version=${project.version} >>> >>> >>> Hi, >>> any update on this? >>> >>> Regards. >>> >>>> 2012/4/23 Francesco Chicchiriccň<[email protected]>: >>>> >>>>>> On 23/04/2012 14:24, Prigent Nicolas wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> I try to install Syncope on my virtual machine (debian) by following >>>>>> wiki documentation. >>>>>> I did : 1°) Create a new Syncope project >>>>>> 2°) Run Syncope in real environments >>>>>> >>>>>> Everything seems to be ok. >>>>>> So, I go to http://localhost:8080/syncope-console, and I get a message >>>>>> : >>>>>> "Alert : Session expired: please login again." >>>>>> But I can't log in with my admin account ... >>>>>> http://i44.tinypic.com/zuko3r.png >>>>>> >>>>>> Something goes wrong at this point : Console: >>>>>> 1.0.0-incubating-SNAPSHOT; Core: null >>>>>> >>>>>> Do you have any idea why Core is null ? >>>>>> >>>>>> >>>>>> Just guessing, but it seems that your console application does not >>>>>> know >>>>>> how >>>>>> to contact core application. >>>>>> >>>>>> Probably there is a bug in the wiki page [1]: it is important that you >>>>>> provide in console's configuration.properties the base URL where the >>>>>> core >>>>>> application is reachable. >>>>>> >>>>>> Based on the URL you reported above >>>>>> (http://localhost:8080/syncope-console), >>>>>> the value for baseURL in your case should be >>>>>> >>>>>> http://localhost:8080/syncope/rest/ >>>>>> >>>>>> Once done, rebuild and redeploy. >>>>>> >>>>>> Please let us know if it works, now. >>>>>> Regards. >>>>>> >>>>>> [1] >>>>>> >>>>>> >>>>>> https://cwiki.apache.org/confluence/display/SYNCOPE/Run+Syncope+in+real+environments#RunSyncopeinrealenvironments-Othersetuptasks >>> >>> -- >>> Francesco Chicchiriccň >>> >>> >>> Apache Cocoon PMC and Apache Syncope PPMC Member >>> http://people.apache.org/~ilgrosso/ >>> > > > -- > Francesco Chicchiriccò > > > Apache Cocoon PMC and Apache Syncope PPMC Member > http://people.apache.org/~ilgrosso/ >
