On Wed, Apr 27, 2016 at 12:25 PM, Oscar Rugama <oscas...@hotmail.com> wrote:
>  Hi all:
>
>       I'm developing a web service using axis2 & tomcat .
>
<snip>
> My project could be like that, so at first glance my keystore is placed at
> the what I thought is the root level, so just writing
>
> System.setProperty("javax.net.ssl.keyStore", "keysdata.jks");
>
>
> I thought it should look in the root level. But nothing works (I mean an
> absolute path yes it works)
>

I would try to use some form of getResourceAsSteam() . Lots of ways to
do that. At the axis2 level, you should be able to do something like:

MessageContext.getCurrentMessageContext().getAxisService().getClassLoader().getResourceAsSteam("keysdata.jks");

- R

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to