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/04/05 16:25:32 UTC

[jira] Commented: (AXIS2-2368) accessing properties file in sercice/module

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

Davanum Srinivas commented on AXIS2-2368:
-----------------------------------------

Please try 1.2 Nightly or RC's.

thanks,
dims

> accessing properties file in sercice/module
> -------------------------------------------
>
>                 Key: AXIS2-2368
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2368
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Task
>    Affects Versions: 1.1.1
>         Environment: Linux Fedora fc5, tomcat 6.0.7, java1.5.0_11, Axis2 1.1.1
>            Reporter: Federica Ciotti
>
> I'm trying to load some properties stored in a .properties file located in service/module
> This is what I'm doing in my service class (as suggested in http://wso2.org/library/98):
>  InputStream stream = getClass().getClassLoader().getResourceAsStream("registry.properties");
> but stream is alway null.
> Many Thanks

-- 
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