No default Stack defined
MundoCore supports configurable protocol stacks that allow tailoring message processing specifically for application needs.
However, in previous versions a default protocol stack was defined in "node.conf.xml" and using an outdated "node.conf.xml" with MundoCore 1.0 will not work due to incompatibility. You will get an exception stating that "no default stack defined".
If you got an error message like shown below, then the problem is related to the outdated configuration file "node.conf.xml"
| Error: No default Stack defined |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
java.lang.IllegalStateException: no default stack defined at org.mundo.net.ProtocolCoordinator.getDefaultStack(ProtocolCoordinator.java:163) at org.mundo.rt.Channel.(Channel.java:73) at org.mundo.rt.Session.getChannel(Session.java:77) at org.mundo.rt.Session.subscribe(Session.java:134) at org.mundo.service.DebugService.init(DebugService.java:689) at org.mundo.rt.Mundo.registerService(Mundo.java:127) at org.mundo.service.ServiceManager.init(ServiceManager.java:328) at org.mundo.rt.Mundo.registerService(Mundo.java:127) at org.mundo.rt.Mundo.init(Mundo.java:387) at eu.smartproducts.main.SmartProductsPlatform.start(Unknown Source) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:633) at org.apache.felix.framework.Felix.activateBundle(Felix.java:1822) at org.apache.felix.framework.Felix.startBundle(Felix.java:1739) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1143) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Unknown Source)
|
Solution
If you use latest MundoCore version 1.0, then you usually don't need "node.conf.xml" anymore. Just remove this file and run the platform.
|
|
Last Updated on Friday, 18 February 2011 10:04 |