i configured JBoss portal 2.6.4 with JBOss AS 4.3 with Mysql as DB.

In CMS Tab of Admin section i got this.




javax.servlet.ServletException: org.hibernate.InstantiationException: Cannot 
instantiate abstract class or interface: 
org.jboss.portal.core.impl.model.portal.PortalObjectImpl
        
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:276)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause 

org.hibernate.InstantiationException: Cannot instantiate abstract class or 
interface: org.jboss.portal.core.impl.model.portal.PortalObjectImpl
        
org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:78)
        
org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:100)
        
org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:351)
        
org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3606)
        org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1275)
        org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1264)
        org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1299)
        org.hibernate.loader.Loader.getRow(Loader.java:1206)
        org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:580)
        org.hibernate.loader.Loader.doQuery(Loader.java:701)
        
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
        org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
        
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
        
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
        
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3044)
        
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:395)
        
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)
        
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)
        
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
        
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
        org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
        org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:846)
        org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:567)
        org.hibernate.type.EntityType.resolve(EntityType.java:389)
        
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:116)
        
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
        org.hibernate.loader.Loader.doQuery(Loader.java:729)
        
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
        org.hibernate.loader.Loader.loadEntity(Loader.java:1907)
        
org.hibernate.loader.entity.CollectionElementLoader.loadElement(CollectionElementLoader.java:72)
        
org.hibernate.persister.collection.OneToManyPersister.getElementByIndex(OneToManyPersister.java:360)
        
org.hibernate.collection.AbstractPersistentCollection.readElementByIndex(AbstractPersistentCollection.java:158)
        org.hibernate.collection.PersistentMap.get(PersistentMap.java:146)
        
org.jboss.portal.core.impl.model.portal.PortalObjectImpl.getChild(PortalObjectImpl.java:427)
        
org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.injectDashboardNav(PageCustomizerInterceptor.java:250)
        
org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:164)
        
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
        
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
        
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
        
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:56)
        
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
        
org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
        
org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
        
org.jboss.portal.core.model.portal.PortalObjectResponseHandler.processCommandResponse(PortalObjectResponseHandler.java:74)
        
org.jboss.portal.core.controller.classic.ClassicResponseHandler.processHandlers(ClassicResponseHandler.java:79)
        
org.jboss.portal.core.controller.classic.ClassicResponseHandler.processCommandResponse(ClassicResponseHandler.java:53)
        
org.jboss.portal.core.controller.handler.ResponseHandlerSelector.processCommandResponse(ResponseHandlerSelector.java:70)
        
org.jboss.portal.core.controller.Controller.processCommandResponse(Controller.java:271)
        
org.jboss.portal.core.controller.Controller.processCommand(Controller.java:259)
        org.jboss.portal.core.controller.Controller.handle(Controller.java:217)
        
org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
        
org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
        
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
        
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
        
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
        
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:246)
        
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
        
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
        
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
        
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
        org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
        
org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
        
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
        org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
        
org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
        
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
        
org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
        
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69)
        
org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130)
        
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
        
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
        
org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:250)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198687#4198687

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198687
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to