After changing the output folder to WebContent\bin-debug I get the following exception. Any idea on how to fix this.
Caused by: flex.management.ManagementException: The MBean, 'flex.runtime.Spring BlazeDS Integration Samples:type=MessageBroker.AdminConsoleDisplay,MessageBroker=MessageBroker1,id=AdminConso leDisplay', cannot be registered because the previous MBean with the same name could not be unregistered possibly due to some security setting on the application server. This can be avoided by setting manageable property to false in the configuration file.
at flex.management.runtime.AdminConsoleDisplayRegistrar.<init>(AdminConsoleDisplayRegistrar. java:40)
at flex.management.runtime.messaging.MessageBrokerControl.<init>(MessageBrokerControl.java:8 5)
at flex.messaging.config.MessagingConfiguration.createBroker(MessagingConfiguration.java:105 )
at org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFa ctoryBean.java:132)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMe thods(AbstractAutowireCapableBeanFactory.java:1368)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1334)
I think this is more to do with services-config file or remoting-confix.xml files than changing the output folders
Mm, maybe what you are saying is right.
But I think the problem is that the WebApp libraries are not being recognized once I move the output folder, which I cannot understand ?
Strange, I deleted my workspace, reimported the project and while changing the output folder I also corrected the port from localhost:8080 to localhost:9080 and it started working.
I guessing 9080 did the trick but I am not sure.