Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / February 2004



Tip: Looking for answers? Try searching our database.

URL not found error in Flash Remoting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sonusmitu - 18 Feb 2004 13:23 GMT
Hi
Few days before we downloaded Flash MX Remoting and its components for java on
Linux.
As per Readme, we installed flash components on our Windows system where our
actionscript is residing and flash updater in tomcat server (version 5.0.18)
We downloaded flashgateway.jar  from macromedia site and copied it into lib
directory of WEB-INF
We changed web.xml to include flashgateway.controller.GatewayServlet servlet.
We even added mapping for this servlet
Following are contents of our web.xml file related to GatewayServlet
 <servlet
                <servlet-name>FlashGatewayServlet</servlet-name
               
<servlet-class>flashgateway.controller.GatewayServlet</servlet-class
                <init-param
                        <param-name>LOG_LEVEL</param-name
                        <param-value>Error</param-value
                        <description>Controls the level of information
logged.</description
                </init-param
                <init-param
                        <param-name>DISABLE_JAVA_ADAPTERS</param-name
                        <param-value>false</param-value
                        <description>When set to true, this setting disables
the Java Service Adapters in the ateway.</description
                </init-param
                <load-on-startup>1</load-on-startup
        </servlet

        <servlet-mapping
              <servlet-name>FlashGatewayServlet</servlet-name
              <url-pattern>/gateway</url-pattern
        </servlet-mapping

When I try to connect with my server from flash actionscript, I am getting the
following error message

"URL not found 'http://192.10.3.5:8080/flashservices/gateway'

Can anyone help me to overcome from this issue.
Cruiser - 19 Feb 2004 04:39 GMT
Hi,

The URL you are using is: http://192.10.3.5:8080/flashservices/gateway
Is your root context *flashservices*?
I have a context on tomcat here as mx in whose web.xml I have done the
same so to connect to that URL I use http://localhost:8080/mx/gateway

Maybe that is the problem.
One more thing I heard from a newsgroup was that the trial version of
remoting does not accept an IP and only allows *localhost*. You might
wanna check it out I am not sure about this.
If it works for localhost then you can be sure thats the problem.
(duh!)

Hope this helps.

Cruiser.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.