• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDBC API Test suite 1.3.1

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Bartender
Posts: 2661
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic