1) What version and build are you running for jConnect and SQL Anywhere?
I’ve used jconn2 and jconn3, for the moment I’m using 3
SQL Anywhere = 9.0.2.3198 on my developer system
2) Can you post the output from dbinfo for the database that you testing?
I'm assuming you mean this:
Adaptive Server Anywhere Database Engine Version 9.0.2.3198
Copyright © 1989-2004 Sybase, Inc.
Portions Copyright © 2002-2004, iAnywhere Solutions, Inc.
All rights reserved. All unpublished rights reserved.
This software contains confidential and trade secret information of
iAnywhere Solutions, Inc.
Use, duplication or disclosure of the software and documentation
by the U.S. Government is subject to restrictions set forth in a license
agreement between the Government and iAnywhere Solutions, Inc. or
other written agreement specifying the Government's rights to use the
software and any applicable FAR provisions, for example, FAR 52.227-19.
iAnywhere Solutions, Inc., One Sybase Drive, Dublin, CA 94568, USA
4 logical processor(s) on 1 physical processor(s) detected.
Running on Windows NT 6.1 Build 7601 Service Pack 1
21688K of memory used for caching
Minimum cache size: 2048K, maximum cache size: 262144K
Using a maximum page size of 8192 bytes
Database server started at Wed Aug 27 2014 14:18
Trying to start SharedMemory link ...
SharedMemory link started successfully
Trying to start NamedPipes link ...
NamedPipes link started successfully
Trying to start TDS (TCPIP) link ...
Starting on port 2638
TDS (TCPIP) link started successfully
Now accepting requests
Starting database "TOPADMINSA9" (W:\TOP\DATA\TOPADMINSA9.db) at Wed Aug 27 2014 14:18
Transaction log: TOPADMINSA9.log
Starting checkpoint of "TOPADMINSA9" (TOPADMINSA9.db) at Wed Aug 27 2014 14:18
Finished checkpoint of "TOPADMINSA9" (TOPADMINSA9.db) at Wed Aug 27 2014 14:18
Database "TOPADMINSA9" (TOPADMINSA9.db) started at Wed Aug 27 2014 14:18
Starting database "3051" (w:\TOP\DATA\3051\3051.DB) at Wed Aug 27 2014 14:18
Starting checkpoint of "3051" (3051.DB) at Wed Aug 27 2014 14:18
Finished checkpoint of "3051" (3051.DB) at Wed Aug 27 2014 14:18
Database "3051" (3051.DB) started at Wed Aug 27 2014 14:18
Starting database "BANDENM&W" (w:\TOP\DATA\BANDENM&W\BANDENM&W.DB) at Wed Aug 27 2014 14:19
Database "3051" (3051.DB) stopped at Wed Aug 27 2014 14:19
Starting checkpoint of "BANDENM&W" (BANDENM&W.DB) at Wed Aug 27 2014 14:19
Finished checkpoint of "BANDENM&W" (BANDENM&W.DB) at Wed Aug 27 2014 14:19
Database "BANDENM&W" (BANDENM&W.DB) started at Wed Aug 27 2014 14:19
Starting database "BRAL" (w:\TOP\DATA\BRAL\BRAL.DB) at Wed Aug 27 2014 14:19
Transaction log: w:\TOP\DATA\BRAL\BRAL.log
Starting checkpoint of "BRAL" (BRAL.DB) at Wed Aug 27 2014 14:19
Finished checkpoint of "BRAL" (BRAL.DB) at Wed Aug 27 2014 14:19
Database "BRAL" (BRAL.DB) started at Wed Aug 27 2014 14:19
Starting checkpoint of "BRAL" (BRAL.DB) at Wed Aug 27 2014 14:19
Finished checkpoint of "BRAL" (BRAL.DB) at Wed Aug 27 2014 14:19
Database "BRAL" (BRAL.DB) stopped at Wed Aug 27 2014 14:19
Starting database "HARKELIJN" (w:\TOP\DATA\HARKELIJN\HARKELIJN.DB) at Wed Aug 27 2014 14:19
Transaction log: w:\TOP\DATA\HARKELIJN\HARKELIJN.log
Starting checkpoint of "HARKELIJN" (HARKELIJN.DB) at Wed Aug 27 2014 14:19
Finished checkpoint of "HARKELIJN" (HARKELIJN.DB) at Wed Aug 27 2014 14:19
Database "HARKELIJN" (HARKELIJN.DB) started at Wed Aug 27 2014 14:19
Starting checkpoint of "HARKELIJN" (HARKELIJN.DB) at Wed Aug 27 2014 14:19
Finished checkpoint of "HARKELIJN" (HARKELIJN.DB) at Wed Aug 27 2014 14:19
Starting database "BURO56" (w:\TOP\DATA\BURO56\BURO56.DB) at Wed Aug 27 2014 14:19
Database "HARKELIJN" (HARKELIJN.DB) stopped at Wed Aug 27 2014 14:19
Transaction log: w:\TOP\DATA\BURO56\BURO56.log
Starting checkpoint of "BURO56" (BURO56.DB) at Wed Aug 27 2014 14:19
Finished checkpoint of "BURO56" (BURO56.DB) at Wed Aug 27 2014 14:19
Database "BURO56" (BURO56.DB) started at Wed Aug 27 2014 14:19
Starting checkpoint of "BURO56" (BURO56.DB) at Wed Aug 27 2014 14:19
Finished checkpoint of "BURO56" (BURO56.DB) at Wed Aug 27 2014 14:19
Database "BURO56" (BURO56.DB) stopped at Wed Aug 27 2014 14:19
Starting database "ENOZEN" (w:\TOP\DATA\ENOZEN\ENOZEN.DB) at Wed Aug 27 2014 14:19
Transaction log: w:\TOP\DATA\ENOZEN\ENOZEN.log
Starting checkpoint of "ENOZEN" (ENOZEN.DB) at Wed Aug 27 2014 14:19
Finished checkpoint of "ENOZEN" (ENOZEN.DB) at Wed Aug 27 2014 14:19
Database "ENOZEN" (ENOZEN.DB) started at Wed Aug 27 2014 14:19
Starting checkpoint of "ENOZEN" (ENOZEN.DB) at Wed Aug 27 2014 14:19
Finished checkpoint of "ENOZEN" (ENOZEN.DB) at Wed Aug 27 2014 14:19
Database "ENOZEN" (ENOZEN.DB) stopped at Wed Aug 27 2014 14:19
Starting database "ENOCONBVBA" (W:\TOP\DATA\ENOCONBVBA\ENOCONBVBA.DB) at Wed Aug 27 2014 14:19
Transaction log: W:\TOP\DATA\ENOCONBVBA\ENOCONBVBA.LOG
Starting checkpoint of "ENOCONBVBA" (ENOCONBVBA.DB) at Wed Aug 27 2014 14:19
Finished checkpoint of "ENOCONBVBA" (ENOCONBVBA.DB) at Wed Aug 27 2014 14:19
Database "ENOCONBVBA" (ENOCONBVBA.DB) started at Wed Aug 27 2014 14:19
Starting checkpoint of "ENOCONBVBA" (ENOCONBVBA.DB) at Wed Aug 27 2014 14:19
Finished checkpoint of "ENOCONBVBA" (ENOCONBVBA.DB) at Wed Aug 27 2014 14:19
Database "ENOCONBVBA" (ENOCONBVBA.DB) stopped at Wed Aug 27 2014 14:19
3) Can you run the following queries within the application that you are seeing this behavior and provide the results:
Q1:
select user_name, table_name
from systable join sysuser
where
table_name in ('TOP_IDENTITY','TOP_COUNTRY')
27-08-14 14:23:30 [ERROR] TechLogger - -> com.sybase.jdbc3.jdbc.SybSQLException: ASA Error -141: Table 'sysuser' not found
Q2:
select current user from dummy;
resultSet2.getString("current user")" = DBA