这是我在Tomcat 本地主机文件夹中的 NXYTEST. xml
<Context path="/test" reloadable="true" docBase="D:DevelopmentworkspaceNXYTESTWebContent" workDir="D:DevelopmentworkspaceNXYTESTwork">
<Resource auth="Container" driverClassName="com.ibm.db2.jcc.DB2Driver" maxActive="20" maxIdle="10" maxWait="-1" name="jdbc/ebank_ds" password="abc123" type="javax.sql.DataSource" url="jdbc:db2://172.31.17.114:60012/TESTDB" username="con2nns" />
</Context>
我的项目启动并获得 db 连接, 但这样的错误 :
DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC: CON2NNS.PUB_APPPAR caused by: DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC: CON2NNS.PUB_APPPAR cause: com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC: CON2NNS.PUB_APPPAR
我想把"testschema"设为默认的预设方案, 帮我,谢谢...