Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-539

ClassCastException at shutdown

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0-M4
    • Fix Version/s: 1.0-M4
    • Component/s: security
    • Labels:
      None
    • Environment:

      fedora core 2
      java 1.4.2
      geronimo svn At revision 124458.

      Description

      after a clean rebuild of the server, if you start it up and then hit ctrl-c to shut it down you get a stack trace. Not a big deal, just a little shocking.

      17:21:06,521 ERROR Shutdown Thread [org.apache.geronimo.gbean.runtime.GBeanInstanceState] Error while stopping: objectName="geronimo.security:type=LoginConfiguration"
      java.lang.ClassCastException
      at org.apache.geronimo.security.jaas.GeronimoLoginConfiguration.doStop(GeronimoLoginConfiguration.java:135)
      at org.apache.geronimo.gbean.runtime.GBeanInstance$GBeanLifecycleCallback.doStop(GBeanInstance.java:796)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:387)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:205)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:483)
      at org.apache.geronimo.gbean.runtime.GBeanInstance$11.invoke(GBeanInstance.java:992)
      at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:684)
      at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:302)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:197)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:483)
      at org.apache.geronimo.kernel.Kernel.stopGBean(Kernel.java:347)
      at org.apache.geronimo.kernel.config.ConfigurationManagerImpl.doStop(ConfigurationManagerImpl.java:221)
      at org.apache.geronimo.gbean.runtime.GBeanInstance$GBeanLifecycleCallback.doStop(GBeanInstance.java:796)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:387)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:205)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:483)
      at org.apache.geronimo.kernel.Kernel.shutdownConfigManager(Kernel.java:527)
      at org.apache.geronimo.kernel.Kernel.shutdown(Kernel.java:491)
      at org.apache.geronimo.system.main.Daemon$1.run(Daemon.java:122)

        Attachments

          Activity

            People

            • Assignee:
              djencks David Jencks
              Reporter:
              toby Tobias Schlitt
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: