the setter/getter methods for InitialContextFactory
have different types: the set method accept a class
parameter, the get returns a
String.
This causes a ClassCastException as soon as you try to
call
getInitialContextFactory:
ERROR 26-11-03 14:43:53 DefaultLifecycleInterceptor
(?: ?)
EXCEPTION:
org.sape.carbon.core.component.lifecycle.StateTransitio
nException,
MESSAGE: An Exception occurred while attempting to
configure [/jdbc/NamedDataSourceConnectionFactory];
CAUSE: (java.lang.ClassCastException: java.lang.Class)
at
org.sape.carbon.core.component.lifecycle.DefaultLifecycl
eInterceptor.cal
lComponentConfigure
(DefaultLifecycleInterceptor.java:998)
The InitialContextFactory property should be keep as a
String, for compatibility with the previous version.