Search code examples
javaservletsflex3weblogic

Error invoking servlet, but other resources get loaded - Flex + Java Application


I have written a RIA using flex for the front-end and Java servlet for the back end which actually makes calls to a web-service to do some processing.

The welcome page is a html page which is served from the web-logic 8.1 server that the app is hosted on. The welcome page loads and the flash content loads. Even a 'xml' file containing some configuration properties gets loaded from the server (through URL Request).

Now when I click a button on the page, it would authenticate the user, by sending the data to the servlet.

Here's the problem... The servlet doesn't get invoked and the URL Request (for the servlet with appropriate parameters) returns a 500: Internal Server Error page.

The same code is working perfectly when I deploy it on my local machine using tomcat as a server. And I have also checked umpteen times if the host URL is correct when being deployed on the web-logic server. Even checked the URL when the request is being made, in firefox, using firebug, and all seems to be fine, except that the response is '500: Internal Server Error'.

Please help. Thanks in Advance.


Solution

  • OK, the welcome page loads, and an XML file loads from the webserver, but the servlet can't be invoked.

    Is the servlet initialising correctly, and waiting to be called?

    Does anything need to be changed in the web.xml file that hasn't been?