Results 1 to 2 of 2
  1. #1
    gomsy123 is offline Member
    Join Date
    Mar 2009
    Posts
    1
    Rep Power
    0

    Default java.lang.ClassCastException

    HI Folks,

    In a content system Whenever i access certain link/functions I am getting an error message Internal server error

    java.lang.ClassCastException==xyz.platform.context .impl.ContextImpl
    org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:98)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    sun.reflect.GeneratedMethodAccessor201.invoke(Unkn own Source)
    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:244)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject .java:517)
    org.apache.catalina.security.SecurityUtil.execute( SecurityUtil.java:276)
    org.apache.catalina.security.SecurityUtil.doAsPriv ilege(SecurityUtil.java:162)
    java.security.AccessController.doPrivileged(Native Method)
    java.security.AccessController.doPrivileged(Native Method)
    blackboard.struts.BbActionServlet.service(BbAction Servlet.java:100)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    sun.reflect.GeneratedMethodAccessor201.invoke(Unkn own Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)




    Appreciate if you could help me out in finding the cause of this problem.. Certain links/functions in content system(application) works fine. only few throw this error

    regards

    Raj

  2. #2
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    7

    Default

    OK, you're running Struts on Tomcat, and your action class is causing the server to puke. Not bad, eh?

    Now, if you provide some indication of what code in your action is actually causing the exception, I might be able to tell you something useful...

Similar Threads

  1. Replies: 2
    Last Post: 09-18-2008, 08:30 AM
  2. ClassCastException
    By paulsim in forum Java Applets
    Replies: 2
    Last Post: 08-21-2008, 03:14 PM
  3. java.lang.ClassCastException
    By wrwelden in forum New To Java
    Replies: 4
    Last Post: 05-22-2008, 04:43 PM
  4. Replies: 1
    Last Post: 07-16-2007, 05:31 PM
  5. ClassCastException
    By Felissa in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 06:06 AM

Posting Permissions

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