aspose file tools
The moose likes JDBC and Relational Databases and the fly likes JDBC API Test suite 1.3.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "JDBC API Test suite 1.3.1" Watch "JDBC API Test suite 1.3.1" New topic

JDBC API Test suite 1.3.1

kannan prabhu

Joined: Mar 26, 2010
Posts: 1
Hi friends...

We are in the process of testing oracle driver using jdbc cts-1.3.1.

The software installed are

OS : Windows XP
Tools: Cygwin
Server: Tomcat
Database: Oracle 10G

We followed the steps that are listed in the link

Since this release includes JDBC driver for the Cloudscape DBMS, we have replaced with oracle driver whereever it relates cloudscape.. But we faced the following problems while running the test

1. We are not able to execute the initdb.bat in cygwin
it throws the following error

$ bash -li initdb.bat
Your group is currently "mkgroup". This indicates that neither
your gid nor your pgsid (primary group associated with your SID)
is in /etc/group.

The /etc/group (and possibly /etc/passwd) files should be rebuilt.
See the man pages for mkpasswd and mkgroup then, for example, run

mkpasswd -l [-d] > /etc/passwd
mkgroup -l [-d] > /etc/group

Note that the -d switch is necessary for domain users.
\jdbccts/bin/initdb.bat: line 1: @echo: command not found
\jdbccts/bin/initdb.bat: line 2: REM: command not found
\jdbccts/bin/initdb.bat: line 3: REM: command not found
\jdbccts/bin/initdb.bat: line 4: REM: command not found
\jdbccts/bin/initdb.bat: line 5: REM: command not found
\jdbccts/bin/initdb.bat: line 7: REM: command not found
\jdbccts/bin/initdb.bat: initdb.bat: line 8: syntax error near unexpected token `
\jdbccts/bin/initdb.bat: initdb.bat: line 8: `REM @(#)initdb.bat 1.3 02/01

2. While running "ctsmake jdbctest " in cygwin it throws an error "bash: \jdbc/bin/ctsmake: bin/ksh: bad interpreter: Permission denied"

Please help us to resolve this issue.


Jan Cumps

Joined: Dec 20, 2006
Posts: 2531

Welcome to JavaRanch, Kannan.

My first impression is that this has nothing to do with using Oracle or Cloudscape, but with the account you are using in Cygwin to run the script.
It is also a bit strange that you are running a dos batch file using the Cygwin bash shell. Is it possible that you are mixing Windows and Unix instructions from the manual.

OCUP UML fundamental and ITIL foundation
youtube channel
It is sorta covered in the JavaRanch Style Guide.
subject: JDBC API Test suite 1.3.1