DWR

Dependency Injection: Defaults objects are instantiated even when an override is provided

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Normal Normal
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: 4.0
  • Component/s: Core
  • Documentation Required:
    No
  • Description:
    Hide
    StartupUtil loads all of the default injectible objects (defaults.properties) before applying any overrides. In the case of Google App Engine this causes java.lang.NoClassDefFoundError: javax.swing.event.EventListenerList for DefaultScriptSessionManager. The current workaround is to provide a custom defaults file at WEB-INF/classes/org/directwebremoting/defaults.properties. To fix this issue, we should only load the defaults that have not been overridden.

    More info in this thread http://www.nabble.com/How-to-inject-my-own-ScriptSessionManager-implementation-in-Spring--to26019640.html
    Show
    StartupUtil loads all of the default injectible objects (defaults.properties) before applying any overrides. In the case of Google App Engine this causes java.lang.NoClassDefFoundError: javax.swing.event.EventListenerList for DefaultScriptSessionManager. The current workaround is to provide a custom defaults file at WEB-INF/classes/org/directwebremoting/defaults.properties. To fix this issue, we should only load the defaults that have not been overridden. More info in this thread http://www.nabble.com/How-to-inject-my-own-ScriptSessionManager-implementation-in-Spring--to26019640.html

Activity

There are no comments yet on this issue.

People

Dates

  • Created:
    26/Oct/09 2:20 AM
    Updated:
    06/Aug/10 9:11 PM