Olá pessoal, estava a precisar aqui de uma ajudinha. Tenho um servidor ubuntu dapper 6.06 com apache+tomcat5 integrados. Estou a experimentar o "deploy" de aplicações flex mas estou com um problema. A fase em que me encontro é a seguinte: estou tentando comunicar com classes java. Criação do projecto ok, instruções a colocar no remoting- config.xml, ok. O servidor não consegue se conectar á classe. Será que me podem ajudar? P.S: estou a utilizar o blazeDS.
LOG: 2008-03-25 15:43:58 StandardContext[/portal]Marking servlet MessageBrokerServlet as unavailable 2008-03-25 15:43:58 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: 163) 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) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---