Results 1 to 4 of 4

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

  1. #1
    Join Date
    Jan 2011
    Posts
    2

    Angry 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. #2
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,796

    Default

    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?
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

  3. #3
    Join Date
    Jan 2011
    Posts
    2

    Default 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

  4. #4
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,796

    Default

    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
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •