Hi !
I'm trying to run Flex in JBoss 4.0.3 and I'm having the following error:
11:01:39,768 ERROR [[/TestUI]] Exception starting filter FlexCacheFilter
javax.servlet.ServletException: Invalid configuration at line 419 in file D:\jboss-4.0.3\server\default\tmp\deploy\tmp26912TestUI-exp.war\WEB-INF\flex\flex-config.xml - cvc-complex-type.2.4.b: The content of element 'named' is not complete. One of '{"http://www.macromedia.com/2003/flex-config":object}' is expected.
Here is the flex-config on 419:
<remote-objects>
......
<named>
<!-- define a remote objects which may be referenced by name from mxml -->
<!-- <object name="myobj"> -->
<!-- Flex uses this name to access the object -->
<!-- <source>remote.DatatypesTest</source> -->
<!-- the type of the source being accessed - e.g. stateful-class or stateless-class -->
<!-- <type>stateless-class</type> -->
<!-- instructs the gateway to only allow authenticated users to invoke this service
this is required when using normal J2EE Basic authentication -->
<!-- <use-basic-authentication>true</use-basic-authentication> -->
<!-- informs the gateway that is should attempt to use its own custom authentication mechansim
as configured in the login-command section of gateway-config.xml -->
<!-- <use-custom-authentication>true</use-custom-authentication> -->
<!-- Adds the service's source to the unnamed whitelist. If false, these can never be used as unnamed sources -->
<!-- This will be forced to false if this named object requires authentication -->
<!-- <allow-unnamed-access>true</allow-unnamed-access> -->
<!-- custom authorization roles can be specified when using custom authentication -->
<!--
<roles>
<role></role>
</roles>
-->
<!-- </object> -->
</named>
...
</remote-objects>
I have no remote-objects registered. The same application works on JBoss 4.0.1 SP1 without any error.
Any ideia ?
Thanks in advance !
Michel Bertrand | Desenvolvimento | DATASUL Tecnologia
Acesse www.datasuldirect.com.br e conheça mais sobre os produtos e soluções de tecnologia
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Web site design development | Computer software development | Software design and development |
| Macromedia flex |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

