• XPagesJDBC.nsf with no xpages.DBUtil

    By Nicolas Sacuta 1 decade ago

    Hello,

    Rlease: "XPagesExtensionLibrary-853.zip",  Date: 2011-08-30

    I received the following error whe i open XPagesJDBC.nsf via web browser:

    The runtime has encountered an unexpected error.

     

    Error source

    Page Name:/JDBC_Home.xsp
    Control Id: _id8




    Exception

    Error while executing JavaScript computed expression
    javax.faces.FacesException: Can't instantiate class: 'xpages.DBUtil'.. java.lang.ClassNotFoundException: class java.lang.ClassNotFoundException: xpages.DBUtil
    Can't instantiate class: 'xpages.DBUtil'.. java.lang.ClassNotFoundException: class java.lang.ClassNotFoundException: xpages.DBUtil
    java.lang.ClassNotFoundException: class java.lang.ClassNotFoundException: xpages.DBUtil

    ...

    I was expectint to see JDBC demo, but i can't.

    Can you please add xpages.DBUtil to the release or add additional note to the documentation?

    PS. XPagesExt.nsf works correctly

    Thanks

     

     

    • Need more information

      By Andrejus Chaliapinas 1 decade ago

      Hi,
      Could you provide more information about your situation? Are you running on Notes/Domino 8.5.3 CD5?

      Could you post whole stack trace as file attachment to your response? Are you trying to open JDBC_Home.xsp page or any other?

      That xpages.DBUtil class should be inside your demo XPagesJDBC database, because it's part of demo.

    • Similar error..

      By Johan k Carlsson 1 decade ago

      ..when building the application the class xpages.DBUtil can’t find the following two classes:

      import com.ibm.xsp.extlib.jdbc.dbhelper.DatabaseHelper;

      import com.ibm.xsp.extlib.util.JdbcUtil;

      And so the application can’t be built. I have looked through my client and server file system and can’t find the files in any lib or directory? Is it so that the application was ‘built’ before deployment with the files and now they are not present?

      How can I get a hold of these files?