0 Replies Latest reply on Feb 8, 2006 7:00 AM by Gloria Martinez

    The portal not deploy the management

    Gloria Martinez Newbie

      Hi everyone! I have problem with the management..
      In the server.log when try show:
      08:47:55,968 INFO [NamingHelper] JNDI InitialContext properties:{}
      08:47:55,984 INFO [SessionFactoryImpl] Checking 0 named queries
      08:47:55,984 INFO [HibernatePersistenceManager] HibernateSessionFactory Created
      stay like standby.. then continue the server without problem.. dont shows any errors..the portal show well.
      But when i click in management show this error:
      javax.servlet.ServletException: query did not return a unique result: 2
      org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:227)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

      root cause:

      org.hibernate.NonUniqueResultException: query did not return a unique result: 2
      org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:663)
      org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:650)
      org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.lookup(PersistentPortalObjectContainer.java:208)
      org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObject(PersistentPortalObjectContainer.java:143

      why happens this? please help me..
      the portal have a behavior very well.. untill at this happen..
      so thanks