0 Replies Latest reply on Apr 24, 2008 4:45 PM by Mark Stuff

    HelloWorldIPC example not working with JBoss-Portal 2.6.4

    Mark Stuff Newbie

      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)