3 Replies Latest reply: Dec 31, 2012 2:12 AM by 961282 RSS

    Endeca JDBC adapter issue

    945215
      Hi,

      When I ran my baseline with one jdbc record adapter there was no issue.
      When I added one more JDBC record adapter it fails.

      I have mentioned the pass through properly itself

      COLUMN_HANDLER_CLASS     com.endeca.soleng.itl.jdbc.AdvancedJDBCColumnHandler

      SEVERE: Failed to load JdbcColumnHandler: com.endeca.soleng.itl.jdbc.AdvancedJDBCColumnHandler.
      com.endeca.edf.adapter.plugins.JdbcAdapterException: Failed to load JdbcColumnHandler: com.endeca.soleng.itl.jdbc.AdvancedJDBCColumnHandler.
           at com.endeca.edf.adapter.plugins.JdbcAdapter.loadColumnHandler(JdbcAdapter.java:267)
           at com.endeca.edf.adapter.plugins.JdbcAdapter.execute(JdbcAdapter.java:84)
           at com.endeca.edf.adapter.AdapterRunner.run(AdapterRunner.java:168)
           at com.endeca.edf.adapter.AdapterRunner.main(AdapterRunner.java:43)
      Caused by: java.lang.ClassNotFoundException: com.endeca.soleng.itl.jdbc.AdvancedJDBCColumnHandler
           at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
           at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
           at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Class.java:169)
           at com.endeca.edf.adapter.plugins.JdbcAdapter.loadColumnHandler(JdbcAdapter.java:263)
           ... 3 more
      Please suggest possible approach/solution
      Edited by: 942212 on Nov 23, 2012 8:03 PM

      Edited by: 942212 on Nov 23, 2012 10:56 PM
        • 1. Re: Endeca JDBC adapter issue
          Pravin Chikhale
          Just to confirm, can you check if you have provided the class path in other adapters also. Cuz you are getting ClassNotFound exception which can only happen if you dont provide the class path to AdvJDBCColumnHandler.jar.

          HTH

          --Pravin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
          • 2. Re: Endeca JDBC adapter issue
            945215
            Hi Pravin,

            Thanks for the reply.I ahve mentioned the class path in the other adapter also.



            Regards,
            Rahul
            • 3. Re: Endeca JDBC adapter issue
              961282
              Add ojdbc6.jar in C:\Endeca\apps\Discover\config\lib\java

              And in environment.properties add "${PATH_SEP_VARNAME}./config/lib/java/ojdbc6.jar" in value of "FORGE_CLASSPATH".

              Thanks
              Mohit