[flex] flex3映射后台java问题
jizhonghua
2009-04-07
flex.messaging.config.ConfigurationException: Error instantiating application scoped instance of type 'com.toevery.loginAction ' for destination 'loginActionRemoteObject '.
at flex.messaging.factories.JavaFactory.createFactoryInstance(JavaFactory.java:117) at flex.messaging.FactoryDestination.getFactoryInstance(FactoryDestination.java:76) at flex.messaging.services.remoting.adapters.JavaAdapter.validateInstanceSettings(JavaAdapter.java:254) at flex.messaging.services.remoting.adapters.JavaAdapter.initialize(JavaAdapter.java:99) at flex.messaging.services.AbstractService.start(AbstractService.java:206) at flex.messaging.MessageBroker.startServices(MessageBroker.java:503) at flex.messaging.MessageBroker.start(MessageBroker.java:181) at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:107) 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.startup.HostConfig.checkResources(HostConfig.java:1105) at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559) at java.lang.Thread.run(Unknown Source) 下面是remote-config.xml中的内容: <?xml version= "1.0 " encoding= "UTF-8 "?> <service id= "remoting-service " class= "flex.messaging.services.RemotingService " messageTypes= "flex.messaging.messages.RemotingMessage "> <adapters> <adapter-definition id= "java-object " class= "flex.messaging.services.remoting.adapters.JavaAdapter " default= "true "/> </adapters> <default-channels> <channel ref= "my-amf "/> </default-channels> <destination id= "FirstJavaClassRemoteObject "> <properties> <source> com.test.FirstJavaClass </source> <scope> application </scope> </properties> </destination> <destination id= "loginActionRemoteObject "> <properties> <source> com.toevery.loginAction </source> <scope> application </scope> </properties> </destination> </service> |
|
fourfire
2009-04-12
loginAction 的内容?
|
|
jayjayjays
2009-04-13
连Action都映射,映射个bean就算了呗.然后找好方法名就OK了呀.
|