views:

409

answers:

1

I have the problem, that getting a ressource from my archive failed with a MalformedURLException: unknown protocol: jndi

The archive is a war file and is deployed into Websphere successfully.

When I try to access some files inside the archive via

jndi://server/context/filename

I get the MalformedURLException.

Did anyone know, how to solve this problem?

Stefan

A: 

Unless you registered a custom URL handler, "jndi" is not a supported protocol.

Are you trying to read the file through Java code?

Isaac