hello,

> -----Urspr�ngliche Nachricht-----
>
> There are two options for you to fix your problem. You could extract the
> resource URL handler into another jar and place the jar in
> $PHOENIX_HOME/lib.
> However I would instead recomend that you change the OpenEJB code (if you
> have access to it) so that
>
> new URL( "resource:/x.txt" );
>
> is replaced with
>
> getClassLoader().getResource( "/x.txt" );
>
> This will be a lot more portable to different environments,
> should be backward
> compatible and should also work from within phoenix.

changed all occurences of ClassLoader.getSystemResource() to ...

 -> Thread.currentThread().getContextClassLoader().getResource( resource );

allthough, i am not quite sure whether that is a better approach.

regards

daniel s. haischt
--



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to