1 Reply Latest reply on Feb 8, 2006 6:55 PM by Viet

    schema export unsuccessful

    Qaiser Mehmood Newbie

      Hi,

      After copying the portal sevre and when I am starting the jboss application server , i am getting this error :

      09:42:07,000 ERROR [SchemaExport] schema export unsuccessful
      java.sql.SQLException: You cannot commit during a managed transaction!
      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcComm
      it(BaseWrapperManagedConnection.java:432)
      at org.jboss.resource.adapter.jdbc.WrappedConnection.commit(WrappedConne
      ction.java:331)
      at org.hibernate.tool.hbm2ddl.SchemaExport$ProviderConnectionHelper.getC
      onnection(SchemaExport.java:470)
      at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:183
      )
      at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:135)

      at org.jboss.portal.core.hibernate.SessionFactoryBinder.createSchema(Ses
      sionFactoryBinder.java:377)
      at org.jboss.portal.core.hibernate.SessionFactoryBinder.startService(Ses
      sionFactoryBinder.java:280)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:274)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      81)
      at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBo
      ssService.java:73)
      at org.jboss.portal.core.security.store.HibernateCacheLoader.startServic
      e(HibernateCacheLoader.java:72)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:274)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      81)
      at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBo
      ssService.java:73)
      at org.jboss.cache.TreeCache.createCacheLoader(TreeCache.java:1320)
      at org.jboss.cache.TreeCache.startService(TreeCache.java:1088)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
      upport.java:274)