0 Replies Latest reply on Aug 6, 2002 10:04 AM by Thomas Laresch

    Tomcat Status 500: The answer

    Thomas Laresch Newbie

      http://localhost:8080/ gives you "Status 500"?

      Here's the answer (for JBoss 3.0.1 RC1 at least).
      Sorry for the Windows-bias. Of course, you must adjust
      the paths to reflect your own JBoss installation paths.

      Try this:
      In C:\java\jboss-3.0.1RC1_tomcat-4.0.4\catalina\webapps\examples\WEB-INF, add jboss-web.xml with the following:
      <?xml version="1.0" encoding="UTF-8"?>


      In web.xml, comment out the ejb-local-ref at the bottom
      (the corresponding Java class doesn't exist in
      the examples, anyways!):
      <!-- Local EJB Reference
      <description>Example Local EJB Reference</description>
      cd ..

      C:\java\jboss-3.0.1RC1_tomcat-4.0.4\catalina\webapps\examples>jar cvf tomcat-examples.war *

      Copy this war file to:

      Put this in your browser

      Enjoy a rousing game of NumberGuess ;)!

      p.s. The Account EJB doesn't exist either, so if you want,
      you can play with removing it from the system.