Quantcast
Channel: Adobe Community : Discussion List - Using Flash Builder
Viewing all articles
Browse latest Browse all 1802

NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:8080/WebContent/messagebroker/amf''

$
0
0

Hello everybody,

 

I havetraveled theforumbut I stillhave not found asolution to my problem:

I recentlyinstalled Flash Builder 4.7 and I wantto run mywebapplicationwithjava /Flex/BlazeDS.

I usethe4.0.1.21287version ofBlazeDSwithtomcat7.

It was working finewith FlexBuilder3 andtomcat6.

I seem to haveseteverything correctlybut Ialwaysthis error :
ErrorFlex.jpg

 

Here arethe settingsin myservices-config.xml :

 

<?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"/>    </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>    </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>

 

Doesanyone can help meon this ?

Thanks in advance for your help!


Viewing all articles
Browse latest Browse all 1802

Trending Articles