Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8098607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:07:28+00:00 2026-06-05T22:07:28+00:00

I have a working Flex/BlazeDS application (for simple AMF remoting) with the following settings:

  • 0

I have a working Flex/BlazeDS application (for simple AMF remoting) with the following settings:

server-config.xml:

<channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
    <endpoint url="https://www.mydomain.com:443/myapp/messagebroker/amfsecure.amf" 
          class="flex.messaging.endpoints.AMFEndpoint"/>
    <properties>
        <add-no-cache-headers>false</add-no-cache-headers>
        <polling-enabled>false</polling-enabled>
    </properties>
</channel-definition>

and in Flash Builder 4.6 > Properties > Flex Server:

Root URL: http://www.mydomain.com/myapp
Context Root: /myapp/

The problem was I had all of my java files sitting in ONE directory at:

WEB-INF/classes/

and simply used the system default package (e.g. no package specified in the java files). Eventually, the sheer number of files became overwhelming. To improve my organization, I started using packages and in the process I created the following directories:

WEB-INF/classes/com/mydomain/
WEB-INF/classes/com/mydomain/mytools/
WEB-INF/classes/com/mydomain/hr/
WEB-INF/classes/com/mydomain/utilities/
etc...

Now there’s no java files sitting in the WEB-INF/classes/ directory (they’ve been moved to it’s various subdirectories).

My question is how to modify the services-config.xml file and/or Flash Builder > Properties > Flex Server settings? I’ve tried many different settings and I’m always getting the following error:

Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url:...

My thinking is that most people organize their projects using a WEB-INF/classes/com/mydomain/ architecture, so I’m hoping someone can share with me what their settings look like.

Adobe’s website gives the following information but I don’t see what I’m doing wrong: The root folder specifies the top-level directory of the web application (the directory that contains the WEB-INF directory). The root URL specifies the URL of the web application, and the context root specifies the root of the web application.

Thanks in advance for any comments/hints what to try.

UPDATE1:

Here’s my destination (from remoting-config.xml):

<destination id="mySecureDestination">
    <channels>
        <channel ref="my-secure-amf"/>
    </channels>
        <properties>
            <source>myApplicationClass</source> 
            <scope>application</scope>
        </properties>
</destination>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T22:07:30+00:00Added an answer on June 5, 2026 at 10:07 pm

    In the source tag of your destination definition, you must write the full classpath of the class you are targetting. So assuming that you moved myApplicationClass to WEB-INF/classes/com/mydomain/, this should read:

    <destination id="mySecureDestination">
        <channels>
            <channel ref="my-secure-amf"/>
        </channels>
            <properties>
                <source>com.mydomain.myApplicationClass</source> 
                <scope>application</scope>
            </properties>
    </destination>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a Flex/BlazeDS/Spring/JPA/Hibernate web application hooked up to a Microsoft SQL Server
I have started working on a simple XML pull-parser, and as I've just defuzzed
I am working on a sample map application using Flex 4/fxg? Now I have
I have a working Flex/Java application, but if I log out of the channelSet
I am working on my first Adobe Flex application, and have a code section
I am working with Flex 4 windowed application. I have a mx:HTML container with
I have a Flex application embedded in a Flash application, which was working fine
I have a multi-user application consisting of a flex client and blazeds/Spring/java backend -
I've got a small client/server test application where I have a Flex app that
Hi, I have been working on a Flex Mobile application using Flash Builder 4.6.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.