ok, its been three days and I have not been able to enable the Flash Remoting
on by CFMX7 Developer edition running on Windows XP SP2.
Running IIS though. CFM Apps work acceot Remoting doesn't. I type
http://localhost/flashservices/gateway and get error pages instead of blank as
mentioned in the docs... HELP !!!!!
Here is my gateway-config.xml text:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Flash Remoting Gateway Configuration File - Version 1.2
This presence of this file overrides the legacy behavior of
the gateway. It allows the developer to customize which
services are available.
This file also introduces the concept of a basic whitelist
which allows the developer to restrict access to
particular classes and JNDI names.
-->
<gateway-config xmlns="
http://www.macromedia.com/2004/gateway-config"> <!--
This list establishes which service adapters are enabled and
the order in which they are queried when searching for a supported service.
-->
<service-adapters>
<adapter>flashgateway.adapter.resultset.PageableResultSetAdapter</adapter>
<adapter>coldfusion.flash.adapter.ColdFusionAdapter</adapter>
<adapter>coldfusion.flash.adapter.CFCAdapter</adapter>
<adapter>coldfusion.flash.adapter.CFSSASAdapter</adapter>
<adapter
type="stateful-class">flashgateway.adapter.java.JavaBeanAdapter</adapter>
<adapter
type="stateless-class">flashgateway.adapter.java.JavaAdapter</adapter>
<adapter type="ejb">flashgateway.adapter.java.EJBAdapter</adapter>
<adapter
type="servlet">flashgateway.adapter.java.ServletAdapter</adapter>
<adapter>coldfusion.flash.adapter.CFWSAdapter</adapter>
</service-adapters>
<security>
<!-- The flashgateway.security.LoginCommand implementation used
to perform local authentication, depending on the application
server. -->
<login-command>
<class>flashgateway.security.JRunLoginCommand</class>
<server-match>JRun</server-match>
</login-command>
<!-- Stack traces are useful for debugging and product support, but
they should
not be sent to the client in "production mode" as they can expose
internal
information about the system. -->
<show-stacktraces>false</show-stacktraces>
<!-- A whitelist specifies which remote sources can be accessed
through the
gateway. The * character can be used as a wildcard to imply ALL
matches. -->
<whitelist>
<source>*</source>
</whitelist>
</security>
<!-- The flashgateway.log.Logger implementation used to redirect
logging information, depending on the application server. -->
<logger level="Error">coldfusion.flash.ColdFusionLogger</logger>
<!-- A redirect URL can be supplied to handle HTTP requests that were
not sent with AMF data -->
<redirect-url>{context.root}</redirect-url>
<!-- Determines how complex objects/generic class data types are to be
handled by the gateway. The two options are Classic or Flex.
Classic mode performs shallow serialization on all non-static fields
for classes implemeting java.io.Serializable.
Flex mode uses improvements made for Flex's RemoteObject feature
and performs deep serialization on fields with bean accessors for any
class. -->
<serialization>Classic</serialization>
<!-- ActionScript 1.0 and ColdFusion use case insensitive data structures
to store associative arrays, objects and structs - the Java representation
of these datatypes requires a case-insensitive Map, which the gateway
achieves by looking up all keys in lowercase. If case insensitivity is
desired
then this setting should be set to true. ActionScript 2.0 is now case
sensitive,
but setting this to true will allow ColdFusion to look up keys case
insensitively, and
will not actually change the case of the keys. For AS 2.0 to java this
should be false,
since both are case sensitive. -->
<lowercase-keys>true</lowercase-keys>
</gateway-config>