Blog to discuss Midnight Coders products features, ideas and trends in development of Rich Internet Applications

Friday, January 05, 2007

WebORB and Flex 2.0.1 Update

If you are using WebORB and upgraded to the Flex 2.0.1 release, your Flex Builder project will report the following error:

"The services configuration includes a channel-definition 'my-polling-amf' that has an endpoint with a context.root token but a context root has not been defined. Please specify a context-root compiler argument."

The reason for the error is a missing configuration element introduced in 2.0.1. To fix the configuration open your Flex Builder project properties and select the "Flex Server" panel. There is a new field - "Context root". The field value must match the last segment of the root URL path. Below is a screenshot of the panel with the described change from one of my sample projects. Notice the "weborb" value matches the last segment in "http://localhost/weborb".
















Thanks to Alex MacCaw for bringing this to our attention.

1 Comments:

Blogger Jonas said...

Thanks, very quick fix from you guys.

5:29 AM

 

Post a Comment

<< Home