Hey, I'm using livecycle data services to connect to java... I found that the error child problem that we were talking in the oder thread was because I didn't defined the messageBrokerServlet. Now when I tried to define it I have trouble of configuration
<login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat">
authentication>false</per-client-authentication>
</login-command>
<security-constraint id="basic-read-access">
<auth-method>Basic</auth-method>
<roles>
<role>guests</role>
<role>accountants</role>
<role>employees</role>
<role>managers</role>
</roles>
</security-constraint>
<security-constraint id="sample-users">
<auth-method>Custom</auth-method>
<roles>
<role>sampleusers</role>
</roles>
</security-constraint>
</security>
<servers>
<server id="my-nio-server" class="flex.messaging.socketserver.SocketServer">
<properties>
</properties>
</server>
</servers>
<channels>
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://{
server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
<channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel">
<endpoint url="http://{
server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/>
</channel-definition>
</channels>
<system>
<manageable>false</manageable>
<redeploy>
<enabled>true</enabled>
<watch-interval>20</watch-interval>
<watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file>
<watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file>
<touch-file>{context.root}/WEB-INF/web.xml</touch-file>
</redeploy>
</system>
</services-config>
And If got a remoting-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<service id="my-service" class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage">
<adapters>
<adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/>
</adapters>
<default-channels>
<channel ref="my-amf"/>
</default-channels>
<destination id="mortgageService">
<properties>
<source>flex.samples.spring.mortgage.Mortgage</source>
</properties>
</destination>
</service>
and I get this exception:
I get an exception :
GRAVE: El Servlet /WebContent lanzï¿? excepciï¿?n de load()
javax.servlet.
UnavailableException: An unknown exception occurred while creating an instance of type 'flex.messaging.security.TomcatLoginCommand'.
at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:170)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)