请教各位一个问题(急) 谢谢!

03-09-10 hustjxg2000

我用jbuilder+weblogic 编了一个实体Bean+会话Bean,

让后用jbuilder生成一个测试程序,在jbuilder里启动weblogic服务器的情况下,运行一切正常。

但如果单独启动weblogic的话,就会报如下的错:

我用jbuilder+weblogic 编了一个实体Bean+会话Bean,让后用jbuilder生成一个测试程序,在jbuilder里启动weblogic服务器的情况下,运行一切正常。但如果单独启动weblogic服务器的话,就会报如下的错:

java.lang.IllegalArgumentException: wrong number of arguments

Start server side stack trace:

java.lang.IllegalArgumentException: wrong number of arguments

at java.lang.reflect.Constructor.newInstance(Native Method)

at weblogic.rmi.internal.OIDManager.makeActivatableServerReference(OIDManager.java:211)

at weblogic.rmi.internal.OIDManager.getReplacement(OIDManager.java:137)

at weblogic.common.internal.RemoteObjectReplacer.getReplacement(RemoteObjectReplacer.java:265)

at weblogic.common.internal.RemoteObjectReplacer.replaceObject(RemoteObjectReplacer.java:107)

at weblogic.common.internal.ChunkedObjectOutputStream.replaceObject(ChunkedObjectOutputStream.java:53)

at weblogic.common.internal.ChunkedObjectOutputStream$NestedObjectOutputStream.replaceObject(ChunkedObjectOutputStream.java:239)

at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:318)

at weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObjectOutputStream.java:107)

at weblogic.rjvm.MsgAbbrevOutputStream.writeObject(MsgAbbrevOutputStream.java:82)

at sys.dictInfo_sessionBean_dtxm1n_HomeImpl_WLSkel.invoke(Unknown Source)

at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)

at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)

at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)

at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)

at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)

End server side stack trace

请各位大侠指点!多谢!

猜你喜欢