2010-07-26

2010-07-26
2010年07月26日
  最近不少网友反映使用Fluorine实现Flex与.NET通信老是出错,原因肯定不一样,为节约时间,我想有必要整理一下Flex RPC常见错误。此处先整理一下Flash Remoting方面的,后续会加上HTTP Service和Web Service的。 一、Flex Remoting Channel definition, mx.messaging.channels.RTMPChannel, can not be found...:最新版的Fluorined在services-config.xml中新增了RTMP Channel,主要是用来配 置Flex Messaging,编译时需要FDS.swc支持,当然如果不需要此功能可以注释掉channel-definition这个节点。 RPC Fault faultString="The requested type... is not accessible":Flash Remoting服务名不对。详见Flash Remoting支持的远程服务。 RPC Fault faultString="Could not find a suitable method with name ..." :找不到对应的方法。首选看方法名对不对,再看方法的参数个数, 参数类型,还要检查返回数据的类型。关于数据的类型详见Flex AS3数据类型转换成Fluorine数据类型和 Fluorine .NET数据类型转换成Flex AS3数据类型。 NetConnection.Call.Failed: HTTP: Status 404: url...: '虚拟主机的域名/子目录/Gateway.aspx'":没将Root URL设置为虚拟主机的域名。详见Flex Bulider 2与Flash cs3的发布文件。 RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed errorNetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost/Gateway.aspx...'": Root URL中包含的Context与Context root中设置的不一致。 [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Security.Error error Error #2048...: 安全沙箱冲突 RPC Fault faultString="MessagingError message='Destination 'fluorine' either does not exist or the destination has no channels defined (and the application does not define any default channels.)'" faultCode="InvokeFailed" faultDetail="Couldn't establish a connection to 'fluorine'"...:FluorineFX没配置或destination 没有定义channels(默认是fluorine),详见配置支持Fluorine Remoting的Web应用 ReferenceError: Error #1056: 无法为 ...创建属性...:当使用[RemoteClass(alias="XXX")],客户端与服务器端Value Object映射时属性名不一 致。 二、Http Service faultCode:Server.Proxy.Request.Failed faultString:'HTTP/1.1 404 Not Found' faultDetail:'HTTP/1.1 404 Not Found':url错误。 faultCode:Channel.Security.Error faultString:'Security error accessing url' faultDetail:'Destination: DefaultHTTP':不使用代理时遇到 安全沙箱冲突。 The URL specified XXX is not allowed by the selected destination 'DefaultHTTP:使用默认终端代理时遇到安全沙箱冲突。 No destination with id XXX is registered with any service/MessagingError message='Destination 'students' either does not exist or the destination has no channels defined (and the application does not define any default channels.)':.使用命名终端代理时,destination不一致。 当前遇到: RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed errorNetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost/Gateway.aspx...'": Root URL中包含的Context与Context root中设置的不一致。
实验3-统计某电商网站买家收藏商品数量 现有某电商网站用户对商品的收藏数据,记录了用户收藏的商品id以及收藏日期,名为buyer_favorite1。buyer_favorite1包含:买家id,商品id,收藏日期这三个字段,数据以“\t”分割,样本数据及格式如下: 1.买家id 商品id 收藏日期 2.10181 1000481 2010-04-04 16:54:31 3.20001 1001597 2010-04-07 15:07:52 4.20001 1001560 2010-04-07 15:08:27 5.20042 1001368 2010-04-08 08:20:30 6.20067 1002061 2010-04-08 16:45:33 7.20056 1003289 2010-04-12 10:50:55 8.20056 1003290 2010-04-12 11:57:35 9.20056 1003292 2010-04-12 12:05:29 10.20054 1002420 2010-04-14 15:24:12 11.20055 1001679 2010-04-14 19:46:04 12.20054 1010675 2010-04-14 15:23:53 13.20054 1002429 2010-04-14 17:52:45 14.20076 1002427 2010-04-14 19:35:39 15.20054 1003326 2010-04-20 12:54:44 16.20056 1002420 2010-04-15 11:24:49 17.20064 1002422 2010-04-15 11:35:54 18.20056 1003066 2010-04-15 11:43:01 19.20056 1003055 2010-04-15 11:43:06 20.20056 1010183 2010-04-15 11:45:24 21.20056 1002422 2010-04-15 11:45:49 22.20056 1003100 2010-04-15 11:45:54 23.20056 1003094 2010-04-15 11:45:57 24.20056 1003064 2010-04-15 11:46:04 25.20056 1010178 2010-04-15 16:15:20 26.20076 1003101 2010-04-15 16:37:27 27.20076 1003103 2010-04-15 16:37:05 28.20076 1003100 2010-04-15 16:37:18 29.20076 1003066 2010-04-15 16:37:31 30.20054 1003103 2010-04-15 16:40:14 31.20054 1003100 2010-04-15 16:40:16 要求编写MapReduce程序,统计每个买家收藏商品数量,并撰写实验报告。直接给出完整的代码即可
03-28
筛选出同时满足以下条件的个股: 开盘金额<7000万元 属于创业板(代码以 30 开头) 抢筹占比(抢筹成交额 / 开盘金额 ×100%)大于 50% level2大单数据 情绪周期 竞价抢筹 登录注册 早盘竞价抢筹 尾盘抢筹 委托金额 股票名称 代码 开盘金额 抢筹涨幅 抢筹成交额 抢筹委托金额 时间 吉鑫**** 60**** 2779.91万 10.06% 2779.91万 122253.23万 2025-07-03 亚玛**** 00**** 1818.43万 10.02% 1818.43万 106932.74万 2025-07-03 北方**** 00**** 15109.21万 4.83% 13042.93万 18012.41万 2025-07-03 东方**** 00**** 3916.40万 9.97% 3897.42万 17933.34万 2025-07-03 雪迪**** 00**** 10299.87万 10.03% 9101.27万 16043.15万 2025-07-03 精艺**** 00**** 2251.64万 9.98% 2241.08万 15463.34万 2025-07-03 巨力**** 00**** 9393.19万 9.94% 7165.28万 11777.31万 2025-07-03 金财**** 00**** 1299.02万 1.54% 875.86万 9404.02万 2025-07-03 胜宏**** 30**** 7529.23万 2.15% 6006.06万 8502.27万 2025-07-03 恒宝**** 00**** 8755.00万 0.21% 6460.87万 8116.53万 2025-07-03 通威**** 60**** 11712.78万 1.12% 7084.08万 7611.08万 2025-07-03 神开**** 00**** 19500.46万 9.99% 7106.62万 7590.84万 2025-07-03 新易**** 30**** 6756.05万 1.95% 4472.44万 6952.63万 2025-07-03 中际**** 30**** 5132.53万 1.83% 3234.00万 6717.45万 2025-07-03 巨星**** 00**** 1839.11万 5.06% 1527.53万 5732.52万 2025-07-03 创新**** 00**** 4151.57万 1.07% 3235.75万 4969.85万 2025-07-03 亚星**** 60**** 10128.88万 1.24% 4158.22万 4791.87万 2025-07-03 博敏**** 60**** 4785.16万 9.20% 3116.04万 4749.61万 2025-07-03 重庆**** 60**** 10210.27万 1.42% 4322.76万 4565.64万 2025-07-03 卫星**** 00**** 2705.38万 2.60% 1836.74万 4375.87万 2025-07-03 紫金**** 60**** 3120.07万 0.99% 1934.33万 4044.21万 2025-07-03 长城**** 60**** 12834.11万 10.05% 3505.27万 3505.27万 2025-07-03 协鑫**** 00**** 3748.35万 1.79% 2595.70万 3306.35万 2025-07-03 四方**** 30**** 4227.58万 0.18% 2982.15万 3301.06万 2025-07-03 宁德**** 30**** 2984.94万 0.41% 1828.19万 3226.78万 2025-07-03 京北**** 00**** 4116.72万 0.66% 2679.26万 3196.52万 2025-07-03 山子**** 00**** 6731.29万 0.00% 3040.53万 3195.39万 2025-07-03 长城**** 60**** 5036.43万 0.00% 2960.00万 3111.02万 2025-07-03 凯美**** 00**** 6565.48万 2.01% 2858.10万 3022.20万 2025-07-03 东山**** 00**** 2232.01万 1.87% 1751.97万 2904.11万 2025-07-03 华菱**** 00**** 3960.69万 2.72% 2431.48万 2834.45万 2025-07-03 康达**** 00**** 5979.10万 0.50% 2495.76万 2737.91万 2025-07-03 宗申**** 00**** 2870.49万 4.19% 1482.28万 2611.71万 2025-07-03 永安**** 00**** 1826.73万 4.49% 1321.47万 2598.62万 2025-07-03 中国**** 60**** 2664.12万 2.00% 2213.72万 2596.22万 2025-07-03 深水**** 30**** 7003.93万 5.26% 2283.19万 2595.78万 2025-07-03 ST**** 00**** 3853.76万 0.00% 2353.82万 2394.61万 2025-07-03 沙钢**** 00**** 420.43万 0.17% 284.44万 2279.27万 2025-07-03 旋极**** 30**** 3102.35万 0.62% 2107.45万 2195.95万 2025-07-03 晶澳**** 00**** 2862.57万 0.19% 2108.72万 2191.95万 2025-07-03 利君**** 00**** 2607.32万 0.16% 2024.63万 2143.33万 2025-07-03 华友**** 60**** 2532.39万 1.61% 2010.40万 2086.21万 2025-07-03 诚邦**** 60**** 3760.55万 2.02% 1721.37万 2057.72万 2025-07-03 中兵**** 00**** 2119.99万 0.24% 1339.98万 2010.64万 2025-07-03 隆基**** 60**** 3651.77万 0.00% 1858.95万 1924.56万 2025-07-03 柳钢**** 60**** 5445.39万 9.62% 1791.55万 1879.14万 2025-07-03 大连**** 00**** 8789.27万 4.80% 1760.70万 1838.72万 2025-07-03 融捷**** 00**** 2115.20万 2.24% 1671.04万 1783.66万 2025-07-03 塞力**** 60**** 3732.46万 3.21% 1659.01万 1764.22万 2025-07-03 保龄**** 00**** 3384.75万 4.06% 1368.99万 1681.57万 2025-07-03
最新发布
07-14
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值