Thanks dims!
I will pick it up.
___________________________________________________
Debasish Dutta Roy
NITAS
Ph: 617-871-3033



"Davanum Srinivas" <[EMAIL PROTECTED]>

08/01/2006 04:15 PM
Please respond to axis-user

       
        To:        axis-user@ws.apache.org
        cc:        (bcc: Debasish DuttaRoy/X/PH/Novartis)
        Subject:        Re: Problem with dependant jar files inside aar - URGENT



Debasish,

Yes, this should be fixed if you pick up a nightly build in a few hours.

-- dims

On 8/1/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>
> As a resource
>
> Reader reader = Resources.getResourceAsReader("xml/dao.xml");
>
> I get a file not found exception.
>
> However, if I put all the jars in WEB-INF lib of Axis2 then the file is found. But you surely dont want to do that. Also if I put it all in WEB-INF lib now, I am getting problems with jdbc context not found, meaning the datasource and all. Its getting recursive and now all getting coupled together.
>
> My dao.xml has
>
> <transactionManager type="SQLMAP">
>         <property name="SqlMapConfigResource" value="xml/sql-map-config.xml"/>
> </transactionManager>
>
> And in sql-map-config file I have JNDI datasource defined.
>
> Can anyone point to an example of how I should typically design my services around my business delegates and OR-mapping layers.
>
>
> Thanks
> Debasish
>
>  ___________________________________________________
>  Debasish Dutta Roy
>  NITAS
>  Ph: 617-871-3033
>
>
>
>
>
> "Derek" <[EMAIL PROTECTED]>
>
> 08/01/2006 03:04 PM
> Please respond to axis-user
>
>         To:        <axis-user@ws.apache.org>
>         cc:        (bcc: Debasish DuttaRoy/X/PH/Novartis)
>         Subject:        RE: Problem with dependant jar files inside aar - URGENT
>
>
> How are you trying to open the dao.xml file? As a resource? As a file? What lines of code are you using?
>
> -----Original Message-----
>  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>  Sent: Tuesday, August 01, 2006 8:50 AM
>  To: axis-user@ws.apache.org
>  Subject: Problem with dependant jar files inside aar - URGENT
>
>
>  Hi
>  Here is my scenario.
>
>  1. I have a myeclipse Java project MyCommons. This contains some util libraries etc.
>
>  2.I have a  myeclipse Java proeject named MyPersistence which communicates with the database.
>
>  3. I have a myeclipse java project named MyServices which has all the business rules and calls the DAO classes inside MyPersistence. I have a dao.xml file inside this project.
>
>  4. I have a myeclipse java project named MyWebServices where I have my web services. The Skeleton client class is updated to call the delegate methods inside MyServices.
>
>  With this done, I deploy the service like
>
>  --Services
>          ---MyWebServices
>                  --lib
>                          //contains all the jar files like axis2 jars, iBATIS jars and MyPersistence, MyServices & MyCommons exported as jar files
>                  --META-INF
>                          //contains services.xml and wsdl files
>
>
>  The services are deployed perfectly. Did not give any problems. But at runtime, the control gets into the business delegate class inside MyServices, but the delegate cannot find the dao.xml, which is there inside the MyServices.jar file.
>
>  I am pretty sure this is an ordinary situation and perhaps is a combination of packaging and class loader issue. Looking forward for some resolution.
>
>  Thanks
>  Debasish
>  ___________________________________________________
>  Debasish Dutta Roy

>  NITAS
>  Ph: 617-871-3033
>  _________________________
>
>  CONFIDENTIALITY NOTICE
>
>  The information contained in this e-mail message is intended only for the exclusive use of the individual or entity named above and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivery of the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by e-mail and delete the material from any computer.  Thank you.
>
>
>  _________________________
>
>  CONFIDENTIALITY NOTICE
>
>  The information contained in this e-mail message is intended only for the exclusive use of the individual or entity named above and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivery of the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by e-mail and delete the material from any computer.  Thank you.
>



--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




_________________________

CONFIDENTIALITY NOTICE

The information contained in this e-mail message is intended only for the exclusive use of the individual or entity named above and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivery of the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by e-mail and delete the material from any computer.  Thank you.

Reply via email to