Re: Setting up broadleaf development environment without maven
Posted: Tue Nov 16, 2010 6:54 pm
I originally deployed broadleafadmin with this data source,
<bean id="webDS" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="org.hsqldb.jdbcDriver" />
<property name="url" value="jdbc:hsqldb:hsql://localhost/broadleaf;ifexists=true" />
<property name="username" value="sa" />
<property name="password" value="" />
</bean>
After deployed successfully, I visit this application by http://localhost:8080/broadleafadmin/ and log on this admin/blc_admin, it prompt the following error:
Error: [FaultEvent fault=[RPC Fault faultString="javax.persistence.PersistenceException : org.hibernate.exception.SQLGrammarException: could not execute query" faultCode="Server.Processing" faultDetail="null"] messageId="9AC8D62D-4196-C67E-E301-181AB6B8702C" type="fault" bubbles=false cancelable=true eventPhase=2]
Now it has been not important for me because I have deployed it with postgres DB successfully.
<bean id="webDS" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="org.hsqldb.jdbcDriver" />
<property name="url" value="jdbc:hsqldb:hsql://localhost/broadleaf;ifexists=true" />
<property name="username" value="sa" />
<property name="password" value="" />
</bean>
After deployed successfully, I visit this application by http://localhost:8080/broadleafadmin/ and log on this admin/blc_admin, it prompt the following error:
Error: [FaultEvent fault=[RPC Fault faultString="javax.persistence.PersistenceException : org.hibernate.exception.SQLGrammarException: could not execute query" faultCode="Server.Processing" faultDetail="null"] messageId="9AC8D62D-4196-C67E-E301-181AB6B8702C" type="fault" bubbles=false cancelable=true eventPhase=2]
Now it has been not important for me because I have deployed it with postgres DB successfully.