Expand my Community achievements bar.

error with spring configuration

Avatar

Level 1

Hi,

I have incorporated spring into the livecycle data services using Jeff Vroom's springfactory but I still get an error everytime of 'bean not found' even though it has been defined in the applicationcontext.

Here is the definition of the service in the managed-remoting.xml file

<destination id="myGameService">

        <properties>

            <factory>spring</factory>

            <source>gameServiceBean</source>

        </properties>

    </destination>

7 Replies

Avatar

Level 1

Is this an issue with managed Remoting in lcds 4.6 because 3.2 works fine with remoting. Could someone please answer ?

Avatar

Employee

Hi,

Remoting and Managed Remoting are two different types of destinations. While specifying a custom factory for remoting destinations certainly works, using it for Managed Remoting destinations is something that hasn't been exercised and tested. Hence your mileage may vary.

Rohit

Avatar

Former Community Member

Hi

Data Services 4.6 contains native support for integrating with Spring. Have a look here: http://help.adobe.com/en_US/dataservicesjee/4.6/Developing/WS064a3073e805330f-389d9f6212b163ca221-80...

Regards,

Ashish Vashisht

Avatar

Level 1

Thanks Rohit,

yes, spring integration with remoting works but doesn't with managed remoting. Is there a work around i could try?

cheers!

Avatar

Level 2

Hi,

Thanks for your email. I’m currently on vacation with no email access and will be back to work on Apr.9th. For any emergencies please contact my manager, Yanfang Qin.

Regards,

Pin Zhang

Avatar

Employee

One option is to code up a Managed Remoting POJO on the LCDS side, whose methods internally delegate calls to the corresponding methods on the Spring bean by looking up the Spring application context.

Thanks,

Rohit

Avatar

Level 2

Hi,

Thanks for your email. I’m currently on vacation with no email access and will be back to work on Apr.9th. For any emergencies please contact my manager, Yanfang Qin.

Regards,

Pin Zhang