This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC API Test suite 1.3.1" Watch "JDBC API Test suite 1.3.1" New topic
Author

JDBC API Test suite 1.3.1

kannan prabhu
Greenhorn

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 http://java.sun.com/products/jdbc/jdbctestsuite-1_3_1.html..

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
/12'


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.

Thanks


S.Kannan.
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

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
 
 
subject: JDBC API Test suite 1.3.1
 
Similar Threads
connecting weblogic 6.1 and oracle thru thin driver
installservice script for windows
cannot start the j2ee server?
Problem to read output from running WGET command
ant is not working