Yep, I believe you are correct. It should be registered with WebBeans
and the preferred method these days is dependency injection.  Have you
considered that instead? Frankly I'm not sure if it's possible to have
Resin register it in JNDI after the 3.1.5 refactoring.  Maybe someone
else can weigh in before I get a chance to test a few more things out.
 
Ron


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sashidhar Guduri
        Sent: Thursday, July 10, 2008 8:49 AM
        To: General Discussion for the Resin application server
        Subject: Re: [Resin-interest] Error on web application startup
withaweb-service-client tag
        
        
        Thanks for the reply but that format does not expose it using
jndi. Is there a way to expose using jndi for remote client tag? 

        Sashi
        
        
        On Thu, Jul 10, 2008 at 8:43 AM, Monson, Ron
<[EMAIL PROTECTED]> wrote:
        

                Try this format instead:
                 
                <

                remote-client name="myWebSvc"
interface="example.MyWebService"
uri="hessian:url=${webApp.url}/mywebsvc/"/> 

                 

                Regards, 
                Ron Monson
                EDS - Homeland Security & Justice
                Systems Architecture & Development
                Dept. Of Homeland Security, SEVIS Project
                800 K St. NW, Suite 830, Washington, DC 20001
                Mobile (202) 437-2157
                [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  


________________________________

                        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sashidhar Guduri
                        Sent: Thursday, July 10, 2008 8:27 AM
                        To: General Discussion for the Resin application
server
                        Subject: [Resin-interest] Error on web
application startup with aweb-service-client tag
                        
                        
                        I get the following error when I start up resin:


                        [2008/07/10 08:22:22.454]
/usr/resin/resin-pro-3.1.6/conf/webservices.conf:11: 'url' is an unknown
property of 'com.caucho.remote.client.RemoteClient'.
                        [2008/07/10 08:22:22.454] 
                        [2008/07/10 08:22:22.454] 10:
<web-service-client jndi-name="service/CosignService">
                        [2008/07/10 08:22:22.454] 11:
<url>hessian:http://172.20.57.97/test.msis.ws/services/CosignService</ur
l>
                        [2008/07/10 08:22:22.454] 12:
<interface>edu.umich.authentication.cosign.CosignService</interface>
                        [2008/07/10 08:22:22.454] 13:
</web-service-client>

                        If I don't give a url, it complains that url is
required. Is there a bug in resin 3.1.6 to not handle the url tag
properly?

                        Thanks
                        Sashi


                _______________________________________________
                resin-interest mailing list
                resin-interest@caucho.com
        
http://maillist.caucho.com/mailman/listinfo/resin-interest
                
                




        -- 
        Sashidhar Guduri, App Analyst Lead
        UM Medical School Information Services
        skype: guduri-umich
        Office 734.615-6019 | Cell 734.604-3255 | Fax 734.615-5171
        http://www.med.umich.edu/medschool/msis/ 

_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to