View Full Version : LCDS with spring integration only for remoting
vlad2005
Jun 5th, 2009, 05:52 AM
It's possibil to use spring with LCDS only for remoting?
I want to benefit both for sync in LCDS and spring integration for remoting.
I try'it some configuration, but seem that not work.
Any example somewhere?
vlad2005
Jun 6th, 2009, 01:19 PM
Nobody have an working LCDS server with Spring Integration only for remoting?
jeremyg484
Jun 6th, 2009, 01:52 PM
Running Spring BlazeDS Integration with LCDS 2.6 should not require any special configuration. I am able to run the test drive samples on LCDS without any changes save for adding the additional LCDS jars to the classpath.
vlad2005
Jun 6th, 2009, 02:16 PM
I try'it to implement something, but i don't know about Dispacherservlet, MessageBroker and more... So i make settings, how see in some samples.
But when i try'it with LCDS, i get some errors. So, if u can post config files, will be excelent.
For beginners, i think will be welcome an example.
My concern it's about to implement some simple CRUD operations using java with spring and hibernate as backend for an Adobe Flex project. In future i will study more, but for moment will be enough for me.
Thanks in advance!
vlad2005
Jun 7th, 2009, 06:55 AM
I try'it to implement what it's mentioned in this comment http://jira.springframework.org/browse/FLEX-29
So, i make in java project with everything inside, source for spring-flex integration, and all dependencies, so i don't have any error, only few warnings.
I create then org.springframework.flex.messaging.data package, with FlexDataServiceExporter class inside.
Also, i put META-INF directory from original jar in same package.
I export project as jar file, and then deploy to server.
Still get error about license.
What need to do, in order to make to work?
vlad2005
Jun 7th, 2009, 04:02 PM
In addition to my last post, error that i get is here:
.................................................. .........
Jun 7, 2009 2:42:11 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /lcds threw load() exception
java.lang.NullPointerException
at java.lang.StringBuffer.<init>(StringBuffer.java:103)
at flex.messaging.license.StandardLicense.getEdition( StandardLicense.java:75)
at flex.messaging.license.LicenseServiceImpl.init(Lic enseServiceImpl.java:305)
at flex.messaging.license.LicenseServiceImpl.getLicen seService(LicenseServiceImpl.java:156)
at flex.messaging.license.LicenseServiceImpl.getLicen seService(LicenseServiceImpl.java:81)
at flex.data.DataService.start(DataService.java:149)
at flex.messaging.MessageBroker.startServices(Message Broker.java:1426)
at flex.messaging.MessageBroker.start(MessageBroker.j ava:353)
at org.springframework.flex.core.MessageBrokerFactory Bean.afterPropertiesSet(MessageBrokerFactoryBean.j ava:164)
.................................................. ..
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.