|
|
Unable to re-publish war to jboss without restart
mons.dbcp.BasicDataSourcequot;
destroy-method=quot;closequot;gt;
lt;property name=quot;driverClassNamequot; value=quot;${hibernate.connection.driver_class}quot; /gt;
lt;property name=quot;uclquot; value=quot;${hibernate.connection.ucl}quot; /gt;
lt;property name=quot;usernamequot; value=quot;${hibernate.connection.username}quot; /gt;
lt;property name=quot;passwordquot; value=quot;${hibernate.connection.password}quot; /gt;
lt;/beangt;
lt;bean id=quot;sessionFactoryquot;
class=quot;org..orm.hibernate3.annotation.AnnotationSessionFactoryBeanquot;gt;
lt;property name=quot;dataSourcequot; ref=quot;dataSourcequot; /gt;
lt;property name=quot;packagesToScanquot; value=quot;main.java.com.xxxx.pcas.entityquot; /gt;
lt;property name=quot;hibernatePropertiesquot;gt;
lt;propsgt;
lt;prop key=quot;hibernate.dialectquot;gt;${hibernate.dialect}lt;/propgt;
lt;prop key=quot;hibernate.show_sqlquot;gt;truelt;/propgt;
lt;prop key=quot;hibernate.format_sqlquot;gt;truelt;/propgt;
lt;/propsgt;
lt;/propertygt;
lt;/beangt;
lt;bean id=quot;transactionManagerquot;
class=quot;org..orm.hibernate3.HibernateTransactionManagerquot;gt;
lt;property name=quot;sessionFactoryquot; ref=quot;sessionFactoryquot; /gt;
lt;/beangt;
lt;/beansgt;
And the DisDaoImpl.java file:
Code:
@Repository(quot;disDaoquot;)
public class DisDaoImpl extends AbstractHibernateDaolt;Disgt; implements DisDao {
@Autowired public DisDaoImpl(SessionFactory sessionFactory) { super(Dis.class, sessionFactory); }
public Dis findById(Short id) { return get(id); }
public Listlt;Disgt; findAll() { return all(); }
public void save(Dis dis) { currentSession().saveOrUpdate(dis); }
public void delete(Dis dis) { currentSession().delete(dis); }
}
If there is any other information I can provide that might help out, just let me know.
Thanks for your time,
Beau
I've attached the full stack trace, in the hopes that it will help someone to track down the problem. Any ideas would be welcome.
Thanks,
Beau |
|