Felix cache not cleaned after Jonas process' kill
Hello,
Normally, Jdbc rar deployment would fail with no jdbc driver
-
Put jdbc driver (ojdbc14.jar) in $JONAS_BASE/lib/ext Oracle1_xads.rar in $JONAS_BASE/deploy jonas start in a DOS windows => Oracle1_xads.rar deployment is OK
-
jonas stop
-
Delete $JONAS_BASE/lib/ext/ojdbc14.jar file jonas start => Oracle1_xads.rar deployment fails with "... Caused by: java.lang.ClassNotFoundException: oracle.jdbc.xa.client.OracleXADataSource"
After Jonas kill and restart, Jdbc rar deployment is OK with no jdbc driver (set in $JONAS_BASE/lib/ext)!
To reproduce the problem:
-
Put jdbc driver (ojdbc14.jar) in $JONAS_BASE/lib/ext Oracle1_xads.rar in $JONAS_BASE/deploy jonas start in a DOS windows => Oracle1_xads.rar deployment is OK
-
close the DOS windows
-
Delete $JONAS_BASE/lib/ext/ojdbc14.jar file In another DOS windows, jonas start => Oracle1_xads.rar deployment is OK !
In this case, bundle.jar (for jdbc driver) remains in $JONAS_BASE/work/felix-cache directory
(Problem solved with jonas stop/jonas start -clean)
Best regards Pascale