Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1087

core-jmx: missing blank in log statement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.5.4
    • 1.6.0
    • Core
    • None

    Description

      I have an EJB annotated with @MBean. One method 'start' is annotaded with @JmxManaged. Via JConsole I invoke this method and an (application internal) error occured.

      The server log states:
      09:20:33,283 SEVERE [org.apache.deltaspike.core.impl.jmx.DynamicMBeanWrapper] (pool-2-thread-189) startcan't be invoked: java.lang.reflect.InvocationTargetException

      Here a blank is missing between "start" and "can't be invoked".

      It seems that the error is in DynamicMBeanWrapper line 359:
      346: public Object invoke(final String actionName, final Object[] params, final String[] signature)
      357: catch (Exception e)
      358: {
      359: LOGGER.log(Level.SEVERE, actionName + "can't be invoked", e);

      Attachments

        Activity

          People

            Unassigned Unassigned
            jhm Jan Materne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: