Highlighted

MessageBrokerServlet failed to initialize due to runtime exception

Avatar

Avatar

chinnarao_ch

Avatar

chinnarao_ch

chinnarao_ch

22-10-2008

Hello all,



I am new to the flex application, I am trying to build the
SpringFactory to access the remote object.

during the server start up time I got the following stack
trace can any one help me on this



**** MessageBrokerServlet failed to initialize due to runtime
exception: [1]flex.messaging.MessageException: Cannot create class
of type 'com.ncr.candistil.SpringFactory'. Type
'com.ncr.candistil.SpringFactory' not found.

at
flex.messaging.util.ClassUtil.createClass(ClassUtil.java:65)

at
flex.messaging.util.ClassUtil.createClass(ClassUtil.java:47)

at
flex.messaging.config.FactorySettings.createFactory(FactorySettings.java:55)

at
flex.messaging.config.MessagingConfiguration.createFactories(MessagingConfiguration.java:114)

at
flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java:93)

at
flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:125)

at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)

at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)

at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)

at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)

at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)

at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)

at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)

at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)

at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)

at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

at
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)

at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

at
org.apache.catalina.core.StandardService.start(StandardService.java:448)

at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

at
org.apache.catalina.startup.Catalina.start(Catalina.java:552)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

[0]flex.messaging.config.ConfigurationException: An error
occurred trying to construct FlexFactory
'com.ncr.candistil.SpringFactory'. The underlying cause is:
'flex.messaging.MessageException: Cannot create class of type
'com.ncr.candistil.SpringFactory'. Type
'com.ncr.candistil.SpringFactory' not found.'.

at
flex.messaging.config.FactorySettings.createFactory(FactorySettings.java:72)

at
flex.messaging.config.MessagingConfiguration.createFactories(MessagingConfiguration.java:114)

at
flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java:93)

at
flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:125)

at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)

at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)

at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)

at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)

at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)

at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)

at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)

at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)

at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)

at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

at
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)

at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)

at
org.apache.catalina.core.StandardService.start(StandardService.java:448)

at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)

at
org.apache.catalina.startup.Catalina.start(Catalina.java:552)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)



Regards

Chinnarao