SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Feb 2003
    Location
    Vancouver, Canada
    Posts
    54
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Connecting to an Oracle database

    Has anyone tried connecting to an Oracle database? If I run from within RobotJ I am able to connect, but when I try to run the same script using Test Manager, I get the following error:

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">TestScripts.ConnectionTest.testMain had an unhandled exception.
    java.lang.NullPointerException
    at com.rational.test.ft.services.TestScriptServices.d ownload(Unknown Source)
    at com.rational.test.ft.util.FtClassLoader$DirOrJar.g etFileBytes(Unknown Source)
    at com.rational.test.ft.util.FtClassLoader$DirOrJar.r eadClass(Unknown Source)
    at com.rational.test.ft.util.FtClassLoader$DirOrJar.a ccess$300(Unknown Source)
    at com.rational.test.ft.util.FtClassLoader.findTheCla ss(Unknown Source)
    at com.rational.test.ft.util.FtClassLoader.loadClass( Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at TestScripts.ConnectionTest.testMain(ConnectionTest .java:52) </pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">I have had success running scripts that connect to SQL Server, from both within RobotJ and from Test Manager but am stumped as to why it doesn't work for Oracle.

    I would appreciate if any one has any ideas or suggestions.
    Victor Ewert
    Ewert Technologies
    http://www.ewert-technologies.ca

  2. #2
    Member
    Join Date
    Feb 2003
    Location
    Vancouver, Canada
    Posts
    54
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Connecting to an Oracle database

    I found a work around. The oracle driver is contained in a file called classes12.zip. It seems Test Manager has problems opening the .zip file. I changed it to classes12.jar and it worked! May be a bug with rational.
    Victor Ewert
    Ewert Technologies
    http://www.ewert-technologies.ca

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 03:05 PM.

Copyright BetaSoft Inc.