You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ayodeji Aladejebi <al...@gmail.com> on 2008/12/02 15:22:46 UTC
Unable to instantiate Web session class Error:::Wicket1.3.5 Help
App Server: Glassfish V2
Wicket Version:: Wicket 1.3.5
JVM: Java 6u10
IDE: Netbeans6.5
This error does not occur when using Wicket 1.3.1.
Any tips? thanks
Unable to instantiate web session class com.dabarobjects.fme.FMEWebSession
StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw
exception
org.apache.wicket.WicketRuntimeException: Unable to instantiate web session
class com.dabarobjects.fme.FMEWebSession
at
org.apache.wicket.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:119)
at org.apache.wicket.Session.findOrCreate(Session.java:228)
at org.apache.wicket.Session.findOrCreate(Session.java:211)
at org.apache.wicket.Session.get(Session.java:250)
at
org.apache.wicket.Application$1.onInstantiation(Application.java:276)
at
org.apache.wicket.Application.notifyComponentInstantiationListeners(Application.java:974)
at org.apache.wicket.Component.<init>(Component.java:873)
at
org.apache.wicket.MarkupContainer.<init>(MarkupContainer.java:105)
at org.apache.wicket.Page.<init>(Page.java:235)
at org.apache.wicket.markup.html.WebPage.<init>(WebPage.java:184)
at
org.apache.wicket.markup.html.pages.ExceptionErrorPage.<init>(ExceptionErrorPage.java:55)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(Abst
--
Aladejebi Ayodeji A.,
DabarObjects Solutions
Phone: +234 9 481 7 156
Mobile: +234 803 589 1780
Email: deji@dabarobjects.com
Web: www.dabarobjects.com
Blog: blog.dabarobjects.com
Participate, Collaborate, Innovate
Join Community:
http://www.cowblock.net/
Get A Free Blog:
http://blogs.cowblock.net/
Re: Unable to instantiate Web session class Error:::Wicket1.3.5 Help
Posted by Timo Rantalaiho <Ti...@ri.fi>.
On Tue, 02 Dec 2008, Ayodeji Aladejebi wrote:
> org.apache.wicket.WicketRuntimeException: Unable to instantiate web session
> class com.dabarobjects.fme.FMEWebSession
...
> Caused by: java.lang.NoSuchMethodException:
> com.dabarobjects.fme.FMEWebSession.<init>(org.apache.wicket.Request)
> at java.lang.Class.getConstructor0(Class.java:2706)
> at java.lang.Class.getDeclaredConstructor(Class.java:1985)
> at
> org.apache.wicket.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:114)
Is there a constructor
com.dabarobjects.fme.FMEWebSession(org.apache.wicket.Request)
and is it public?
Best wishes,
Timo
--
Timo Rantalaiho
Reaktor Innovations Oy <URL: http://www.ri.fi/ >
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Unable to instantiate Web session class Error:::Wicket1.3.5 Help
Posted by Ayodeji Aladejebi <al...@gmail.com>.
Yeah I think the problem is in Wicket-auth-roles jarthe
AuthtenticatedWebApplication.newSession class is throwing the error
cuz down down the stack trace
org.apache.wicket.WicketRuntimeException: Unable to instantiate web session
class com.dabarobjects.fme.FMEWebSession
at
org.apache.wicket.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:119)
at org.apache.wicket.Session.findOrCreate(Session.java:225)
at org.apache.wicket.Session.findOrCreate(Session.java:208)
at org.apache.wicket.Session.get(Session.java:244)
at
org.apache.wicket.Application$1.onInstantiation(Application.java:276)
at
org.apache.wicket.Application.notifyComponentInstantiationListeners(Application.java:973)
at org.apache.wicket.Component.<init>(Component.java:866)
at
org.apache.wicket.MarkupContainer.<init>(MarkupContainer.java:104)
at org.apache.wicket.Page.<init>(Page.java:231)
at org.apache.wicket.markup.html.WebPage.<init>(WebPage.java:184)
at
org.apache.wicket.markup.html.pages.ExceptionErrorPage.<init>(ExceptionErrorPage.java:55)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:162)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1206)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1245)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:489)
at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
at
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
Caused by: java.lang.NoSuchMethodException:
com.dabarobjects.fme.FMEWebSession.<init>(org.apache.wicket.Request)
at java.lang.Class.getConstructor0(Class.java:2706)
at java.lang.Class.getDeclaredConstructor(Class.java:1985)
at
org.apache.wicket.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:114)
... 44 more
On Tue, Dec 2, 2008 at 2:34 PM, Timo Rantalaiho <Ti...@ri.fi>wrote:
> On Tue, 02 Dec 2008, Ayodeji Aladejebi wrote:
> > App Server: Glassfish V2
> > Wicket Version:: Wicket 1.3.5
> > JVM: Java 6u10
> > IDE: Netbeans6.5
> >
> > This error does not occur when using Wicket 1.3.1.
> >
> > Any tips? thanks
> >
> > Unable to instantiate web session class
> com.dabarobjects.fme.FMEWebSession
>
> I think that the real problem is wrapped inside the exception
> whose stack trace you sent. Could you send the whole stack
> trace please?
>
> See AuthenticatedWebApplication source code for more hints,
> you could put a breakpoint there in newSession and see what
> exactly is going on.
>
> Best wishes,
> Timo
>
> --
> Timo Rantalaiho
> Reaktor Innovations Oy <URL: http://www.ri.fi/ >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Aladejebi Ayodeji A.,
DabarObjects Solutions
Phone: +234 9 481 7 156
Mobile: +234 803 589 1780
Email: deji@dabarobjects.com
Web: www.dabarobjects.com
Blog: blog.dabarobjects.com
Participate, Collaborate, Innovate
Join Community:
http://www.cowblock.net/
Get A Free Blog:
http://blogs.cowblock.net/
Re: Unable to instantiate Web session class Error:::Wicket1.3.5 Help
Posted by Timo Rantalaiho <Ti...@ri.fi>.
On Tue, 02 Dec 2008, Ayodeji Aladejebi wrote:
> App Server: Glassfish V2
> Wicket Version:: Wicket 1.3.5
> JVM: Java 6u10
> IDE: Netbeans6.5
>
> This error does not occur when using Wicket 1.3.1.
>
> Any tips? thanks
>
> Unable to instantiate web session class com.dabarobjects.fme.FMEWebSession
I think that the real problem is wrapped inside the exception
whose stack trace you sent. Could you send the whole stack
trace please?
See AuthenticatedWebApplication source code for more hints,
you could put a breakpoint there in newSession and see what
exactly is going on.
Best wishes,
Timo
--
Timo Rantalaiho
Reaktor Innovations Oy <URL: http://www.ri.fi/ >
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org