Hi,
I configured Jboss Portal Server 2.4.0 source code with eclipse jboss IDE and tried to
execute the jboss junit test class
"org.jboss.portal.test.cms.commands.TestFileCommand".
I am getting the following error while running above test class,
java.lang.IllegalStateException: Incompletely deployed:
*** DEPLOYMENTS IN ERROR:
HibernateSupport -> org.hibernate.HibernateException: Hibernate Dialect must be
explicitly set
at
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:241)
at
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:173)
at org.jboss.portal.test.framework.TestRuntimeContext.start(TestRuntimeContext.java:136)
at org.jboss.portal.test.cms.AbstractCMSTestCase.setUp(AbstractCMSTestCase.java:53)
at
org.jboss.portal.test.cms.commands.TestFolderCommands.setUp(TestFolderCommands.java:78)
at junit.framework.TestCase.runBare(TestCase.java:125)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
It seems that the hibernate dialect should be set some where in the applicatuion. I am
using SQL Server 2000 database and have tried of setting SQL dialect to all
hibernate.cfg.xml and hibernate.properties files, still the error is not yet solved.
Please advice if anyone knows about it.
Thanks in advance :)
-Venky
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985702#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...