Announcement Announcement Module
No announcement yet.
No servlet action available:Config problem Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • No servlet action available:Config problem

    Hi everyone,

    I have configed Struts+Spring+Hibernate in my application. I'm using org.springframework.web.struts.DelegatingActionPro xy to manage action in spring applicationContext.xml. The problem is when I map hibernate resource 'Survey.hbm.xml', it throws HTTP Status 503 - Servlet action is currently unavailable. My mapping code is:

    <bean id="sessionFactory"
    class="org.springframework.orm.hibernate3.LocalSes sionFactoryBean">
    <property name="hibernateProperties">
    <prop key="hibernate.dialect">org.hibernate.dialect.Orac leDialect</prop>
    <property name="dataSource">
    <ref local="edsDataSource"/>
    <property name="mappingResources">

    <bean id="edsDataSource" class="org.springframework.jdbc.datasource.DriverM anagerDataSource">
    <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver">
    <property name="url" value="jdbc:oracle:thin:@moon:1521:orcl"></property>
    <property name="username" value="eds"></property>
    <property name="password" value="eds"></property>

    If I comment out the mappingResources property it, works fine. Please help me out!!!

    Thanks you in advance.

  • #2
    Please use [ code][/code ] tags when posting code .

    Check your log, I guess your contet isn'tloading due to the fact that the file cannot be found.


    • #3
      There is no error log present, I'm using Tomcat server. Please let me know the possible reason for this exception.


      • #4
        There must be something... Either at startup or at request processing. It just isn't going to fail, there is some error somewhere...