Pointbase database troubleshooting

hi
it seems like my pointbase database got ruined..can some one please suggest the steps to trobleshoot pointbase data issues....can anybody please suggest how to view the tables and data in pointbase database, can i connect to pointbase database through SQL connection...if so, can you please tell me where can i find my pointbase database connection properties such as host, port, username, pwd, database name...etc.
thanks in advance
Dk
Edited by: 840044 on Feb 26, 2011 7:17 AM

Hi Ravi,
Thank you for your suggestions, our main problem is, when ever we open a portal admin console for our application , it is always giving an error "unable to render / framework / skeltons / wlp-tools / main_menu.jsp", we do not lot of configurations in the portal admin console, but we have few other applications running on the same domain, so we have been forced to use the same domain instead of creating a new domain, but if we open, one of the other applications (which are deployed on same domain)portal admin console, it is working fine, then we changed the url to our application in the same browser for our app portal admin console, then our application's portal admin console is opening properly without giving any error...so iam not able to understand what is causing this issue, please let me know if you have any suggestions, our desktops are not working in the application, so iam thinking this error "unable to render / framework / skeltons / wlp-tools / main_menu.jsp" is the cause behind desktops not working..
Please let me know if you have any suggestions.
Thanks
Dk
Edited by: 840044 on Feb 26, 2011 7:28 PM
Edited by: 840044 on Feb 26, 2011 7:29 PM

