[EMAIL PROTECTED] 11/13/2007 06:01 PM Please respond to [email protected]
To [email protected] cc Subject Re: libraries and configuration files Charitha, Thank you for your swift response and for the references. This works well with libraries. How about for configuration files? Lets say my webservice reads a text file named "System.properties" inside a " properties" or "conf" directory. Assuming that the web service needs to read something from System.properties through something like props.getProperty("AUTHOR"); and return the corresponding value in the properties file such as AUTHOR=JOSEPH... where should i place this file so it would be readable only to my web service. I've tried placing the properties folder inside CATALINA_HOME/ and things work fine... The problem with this setting is, it could lead to configuration conflicts for other services. thanks, Joseph Charitha Kankanamge <[EMAIL PROTECTED]> 11/13/2007 05:18 PM Please respond to [email protected] To [email protected] cc Subject Re: libraries and configuration files Hi Joseph, The library files can be included in the lib directory created in your service archive. The service archive file structure is as follows. Yourservice.aar - META-INF - services.xml -lib (You can include your lib files here) -org -test -Yourserviceimplementation.class For more information on axis2 service archive,please check the following urls. http://wso2.org/library/2546 http://jaxmag.com/itr/online_artikel/psecom,id,757,nodeid,147.html regards Charitha [EMAIL PROTECTED] wrote: > > Hi, > > I have a set of libraries and configuration files stored on a > "lib" and "properties" directories respectively. Where do i place > these directories so that they would be available in my Web Service? > > > Regards, > > Joseph -- Charitha Kankanamge WSO2 inc. Flower Road, Colombo 07 +94 714268070 A bug in the hand is better than one as yet undetected --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
