|
本帖最后由 孤单芭蕾lonely 于 2012-2-17 11:12 编辑
类似的报错曾经见过,是因为我没有添加正确的jar包导致的,但是这次我已经将需要用的class包都加进去了,却依旧无法解决这个错误。
不仅如此,这种报错只是在controller运行很多用户,例如200用户的时候才会报错,当我运行10个用户的时候,同样的时间内不会报错,我用vugen跑脚本的时候,也不会报错
报错内容如下:
OrderProcess.c(642): Error: Decoding of AMF message failed. Error is : Externalizable parsing failed: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at hp.flex.HPExternalizableWrapper.ReadObject(HPExternalizableWrapper.java:168)
Caused by: flex.messaging.MessageException: Cannot create class of type 'org.springframework.jdbc.CannotGetJdbcConnectionException'. Type 'org.springframework.jdbc.CannotGetJdbcConnectionException' not found.
at flex.messaging.util.ClassUtil.createClass(ClassUtil.java:66)
at flex.messaging.io.AbstractProxy.getClassFromClassName(AbstractProxy.java:103)
at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:430)
at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:153)
at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:132)
at flex.messaging.io.amf.Amf3Input.readScriptObject(Amf3Input.java:473)
at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:153)
at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:132)
... 4 more
这个报错涉及到的脚本如下:
flex_amf_call("AMF3_call_6",
"Gateway=http://192.168.6.125:8080/sbs/messagebroker/amf",
"Snapshot=t141.inf",
MESSAGE,
"Method=null",
"TargetObjectId=/17",
BEGIN_ARGUMENTS,
"<AMF3><object-externalizable-custom>"
"<flex.messaging.messages.RemotingMessage>\n <destination"
">orderController</destination>\n <messageId"
">F384F479-43AC-4C51-68C5-892401EB8283</messageId>\n <timestamp>0</"
"timestamp>\n <timeToLive>0</timeToLive>\n <headers>\n <entry>\n "
" <string>DSEndpoint</string>\n <string>my-amf</string>\n </"
"entry>\n <entry>\n <string>DSId</string>\n <string"
">{dsID}</string>\n </entry>\n </"
"headers>\n <operation>doOrderAction</operation>\n <parameters>\n "
"<string>omtest</string>\n <flex.messaging.io.ArrayCollection>\n "
" <object-array>\n <flex.messaging.io.amf.ASObject "
"serialization=\"custom\">\n <unserializable-parents/>\n "
" <map>\n <default>\n <loadFactor>0.75</"
"loadFactor>\n <threshold>48</threshold>\n </"
"default>\n <int>64</int>\n <int>42</int>\n "
" <string>mx_internal_uid</string>\n <string"
">BB93F689-FB6D-EE7A-FDF5-8923F3D2D352</string>\n <string"
">product</string>\n <string>BP1003</string>\n "
"<string>woGetTime</string>\n <date>2011-12-18 10:01:20.0 "
"CST</date>\n <string>imsi</string>\n <null/>\n "
" <string>execTime</string>\n <date>2011-12-17 11"
":01:52.0 CST</date>\n <string>referTime</string>\n "
" <date>2011-12-18 10:01:18.0 CST</date>\n <string"
">olcomState</string>\n <string>4</string>\n "
"<string>spOrderId</string>\n <string>199852313</string>\n "
" <string>finishStaffId</string>\n <string>guh</"
"string>\n <string>varlist</string>\n <string"
">G010=7811120900031317##x1;G009=BP1003##x1;G109=BP1003##x1;K053="
"NORMAL##x1;G008=0878##x1;G004=3129394##x1;G001=3129394##x1;G013=1##x1;"
"G002=1##x1;T009=N##x1;T109=N##x1;YWM0=PSTN-2##x1;K153=NORMAL##x1;S002="
"CXSHLR</string>\n <string>retDealFlag</string>\n "
" <string>0</string>\n <string>manFinishTime</string>\n "
" <null/>\n <string>olcomDealTime</string>\n "
" <date>2012-02-17 10:27:28.0 CST</date>\n <string"
">olcomWorkId</string>\n <string>{OlcomworkID}</string>\n "
" <string>switchId</string>\n <string>cx311</"
"string>\n <string>errType</string>\n <null/>\n "
" <string>orderId</string>\n <string>111217c110111<"
"/string>\n <string>remark3</string>\n <string"
">X0001038(电话模中拆机)的指令没有找到,请设备或平台维护人员提供指令</"
"string>\n <string>tradeType</string>\n <string"
">STN-2</string>\n <string>physicsNumber</string>\n "
" <string>3129394</string>\n <string>cancelTag</string>\n"
" <string>0</string>\n <string>sysdate</string>\n"
" <date>2012-02-17 10:58:44.0 CST</date>\n "
"<string>priority</string>\n <string>50</string>\n "
" <string>autoFinishTime</string>\n <date>2011-12-18 10:01"
":20.0 CST</date>\n <string>reparchyCode</string>\n "
" <string>0878</string>\n <string>cancelVarlist</string>\n"
" <string>G010=7811120900031317##x1;G009=BP1003##x1;G109="
"BP1003##x1;K053=NORMAL##x1;G008=0878##x1;G004=3129394##x1;G001="
"3129394##x1;G013=1##x1;G002=1##x1;T009=N##x1;T109=N##x1;YWM0="
"STN-1##x1;K153=NORMAL##x1;S002=CXSHLR</string>\n <string"
">olcomSum</string>\n <string>2</string>\n "
"<string>slaInfo</string>\n <null/>\n <string"
">rowNum</string>\n <string>1</string>\n <string"
">USERTYPE</string>\n <null/>\n <string"
">cancelServlist</string>\n <string>B0001038,PSTN-1+0+0PA040"
"+ADD+N+BP1003</string>\n <string>olcomCurNum</string>\n "
" <string>1</string>\n <string>tradeTypeCode</string"
">\n <string>1</string>\n <string>selected</"
"string>\n <boolean>false</boolean>\n <string"
">fileName</string>\n <null/>\n <string"
">dealMethod</string>\n <null/>\n <string"
">keytrade</string>\n <string>1</string>\n "
"<string>servlist</string>\n <string>X0001038</string>\n "
" <string>olcomNum</string>\n <string>1</string>\n "
" <string>platForm</string>\n <string>程控</string>"
"\n <string>scheduling</string>\n <string>2</"
"string>\n <string>serialNumber</string>\n "
"<string>3129394</string>\n </map>\n "
"<flex.messaging.io.amf.ASObject>\n <default>\n "
" <inHashCode>false</inHashCode>\n <inToString>false</"
"inToString>\n </default>\n </"
"flex.messaging.io.amf.ASObject>\n </"
"flex.messaging.io.amf.ASObject>\n </object-array>\n </"
"flex.messaging.io.ArrayCollection>\n "
"<flex.messaging.io.amf.ASObject serialization=\"custom\">\n "
"<unserializable-parents/>\n <map>\n <default>\n "
"<loadFactor>0.75</loadFactor>\n <threshold>12</threshold>\n "
" </default>\n <int>16</int>\n <int>1</int>\n "
" <string>action</string>\n <string>pickUpOlcomWork</string>\n "
" </map>\n <flex.messaging.io.amf.ASObject>\n <default>"
"\n <inHashCode>false</inHashCode>\n <inToString"
">false</inToString>\n </default>\n </"
"flex.messaging.io.amf.ASObject>\n </flex.messaging.io.amf.ASObject"
">\n </parameters>\n</flex.messaging.messages.RemotingMessage></"
"object-externalizable-custom></AMF3>",
END_ARGUMENTS,
LAST);
(其中{dsID}是关联项,而{OlcomworkID}是参数)
还有劳各位大侠帮忙指点一二,不胜感激。。。 |
|