Announcement Announcement Module
No announcement yet.
Problem with Spring in Windows 2008 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with Spring in Windows 2008

    Hi all

    I have a problem with Spring in Windows 2008.Application gets deployed, but it is not starting. I am deploying an ear file that contains .hbm files.We are using spring container and it is deployed the ear in Windows 2008 Server. The appserver is OC4J. Hibernate files are bundled as dataobjects.jar (contains class files and hbm files ) in spring-orm.xml file in the deployment environment.
    Hibernate related configuration in spring-orm.xml is as follows.
    <bean id="sessionFactory"
    class="org.springframework.orm.hibernate3.LocalSes sionFactoryBean">
    <property name="dataSource">
    <ref bean="dataSource" />
    <property name="mappingJarLocations">

    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory' defined in class path resource [spring-orm.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException: name
    Caused by:
    java.lang.NullPointerException: name at
    We are getting an exception like the following in Windows 2008 Server. But the same configuration works in Linux and other Windows OS. Kindly help me with your valuable suggestions.