Hi,

has anybody seen a warning like below and can explain what reason there is?

WARN    10015   [cocoon  ] (Thread-4): Could not prepare test statement
COM.ibm.db2.jdbc.app.DB2Exception: [IBM][CLI Driver][DB2/NT] SQL0104N  Auf
"select 1" folgte das unerwartete Token "END-OF-STATEMENT".  Zu den
möglichen Token gehören: "<table_expr>".  SQLSTATE=42601

        at
COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(SQLExceptionGe
nerator.java:214)
        at
COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_return_code(SQLExceptionGen
erator.java:370)
        at
COM.ibm.db2.jdbc.app.DB2PreparedStatement.<init>(DB2PreparedStatement.java:3
15)
        at
COM.ibm.db2.jdbc.app.DB2Connection.prepareStatement(DB2Connection.java:413)
        at
org.apache.avalon.excalibur.datasource.JdbcConnection.prepareStatement(JdbcC
onnection.java:92)
        at
org.apache.avalon.excalibur.datasource.JdbcConnection.<init>(JdbcConnection.
java:57)
        at
org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(Jdb
cConnectionFactory.java:52)
        at
org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:
70)
        at
org.apache.avalon.excalibur.pool.HardResourceLimitingPool.newPoolable(HardRe
sourceLimitingPool.java:85)
        at
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.newPoolable(JdbcCo
nnectionPool.java:50)
        at
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceL
imitingPool.java:82)
        at
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run(JdbcConnection
Pool.java:109)
        at java.lang.Thread.run(Thread.java:484)

Using Tomcat4.0 final, Cocoon 2.0b2, IBM DB2

Thanks a lot,

Kai


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to