Developing Custom Adapter - Keep getting error: Unrecognized tag found in <properties>


hey all,<br /><br />i'm trying configure custom properties pass through custom blazeds adapter, inside remoting-config.xml.<br /><br />if here:<br />http://xml.pastebin.com/f17464dac<br /><br />this has been working destination id'd 'conduit'. no problems there @ all.<br /><br />for destination id'd 'conduitreverse', no matter <tag> put after <access>, following exception:<br /><br />**** messagebrokerservlet failed initialize due runtime exception:   exception: flex.messaging.config.configurationexception: unrecognized tag found in <properties>.  please consult documentation determine if tag invalid or belongs inside of different tag: <br />  '/foo' in destination id: 'conduitreverse' file: remoting-config.xml<br />     at flex.messaging.config.messagingconfiguration.reportunusedproperties(messagingconfiguratio n.java:750)<br />     at flex.messaging.messagebrokerservlet.init(messagebrokerservlet.java:158)<br />     at coldfusion.flex.coldfusionmessagebrokerservlet.init(coldfusionmessagebrokerservlet.java:2 4)<br />     at coldfusion.bootstrap.classloaderhelper.initservletclass(classloaderhelper.java:94)<br />     at coldfusion.bootstrap.bootstrapservlet.init(bootstrapservlet.java:59)<br /><br />i've tried 'foo', 'foobar', 'thisismycustomproperty', , far, error.<br /><br />i had thought put arbitrary values inside <properties>, without having worry validation, not case?<br /><br />i'm running daily build of blazeds 4.x, month ago. may try upgrading.<br /><br />any on appreciated.

the source of problem here: flex.messaging.config.messagingconfiguration.reportunusedproperties(messagingconfiguratio n.java:750)

your code fine, blazeds bugs, don't want fix, have @ bug: http://bugs.adobe.com/jira/browse/blz-143
i still can't understand rationale behind this, way is.

to pass error have call
properties.getpropertyasstring("foobar", null);
in
public void initialize(string id, configmap properties)
method.

have @ adapter example:
http://code.google.com/p/flexserverlib/wiki/ejbadapter
http://code.google.com/p/flexserverlib/source/browse/trunk/java/src/flexserverlib/messagi ng/services/remoting/adapters/ejbadapter.java


More discussions in General Discussion


adobe

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code