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/
I tried with this configuration but it doesn't work.
I think, something is missing in my configuration...
404 error appears in my console.log :
WARN org.springframework.web.client.RestTemplate - GET request for
"http://localhost:8080/syncope/core/rest/user/request/create/allowed"
resulted in 404 (Introuvable); invoking error handler
ERROR org.apache.syncope.console.SyncopeRequestCycleListener - Exception found
org.apache.wicket.WicketRuntimeException: Can't instantiate page using
constructor 'public
org.apache.syncope.console.pages.Login(org.apache.wicket.request.mapper.parameter.PageParameters)'
and argument ''. Might be it doesn't exist, may be it is not visible
(public).
at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:196)
~[wicket-core-1.5.5.jar:1.5.5]
at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:77)
~[wicket-core-1.5.5.jar:1.5.5]
at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:47)
~[wicket-core-1.5.5.jar:1.5.5]
at
org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:103)
~[wicket-core-1.5.5.jar:1.5.5]
at
org.apache.wicket.request.handler.PageProvider.resolvePageInstance(PageProvider.java:264)
~[wicket-core-1.5.5.jar:1.5.5]
at
org.apache.wicket.request.handler.PageProvider.getPageInstance(PageProvider.java:165)
~[wicket-core-1.5.5.jar:1.5.5]
at
org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
~[wicket-core-1.5.5.jar:1.5.5]
at
org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)
~[wicket-core-1.5.5.jar:1.5.5]
at
org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)
~[wicket-core-1.5.5.jar:1.5.5]
at
org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:167)
~[wicket-core-1.5.5.jar:1.5.5]
Thanks.
Nicolas
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/