[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss load command and PermGen error

kmekme do-not-reply at jboss.com
Mon Apr 14 10:54:59 EDT 2008


Hi,

I'm runing JBoss AS (4.2.2) clustered on two redhat machines and JBoss Portal(2.6.4) .At first launch, I've got this error : 


  | 18:03:18,859 INFO  [UpdateTimestampsCache] starting update timestamps cache at region: org.hibernate.cache.UpdateTimestampsCache
  | 18:03:18,860 INFO  [StandardQueryCache] starting query cache at region: org.hibernate.cache.StandardQueryCache
  | 18:03:21,795 INFO  [DefaultLoadEventListener] Error performing load command
  | org.hibernate.InstantiationException: Cannot instantiate abstract class or interface: org.jboss.portal.core.impl.model.portal.PortalObjectImpl
  | 	at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:78)
  | 	at org.hibernate.tuple.PojoInstantiator.instantiate(PojoInstantiator.java:100)
  | 	at org.hibernate.tuple.entity.AbstractEntityTuplizer.instantiate(AbstractEntityTuplizer.java:351)
  | 	at org.hibernate.persister.entity.AbstractEntityPersister.instantiate(AbstractEntityPersister.java:3606)
  | 	at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1275)
  | 	at org.hibernate.impl.SessionImpl.instantiate(SessionImpl.java:1264)
  | 	at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1299)
  | 	at org.hibernate.loader.Loader.getRow(Loader.java:1206)
  | 	at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:580)
  | 	at org.hibernate.loader.Loader.doQuery(Loader.java:701)
  | 	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
  | 	at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
  | 	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
  | 	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
  | 	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3044)
  | 	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:395)
  | 	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)
  | 	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)
  | 	at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
  | 	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
  | 	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
  | 	at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:846)
  | 	at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:557)
  | 	at org.hibernate.type.EntityType.resolve(EntityType.java:379)
  | 	at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:116)
  | 	at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
  | 	at org.hibernate.loader.Loader.doQuery(Loader.java:729)
  | 	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
  | 	at org.hibernate.loader.Loader.loadCollection(Loader.java:1994)
  | 

And then while browsing the portal, I've got a PermGen error.
I've already tried to add more memory to the JVM (-Xms1024m -Xmx1024m) but the problem remains.

Anybody ? Please?


 
 


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143957



More information about the jboss-user mailing list