[jboss-user] [JBoss Portal] - HelloWorldIPC example not working with JBoss-Portal 2.6.4

elihusmails do-not-reply at jboss.com
Thu Apr 24 16:45:10 EDT 2008


I downloaded and tried out the HelloWorldIPC portlet example.  I am using version 2.6.4 bundled with JBoss 4.4.2.GA on Windows XP.

Is there any documentation and/or a working example for getting this working?

Here is a snippet of the stack trace:
16:20:21,410 ERROR [PortalPermissionCollection] Permission check against the repository failed
org.hibernate.HibernateException: Unable to locate current JTA transaction
        at org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61)
        at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:544)
        at org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:252)
        at org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getPermission(AbstractPortalObjectContainer.java:166)
        at org.jboss.portal.core.model.portal.PortalObjectPermission.implies(PortalObjectPermission.java:227)
        at org.jboss.portal.security.PortalPermissionCollection.implies(PortalPermissionCollection.java:96)
        at org.jboss.portal.security.impl.jacc.Permissions.implies(Permissions.java:93)
..................
16:20:21,535 ERROR [STDERR] java.lang.NullPointerException
16:20:21,535 ERROR [STDERR]     at org.jboss.portlet.JBossRenderResponse.createRenderURL(JBossRenderResponse.java:71)
16:20:21,535 ERROR [STDERR]     at org.jboss.portlet.hello.HelloWorldPortletA.doView(Unknown Source)
16:20:21,535 ERROR [STDERR]     at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:257)
16:20:21,535 ERROR [STDERR]     at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:244)
16:20:21,535 ERROR [STDERR]     at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:390)


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

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



More information about the jboss-user mailing list