Ajuda integração flex e java

Pessoal criei um projeto no flex através do tutorial do David segue o link
http://davidbuzatto.com.br/2010/07/30/flex-e-java-parte-1-configurando-o-netbeans/ .Criei um teste de mensagem no meu projeto flex para que quando eu apertar no botão executar e ele emitir a mensagem “Serviço rodando”,porém emite a mensagem ocorreu um erro.
Eu estou precisando de uma ajuda para saber porque esta dando esse erro.O meu código java está certo as configurações do arquivo do blazeDs acredito que esteja certo também,mas estou mandando os arquivo para que vocês me ajudem a conferir.

Estou utilizando o eclipse e o flex separados e o tomcat como servidor de aplicação.Estou no aguardo.Obrigado

Uma duvida eu tenho o meu remoting-config.xml através do link http://pastebin.com/e5f5wxcK

é necessário fazer alguma referência no meu services-config http://pastebin.com/QVVKXMwV

Link do meu projeto java http://www.sendspace.com/file/97l1vb
Link do meu projeto Flex http://www.sendspace.com/file/6xpvfd
imagem FlexServer http://www.sendspace.com/file/74csdq

Cara,

Como forneceu não forneceu muitos detalhes, fica meio difícil te ajudar. Como estou no trabalho, não posso acessar vários dos links que você postou (sim, eu sei, isso é ridículo…). Mas por experiência própria de quem já apanhou bastante usando BlazeDS, te dou uma dica: verifique se na hora de compilar o seu projeto Flex você está usando a opção -service . Eu sempre esquecia dessa porcaria e depois ficava igual um mané sem entender porque não estava funcionando…

No caso vc está falando daquela configuração do flex compiler eu verifiquei está o seguinte caminho no aguardo.

-services “C:\Arquivos de programas\Apache Software Foundation\Tomcat 6.0\webapps\AgendaDismoto\WEB-INF\flex\services-config.xml” -locale en_US

[quote=cristianoventura]No caso vc está falando daquela configuração do flex compiler eu verifiquei está o seguinte caminho no aguardo.

-services “C:\Arquivos de programas\Apache Software Foundation\Tomcat 6.0\webapps\AgendaDismoto\WEB-INF\flex\services-config.xml” -locale en_US[/quote]

Sim, é desse parâmetro que estou falando. Agora verifique se, dentro deste arquivo, há uma referência ao arquivo remoting-config.

qual mensagem ele exibe com erro?
voce verificou o
Root folder
root url
context root

se estao tudo ok as configurações.

Acredito que não onde eu devo fazer essa referência vai ver que isso o erro tem como vc exemplificar.No aguardo segue o meu services config e remoting confing dentro dessa pasta

<?xml version="1.0" encoding="UTF-8"?>
<services-config>

    <services>
        <service-include file-path="remoting-config.xml" />
        <service-include file-path="proxy-config.xml" />
        <service-include file-path="messaging-config.xml" />        
    </services>

    <security>
        <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>
        <!-- Uncomment the correct app server
        <login-command class="flex.messaging.security.TomcatLoginCommand" server="JBoss">
		<login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/>        
        <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/>
        <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/>
        -->

        <!-- 
        <security-constraint id="basic-read-access">
            <auth-method>Basic</auth-method>
            <roles>
                <role>guests</role>
                <role>accountants</role>
                <role>employees</role>
                <role>managers</role>
            </roles>
        </security-constraint>
         -->
    </security>

    <channels>

        <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
            <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
        </channel-definition>

        <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
            <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
            <properties>
                <add-no-cache-headers>false</add-no-cache-headers>
            </properties>
        </channel-definition>

        <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel">
            <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
            <properties>
                <polling-enabled>true</polling-enabled>
                <polling-interval-seconds>4</polling-interval-seconds>
            </properties>
        </channel-definition>

        <!--
        <channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel">
            <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/>
        </channel-definition>

        <channel-definition id="my-secure-http" class="mx.messaging.channels.SecureHTTPChannel">
            <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/>
            <properties>
                <add-no-cache-headers>false</add-no-cache-headers>
            </properties>
        </channel-definition>
        -->
    </channels>

    <logging>
        <target class="flex.messaging.log.ConsoleTarget" level="Error">
            <properties>
                <prefix>[BlazeDS] </prefix>
                <includeDate>false</includeDate>
                <includeTime>false</includeTime>
                <includeLevel>false</includeLevel>
                <includeCategory>false</includeCategory>
            </properties>
            <filters>
                <pattern>Endpoint.*</pattern>
                <pattern>Service.*</pattern>
                <pattern>Configuration</pattern>
            </filters>
        </target>
    </logging>

    <system>
        <redeploy>
            <enabled>false</enabled>
            <!-- 
            <watch-interval>20</watch-interval>
            <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file>
            <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file>
            <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file>
            <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file>
            <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file>
            <touch-file>{context.root}/WEB-INF/web.xml</touch-file>
             -->
        </redeploy>
    </system>

</services-config>

remoting confing

<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service" 
    class="flex.messaging.services.RemotingService">

    <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="testeServicos">
    <properties>
        <source>servicos.ServicosTeste</source>
    </properties>
</destination>

 <destination id="Teste">
          <properties>
              <source>br.com.dismoto.modelo.Teste</source>
          </properties>
   </destination>  


<destination id="Servicos">
  <properties>
   <source>br.com.dismoto.modelo.Cliente</source>
   <source>br.com.dismoto.DAO.ConnectionFcatory</source>
   <source>br.com.dismoto.DAO.ClienteDAO</source>
   </properties>
</destination>



</service>

Luyz eu verifiquei quando eu criei o projeto ele validou as configurações segue as configurações no meu flex propertiers.No aguardo.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<flexProperties enableServiceManager="false" flexServerFeatures="4" flexServerType="2" serverContextRoot="/AgendaDismoto" serverRoot="C:/Arquivos de programas/Apache Software Foundation/Tomcat 6.0/webapps/AgendaDismoto" serverRootURL="http://localhost:8080/AgendaDismoto/" toolCompile="true" useServerFlexSDK="false" version="2"/>

Até quando eu vou conectar na opção Data/Services conecto to data service o flex oferece aparece um erro.

RDS server message:

Error executing RDS command Status Code 500 Reason:Internal Server Error

Olha cara eu testei aqui no meu usando o netbeans, e configurando o server root, url e context novamente e rodou belezinha, usando o glashfish como servidor,

creio que o teu problema sera na configuração do server root, url e context, nao tem como usar o netbeans?

Tu baixou meu projeto foi.Acho que o problema deve estar no tomcat acredito eu.