[jboss-user] [JBoss Portal] - unable to deploy jboss portal (build created from open sourc

anjana do-not-reply at jboss.com
Mon Dec 4 07:46:58 EST 2006


I have created the jboss-portal.sar from open source jboss portal  version 2.4. when i try to deploy onn jboss 4.04.GA if fails with following exception 

2006-12-04 16:26:34,055 DEBUG [org.jboss.portal.portlet.container.PortletContainer] Loading portlet class org.jboss.portal.core.portlet.test.BasicPortlet
2006-12-04 16:26:34,055 DEBUG [org.jboss.portal.portlet.container.PortletContainer] Creating portlet object org.jboss.portal.core.portlet.test.BasicPortlet
2006-12-04 16:26:34,070 DEBUG [org.jboss.portal.portlet.container.PortletContainer] Created portlet object org.jboss.portal.core.portlet.test.BasicPortlet
2006-12-04 16:26:34,070 DEBUG [org.jboss.portal.portlet.container.PortletContainer] Initialized portlet object org.jboss.portal.core.portlet.test.BasicPortlet
2006-12-04 16:26:34,070 DEBUG [org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Looking for the WEB-INF path of samples
2006-12-04 16:26:34,084 ERROR [org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Error when creating instances
org.hibernate.HibernateException: Unable to locate current JTA transaction

i have create the portal-mysql-ds.xml with following entries

<?xml version="1.0" encoding="UTF-8"?>

  <local-tx-datasource>
    <jndi-name>PortalDS</jndi-name>
    <connection-url>jdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=false&amp;jdbcCompliantTruncation=false</connection-url>
    <driver-class>org.gjt.mm.mysql.Driver</driver-class>
    <user-name>portal</user-name>
    portalpassword
  </local-tx-datasource>


the above file is copied into Jboss folder
\server\default\deploy

can anyone pls guide what is missiing in my environment



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

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



More information about the jboss-user mailing list