请高手帮我看看问题出在那?谢谢

03-12-19 ljm

C:\bea\jdk131_03\bin\javaw -classpath "D:\temp\cmpSample\classes;C:\bea\weblogic700\server\lib\weblogic_sp.jar;C:\bea\weblogic700\server\lib\weblogic.jar;C:\bea\weblogic700\server\lib\webservices.jar;C:\bea\jdk131_03\jre\lib\i18n.jar;C:\bea\jdk131_03\jre\lib\jaws.jar;C:\bea\jdk131_03\jre\lib\rt.jar;C:\bea\jdk131_03\jre\lib\sunrsasign.jar;C:\bea\jdk131_03\lib\dt.jar;C:\bea\jdk131_03\lib\htmlconverter.jar;C:\bea\jdk131_03\lib\tools.jar" cmpsample.Kct01TestClient1

-- Initializing bean access.

-- Succeeded initializing bean access through Home interface.

-- Execution time: 1344 ms.

-- Calling findByPrimaryKey(1)

-- Failed: findByPrimaryKey(1)javax.ejb.FinderException: Problem in findByPrimaryKey while preparing or executing statement: 'weblogic.jdbc.rmi.SerialPreparedStatement@356f1':

java.sql.SQLException: No data found

java.sql.SQLException: No data found

at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6207)

at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(JdbcOdbc.java:3261)

at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(JdbcOdbcResultSet.java:5393)

at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.java:321)

at weblogic.jdbc.jts.ResultSet.getString(ResultSet.java:84)

at weblogic.jdbc.rmi.internal.ResultSetImpl.getString(ResultSetImpl.java:178)

at weblogic.jdbc.rmi.internal.ResultSetStraightReader.getString(ResultSetStraightReader.java:37)

at weblogic.jdbc.rmi.SerialResultSet.getString(SerialResultSet.java:128)

at cmpsample.Kct01Bean_1727el__WebLogic_CMP_RDBMS.__WL_loadGroup0FromRS(Kct01Bean_1727el__WebLogic_CMP_RDBMS.java:658)

at cmpsample.Kct01Bean_1727el__WebLogic_CMP_RDBMS.ejbFindByPrimaryKey(Kct01Bean_1727el__WebLogic_CMP_RDBMS.java:481)

at java.lang.reflect.Method.invoke(Native Method)

at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.findByPrimaryKey(RDBMSPersistenceManager.java:189)

at weblogic.ejb20.manager.BaseEntityManager.findByPrimaryKey(BaseEntityManager.java:476)

at weblogic.ejb20.manager.BaseEntityManager.remoteFindByPrimaryKey(BaseEntityManager.java:420)

at weblogic.ejb20.internal.EntityEJBHome.findByPrimaryKey(EntityEJBHome.java:373)

at cmpsample.Kct01Bean_1727el_HomeImpl.findByPrimaryKey(Kct01Bean_1727el_HomeImpl.java:107)

at cmpsample.Kct01Bean_1727el_HomeImpl_WLSkel.invoke(Unknown Source)

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

at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)

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

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

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:152)

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

at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)

at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)

at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)

at cmpsample.Kct01Bean_1727el_HomeImpl_WLStub.findByPrimaryKey(Unknown Source)

at cmpsample.Kct01TestClient1.findByPrimaryKey(Kct01TestClient1.java:109)

at cmpsample.Kct01TestClient1.main(Kct01TestClient1.java:487)

-- Return value from findByPrimaryKey(1): null.

Error in getXtyhdm(): Remote interface reference is null. It must be created by calling one of the Home interface methods first.

xtyhdm=

Error in getXtyhjg(): Remote interface reference is null. It must be created by calling one of the Home interface methods first.

xtyhjg=

Error in getXtyhmc(): Remote interface reference is null. It must be created by calling one of the Home interface methods first.

xtyhmc=

Error in getXtyhnl(): Remote interface reference is null. It must be created by calling one of the Home interface methods first.

xtyhnl=

Error in getXtyhxb(): Remote interface reference is null. It must be created by calling one of the Home interface methods first.

xtyhxb=