Similar Messages

  • Connecting to Pointbase database in netbeans

    hello all,
    has anyone used Pointbase database in Netbean? I am having connecting to Pointbase due to incorrect password. any idea how i can change password?
    thanks.

    Use the default admin login and modify the password directly in the systables.

  • Servlets Not Working with PointBase Database

    Hello All,
    Background (This is more of a PointBase Question): I am developing a web application and am attempting to integrate a PointBase database with the app to capture my data.
    Issue: While attempting to start and populate my database, I receive an error which reads (Class Not Found: JBDC driver com.pointbase.jdbc.jdbcUniversalDriver could not be loaded)
    Question: Has anyone ever encountered this issue and resolved it?...or have any ideas about what could be the problem. Thanks for any assistance. RodneyM
    Detail: I have the pbclient.jar file in the tomcat\common\lib directory.
    My ant build.xml script is below....as well as my db schema.
    <!-- =================== Web.xml DATABASE TARGETS =============================== -->
    <target name="createUserData">
    <input message="Please enter username for table: "
    addproperty="table.username" />
    <copy file="db/data_template.sql" tofile="db/data.sql">
    <filterset>
    <filter token="username" value="${table.username}"/>
    </filterset>
    </copy>
    </target>
    <target name="createSchema">
    <sql
    driver="com.pointbase.jdbc.jdbcUniversalDriver"
    url="jdbc:pointbase://localhost/dvdlibrary,new"
    userid="PBPUBLIC"
    password="PBPUBLIC"
    classpath="${pointbase.home}/lib/pbclient.jar"
    onerror="continue"
    src="db/schema.sql"
    />
    </target>
    <target name="populateDatabase" depends="createSchema,createUserData">
    <sql
    driver="com.pointbase.jdbc.jdbcUniversalDriver"
    url="jdbc:pointbase://localhost/dvdlibrary"
    userid="PBPUBLIC"
    password="PBPUBLIC"
    classpath="${pointbase.home}/lib/pbclient.jar"
    onerror="continue"
    autocommit="true"
    print="true"
    src="db/data.sql"
    />
    </target>
    <!-- =================== END DATABASE TARGETS =============================== -->
    <!-- =================== SCHEMA =============================== -->
    -- This is the Database Schema for the DVD Library Application.
    -- Clear out the old table.
    DROP TABLE ObjectIDs;
    DROP TABLE Item;
    -- This table represents the "next" object_ID for a given table.
    CREATE TABLE ObjectIDs (
    -- PRIMARY KEY --
    table_name VARCHAR(30) PRIMARY KEY,
    -- DATA FIELDS --
    id INTEGER NOT NULL
    -- This table represents the DVD Items
    CREATE TABLE Item (
    -- PRIMARY KEY --
    id INTEGER PRIMARY KEY,
    -- DATA FIELDS --
    username VARCHAR(20) NOT NULL,
    title VARCHAR(100) NOT NULL,
    year CHAR(4) NOT NULL,
    genre VARCHAR(20) NOT NULL
    COMMIT;

    Yeah. Millions of Java programmers have had the problem where something isn't in their classpath, and gone on to resolve it. In fact it's a rare Java programmer who hasn't had that problem.
    Perhaps there's a conflict between this statement:"I have the pbclient.jar file in the tomcat\common\lib directory."And this configuration option:classpath="${pointbase.home}/lib/pbclient.jar"

  • Studio Creator - Pointbase database - ApplicationModel - AppModel4 - DDL ?

    Hello,
    Does anyone know how i can get the DDL text from the Pointbase database for the AppModel4 tutorial.
    Basically, i want to use that DDL to create some tables in Oracle.
    In Creator, i see where you can write SQL to query specific tables, but the DESC command doesn't show the DDL apparently!
    Thanks very much!

    Hi -,
    PointBase Travel schema populating java class is available at:
    $Creator/startup/samples/PBCreateTravelDB.java
    I do have such a java class for populating Travel Schema in Oracle. If you can email your request to CreatorFeedback AT sun DOT com, i can send email that file back to you.
    Regards,
    Sakthi

  • Problems pinging pointbase Database

    Hello this is my problem
    Im working with the default version of PointBase database that comes with the SJAS boundle. Im trying to access the sample database throgh the jndi service and these are the steps that i did:
    1.- i created a new connection pool with the following data
    Name: myDataSource
    Datasource Classname: com.pointbase.jdbc.jdbcPooledDataSource
    Resource Type: javax.sql.ConnectionPoolDataSource
    and these properties:
    PortNumber:9092
    Password: PBPUBLIC
    ServerName: localhost
    DatabaseName: sample
    User: PBPUBLIC
    At this moment i did a ping to the DB an this is the error tha i get
    "Operation 'pingConnectionPool' failed in 'resources' Config Mbean"
    I did what some messages posted say like to ensure about include the jar's in the classpath prefix (JVM Settings-->Path Settings) in this case i include the exact directory:
    C:\Sun\AppServer\pointbase\lib\pbclient.jar
    C:\Sun\AppServer\pointbase\lib\pbembedded.jar
    restarted the server and the same.
    I copy those jar's to the server lib and to the instance (default) lib and the same. Finally i change the server's log level to FINEST at the <module-log-leves .... connector="FINEST" resource-adapter="FINEST" ....>
    and i get this message
    [#|2006-01-27T20:53:18.453-0600|FINE|sun-appserver-pe8.1_02|javax.enterprise.res
    ource.resourceadapter|_ThreadID=12;|using subject: Asunto:
    Principal: PBPUBLIC
    Credencial privada: javax.resource.spi.security.PasswordCredential@bc8cd
    ab6
    |#]
    [#|2006-01-27T20:53:18.453-0600|WARNING|sun-appserver-pe8.1_02|javax.enterprise.
    resource.resourceadapter|_ThreadID=12;|The log message is null.|#]
    what am i doing wrong?, please help me!
    thank you in advance

    The current jdbc pool properties and values used are incorrect.
    Please create jdbc connection pool for pointbase using these properties and values. Make sure you start pointbase database too in <appserver>/pointbase/tools/serveroption/startserver.sh
    datasource classname=com.pointbase.jdbc.jdbcDataSource
    restype=javax.sql.DataSource
    DatabaseName=jdbc:pointbase:server://localhost:9092
    Password=pbPublic
    User=pbPublic

  • Pointbase Database with OC4J, JDeveloper

    Has any one connected Pointbase Database with OC4J with the help of JDeveloper
    If yes Please post the code data-source.xml, ejb-jar.xml orion-jar.xml
    Thanking you in advance.
    Regards
    Prem Kumar

    System.out.println(o.getClass());
    returns
    class com.evermind.naming.SubContext
    I do not know what it means

  • PointBase Database

    Does PointBase database is supported as idm resource?

    Try using a database table resource adapter. It supports
    any relational database which has a JDBC driver.
    WilfredS

  • Pointbase : How can I create a stored procedure with Pointbase database?

    Hello,
    Excuse me for my english, I'm not anglophone. I try to create a stored procedure.
    This is my file SampleExternalMethods.java :
      import java.sql.*;    //import com.pointbase.jdbc.jdbcInOutDoubleWrapper;          public class SampleExternalMethods    {      // A connection object to allow database callback      static Connection conn = null;      static Statement l_stmt;      static Statement m_stmt;      static CallableStatement m_callStmt = null;      static ResultSet l_rs = null;          public static void main(String[] args)      {        try        {          String url = "jdbc:pointbase:server://localhost/pointbaseDB";          String username = "PBPUBLIC";          String password = "PBPUBLIC";          conn = DriverManager.getConnection(url, username, password);          doCreateProcedure();          doInvokeProcedure();        } catch (SQLException e) {          e.printStackTrace();        } finally {          if (m_stmt != null) {            try {              m_stmt.close();            } catch (Exception e) {              e.printStackTrace();            }          }          if (m_callStmt != null) {            try {              m_callStmt.close();            } catch (Exception e) {              e.printStackTrace();            }          }          if (conn != null) {            try {              conn.close();            } catch (Exception e) {              e.printStackTrace();            }          }        }      }                  public static void getCountry(String Iso_Code)      {        try        {          // Query the database for the country iso code          l_stmt = conn.createStatement();          l_rs = l_stmt.executeQuery( "SELECT * FROM countries"          + " WHERE country_iso_code ='" + Iso_Code + "'");          //Affichage du résultat de la requête          l_rs.next();          System.out.print(l_rs.getString(1) + " - ");          System.out.print(l_rs.getString(2) + " - ");          System.out.println(l_rs.getString(3));          // Close the result set          l_rs.close();        } catch (SQLException e) {          e.printStackTrace();        } finally {          if (l_rs != null) {            try {              l_rs.close();            } catch (Exception e) {              e.printStackTrace();            }          }          if (l_stmt != null) {            try {              l_stmt.close();            } catch (Exception e) {              e.printStackTrace();            }          }        }      }            public static void doCreateProcedure() throws SQLException {        // SQL statement to create a stored procedure        String SQL_CREATE_PROC = "CREATE PROCEDURE getCountry(IN P1 VARCHAR(30))"        + " LANGUAGE JAVA"        + " SPECIFIC getCountry"        + " NO SQL"        + " EXTERNAL NAME \"SampleExternalMethods::getCountry\""        + " PARAMETER STYLE SQL";        // Create a SQL statement        m_stmt = conn.createStatement();        // Execute the SQL        m_stmt.executeUpdate(SQL_CREATE_PROC);        // Close the statement        //m_stmt.close();      }          public static void doInvokeProcedure() throws SQLException {        // Create SQL to invoke stored procedures        String SQL_USE_PROC = "{ call getCountry(?) }";        // Create a callable statement with three binding parameters        m_callStmt = conn.prepareCall(SQL_USE_PROC);        m_callStmt.setString(1, "CA");        m_callStmt.executeQuery();        // Close the callable statement        //m_callStmt.close();      }    } 
    Afterwards, I have read this note in a Pointbase document:
    To invoke the dateConvert external Java method from a stored function, you must use the
    CREATE FUNCTION statement. The dateConvert external Java method is called from the
    class, SampleExternalMethods.
    In order for the database to access this external Java method, the class SampleExternalMethods
    must be included in the database CLASSPATH. For PointBase Embedded - Server Option, it
    must be in the Server CLASSPATH, but not in the Client CLASSPATH.
    If PointBase Server is run with the Java Security Manager, in the java policy file grant
    ’com.pointbase.sp.spPermission’ to the class that implements the external Java method.
    An "spPermission" consists of a class name with no action. The class name is a name of a class
    that could be used in creating a Stored Procedure in PointBase. The naming convention follows
    the hierarchical property naming convention and that is supported by
    "java.security.BasicPermission". An asterisk may appear by itself, or if immediately preceded
    by ".", may appear at the end of the name, to signify a wildcard match. The name cannot
    contain any white spaces.
    I'm not sure, but I suppose that I must include the class SampleExternalMethods in a .jar file.
    The database CLASSPATH could be : C:\Sun\AppServer\pointbase\lib\
    These my files in this database CLASSPATH:
    pbclient.jar
    pbembedded.jar
    pbtools.jar
    pbupgrade.jar
    I have tryed to include the class SampleExternalMethods in pbclient.jar and pbembedded.jar with this command:
    jar -uf pbembedded.jar SampleExternalMethods
    Afterwards I do that,
    1) Start Pointbase
    2) Configuration of classpath
    set classpath=C:\Sun\AppServer\pointbase\lib\pbclient.jar
    set classpath=%classpath%;D:\J2EE\Ch07Code\Ch07_06
    I precise that my file SampleExternalMethods is into D:\J2EE\Ch07Code\Ch07_06\Ch07.
    Then, I run the program:
    D:\J2EE\Ch07Code\Ch07_06>java -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver Ch07.SampleExternalMethods
    But I have an error message:
    Exception in thread "main" java.lang.NoClassDefFoundError: Ch07.SampleExternalMethods (wrong name: SampleExternalMethods)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.DefineClass(ClassLoader.java:539)
    The problem, I suppose, comes from that the class SampleExternalMethods
    must be included in the database CLASSPATH, but there is a pbserver.jar with pointbase normally, but I didn't find it. That's why I use pbembedded.jar or pbclient.jar in order to include the class SampleExternalMethods. May be I must start from C:\Sun\AppServer\pointbase\lib\ instead of D:\J2EE\Ch07Code\Ch07_06\Ch07?
    Please, can somebody helps me?
    Thank you in advance.
    cagou!

    jschell wrote:
    And I doubt you can recurse like that for embedded java. You must have a class that does the functionality and another class that creates the proc.
    >And I doubt you can recurse like that for embedded java. You must have a class that does the functionality and another class that creates the proc.
    >
    And I doubt you can recurse like that for embedded java. You must have a class that does the functionality and another class that creates the proc.
    Thank you for your response, I have done two classes:
    SampleExternalMethods.java:
    package Ch07;
    import java.sql.*;*
    *public class SampleExternalMethods*
    *public static void getCountry(String Iso_Code)*
    *// A connection object to allow database callback*
    *Connection l_conn = null;*
    *Statement l_stmt = null;*
    *ResultSet l_rs = null;*
    *try*
    *String url = "jdbc:pointbase:server://localhost/pointbaseDB";*
    *String username = "PBPUBLIC";*
    *String password = "PBPUBLIC";*
    *l_conn = DriverManager.getConnection(url, username, password);*
    *// Query the database for the country iso code*
    *l_stmt = l_conn.createStatement();*
    *l_rs = l_stmt.executeQuery( "SELECT* FROM PBPUBLIC.COUNTRIES"
    +" WHERE country_iso_code ='"+ Iso_Code +"'");+
    +//Affichage du r&eacute;sultat de la requ&ecirc;te+
    +l_rs.next();+
    +System.out.print(l_rs.getString(1)+ " - ");
    System.out.print(l_rs.getString(2) +" - ");+
    +System.out.println(l_rs.getString(3));+
    +// Close the result set+
    +l_rs.close();+
    +} catch (SQLException e) {+
    +e.printStackTrace();+
    +} finally {+
    +if (l_rs != null) {+
    +try {+
    +l_rs.close();+
    +} catch (Exception e) {+
    +e.printStackTrace();+
    +}+
    +}+
    +if (l_stmt != null) {+
    +try {+
    +l_stmt.close();+
    +} catch (Exception e) {+
    +e.printStackTrace();+
    +}+
    +}+
    +if (l_conn != null) {+
    +try {+
    +l_conn.close();+
    +} catch (Exception e) {+
    +e.printStackTrace();+
    +}+
    +}+
    +}+
    +}+
    +}+
    CreateMethods.java:
    +package Ch07;+
    +import java.sql.*;+
    +public class CreateMethods+
    +{+
    +// A connection object to allow database callback+
    +static Connection m_conn = null;+
    +static Statement m_stmt;+
    +static CallableStatement m_callStmt = null;+
    +public static void main(String[] args)+
    +{+
    +try+
    +{+
    +String url = "jdbc:pointbase:server://localhost/pointbaseDB";+
    +String username = "PBPUBLIC";+
    +String password = "PBPUBLIC";+
    +m_conn = DriverManager.getConnection(url, username, password);+
    +doCreateProcedure();+
    +doInvokeProcedure();+
    +} catch (SQLException e) {+
    +e.printStackTrace();+
    +} finally {+
    +if (m_stmt != null) {+
    +try {+
    +m_stmt.close();+
    +} catch (Exception e) {+
    +e.printStackTrace();+
    +}+
    +}+
    +if (m_callStmt != null) {+
    +try {+
    +m_callStmt.close();+
    +} catch (Exception e) {+
    +e.printStackTrace();+
    +}+
    +}+
    +if (m_conn != null) {+
    +try {+
    +m_conn.close();+
    +} catch (Exception e) {+
    +e.printStackTrace();+
    +}+
    +}+
    +}+
    +}+
    +public static void doCreateProcedure() throws SQLException {+
    +// SQL statement to create a stored procedure+
    +String SQL_CREATE_PROC = "CREATE PROCEDURE PBPUBLIC.getCountry(IN P1 VARCHAR(30))"+
    " LANGUAGE JAVA"
    +" SPECIFIC getCountry"+
    " NO SQL"
    +" EXTERNAL NAME \"SampleExternalMethods::getCountry\""+
    " PARAMETER STYLE SQL";
    // Create a SQL statement
    m_stmt = m_conn.createStatement();
    // Execute the SQL
    m_stmt.executeUpdate(SQL_CREATE_PROC);
    // Close the statement
    //m_stmt.close();
    public static void doInvokeProcedure() throws SQLException {
    // Create SQL to invoke stored procedures
    String SQL_USE_PROC = "{ call getCountry(?) }";
    // Create a callable statement with three binding parameters
    m_callStmt = m_conn.prepareCall(SQL_USE_PROC);
    m_callStmt.setString(2, "CA");
    m_callStmt.executeQuery();
    // Close the callable statement
    //m_callStmt.close();
    }But I have the same error message that previously.
    I have read this note and I suppose that the problem is linked:
    If PointBase Server is run with the Java Security Manager, in the java policy file grant
    *’com.pointbase.sp.spPermission’ to the class that implements the external Java method.*
    An "spPermission" consists of a class name with no action. The class name is a name of a class
    that could be used in creating a Stored Procedure in PointBase. The naming convention follows
    the hierarchical property naming convention and that is supported by
    *"java.security.BasicPermission". An asterisk may appear by itself, or if immediately preceded*
    by ".", may appear at the end of the name, to signify a wildcard match. The name cannot
    contain any white spaces.
    Can you explain me what I must to do in order to solve this problem of spPermission.
    Thanks.

  • How to start Pointbase database server

    I browse the tools provided by J2EE but didn't found such element? How to do that?
    Thanks

    PointBase database has been replaced with Derby database in 8.2 release of the Application Server (and in corresponding J2EE SDK bundle). So, while the functionality is essentially the same, you might need to note this if the documentation you are trying to follow references PointBase.

  • I am creating a connection to the pointbase database and I am getting error

    Loading JDBC Driver -> com.pointbase.jdbc.jdbcUniversalDriver
    java.lang.ClassNotFoundException: com.pointbase.jdbc.jdbcUniversalDriver
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.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 testing.DDLExample.<init>(DDLExample.java:65)
         at testing.DDLExample.main(DDLExample.java:301) Creating Statement...
    java.lang.NullPointerException
         at testing.DDLExample.performDDL(DDLExample.java:98)
         at testing.DDLExample.main(DDLExample.java:302)
    Exception in thread "main"
    BELOW IS MY CLASS:
    public class DDLExample {
    final static String driverClass = "com.pointbase.jdbc.jdbcUniversalDriver";
    final static String connectionURL = "jdbc:pointbase:embedded:sample";
    final static String userID = "pbpublic";
    final static String userPassword = "pbpublic";
    Connection con = null;
    * Construct a DDLExample object. This constructor will create an Oracle
    * database connection.
    public DDLExample() {
    try {
    System.out.print(" Loading JDBC Driver -> " + driverClass + "\n");
    Class.forName(driverClass).newInstance();
    System.out.print(" Connecting to -> " + connectionURL + "\n");
    this.con = DriverManager.getConnection(connectionURL, userID, userPassword);
    System.out.print(" Connected as -> " + userID + "\n");

    i found it on the sun server and i set the classpath to that jar file but i still get the error... how would you set this in eclipse...
    you know where we set CLASSPATH VARIABLES in eclipse like setting ECLIPSE_HOME to c:/Eclipse/eclipse...
    what would the variable name be for C:\Sun\AppServer\pointbase\lib\pbclient.jar

  • Pointbase database...what does it contain

              Hi,
              When setting up weblogic platform 8.1 using the configuration wizard, the point
              base database is created? For a production release this database will have to
              be replaced by some other RDBMS. What data does pointbase contain? How do we migrate
              the data from pointbase to RDBMS? Or can we remove it all together?
              Can some one point me to the relevant documentation?
              Thanks in Advance
              Amit
              

    I found the answer to this one too when i was working on it. so let me share my experience with anyone who lands here in search of his/her problem.
    This uppgrep2 output file contains old and new URL specifications after upgrade for dynamic URLs. And the URLs include user source code as well as the components built with portal UI (such as forms and reports).
    however, there were two errors in the new URLs specified in this file.
    1. all those new URLs were incorrect which involved /PERSONALFOLDER in them. This folder reference was additional and making the URLs inaccessible. so you might want to remove it after checking it.
    2. those URLs which had /TOPLEVELPAGES/ in them were also incorrect as this string was appearing twice in the URLs (like /TOPLEVELPAGES/TOPLEVELPAGES ). this again required that one of these folders should be removed from all such URLs to fix them.
    I dont know why it happened, but it did. and i moved on at that point by applying the fix i hinted above.
    does anyone have any clue/ or a similar experience in the new URLs of uppgrep.out?

  • Unable to insert into table of PointBase database

    Hi,
    I have written one sample application which uses PointBase of JSC. It was working fine but now while trying to insert a record into table I am getting this exception
    javax.faces.el.EvaluationException: javax.faces.FacesException: java.sql.SQLException: Method is not supported with this ResultSet type.
    This is line where I am getting exception
    appserverRowSet.moveToInsertRow();
    This is portion of code which is there in constructor
    appserverRowSet.setDataSourceName("java:comp/env/jdbc/datasource2");
    appserverRowSet.setCommand("SELECT * FROM PBPUBLIC.APPSERVER ORDER BY PBPUBLIC.APPSERVER.INSTANCE_NAME");
    appserverModel.setWrappedData(appserverRowSet);
    appserverRowSet.setAutoCommit(true);
    appserverRowSet.setHoldability(appserverRowSet.HOLD_CURSORS_OVER_COMMIT);
    appserverRowSet.setConcurrency(appserverRowSet.CONCUR_UPDATABLE);
    appserverRowSet.execute();
    appserverRowSet.next();
    beforeRenderResponse();
    This code was working fine. A quick help is appreciated.
    thanks
    Shailesh

    plz find my code i am facing the same problem...
    code with in constructor:
    try {
    personRowSet.setDataSourceName("java:comp/env/jdbc/Travel");
    personRowSet.setCommand("SELECT * FROM ROOT.PERSON");
    personModel.setWrappedData(personRowSet);
    catch ( Exception e) {
    log("Page1 Initialization Failure", e);
    throw new FacesException(e);
    code with in the button event;
    String pid = (String)textField1.getValue();
    String pnam = (String)textField2.getValue();
    String pjob = (String)textField3.getValue();
    String pfre = (String)textField4.getValue();
    try {
    personRowSet.moveToInsertRow();
    personRowSet.updateInt(1, 20);
    personRowSet.updateString("NAME", pnam);
    personRowSet.updateString("JOBTITLE", pjob);
    personRowSet.updateBoolean(4, true);
    personRowSet.insertRow();
    return null;
    the ERROR is :
    javax.faces.el.EvaluationException: javax.faces.FacesException: java.sql.SQLException: Method is not supported with this ResultSet type
    It is showing the error at:
    public JdbcRowSetXImpl getPersonRowSet() {
    return personRowSet;
    }

  • Pointbase database using java procedure in trigger

    Hi,
    I use Sun Creator to create my Single.war archive.
    �\src\db contains package db;
    In it is public class braincreate;
    Inside of braincreate is public void triggerInsert1 (aa,bb);
    �\src\single contains package single;
    In it is public class Page1;
    Inside of Page1 is code to create and execute Pointbase Trigger. The Trigger calls stored procedure triggerInsertxx, which in turn executes CALL which has \"db.braincreate::triggerInsert1\" declaration.
    All other issues, including connection, settings and so on are resolved. When ran in debug mode the following error is raised:
    "The external \"db.braincreate::triggerInsert1\" routine had the following runtime exception \"java.lang.ClassNotFoundException: db.braincreate\""
    I also tried to put the method to class Page1, but it still did not work. I tried to change CLASSPATH to point to compiled Single.war, but it still did not work.
    Question:
    How to set the code so triggerInsert1 is found and executed? Maybe I need to put .war file or package in some specific place?
    I tried to rename Single.war to Single.jar and put it in ...\Creator2ea\...java\lib\ext (does anybody know if it makes sense?), but it did not work.

    Please find further discussion in:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=63068
    I added 10 Duke dollars to each issue.

  • Pointbase database not found

    I installed j2ee sdk 1.4 in my system. But the pointbase did not come with it.
    Can anyone help me out in this.
    Thanks in advance

    I wouldn't bother with it. Use some other "free" db that doesn't have the size restriction (JavaDB, Derby, MySQL, PostGreSQL, MS SQL Express, Oracle Lite (is that the right name?, I can't remember.), SQLLite, etc.). You can still follow the tutorial, you simply need to change the connection Strings. As I said, you'd only get a demo/training version anyway, and that would only allows you 5MB storage space.

  • Unable to insert data in to database

    public String button1_action() {
    // Add your event code here...
    String pid = (String)textField1.getValue();
    String pnam = (String)textField2.getValue();
    String pjob = (String)textField3.getValue();
    String pfre = (String)textField4.getValue();
    try {
    //personRowSet.setCommand("insert into ROOT.PERSON values ('"+pid+"','"+pnam+"','"+pjob+"','"+pfre+"' )");
    //personRowSet.execute();
    personRowSet.moveToInsertRow();
    personRowSet.updateInt(1,56);
    personRowSet.updateString("NAME", pnam);
    personRowSet.updateString("JOBTITLE",pjob);
    personRowSet.updateBoolean(4, true);
    personRowSet.insertRow();
    personRowSet.updateRow();
    personRowSet.execute();
    catch ( Exception e) {
    log("Page1 Insertion Failure", e);
    throw new FacesException(e);
    return null;
    It is giving the following error:
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: javax.faces.FacesException
    #{Page1.button1_action}: javax.faces.el.EvaluationException: javax.faces.FacesException: java.sql.SQLException: execute() never called
    Possible Source of Error:
    Class Name: com.sun.faces.application.ActionListenerImpl
    File Name: ActionListenerImpl.java
    Method Name: processAction
    Line Number: 78
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.

    I don't see a problem in your code snippet. Perhaps it's a database driver problem. Are you using the bundled PointBase database, or your own external database? Does it work with PointBase? If you're using an external database, are you using a JDBC 3.0 compliant driver? See thread "JT400 as400 db driver - problem" at http://swforum.sun.com/jive/thread.jspa?threadID=46347&tstart=0, which might be a similar problem.

Maybe you are looking for