0 Replies Latest reply on Mar 19, 2009 5:37 AM by SENG michel

    Problems installing jboss clustering with postgresql

    SENG michel Newbie

      I im trying to install jboss portal in clustering mode.
      I have 3 errors in the server log.


      2009-03-19 10:12:54,580 ERROR [org.jboss.portal.identity.db.HibernateUserModuleImpl] Cannot find user by name admin
      org.hibernate.hql.ast.QuerySyntaxException: HibernateUserImpl is not mapped [from HibernateUserImpl where userName=:userName]
      at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158)
      at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:87)
      at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:70)
      at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:255)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3056)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2945)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:688)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:544)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
      at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228) ...



      and the second

      2009-03-19 10:12:56,533 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/D:/ToolsMichel/jboss-portal-2.7.1/server/ports-01/deploy/jboss-portal.sar/conf/data/default-object.xml
      org.jboss.deployment.DeploymentException: ObjectNode is not mapped [from ObjectNode where path=:path or path is null]; - nested throwable: (org.hibernate.hql.ast.QuerySyntaxException: ObjectNode is not mapped [from ObjectNode where path=:path or path is null])
      at org.jboss.portal.core.deployment.jboss.ObjectDeployment.start(ObjectDeployment.java:103)
      at org.jboss.portal.server.deployment.jboss.DeploymentContext.start(DeploymentContext.java:99)
      at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfoContext.start(PortalDeploymentInfoContext.java:220)
      at org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:217)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)




      and the third
      2009-03-19 10:13:00,315 ERROR [org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Error when creating instances
      org.hibernate.MappingException: Unknown entity: org.jboss.portal.core.impl.portlet.state.PersistentPortletState
      at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:550)
      at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1338)
      at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:180)
      at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:512)
      at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:70)
      at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)



      thank you for all your help

      Michel