We use Gemini blueprint 2.0.0M2 which picks up the spring xml. Don't use an earlier version if Gemini has it has really unpleasant bugs that are hard to work around.
-- Matthew Bishop Senior Product Architect Elastic Path Inc. On 2013-09-05, at 6:58 PM, "Johan Edstrom" <[email protected]> wrote: > Aries blueprint isn't spring. > It isn't a 1-1 relationship between beans and namespace handlers. > Not used Gemini enough to comment on that. > > If you are not looking to actually converting things you are better off using > spring-dm. > > > > Sent from my pressure cooker. > > On Sep 5, 2013, at 19:34, Marcos Mendez <[email protected]> wrote: > >> Thanks. That moved it along, now I'm getting >> >> 2013-09-05 21:33:04,054 | INFO | rint Extender: 2 | BlueprintContainerImpl >> | container.BlueprintContainerImpl 303 | 7 - >> org.apache.aries.blueprint.core - 1.1.0 | Bundle springosgi.hellowebint2 is >> waiting for namespace handlers [http://www.springframework.org/schema/beans, >> http://www.eclipse.org/gemini/blueprint/schema/blueprint, >> http://www.springframework.org/schema/integration/mail, >> http://www.springframework.org/schema/integration, >> http://www.springframework.org/schema/util] >> 2013-09-05 21:33:04,143 | INFO | l Console Thread | HttpServiceFactoryImpl >> | .internal.HttpServiceFactoryImpl 35 | 90 - >> org.ops4j.pax.web.pax-web-runtime - 3.0.2 | Binding bundle: >> [springosgi.hellowebint2 [247]] to http service >> >> >> I commented out the spring stuff in the web.xml (ContextLoaderListener and >> OsgiBundleXmlWebApplicationContext) as well. >> >> Any ideas? >> >> >>> You have to move your spring files into OSGI-INF/blueprint for gemini to >>> pick them up. >>> >>> >>> On 2013-09-05 1:37 PM, "Marcos Mendez" <[email protected]> wrote: >>> >>>> Hi, >>>> >>>> I have a working wab + spring-dm + spring integration and wab + spring >>>> mvc apps. Now, I should be looking to move it to use blueprint correct? >>>> Due to spring-dm being deprecated. >>>> >>>> So, I tried, but the things beans defined in either blueprint and >>>> applicationContext.xml (spring) don't see each other, except of course >>>> thru osgi - e.g. by adding spring-dm and exporting/importing services.. >>>> which sort of defeats the purpose. >>>> >>>> Am I missing something? Is there a better way to tackle a >>>> blueprint/spring combination? I haven't been able to find any examples >>>> tacking this. >>>> >>>> Regards, >>>> Marcos >>> >>> >>> >>> >>> Matthew Bishop, Senior Architect >>> Mobile: +1-604-218-8102 >>> Email: [email protected] >>> >>> Elastic Path Software Inc. >>> Web: www.elasticpath.com >>> Blog: www.getelastic.com >>> Community: grep.elasticpath.com >>> Careers: www.elasticpath.com/jobs >>> >>> Confidentiality Notice: This message is intended only for the use of the >>> designated addressee(s), and may contain information that is privileged, >>> confidential and exempt from disclosure. Any unauthorized viewing, >>> disclosure, copying, distribution or use of information contained in this >>> e-mail is prohibited and may be unlawful. If you received this e-mail in >>> error, please reply to the sender immediately to inform us you are not the >>> intended recipient and delete the email from your computer system. Thank >>> you. >> > Matthew Bishop, Senior Architect Mobile: +1-604-218-8102 Email: [email protected] Elastic Path Software Inc. Web: www.elasticpath.com Blog: www.getelastic.com Community: grep.elasticpath.com Careers: www.elasticpath.com/jobs Confidentiality Notice: This message is intended only for the use of the designated addressee(s), and may contain information that is privileged, confidential and exempt from disclosure. Any unauthorized viewing, disclosure, copying, distribution or use of information contained in this e-mail is prohibited and may be unlawful. If you received this e-mail in error, please reply to the sender immediately to inform us you are not the intended recipient and delete the email from your computer system. Thank you.
