Running embedded Syncope

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Running embedded Syncope

JessevanBekkum
Hi

I am trying to run the embedded version as is described on the wiki. I generated the project using the maven archtype, i packaged it and I have ran mvn cargo:start. I can browse to the console and login with admin/password, but it gives a "Session expired: please login again" error. I have not done or changed anything.

Any ideas on how to fix this?

With kind regards

Jesse van Bekkum
Reply | Threaded
Open this post in threaded view
|

Re: [syncope-users] Running embedded Syncope

Francesco Chicchiriccò
Administrator
On 13/07/2011 11:55, JessevanBekkum wrote:
> Hi
>
> I am trying to run the embedded version as is described on the wiki. I
> generated the project using the maven archtype, i packaged it and I have ran
> mvn cargo:start. I can browse to the console and login with admin/password,
> but it gives a "Session expired: please login again" error. I have not done
> or changed anything.
>
> Any ideas on how to fix this?
Hi Jesse,
thanks for pointing this out: there was a mistake in the new archetype.

Now everything should work (I've just tested): only, you have to
re-generate the project with the updated archetype version 0.6.2, as per
the updated Getting Started wiki page.

Please let us know if you run into any (other) problem.
Cheers.

--
Francesco Chicchiriccò

"Computer Science is no more about computers than astronomy
is about telescopes." (E. W. Dijkstra)

Reply | Threaded
Open this post in threaded view
|

Re: [syncope-users] Running embedded Syncope

JessevanBekkum
Thank you, that did work. I ran into one other bug in the default installation: If you click on the menu item "tasks" you get a java error. I do not need that functionality at the moment, but I thought I should mention it.

WicketMessage: Error attaching this container for rendering: [MarkupContainer [Component id = body]]

Root cause:

org.springframework.web.client.HttpServerErrorException: 500 Internal Server Error
     at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:77)
     at org.syncope.client.validation.SyncopeClientErrorHandler.handleError(SyncopeClientErrorHandler.java:47)
     at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:486)
     at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:443)
     at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:401)
     at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:199)
     at org.springframework.web.client.RestTemplate$$FastClassByCGLIB$$aa4e9ed0.invoke(<generated>)
     at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
     at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
     at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
     at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
     at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
     at org.springframework.web.client.RestTemplate$$EnhancerByCGLIB$$dbae95fa.getForObject(<generated>)
     at org.syncope.console.rest.TaskRestClient.list(TaskRestClient.java:42)
     at WICKET_org.syncope.console.rest.TaskRestClient$$FastClassByCGLIB$$4b4ede38.invoke(<generated>)
     at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
     at org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:317)
     at WICKET_org.syncope.console.rest.TaskRestClient$$EnhancerByCGLIB$$6b0f784f.list(<generated>)
     at org.syncope.console.pages.Tasks$TasksProvider.iterator(Tasks.java:300)
     at org.apache.wicket.markup.repeater.data.DataViewBase$ModelIterator.<init>(DataViewBase.java:109)
     at org.apache.wicket.markup.repeater.data.DataViewBase.getItemModels(DataViewBase.java:76)
     at org.apache.wicket.markup.repeater.AbstractPageableView.getItemModels(AbstractPageableView.java:107)
     at org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:94)
     at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:131)
     at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:121)
     at org.apache.wicket.Component.internalBeforeRender(Component.java:1066)
     at org.apache.wicket.Component.beforeRender(Component.java:1100)
     at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1757)
     at org.apache.wicket.Component.onBeforeRender(Component.java:3966)
     at org.apache.wicket.Component.internalBeforeRender(Component.java:1066)
     at org.apache.wicket.Component.beforeRender(Component.java:1100)
     at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1757)
     at org.apache.wicket.Component.onBeforeRender(Component.java:3966)
     at org.apache.wicket.Component.internalBeforeRender(Component.java:1066)
     at org.apache.wicket.Component.beforeRender(Component.java:1100)
     at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1757)
     at org.apache.wicket.Component.onBeforeRender(Component.java:3966)
     at org.apache.wicket.Component.internalBeforeRender(Component.java:1066)
     at org.apache.wicket.Component.beforeRender(Component.java:1100)
     at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1757)
     at org.apache.wicket.Component.onBeforeRender(Component.java:3966)
     at org.apache.wicket.Page.onBeforeRender(Page.java:1550)
     at org.apache.wicket.Component.internalBeforeRender(Component.java:1066)
     at org.apache.wicket.Component.beforeRender(Component.java:1100)
     at org.apache.wicket.Component.prepareForRender(Component.java:2292)
     at org.apache.wicket.Page.prepareForRender(Page.java:1540)
     at org.apache.wicket.Component.prepareForRender(Component.java:2329)
     at org.apache.wicket.Page.renderPage(Page.java:911)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:261)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
     at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162)
     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
     at java.lang.Thread.run(Thread.java:680)

Complete stack:

org.apache.wicket.WicketRuntimeException: Error attaching this container for rendering: [MarkupContainer [Component id = body]]
     at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1769)
     at org.apache.wicket.Component.onBeforeRender(Component.java:3966)
     at org.apache.wicket.Component.internalBeforeRender(Component.java:1066)
     at org.apache.wicket.Component.beforeRender(Component.java:1100)
     at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1757)
     at org.apache.wicket.Component.onBeforeRender(Component.java:3966)
     at org.apache.wicket.Component.internalBeforeRender(Component.java:1066)
     at org.apache.wicket.Component.beforeRender(Component.java:1100)
     at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1757)
     at org.apache.wicket.Component.onBeforeRender(Component.java:3966)
     at org.apache.wicket.Component.internalBeforeRender(Component.java:1066)
     at org.apache.wicket.Component.beforeRender(Component.java:1100)
     at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1757)
     at org.apache.wicket.Component.onBeforeRender(Component.java:3966)
     at org.apache.wicket.Page.onBeforeRender(Page.java:1550)
     at org.apache.wicket.Component.internalBeforeRender(Component.java:1066)
     at org.apache.wicket.Component.beforeRender(Component.java:1100)
     at org.apache.wicket.Component.prepareForRender(Component.java:2292)
     at org.apache.wicket.Page.prepareForRender(Page.java:1540)
     at org.apache.wicket.Component.prepareForRender(Component.java:2329)
     at org.apache.wicket.Page.renderPage(Page.java:911)
     at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:261)
     at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
     at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
     at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
     at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
Reply | Threaded
Open this post in threaded view
|

Re: [syncope-users] Running embedded Syncope

Francesco Chicchiriccò
Administrator
On 15/07/2011 10:13, JessevanBekkum wrote:
> Thank you, that did work. I ran into one other bug in the default
> installation: If you click on the menu item "tasks" you get a java error. I
> do not need that functionality at the moment, but I thought I should mention
> it.

Thank you: I've opened issue #133 for this.

--
Francesco Chicchiriccò

"Computer Science is no more about computers than astronomy
is about telescopes." (E. W. Dijkstra)

Reply | Threaded
Open this post in threaded view
|

Re: [syncope-users] Running embedded Syncope

Fabio Martelli

Il giorno 19/lug/2011, alle ore 08.21, Francesco Chicchiriccò ha scritto:

> On 15/07/2011 10:13, JessevanBekkum wrote:
>> Thank you, that did work. I ran into one other bug in the default
>> installation: If you click on the menu item "tasks" you get a java error. I
>> do not need that functionality at the moment, but I thought I should mention
>> it.
>
> Thank you: I've opened issue #133 for this.

Issue #133 has been closed.
Jesse, wait one hour, more or less, and try again with the release 0.6.3 (wiki updated).

Regards,
F.