Announcement Announcement Module
Collapse
No announcement yet.
Fiona needs help: Big HTTP 500-Problem with JavaBeans / SpringFrameWork Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fiona needs help: Big HTTP 500-Problem with JavaBeans / SpringFrameWork

    Dear All!
    I have the following problem:

    We have a JavaBeanApplication that uses an very old version of the Spring framework.

    The application runs correctly on multiple machines of our customers.

    On another server I can start the application and also operate. The configuration is the same. It uses the same JDBC driver etc. etc.

    But after a few minutes I get after clicking on any button a HTTP500 error! See below.

    A TimeOut of the SpringFramework?

    What can that be?
    For a tip, I would be very, very, very grateful!

    Best greetings
    Fiona

    ------------------------------------------------------------------------

    Environment:

    Development: NetBeans IDE 6.8
    MS JDBC3 Driver
    Spring Framework JSP Tag Library
    tlib-version: 1.1.1
    jsp-version: 1.2

    Debian Linux 2.6.26-21 Lenny4
    Linux 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux
    Apache2 Version: Apache/2.2.16 (Debian)
    Tomcat: 6.0.26-3

    ------------------------------------------------------------------------

    This is my problem error message:



    HTTP Status 500 -

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: ModelAndView [ModelAndView: materialized View is [null]; model is {}] neither
    contains a view name nor a View object in servlet with name 'springapp'

    org.springframework.web.servlet.DispatcherServlet. render(DispatcherServlet.java:674)
    org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:562)
    org.springframework.web.servlet.FrameworkServlet.s ervice(FrameworkServlet.java:321)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)

  • #2
    Hello Fiona

    Can you post the complete error stack trace?

    Code:
    javax.servlet.ServletException: ModelAndView 
    [ModelAndView: materialized View is [null]; model is {}] neither 
    contains a view name nor a View object in servlet with name 'springapp'
    Seems the model is not filled or created, perhaps in your new server can't server some resource?

    Comment


    • #3
      complete error stack trace

      Hi Manuel.
      Thanks for your reply! I have only the complete error message from
      our customer. I posted this err message complete. On the customer machine
      is no javabeans develop environment installed. On our development environment with javabeans - the error ist not exist.

      What I could offer you: Apache logfile ?

      Thanks for your help.

      Best regards
      Fiona

      Comment


      • #4
        Hello Fiona

        But after a few minutes I get after clicking on any button a HTTP500 error! See below.
        Such button trigger or call some controller?, If yes post the source code

        What I could offer you: Apache logfile ?
        Yes, because even if the error appear to the client side, it was due by a problem from the server side

        BTW I hope your client are calling to your new server, and your new server has the same access and privileges than your first server (JDBC driver, DB etc), the worst situation could be that since you copy the project from the old to a new server, the project are assuming to work with some paths that couldn't exists in your new server, and of course access the same DB

        Best Regards

        Comment

        Working...
        X