5 Replies Latest reply on Nov 15, 2005 8:11 AM by zealot

    Exception in thread "Timer-5" is still here


      I'm just install new JBoss 4.0.3 SP1 but when I'm trying to use Seam I get Exception like this again

      Exception in thread "Timer-5"
      09:18:20,421 INFO [STDOUT] java.lang.NoClassDefFoundError: javax/xml/rpc/handler/MessageContext

      Any ideas?


        • 1. Re: Exception in thread

          Full trace:

          09:18:20,421 INFO [STDOUT] Exception in thread "Timer-5"
          09:18:20,421 INFO [STDOUT] java.lang.NoClassDefFoundError: javax/xml/rpc/handler/MessageContext
          09:18:20,421 INFO [STDOUT] at java.lang.Class.getDeclaredMethods0(Native Method)
          09:18:20,421 INFO [STDOUT] at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
          09:18:20,421 INFO [STDOUT] at java.lang.Class.getDeclaredMethod(Unknown Source)
          09:18:20,421 INFO [STDOUT] at java.io.ObjectStreamClass.getInheritableMethod(Unknown Source)
          09:18:20,421 INFO [STDOUT] at java.io.ObjectStreamClass.access$2100(Unknown Source)
          09:18:20,453 INFO [STDOUT] at java.io.ObjectStreamClass$2.run(Unknown Source)
          09:18:20,453 INFO [STDOUT] at java.security.AccessController.doPrivileged(Native Method)
          09:18:20,453 INFO [STDOUT] at java.io.ObjectStreamClass.(Unknown Source)
          09:18:20,453 INFO [STDOUT] at java.io.ObjectStreamClass.lookup(Unknown Source)
          09:18:20,453 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(Unknown Source)
          09:18:20,453 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject(Unknown Source)
          09:18:20,468 INFO [STDOUT] at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:324)
          09:18:20,468 INFO [STDOUT] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:143)
          09:18:20,468 INFO [STDOUT] at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:92)
          09:18:20,468 INFO [STDOUT] at java.util.TimerThread.mainLoop(Unknown Source)
          09:18:20,468 INFO [STDOUT] at java.util.TimerThread.run(Unknown Source)

          • 2. Re: Exception in thread
            Marius Oancea Novice

            This is a known issue when using debuger. I get this with Jboss3.0.4 and SP1.

            I did not discovered any malfunction. Only press "Play" is your debuger and the application will work.

            No ideea from where the problem is comming.

            Sometimes I found a post saying that if you

            copy jboss-4.0.3\client\jboss-jaxrpc.jar jboss-4.0.3\server\default\lib\

            the problem dissapear. But in my case is not the solution.

            • 3. Re: Exception in thread

              Gavin promised to fix that in next version of seam, 2 months ago. But it still there :-(

              • 4. Re: Exception in thread
                Thomas Heute Master

                It is not a problem with Seam, just a JBoss AS packaging problem, jboss-jaxrpc.jar is missing from the default/lib directory.

                Copying the jboss-jaxrpc.jar library to the lib directory of your configuration will solve the problem.

                • 5. Re: Exception in thread

                  Thanks Thomas everything fine now, I'm happy :-)