[SP-1627] BISERVER-12244 - JNDI connections in platform get run through invalid co...

...de paths which cause unnecessary exceptions and performance degredation