You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by jone <jo...@yahoo.com.cn> on 2006/07/05 08:53:08 UTC

Another hivemind exception,help please.

Hi,all,
When I install tap4.02 app into websphere,some exception thrown as 
following,could somebody help me solve this problem?
thanks in advance.
jone.

at 
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonProxy
(SingletonServiceModel.java:130)
at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService
(SingletonServiceModel.java:57)
at org.apache.hivemind.impl.ServicePointImpl.getService
(ServicePointImpl.java:210)
at org.apache.hivemind.impl.ServicePointImpl.getService
(ServicePointImpl.java:223)
at org.apache.hivemind.impl.RegistryInfrastructureImpl.getService
(RegistryInfrastructureImpl.java:207)
at org.apache.hivemind.impl.RegistryInfrastructureImpl.startup
(RegistryInfrastructureImpl.java:434)
at org.apache.hivemind.impl.RegistryBuilder.constructRegistry
(RegistryBuilder.java:154)
at org.apache.tapestry.ApplicationServlet.constructRegistry
(ApplicationServlet.java:253)
at org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit
(StrictServletInstance.java:82)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init
(StrictLifecycleServlet.java:147)
at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init
(StrictLifecycleServlet.java:270)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init
(StrictLifecycleServlet.java:113)
at com.ibm.ws.webcontainer.servlet.ServletInstance.init
(ServletInstance.java:189)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet
(WebAppServletManager.java:870)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet
(WebAppServletManager.java:224)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference
(WebAppServletManager.java:455)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(WebApp.java:652)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.calculateInfo
(WebAppRequestDispatcherInfo.java:172)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.<init>
(WebAppRequestDispatcherInfo.java:59)
at com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1462)
at com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1421)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook
(WebAppInvoker.java:268)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation
(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI
(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service
(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest
(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: Another hivemind exception,help please.

Posted by Howard Lewis Ship <hl...@gmail.com>.
Nested stack trace would be helpful. Looks like its a problem with an
eagerly loaded service.

On 7/5/06, James Carman <ja...@carmanconsulting.com> wrote:
> You haven't given us the entire stack trace here.  It doesn't even tell us
> what type of exception it is.  But, again, I'd have to guess that you're
> running with a SecurityManager on and you haven't given Javassist the proper
> permission to create classes on the fly at runtime.
>
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of jone
> Sent: Wednesday, July 05, 2006 2:53 AM
> To: dev@tapestry.apache.org
> Subject: Another hivemind exception,help please.
>
> Hi,all,
> When I install tap4.02 app into websphere,some exception thrown as
> following,could somebody help me solve this problem?
> thanks in advance.
> jone.
>
> at
> org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonP
> roxy
> (SingletonServiceModel.java:130)
> at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService
> (SingletonServiceModel.java:57)
> at org.apache.hivemind.impl.ServicePointImpl.getService
> (ServicePointImpl.java:210)
> at org.apache.hivemind.impl.ServicePointImpl.getService
> (ServicePointImpl.java:223)
> at org.apache.hivemind.impl.RegistryInfrastructureImpl.getService
> (RegistryInfrastructureImpl.java:207)
> at org.apache.hivemind.impl.RegistryInfrastructureImpl.startup
> (RegistryInfrastructureImpl.java:434)
> at org.apache.hivemind.impl.RegistryBuilder.constructRegistry
> (RegistryBuilder.java:154)
> at org.apache.tapestry.ApplicationServlet.constructRegistry
> (ApplicationServlet.java:253)
> at org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194)
> at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit
> (StrictServletInstance.java:82)
> at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init
> (StrictLifecycleServlet.java:147)
> at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init
> (StrictLifecycleServlet.java:270)
> at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init
> (StrictLifecycleServlet.java:113)
> at com.ibm.ws.webcontainer.servlet.ServletInstance.init
> (ServletInstance.java:189)
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet
> (WebAppServletManager.java:870)
> at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet
> (WebAppServletManager.java:224)
> at com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference
> (WebAppServletManager.java:455)
> at
> com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(WebApp.java:652)
> at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.calculateInfo
> (WebAppRequestDispatcherInfo.java:172)
> at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.<init>
> (WebAppRequestDispatcherInfo.java:59)
> at
> com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1462)
> at
> com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1421)
> at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook
> (WebAppInvoker.java:268)
> at
> com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation
> (CachedInvocation.java:71)
> at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI
> (ServletRequestProcessor.java:182)
> at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service
> (OSEListener.java:334)
> at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest
> (HttpConnection.java:56)
> at
> com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
> at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


RE: Another hivemind exception,help please.

Posted by James Carman <ja...@carmanconsulting.com>.
You haven't given us the entire stack trace here.  It doesn't even tell us
what type of exception it is.  But, again, I'd have to guess that you're
running with a SecurityManager on and you haven't given Javassist the proper
permission to create classes on the fly at runtime.

-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of jone
Sent: Wednesday, July 05, 2006 2:53 AM
To: dev@tapestry.apache.org
Subject: Another hivemind exception,help please.

Hi,all,
When I install tap4.02 app into websphere,some exception thrown as 
following,could somebody help me solve this problem?
thanks in advance.
jone.

at 
org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonP
roxy
(SingletonServiceModel.java:130)
at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService
(SingletonServiceModel.java:57)
at org.apache.hivemind.impl.ServicePointImpl.getService
(ServicePointImpl.java:210)
at org.apache.hivemind.impl.ServicePointImpl.getService
(ServicePointImpl.java:223)
at org.apache.hivemind.impl.RegistryInfrastructureImpl.getService
(RegistryInfrastructureImpl.java:207)
at org.apache.hivemind.impl.RegistryInfrastructureImpl.startup
(RegistryInfrastructureImpl.java:434)
at org.apache.hivemind.impl.RegistryBuilder.constructRegistry
(RegistryBuilder.java:154)
at org.apache.tapestry.ApplicationServlet.constructRegistry
(ApplicationServlet.java:253)
at org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit
(StrictServletInstance.java:82)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init
(StrictLifecycleServlet.java:147)
at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init
(StrictLifecycleServlet.java:270)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init
(StrictLifecycleServlet.java:113)
at com.ibm.ws.webcontainer.servlet.ServletInstance.init
(ServletInstance.java:189)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet
(WebAppServletManager.java:870)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet
(WebAppServletManager.java:224)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServletReference
(WebAppServletManager.java:455)
at
com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(WebApp.java:652)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.calculateInfo
(WebAppRequestDispatcherInfo.java:172)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.<init>
(WebAppRequestDispatcherInfo.java:59)
at
com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1462)
at
com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(WebApp.java:1421)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook
(WebAppInvoker.java:268)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation
(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI
(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service
(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest
(HttpConnection.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org