Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1966517
  • 博文数量: 606
  • 博客积分: 9991
  • 博客等级: 中将
  • 技术积分: 5725
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-17 19:07
文章分类

全部博文(606)

文章存档

2011年(10)

2010年(67)

2009年(155)

2008年(386)

分类:

2009-04-27 21:30:02

1. 错误代码:faultCode:InvokeFailed faultString:'[MessagingError message='Destination  either does not exist or the destination has no channels defined (and the application does not define any default channels.)']' faultDetail:'Couldn't establish a connection to

  分析:工程目录下的.flexProperties和.actionScriptProperties没有设置好,导致没有找到services-config.xml

  解决办法:修改.flexProperties和.actionScriptProperties相关配置

  例如:工程路径为为:E:/ming/flexwork/notebook, blazeds路径为:D:/Program File/Tomcat 6.0/webapps/blazeds.war, Tomcat路径为:, notebook的flex编译路径为WebRoot

.flexProperties

<?xml version="1.0" encoding="UTF-8"?>
<flexProperties flexServerType="8" flexWarLocation="D:/Program File/Tomcat 6.0/webapps/blazeds.war" serverContextRoot="/notebook" serverRoot="E:/ming/flexwork/notebook/WebRoot" serverRootURL="" toolCompile="true" useServerFlexSDK="false" version="1"/>

.actionScriptProperties

<?xml version="1.0" encoding="UTF-8"?>
<actionScriptProperties mainApplicationPath="flexmysql.mxml" version="3">
<compiler additionalCompilerArguments="-services "E:/ming/flexwork/notebook/WebRoot/WEB-INF/flex/services-config.xml" -locale en_US" copyDependentFiles="true" enableModuleDebug="true" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersion="9.0.124" htmlPlayerVersionCheck="true" outputFolderPath="WebRoot" rootURL="" sourceFolderPath="flex_src" strict="true" useApolloConfig="false" verifyDigests="true" warn="true">
<compilerSourcePath/>
<libraryPath defaultLinkType="1">
<libraryPathEntry kind="4" path=""/>
<libraryPathEntry kind="1" linkType="1" path="flex_libs"/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
<applications>
<application path="addNote.mxml"/>
<application path="loginPanel.mxml"/>
<application path="modifyPassPanel.mxml"/>
<application path="noteDetail.mxml"/>
<application path="notePanel.mxml"/>
<application path="noteThumb.mxml"/>
</applications>
<modules/>
<buildCSSFiles/>
</actionScriptProperties>

 

  参考资料:http://netliving.javaeye.com/blog/188277

阅读(2693) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-01-04 20:02:55

太感谢了,搞了我很久才搞好这东西,太感谢了呀,天呀,我终于找到了这答案。