Service Virtualization

 View Only
  • 1.  DevTest10.4 - Sybase DB Connectivity Issues

    Posted Jan 16, 2020 02:57 PM

    Hi Team,

    I am trying to connect to SYBASE DB., but I am getting the below exception. I have added required jar( jconn4.jar) still having issues. Anything I am missing in the configuration ?

    ============================================================================| Unable to execute JDBCNode.============================================================================| Step:        JDBC----------------------------------------------------------------------------| Message:     com.sybase.jdbc.SybDriver----------------------------------------------------------------------------| Trapped Exception: com.sybase.jdbc.SybDriver| Trapped Message:   java.lang.ClassNotFoundException: com.sybase.jdbc.SybDriver----------------------------------------------------------------------------STACK TRACEjava.lang.ClassNotFoundException: com.sybase.jdbc.SybDriver at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at com.itko.lisa.jdbc.JDBCNode.getConnection(JDBCNode.java:613) at com.itko.lisa.jdbc.JDBCNode.executeSQL(JDBCNode.java:370) at com.itko.lisa.jdbc.JDBCNode.execute(JDBCNode.java:341) at com.itko.lisa.test.TestNode.executeNode(TestNode.java:995) at com.itko.lisa.test.TestCase.execute(TestCase.java:1297) at com.itko.lisa.test.TestCase.execute(TestCase.java:1198) at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183) at com.itko.lisa.editor.WalkThruPanel.prepAndExecNode(WalkThruPanel.java:1115) at com.itko.lisa.editor.WalkThruPanel.access$900(WalkThruPanel.java:73) at com.itko.lisa.editor.WalkThruPanel$10.doCallback(WalkThruPanel.java:1017) at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:195) at java.lang.Thread.run(Thread.java:745)============================================================================



    Thanks,

    Sanjay



  • 2.  RE: DevTest10.4 - Sybase DB Connectivity Issues
    Best Answer

    Posted Jan 17, 2020 02:58 AM

    Hi,

     

    Where did you put that jar file?

     

    Have you tried adding it to <installDir>/lib/shared, and then restarting the relevant components (VSE if used in virtual service, simulator if used in tests, workstation)

     

    Cheers,

    Danny

     

    ::DISCLAIMER::

    The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.






  • 3.  RE: DevTest10.4 - Sybase DB Connectivity Issues

    Posted Jan 17, 2020 10:20 AM
    Thanks , by adding appropriate jar file. The issue was resolved.