[jboss-user] [JBoss Portal] - running helloportal failed.

smithlearner do-not-reply at jboss.com
Fri Nov 17 10:28:32 EST 2006


I tried to example helloportal, but got exception:
10:19:43,796 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
10:19:43,796 ERROR [JDBCExceptionReporter] Transaction is not active: tx=Transac
tionImpl:XidImpl[FormatId=257, GlobalId=home/38, BranchQual=, localId=38]; - nes
ted throwable: (javax.resource.ResourceException: Transaction is not active: tx=
TransactionImpl:XidImpl[FormatId=257, GlobalId=home/38, BranchQual=, localId=38]
)
10:19:43,812 ERROR [PortalPermissionCollection] Permission check against the rep
ository failed
org.hibernate.exception.GenericJDBCException: Cannot open connection
        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException
(SQLStateConverter.java:103)
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
ava:91)
        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
er.java:43)
        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
er.java:29)
        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager
.java:420)
        at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.
java:144)
        at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatc
her.java:139)
        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1560)
        at org.hibernate.loader.Loader.doQuery(Loader.java:661)
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
ader.java:224)
        at org.hibernate.loader.Loader.doList(Loader.java:2144)
        at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2060)
        at org.hibernate.loader.Loader.list(Loader.java:2020)
        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:393)
        at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.ja
va:338)
        at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java
:172)
        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
        at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
        at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.j
ava:780)
        at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContain
er.getObjectNode(PersistentPortalObjectContainer.java:238)
        at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContain
er.getObjectNode(PersistentPortalObjectContainer.java:223)
        at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer
.getPermission(AbstractPortalObjectContainer.java:113)
        at org.jboss.portal.core.model.portal.PortalObjectPermission.implies(Por
talObjectPermission.java:207)
        at org.jboss.portal.security.PortalPermissionCollection.implies(PortalPe
rmissionCollection.java:96)
        at java.security.Permissions.implies(Permissions.java:165)
        at org.jboss.security.jacc.ContextPolicy.implies(ContextPolicy.java:98)
        at org.jboss.security.jacc.DelegatingPolicy.implies(DelegatingPolicy.jav
a:203)
        at org.jboss.portal.security.impl.jacc.JACCPortalAuthorizationManager.in
ternalCheckPermission(JACCPortalAuthorizationManager.java:184)
        at org.jboss.portal.security.impl.jacc.JACCPortalAuthorizationManager.ch
eckPermission(JACCPortalAuthorizationManager.java:195)
        at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.in
........

Does anybody have this problem?
The server already connected to the database and it already fetched some data from database. so i guess the problem is on transaction. but I don't know why transaction became inactive. 
   Can anybody tell me some reason?

Thanks in advance.  

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

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



More information about the jboss-user mailing list