tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [OT] DB2 problem: AM_BASE_TASKS ¿is a ghost table?
Date Tue, 02 Dec 2008 15:19:59 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jabali,

Marked as off-topic.

Jabali Acuatico wrote:
> I know this is not a DB2 list, but certainly the problem is between
> Tomcat and DB2, because everything doing manually, with DB2 terminal,
> using a console, is working properly.
> 
> I am using a java connection class and a JDBC driver : "db2jcc.jar"
> for developing a webapp in Tomcat 6.0.18 on Ubuntu 7.10.

> SETRESPUESTA:  CONSULTA VALE : select * from AM_BASE_TASKS
> SETRESPUESTA:  Sentencia vale : [com.ibm.db2.jcc.b.zc@13ec2dd]
> SETRESPUESTA:   dentro del IF
> SETRESPUESTA:   dentro del TRY
> com.ibm.db2.jcc.b.SqlException: DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC:
DB2INST1.AM_BASE_TASKS

What does this have to do with "cafe"? Looks like AM_BASE_TASKS is the
problem, not "cafe" anything. Which schema are you in? It looks like you
are using DB2INST1.

What is the JDBC connection string you are using?

How about posting the code from peericadd.jsp and peerca/Conexion.java?
It would help to know how you are retrieving the list of tables in your
Java code.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk1Uh8ACgkQ9CaO5/Lv0PAbmgCggQvcmioU1dP26J2SDKZJ+N+E
ODAAniF8/SU0gGcaOkNTB64VHCI/WXvZ
=9MEQ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message