本人刚学EJB,你的数据库连接池配好了没有,可以在WebLogic中测试一下。
是不是在代码中直接连接数据库的?把代码贴出来看看。
cmpentitysample.StudentBean_3jpbl1__WebLogic_CMP_RDBMS.__WL_loadGroup0(StudentBean_3jpbl1__WebLogic_CMP_RDBMS.java:556)
at cmpentitysample.StudentBean_3jpbl1__WebLogic_CMP_RDBMS.getStudid(StudentBean_3jpbl1__WebLogic_CMP_RDBMS.java:264)
at cmpentitysample.StudentBean_3jpbl1_EOImpl.getStudid(StudentBean_3jpbl1_EOImpl.java:45)
看到这一段你写的应该是容器管理持久的Bean,检查一下WebLogic数据库配置吧

解决方案 »

  1.   

    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.
    应该是关于事务方面的,事务有多种类型:Required,RequiresNew,Mandatory,NotSupported,Supports,Never,一定是CMP BEAN没有配置好。(仅供参考, 还没用WebLogic呢^-^,在J2EE 自带的布署工具下练习)
      

  2.   

    我不是在代码中直接连接的。我的整个实体bean基本都是jbuilder自动生成的。数据源应该配置好了。CMP Bean 的事务处理我不知道在哪儿配置。
      

  3.   

    搞定,在配置weblogic数据源时,在url中加入SelectMethod=Cursor就可以了