Obtenho oseguinte erro ao fazer deploy num servidor de produção. 2008-03-26 12:26:13 StandardContext[/manager]HTMLManager: install: Installing web application from 'jar:file:/var/lib/tomcat5/webapps/ portal.war!/' 2008-03-26 12:26:21 StandardContext[/portal]FlexMxmlServlet: Starting Adobe Flex Web Tier Compiler 2008-03-26 12:26:21 StandardContext[/portal]FlexMxmlServlet: Adobe Flex Web Tier Compiler Build: 173666 2008-03-26 12:26:31 StandardContext[/portal]MessageBrokerServlet: **** MessageBrokerServlet failed to initialize due to runtime exception: [1]java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java: 124) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java: 1634) at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java: 860) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1307) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1189) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:60) at flex.messaging.factories.JavaFactoryInstance.getInstanceClass(JavaFactoryInstance.java: 91) at flex.messaging.factories.JavaFactoryInstance.createInstance(JavaFactoryInstance.java: 77) at flex.messaging.factories.JavaFactory.createFactoryInstance(JavaFactory.java: 111) at flex.messaging.FactoryDestination.createFactoryInstance(FactoryDestination.java: 241) at flex.messaging.FactoryDestination.getFactoryInstance(FactoryDestination.java: 224) at flex.messaging.FactoryDestination.getFactoryInstance(FactoryDestination.java: 212) at flex.messaging.services.remoting.adapters.JavaAdapter.validateInstanceSettings(JavaAdapter.java: 296) at flex.messaging.services.remoting.adapters.JavaAdapter.start(JavaAdapter.java: 106) at flex.messaging.Destination.start(Destination.java:260) at flex.messaging.services.AbstractService.startDestinations(AbstractService.java: 647) at flex.messaging.services.AbstractService.start(AbstractService.java: 173) at flex.messaging.MessageBroker.startServices(MessageBroker.java: 1099) at flex.messaging.MessageBroker.start(MessageBroker.java:257) at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java: 136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java: 243) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: 272) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java: 161) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java: 114) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java: 1038) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java: 876) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 4017) at org.apache.catalina.core.StandardContext.start(StandardContext.java: 4337) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java: 823) at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java: 121) at org.apache.catalina.core.ContainerBase $PrivilegedAddChild.run(ContainerBase.java:143) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java: 805) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java: 595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java: 277) at org.apache.catalina.core.StandardHost.install(StandardHost.java: 832) at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java: 926) at org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java: 271) at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java: 251) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java: 243) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: 272) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java: 161) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 245) at org.apache.catalina.core.ApplicationFilterChain.access $0(ApplicationFilterChain.java:50) at org.apache.catalina.core.ApplicationFilterChain $1.run(ApplicationFilterChain.java:156) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 152) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java: 198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 104) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java: 540) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java: 929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: 160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 799) at org.apache.coyote.http11.Http11Protocol $Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 577) at org.apache.tomcat.util.threads.ThreadPool $ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) [0]flex.messaging.config.ConfigurationException: Error instantiating application scoped instance of type 'europe.pt.EchoService' for destination 'echoService'. at flex.messaging.factories.JavaFactory.createFactoryInstance(JavaFactory.java: 134) at flex.messaging.FactoryDestination.createFactoryInstance(FactoryDestination.java: 241) at flex.messaging.FactoryDestination.getFactoryInstance(FactoryDestination.java: 224) at flex.messaging.FactoryDestination.getFactoryInstance(FactoryDestination.java: 212) at flex.messaging.services.remoting.adapters.JavaAdapter.validateInstanceSettings(JavaAdapter.java: 296) at flex.messaging.services.remoting.adapters.JavaAdapter.start(JavaAdapter.java: 106) at flex.messaging.Destination.start(Destination.java:260) at flex.messaging.services.AbstractService.startDestinations(AbstractService.java: 647) at flex.messaging.services.AbstractService.start(AbstractService.java: 173) at flex.messaging.MessageBroker.startServices(MessageBroker.java: 1099) at flex.messaging.MessageBroker.start(MessageBroker.java:257) at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java: 136) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java: 243) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: 272) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java: 161) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java: 114) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java: 1038) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java: 876) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 4017) at org.apache.catalina.core.StandardContext.start(StandardContext.java: 4337) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java: 823) at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java: 121) at org.apache.catalina.core.ContainerBase $PrivilegedAddChild.run(ContainerBase.java:143) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java: 805) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java: 595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java: 277) at org.apache.catalina.core.StandardHost.install(StandardHost.java: 832) at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java: 926) at org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java: 271) at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java: 251) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java: 243) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: 272) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java: 161) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 245) at org.apache.catalina.core.ApplicationFilterChain.access $0(ApplicationFilterChain.java:50) at org.apache.catalina.core.ApplicationFilterChain $1.run(ApplicationFilterChain.java:156) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 152) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java: 198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 104) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java: 540) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java: 929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: 160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 799) at org.apache.coyote.http11.Http11Protocol $Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 577) at org.apache.tomcat.util.threads.ThreadPool $ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)
2008-03-26 12:26:31 StandardContext[/portal]Marking servlet MessageBrokerServlet as unavailable 2008-03-26 12:26:31 StandardContext[/portal]Servlet /portal threw load() exception javax.servlet.UnavailableException: Error instantiating application scoped instance of type 'europe.pt.EchoService' for destination 'echoService'. at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java: 154) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java: 243) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: 272) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java: 161) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java: 114) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java: 1038) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java: 876) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 4017) at org.apache.catalina.core.StandardContext.start(StandardContext.java: 4337) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java: 823) at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java: 121) at org.apache.catalina.core.ContainerBase $PrivilegedAddChild.run(ContainerBase.java:143) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java: 805) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java: 595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java: 277) at org.apache.catalina.core.StandardHost.install(StandardHost.java: 832) at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java: 926) at org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java: 271) at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java: 251) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java: 243) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: 272) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java: 161) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 245) at org.apache.catalina.core.ApplicationFilterChain.access $0(ApplicationFilterChain.java:50) at org.apache.catalina.core.ApplicationFilterChain $1.run(ApplicationFilterChain.java:156) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 152) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java: 198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 104) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java: 540) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java: 137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java: 118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java: 104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java: 929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: 160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 799) at org.apache.coyote.http11.Http11Protocol $Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: 577) at org.apache.tomcat.util.threads.ThreadPool $ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Ajudinha................ On 26 Mar, 11:28, João Fernandes <[EMAIL PROTECTED]> wrote: > basta nas propriedades do projecto no Flex Builder indicar qual o > context-root ( Flex Project > properties > Flex Server > Context-root ) > a utilizar. > > -- > > João Fernandes > > http://www.onflexwithcf.orghttp://www.riapt.org --~--~---------~--~----~------------~-------~--~----~ Você recebeu esta mensagem porque está inscrito na lista "flexdev" Para enviar uma mensagem, envie um e-mail para flexdev@googlegroups.com Para sair da lista, envie um email em branco para [EMAIL PROTECTED] Mais opções estão disponíveis em http://groups.google.com/group/flexdev -~----------~----~----~----~------~----~------~--~---