I have narrowed the problem down to my data-management-config destinations...

I am not sure why this would have broken all of a sudden. But basically if I take everything but the default channel out of my destinations file then the server loads correctly and the messagebroker/amf maps correctly. However, if I add back in one of my destinations everything breaks. I can't figure out what would have changed when I upgraded...

Were there changes I was supposed to make to the LCDS server when I upgraded?

- Kevin



On Dec 17, 2007, at 2:23 PM, Kevin wrote:


What's most noticeable is that on deployed versions of our app, if I navigate directly to:

myApp/messagebroker/amf

I get a blank screen, but on my dev machine...

Servlet MessageBrokerServlet is not available

This is very weird.  It's like the resource disappeared...

I have checked most of the things you suggested.

Thanks for the help. I am on my 3rd hour of trying to figure this out!! - Kevin


Here is my web.xml

<!-- MessageBroker Servlet -->
        <servlet>
                <servlet-name>MessageBrokerServlet</servlet-name>
                <display-name>MessageBrokerServlet</display-name>
                <servlet-class>
                        flex.messaging.MessageBrokerServlet
                </servlet-class>
                <init-param>
                        <param-name>services.configuration.file</param-name>
                        
<param-value>/WEB-INF/flex/services-config.xml</param-value>
                </init-param>
                <init-param>
                        <param-name>flex.write.path</param-name>
                        <param-value>/WEB-INF/flex</param-value>
                </init-param>
                <load-on-startup>1</load-on-startup>
        </servlet>

...and the servlet mapping...

<servlet-mapping>
                <servlet-name>MessageBrokerServlet</servlet-name>
                <url-pattern>/messagebroker/*</url-pattern>
        </servlet-mapping>

When initializing my app there is no error (to my knowledge), except that the RTMP channel doesn't connect.

12/17 14:19:18 INFO Loading configuration file /Users/kevin/ Documents/Tomcat/webapps/dBocl/WEB-INF/flex/flex-webtier-config.xml 12/17 14:19:18 INFO Loading configuration file /Users/kevin/ Documents/Tomcat/webapps/dBocl/WEB-INF/flex/flex-config.xml
[Flex] Starting Adobe LiveCycle Data Services 2 Express
[Flex] Adobe Flex Data Services Build: 166921
[Flex] Endpoint my-amf created with security: None
at URL: http://{server.name}:{server.port}/{context.root}/ messagebroker/amf
[Flex] Endpoint my-polling-amf created with security: None
at URL: http://{server.name}:{server.port}/{context.root}/ messagebroker/amfpolling
[Flex] Endpoint my-http created with security: None
at URL: http://{server.name}:{server.port}/{context.root}/ messagebroker/http
[Flex] Endpoint my-secure-amf created with security: None
at URL: https://{server.name}:{server.port}/{context.root}/ messagebroker/amfsecure
[Flex] Endpoint my-rtmp created with security: None
at URL: rtmp://{server.name}:2038
[Flex] Endpoint my-secure-http created with security: None
at URL: https://{server.name}:{server.port}/{context.root}/ messagebroker/httpsecure [Flex] MessageBroker id: __default__ classLoader is: the MessageBroker's class loader and the context class loader (classLoader hashCode: 6369375 (parent hashCode: 958016 (parent hashCode: 11692787 (parent system)))





On Dec 17, 2007, at 2:00 PM, Peter Farland wrote:


Is the URL correct?

Can you check your /WEB-INF/web.xml and check it has the servlet and servlet-mapping defined for MessageBrokerServlet?

If it is there, can you check your server logs to see if there was an error initializing your web application?

Did you try and merge any WAR files together during this upgrade?


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Sent: Monday, December 17, 2007 1:11 PM
To: [email protected]
Subject: [flexcoders] Flex 3 Beta 3: Servlet MessageBrokerServlet is not available??

All of a sudden after upgrading to Flex 3 Beta 3 I am getting the following error.

faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://localhost: 8080/myApp/messagebroker/amf'"

When I try to access the url directly I get:

 Servlet MessageBrokerServlet is not available
The requested resource (Servlet MessageBrokerServlet is not available) is not available.

Obviously some resource disappeared or got corrupted. Any idea how I can remedy this? Not sure where this resource is located?

- Kevin





Reply via email to