I have tried deploying the ImageGallery (Portal Swaps) on the bundled 2.2.1RC1 
portal. Both with HyperSOnic and Mysql. 

It seems to be creating the CMS sources for samples images during startup, so 
the database/connection are OK.

The problem is when I create an instance of the ImageGallery and go to view the 
default page with the instance.  I get an JTA error. See stack trace below. Any 
suggestions on what I could try (Hibernate config etc)?



s_4_0_3_SP1 date=200510231054)] Started in 1m:36s:178ms
00:39:57,388 ERROR [ImageGalleryModuleImpl] Cannot find imagecollections
org.hibernate.HibernateException: Unable to locate current JTA transaction
        at org.hibernate.context.JTASessionContext.currentSession(JTASessionCont
ext.java:61)
        at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactor
yImpl.java:604)
        at org.jboss.portlet.imagegallery.impl.ImageGalleryModuleImpl.getSession
(ImageGalleryModuleImpl.java:174)
        at org.jboss.portlet.imagegallery.impl.ImageGalleryModuleImpl.findImageC
ollections(ImageGalleryModuleImpl.java:123)
        at org.jboss.portlet.imagegallery.ImageGalleryPortlet.doView(ImageGaller
yPortlet.java:112)
        at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:230)
        at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:217)
        at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:360)
        at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContain
er.java:512)
        at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.j
ava:429)
        at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInv
ocation.java:79)
        at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:140)
        at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke
(TransactionInterceptor.java:72)
        at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:38)

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to