Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: HTTP Status 500 -

  1. #1
    Junior Member
    Join Date
    Apr 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HTTP Status 500 -

    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
    org.apache.catalina.security.SecurityUtil.execute( SecurityUtil.java:300)
    org.apache.catalina.security.SecurityUtil.doAsPriv ilege(SecurityUtil.java:165)

    root cause

    java.lang.NoClassDefFoundError
    org.xxx.login.LoginServlet.doPost(LoginServlet.jav a:47)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:767)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:860)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(Se curityUtil.java:249)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject .java:517)
    org.apache.catalina.security.SecurityUtil.execute( SecurityUtil.java:282)
    org.apache.catalina.security.SecurityUtil.doAsPriv ilege(SecurityUtil.java:165)

    note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,372
    Thanks
    184
    Thanked 836 Times in 779 Posts
    Blog Entries
    5

    Default Re: HTTP Status 500 -

    Status 500 is an internal error...based upon the exception it looks to be a missing class exception, but given the limited information impossible to suggest how to fix it.

  3. #3
    Junior Member
    Join Date
    Apr 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: HTTP Status 500 -

    Quote Originally Posted by copeg View Post
    Status 500 is an internal error...based upon the exception it looks to be a missing class exception, but given the limited information impossible to suggest how to fix it.
    hello,

    I'm experience in pure java programing but not JSP or Servlet.
    I am new to apache-tomcat-6.0.26 and dont have too much knowledge of it.
    i have downloaded apache-tomcat-6.0.26(zip) and installed on my H:\Program Files\apache-tomcat-6.0.26 om my computer, WinXP with JDK 1.5.0_22 , Eclipse (latest version), j2eesdk1_4_03-windows.exe, mysql server 5.1 with all the files downloaded on the H:\Program Files folder.
    I've set these variables:


    CATALINE_HOME=h:\apache-tomcat-6.0.26
    CATALINE_BASE=h:\apache-tomcat-6.0.26


    JAVA_HOME=h:\Program Files\Java\jdk1.6; H:\Program Files\Java\j2sdk1.4.2_09;h:\Program Files\Sun\AppServer\jdk;

    CLASSPATH=.;set PATH="H:\Program Files\Java\jdk1.5.0_22\bin";%PATH%;H:\Program Files\Java\j2sdk1.4.2_09\bin;H:\Program Files\apache-tomcat-6.0.26\lib\servlet-api.jar;H:\Program Files\apache-tomcat-6.0.26\lib\jsp-api.jar;H:\Program Files\apache-tomcat-6.0.26\lib


    PATH=H:\Program Files\Sun\AppServer\bin;"H:\Program Files\Java\jdk1.6.0_10\bin";%PATH%;%ANT_HOME%\bin; C:\DOCUME~1\XYZ\LOCALS~1\Temp\j2eesdk-1_4_03-windows.exe2\package;C:\WINDOWS\system32;C:\WINDOW S;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Ulead Systems\MPEG;="H:\Program Files\Java\jdk1.6.0_10\bin";C:\WINDOWS\system32;C: \WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Ulead Systems\MPEG;h:\Program Files\eclipse

    Then i kept my war file in the H:\Program Files\apache-tomcat-6.0.26\webapps folder

    I made the changes in the server.xml file of the H:\Program Files\apache-tomcat-6.0.26\conf as follows

    <Context path="/file" docBase="file" debug="0" reloadable="true">
    </Context>

    Pls can u guide me step by step.
    Pls tell me how to deploy the war files???????


    Thnx in advance.
    Last edited by mqt; April 5th, 2010 at 08:20 AM.

  4. #4
    Junior Member
    Join Date
    Apr 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: HTTP Status 500 -

    Pls can anyone guide me how to deploy the war files.....for my application.


    Thanx in advance

Similar Threads

  1. Sending XML over HTTP to Another Application
    By darasgar in forum Java Servlet
    Replies: 2
    Last Post: July 14th, 2010, 02:56 PM
  2. Replies: 1
    Last Post: March 31st, 2010, 10:42 PM
  3. Http post to login to forum
    By durenir in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 14th, 2010, 11:03 AM
  4. Need java code to know the browser status
    By newnewgen in forum Java Theory & Questions
    Replies: 2
    Last Post: January 8th, 2010, 11:39 PM
  5. cant get rid of http connection
    By kartik in forum Java Networking
    Replies: 1
    Last Post: July 21st, 2009, 04:09 AM