2 Replies Latest reply on Dec 3, 2002 7:30 AM by kryptontri

    Possible Bug : Jetty (?) / Jboss (?)

    kryptontri

      Hi,

      Just a quick note, i am using jboss jboss-3.2.0beta.

      Application works fine, i modify a class to implements Serializable to get things wokring etc. Later i get a ClassCastException even though this is the expected class.

      Removed jboss/server/myserver/tmp, redeploy, still problems -> ClassCastException from the jsp.

      .... Later .. much later

      I add private static final long serialVersionUID = 1L; to my specific problem class.

      Fails still with some serialized related errors.

      I remove all jetty tmp dirs located under user.home property etc. Works fine now.

      Summary
      --------
      Jetty should *perhaps* remove old tmp files it creates etc blah blah what ever.

      If this is unfounded appologies, insults/flame >> /dev/null

      [ Jules (?) ] you reading ?

      Thanks

      K

      - Back to coding in anger :-)

        • 1. Re: Possible Bug : Jetty (?) / Jboss (?)
          kryptontri

          Hmmm once again I have encountered it.

          23:44:16,880 INFO [STDOUT] JSP Object Type = < replaced to protect my interests >.generic.util.NameValue
          23:44:16,880 WARN [jbossweb] WARNING: Exception for /member/listAR.jsp?agencyName=gfdgdfgdgf
          java.lang.ClassCastException: <replaced to protect my interests> .generic.util.NameValue
          at org.apache.jsp.listAR_jsp._jspService(listAReviews_jsp.java:244)
          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:202)
          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
          at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:362)
          at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:284)
          at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:565)
          at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
          at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:544)
          at org.mortbay.http.HttpContext.handle(HttpContext.java:1614)
          at org.mortbay.http.HttpServer.service(HttpServer.java:875)
          at org.jboss.jetty.Jetty.service(Jetty.java:531)
          at org.mortbay.http.HttpConnection.service(HttpConnection.java:785)
          at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:935)
          at org.mortbay.http.HttpConnection.handle(HttpConnection.java:802)
          at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:200)
          at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:294)
          at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743)
          at java.lang.Thread.run(Thread.java:536)

          Hmm strange, All i did was a redeploy and mod'd other classes ... very strange this is ....

          I must consult Yoda ....

          BRB

          • 2. Re: Possible Bug : Jetty (?) / Jboss (?)
            kryptontri

            Having done a little 'research' / Ok so i was browsing the web when i should have been working.

            http://sourceforge.net/project/shownotes.php?group_id=22866&release_id=111113 may explain my bug/issue.

            For now i'll revert to an earlier/stable release version :-)