Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005592 [Resin] minor always 11-25-13 23:54 05-05-14 11:30
Reporter mate View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.40 Product Version 4.0.40
  Product Build
Summary 0005592: ExtensionManager is drive letter case sensitive
Description When running Resin 4.0.37 under Windows, I am getting problem with the
same extension being loaded twice by
com.caucho.config.extension.ExtensionManager. The reason for this is
that in the Enumeration<URL> e on line 133 the same path is represented
twice, with different casing on the drive letter. I.e. it contains both

In the particular case, this results in an exception as of below and
Resin refused to boot at all.
The workaround that I have found so far is to set the RESIN_HOME
environment varible with the driver letter in upper case. With lower
case drive letter or RESIN_HOME unset, the duplicates appear.
Steps To Reproduce
Additional Information Here is the exception in our case:
com.caucho.config.ConfigException: @Named('csfFLOWDISCOVERYCDIHELPER')
is a duplicate name for ManagedBeanImpl[FlowDiscoveryCDIHelper, {@javax.inject.Named(value=csfFLOWDISCOVERYCDIHELPER), @Default(), @Any()}, name=csfFLOWDISCOVERYCDIHELPER]
    ManagedBeanImpl[FlowDiscoveryCDIHelper, {@javax.inject.Named(value=csfFLOWDISCOVERYCDIHELPER), @Default(), @Any()}, name=csfFLOWDISCOVERYCDIHELPER]
          at com.caucho.config.inject.InjectManager.addBeanByName(
          at com.caucho.config.inject.InjectManager.addBeanImpl(
          at com.caucho.config.inject.InjectManager.addBean(
          at com.caucho.config.extension.BeforeBeanDiscoveryImpl.addAnnotatedType(
          at com.sun.faces.flow.FlowDiscoveryCDIExtension.beforeBeanDiscovery(
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(
          at java.lang.reflect.Method.invoke(
          at com.caucho.config.extension.ExtensionManager$ExtensionObserver.notify(
          at com.caucho.config.event.EventManager.fireLocalEvent(
          at com.caucho.config.event.EventManager.fireLocalEvent(
          at com.caucho.config.event.EventManager.fireExtensionEvent(
          at com.caucho.config.extension.ExtensionManager.fireBeforeBeanDiscovery(
          at com.caucho.config.inject.InjectManager.fireBeforeBeanDiscovery(
          at com.caucho.config.inject.InjectManager.addBeanDiscover(
          at com.caucho.config.inject.InjectManager.addBeanDiscover(
          at com.caucho.env.service.ResinSystem.<init>(
          at com.caucho.env.service.ResinSystem.<init>(
          at com.caucho.server.resin.Resin.<init>(
          at com.caucho.server.resin.Resin.<init>(
          at com.caucho.server.resin.Resin.main(
Attached Files

- Relationships

- Notes
05-05-14 11:30


- Issue History
Date Modified Username Field Change
11-25-13 23:54 mate New Issue
03-07-14 01:53 mate Issue Monitored: mate
05-05-14 11:30 ferg Note Added: 0006444
05-05-14 11:30 ferg Assigned To  => ferg
05-05-14 11:30 ferg Status new => closed
05-05-14 11:30 ferg Resolution open => fixed
05-05-14 11:30 ferg version 4.0.37 => 4.0.40
05-05-14 11:30 ferg Fixed in Version  => 4.0.40

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker