Announcement Announcement Module
Collapse
No announcement yet.
Error while using Hibernate with Spring MVC Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error while using Hibernate with Spring MVC

    Hi All,

    I am using Hibernate with Spring Web MVC, but facing the following exception while trying to deploy the war file:

    ***
    2005-12-20 14:19:55,200 ERROR [org.hibernate.cfg.Configuration] - <Could not configure datastore from input stream>
    org.dom4j.DocumentException: null Nested exception: null
    at org.dom4j.io.SAXReader.read(SAXReader.java:484)
    at org.hibernate.cfg.Configuration.addInputStream(Con figuration.java:398)
    ...

    ***

    The following is the configuration of the Datasource in my configuration XMLfile

    <!-- DataSource Property -->
    <bean id="adminDataSource"
    class="org.apache.commons.dbcp.BasicDataSource">
    <property name="driverClassName">
    <value>com.microsoft.jdbc.sqlserver.SQLServerDrive r</value>
    </property>
    <property name="url">
    <value>jdbc:microsoft:sqlserver://160.12.8.8:1433;DatabaseName=epeo;User=asa;Passwor d=pass;selectMethod=cursor;sendStringParametersAsU nicode=false
    </value>
    </property>
    </bean>

    The complete XML file is attached.

    Any help will be appreciated.

    Thank you

    Regards,
    Harsh
Working...
X