2 Replies Latest reply on Jun 1, 2006 9:59 AM by Patrick Dalla Bernardina

    PortalDS Modification

    Patrick Dalla Bernardina Apprentice

      Hi,

      I changed the portal-postgresql-ds.xml to increase the max-pool-size and the portal crashed.

      why?

        • 1. Re: PortalDS Modification
          Conrad Kanengieter Newbie

          Just curious... What is the stack trace that the server reported? What did the server log about this portal crash?

          • 2. Stack Trace
            Patrick Dalla Bernardina Apprentice

            Stack Trace in HTTP response.

            No exception is logged in stdout

            HTTP Status 500 -
            
            --------------------------------------------------------------------------------
            
            type Exception report
            
            message
            
            description The server encountered an internal error () that prevented it from fulfilling this request.
            
            exception
            
            java.lang.IllegalStateException: The org.hibernate.cache.StandardQueryCache Cache is not alive.
             net.sf.ehcache.Cache.checkStatus(Cache.java:713)
             net.sf.ehcache.Cache.get(Cache.java:355)
             org.hibernate.cache.EhCache.get(EhCache.java:110)
             org.hibernate.cache.StandardQueryCache.get(StandardQueryCache.java:96)
             org.hibernate.loader.Loader.getResultFromQueryCache(Loader.java:2084)
             org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2048)
             org.hibernate.loader.Loader.list(Loader.java:2018)
             org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369)
             org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:298)
             org.hibernate.impl.SessionImpl.list(SessionImpl.java:1020)
             org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
             org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:650)
             org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.lookup(PersistentPortalObjectContainer.java:219)
             org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObject(PersistentPortalObjectContainer.java:154)
             org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getContext(PersistentPortalObjectContainer.java:171)
             jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
             java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
             org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:84)
             org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
             org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
             org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:182)
             org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:61)
             org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
             org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:343)
             org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:541)
             org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:106)
             $Proxy49.getContext()Lorg.jboss.portal.core.model.portal.Context;(Unknown Source)
             org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:86)