Hi,
I know I can change the property in
jboss-portal.sar\conf\hibernate\hibernate.cfg.xml, but is there another way to
set the default Hibernate dialect so that I don't have to extract/modify/save
the file?
The change is required as without it JBoss AS 4.0.3RC2 refuses the portal sar
to be deployed.
15:47:11,138 WARN [ServiceController] Problem starting service
portal:service=Hibernate
org.hibernate.HibernateException: The dialect was not set. Set the property
hibernate.dialect.
at org.hibernate.dialect.Dialect.getDialect(Dialect.java:540)
at org.hibernate.dialect.Dialect.getDialect(Dialect.java:562)
at org.hibernate.tool.hbm2ddl.SchemaExport.(SchemaExport.java:77)
at org.hibernate.tool.hbm2ddl.SchemaExport.(SchemaExport.java:53)
at
org.jboss.portal.core.hibernate.SessionFactoryBinder.createSchema(SessionFactoryBinder.java:278)
at
org.jboss.portal.core.hibernate.SessionFactoryBinder.startService(SessionFactoryBinder.java:181)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287)
at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:187)
at
org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:73)
Jacek
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896621#3896621
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896621
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user