You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/06/06 20:55:27 UTC

[jira] Commented: (AXIS2-2730) Classloader getResourceAsStream error, returns null.

    [ https://issues.apache.org/jira/browse/AXIS2-2730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502038 ] 

Davanum Srinivas commented on AXIS2-2730:
-----------------------------------------

please put it in webapps/axis2/WEB-INF/classes/config/dir1/myconfig2.web

thanks,
dims

> Classloader getResourceAsStream error, returns null.
> ----------------------------------------------------
>
>                 Key: AXIS2-2730
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2730
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: Windows XP, JDK 1.5.0_11, Tomcat 5.5.23, Axis2 1.2.
>            Reporter: Javier Valero
>
> Loading a resource at the service implementation class doing:
> InputStream inStream = this.getClass().getClassLoader().getResourceAsStream("config/dir1/myconfig2.web"");
> where the resourcefile resides physically in "webapps/axis2/WEB-INF/lib/config/dir1/myconfig2.web", 
> returns "null" in Axis2 1.2 but it works fine in Axis 1.0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org