Cloudscape 10 and Cloudview DBs

I figured id use cloudscape in this standalone j2se program, since it requires a simplistic db that is completely local and allows 1 user at a time.
i ran the sample.java to create a simle db fine..but for the life of me..have no idea how to verify the data using a some sort of gui, namely cloudview.
can anyone -please- show me step by step on how to launch cloudview and look at the simple db i created? i know where all the jar files are..but im not sure if i set the CLASSPATH correctly
googling did not bring up anything i can use :(
i also used ISQLViewer..but it doesnt seem to work

about ISQLViewer
download iSQL-Viewer-2.1.8.jar
copy it to your java runtime\lib\ext directory
run java org.isqlviewer.core.Launcher
from tools -----> service manager
create a service follow the instructions
jdbc driver org.apache.derby.jdbc.EmbeddedDriver
url jdbc:derby:<name of database>
username = sa
password
test save an close de dialog
go to window
and type query (using schema)
the window prompt for connection choose de one you created before,
remember the schema (could be the password) sa
example select * from sa.table
good luck

Similar Messages

  • CloudScape and CloudView

    Just picked up "Beginning Java Databases" and the examples in the book use CloudScape and CloudView. I downloaded (as suggested) CloudScape from www.cloudscape.com which redirected me to www.ibm.com/us/. After navigating thru the site I was able to download CloudScape 10.1. However, the CloudView application does not seem to have come with this version of CloudScape.
    Has CloudView been scrapped or do you have to pay a fee for it? I can't seem to find anywhere to download CloudView.
    Thanks in advance for any suggestions.

    about ISQLViewer
    download iSQL-Viewer-2.1.8.jar
    copy it to your java runtime\lib\ext directory
    run java org.isqlviewer.core.Launcher
    from tools -----> service manager
    create a service follow the instructions
    jdbc driver org.apache.derby.jdbc.EmbeddedDriver
    url jdbc:derby:<name of database>
    username = sa
    password
    test save an close de dialog
    go to window
    and type query (using schema)
    the window prompt for connection choose de one you created before,
    remember the schema (could be the password) sa
    example select * from sa.table
    good luck

  • PSU level of RMAN Catalog DB version and Target DBs

    Catalog DB Version: 11.2.0.2.3
    Target DBs : 11.2.0.2.3
    Currently our Catalog DB and Target DBs ( 15 of them) are of the same PSU level.
    We are going to apply PSU 5 (11.2.0.2.3) on some of the target DBs . Should we apply PSU 5 (11.2.0.2.3) on the Catalog DB first before we apply this PSU on the target DBs?

    Hi TeslaMan,
    Probably you mean the rdbms version of the catalog is version 11.2.0.2.3.
    If you upgrade target databases with a cpu you might need to upgrade the catalog schema to an equal or higher level.
    Please check the current catalog schema version with the following sql.
    select * from RCVER;Maybe you can create a dummy catalog schema with the patched up rdbms rman cli (maybe you tested the cpu already?) and check the new version with the same sql.
    Regards,
    Tycho

  • Is Dataguard and standby dbs is HA

    Hi
    is Dataguard and standby dbs is HA or RAC is the only oracle HA?
    is Dataguard is only DR?
    Thanks

    RAC and DATAGAURD are two different approches for high availability and desaster recovery.
    We are planning to implememt RAC and DATAGAURD but there are budget issues also.
    With RAC As i understand we have multiple instances governing a single database. So multiple node/machines governing a single database server.
    With DATAGAURD,we have a DR solution at another location.If the primary server fails,standby database takes up the role of primary.
    With RAC alone,if any node fails, there is another node to do instance recovery or the server still continues. But what if database server crashes. WIth RAC alone and no dataguard, won't it allow downtime?

  • DB Autogrowth settings - Service Applications and content DBs

    Hi - is there any documentation out there that provides specifics for the initial size and autogrowth settings for the SP2013 service application databases?
    I'm aware that the content DBs will vary and thus impossible to define settings except to note that autogrowth needs to be set in MB not %. But for service app DBs surely there must be some guidelines on initial sizing?
    Thanks
    J

    Nope. If anything it's even harder to define.
    A search service database might be a couple of hundred Meg for one customer and another may have to scale it out to multiple databases. MMS can vary hugely in scale and scope as can most of the other service apps.
    The main thing to note for service apps is that they have custom fill levels for the index. That means you shouldn't use any one-size-fits-all re-index processes as you were able to do in 2010.
    My general advice is not to bother with tuning the Service App databases. Only start worrying about them when you're really pushed on performance.

  • DBACOCKPIT on win2k3 and iSeries DBs

    Dear all,
    since we're in a mixed environment (mssql and DB2/400), we decided to implement the DBACOCKPIT functionnalities on a NW7.0 machine.
    We'd like to monitor from here also the iSeries 46C databases we have, although we installed the client software (iSeries access) and the needed additional LIB_DBSL dlls for iSeries on this NW machine, we still cannot monitor the remote iSeries DBs.
    Well, we can successfully start the secondary DB connection to the iSeries, but no data are shown in the dbacockpit.
    ANy hints ?
    Thanks in advance.
    Franco.

    Hi kaushal,
    thank you for the note you've suggested, we've applied it, however no luck yet.
    We can successfully monitor the mssql systems, but no data shown when switching with dbacockpit to the iseries systems, even if the connection is established successfully. Here's the communication string with the system CR1 as seen in the DBCON table
    AS4_DB_RDBNAME=;AS4_HOST=gdc02;AS4_CON_TYPE=SOCKETS;AS4_NQE_OPTIMIZE_METHOD=F;AS4_DB_LIBRARY=R3CR1DATA
    We used the <SID>OFR as a connection user, tried also the <SID>nn, same resoult, we can swith but no data ...
    Franco.

  • How do you plan RMAN backup for small and Large DBs ?

    DB version:11.2.0.3/RHEL 5.8
    I have 2 scenarios for which I was asked to come up with Backup strategies by the application stakeholders.
    I have devised the following strategies . Any comments ?
    Scenario 1
    ===========
    I have a large DB of 4TB in size. This DB is very critical and acceptable downtime for this DB is only 30 minutes.My Backup strategy: Incrementally updated Backup using Image copy to FRA
    Scenario2:
    ===========
    DB sizes vary from 40gb to 800gb. Acceptable downtime : 1 hour
    My Backup strategy : cumulative incremental backup to tape

    Only testing you will get the answer.
    I've seen many cases the technology is adequate but the procedure is wrong.
    Oracle provides multiple ways to perform database recovery.
    You need to create recovery scenario for each type of failure. (such as Storage failure, block corrupted, Human errors,etc)
    Eg: The User deleted data from a table causing major outage in its application.
    What is the procedure to be followed?
    The simplest is to restore the data using flashback (based Undo) which can take seconds.
    (note: Flashback using undo based does not need feature flashback database enabled).
    Believe the main cause of failures in databases today are caused by human error and that sometimes can be resolved simply and quickly.
    About Backup/Restore strategies:
    "Speed" you usually depends on the hardware resources available to you achieving the desired time.
    I can post here a ton of options, but I think your answer will be answered in the tests and procedures (scripts) already prepared to perform this restore.

  • 10g Streams with 9i and 8i DBs

    In one of the messages on this forum it was stated that Streams 9i supported Oracle 8i v6 databases and above. Does that still hold true with 10g Streams?

    were do i find document 131299.1.??? fairly new to oracle in general sorry...if u could post a link in it would be great...

  • Installing Grid Control and managing DBs on desktop

    I want to install Grid Control, and manage DB on my own testing environment on desktops...I tried one time to install Grid Control on my desktop i become very slow. Now i am thinking to buy new Desktop dedicated for Grid Control only and see how it goes...any suggestions?
    2nd how i can access my DB on the other desktop? Like i should install agents on that...and how to configure....

    When teaching this class I typically have 6 pairs of students sharing a single P4 3Ghz with 4Gb of RAM gridserver. (combined 10.1.0.4 emrep with single OMS on RH 3 AS)
    THis is more than enough for the 150 or so targets that we configure during class
    The agents are deployed in any of several methods.(the install DVD is probabally the easiest for 1's and 2's) If you are monitoring a db expect to use about 150Mb of RAM for the agent. After setting up the agent ensure that your computer has local security policy configured so that "Login as Batch" is enabled for the user account that will be used for authentication to the desktop. (this also means that you need to have a windows password configured for that account as well).
    The database configuration is semi-automatic once you have the agent installed on the desktop (it's called discovery)

  • What ideal Win Server and Hardware are recommended for 11g DBs

    What best Win Server and Hardware are recommended for 11g DBs?
    - Processor
    - Memory
    - Storage
    - Network
    - Etc...
    Following is the scenario:
    - The server will be for development and test DBs
    - More than one databases will be installed each for each project
    - Maximum 4 databases will be accessed each time
    - Maximum DB size for each DB will be in couple of GBs.

    Which version of 11g ? For 11gR2, see the requirements here - http://download.oracle.com/docs/cd/E11882_01/install.112/e16773/reqs.htm#i1011417
    Any server that exceeds these requirement will suffice. Obviously the more the number of processors, the faster the processors, the more the RAM, the more the disk etc etc, the better.
    HTH
    Srini

  • Cloudscape question

    I want to use Cloudscape of J2EE1.3.1,so I set classpath=.;F:\j2sdkee1.3.1\lib\system\cloudscape.jar then I enter into directory of F:\j2sdkee1.3.1\lib\cloudscape, and start Cloudview like follow command:
    F:\j2sdkee1.3.1\lib\cloudscape>java -classpath cloudview.jar COM.cloudscape.tools.cview
    I found I can start Cloudview GUI,then I want to create a new database,so I choose File->New Database,then I name a new Name,and press OK button,but I got following errors:
    java.lang.ClassNotFoundException: COM.cloudscape.core.JDBCDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    at c8e.eb.ab.setSelectedDatabase(Unknown Source)
    at c8e.dx.bs.connect(Unknown Source)
    at COM.cloudscape.ui.panel.NewDatabasePanel.newDatabase(Unknown Source)
    at COM.cloudscape.ui.panel.NewDatabasePanel.ok(Unknown Source)
    at COM.cloudscape.ui.panel.URLPanel.keyPressed(Unknown Source)
    at java.awt.Component.processKeyEvent(Component.java:5092)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4943)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3639)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3480)
    at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
    at java.awt.Component.dispatchEventImpl(Component.java:3509)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Window.dispatchEventImpl(Window.java:1590)
    at java.awt.Component.dispatchEvent(Component.java:3480)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    I know COM.cloudscape.core.JDBCDriver in the cloudscape.jar,and I have put it into classpath,why I still get above errors?
    How to run cloudview for creating a new database?
    Any idea will appreciated!
    Best regards,
    Edward

    This sounds like a configuration issue regarding cloudscape rather than a java question.
    I did a search on google which suggests the configuration is incorrect.
    http://www.google.com/search?q=java.lang.ClassNotFoundException+COM.cloudscape.core.JDBCDriver

  • How do I use XML to perform DML Operations against 8i DBs?

    Please point me in the direction to get started. I am not sure if I need XML DB (9i R2 only ?), XSQL, XDK or what.
    I would like to be able to deconstruct existing applications (mostly PL/SQL) into a series of XML docs that when 'pieced' together could behave as a set of transactions. Where I am heading is toward making existing apps Web Services enabled. I would like to be able to use existing tables in my schemas.
    What advice can you give me in terms of getting started and selecting the 'right' approach? I assume there are trade offs between 8i and 9i DBs.
    Jesse Johnson

    You may pass an XML Document as a parameter to a Java file that makes use of XSU classes like OracleXMLSave and there are methods available in OracleXMLSave like insertXML() method that takes care of the dml part.
    Go through the examples listed below.
    Program Listing 1 : This program will insert a record into the emp table. This program takes an xml file as an input , translates the content into an insert statement and inserts and commits the data into the database. An example of the xml file is also enclosed.
    import java.sql.*;
    import java.net.*;
    import oracle.xml.sql.dml.OracleXMLSave;
    public class Insertfromfile {
         public static void main(String argv[])
              throws SQLException {
              Connection cn = ConnectionHelper.getConnection();
              OracleXMLSave sav = new OracleXMLSave(cn, "scott.emp");
              URL url = sav.createURL(argv[0]);
              sav.insertXML(url );
              cn.close();
              System.out.println("Done ....!");
    XML File shown below.
    <?xml version = '1.0'?>
    <ROWSET>
    <ROW num="1">
    <EMPNO>1238</EMPNO>
    <SAL>100</SAL>
    <DEPTNO>20</DEPTNO>
    </ROW>
    </ROWSET>
    Program Listing 2 : Update operations
    import java.sql.*;
    import oracle.xml.sql.dml.OracleXMLSave;
    public class TestUpdate {
         public static void main(String argv[])
              throws SQLException {
              String rowToUpdate = "<?xml version = '1.0'?> " +
                   " <ROWSET> " +
                   " <ROW num=\"1\"> " +
                   " <EMPNO>1238</EMPNO> " +
                   " <SAL>999</SAL> " +
    " <DEPTNO>20</DEPTNO> " +
                   " </ROW> " +
                   " </ROWSET> ";
              Connection cn = ConnectionHelper.getConnection();
              OracleXMLSave sav = new OracleXMLSave(cn, "scott.emp");
              String [] keyColNames = new String[2];
              keyColNames[0] = "EMPNO";
    keyColNames[1] = "DEPTNO";
              sav.setKeyColumnList(keyColNames);
              sav.updateXML(rowToUpdate );
              sav.close();
              System.out.println("Done ....!");
    Program Listing 3 : Delete OPeration
    import java.sql.*;
    import oracle.xml.sql.dml.OracleXMLSave;
    public class TestDelete {
         public static void main(String argv[])
              throws SQLException {
              Connection cn = ConnectionHelper.getConnection();
              OracleXMLSave sav = new OracleXMLSave(cn, "scott.emp");
              String [] keyColNames = new String[1];
              keyColNames[0] = "EMPNO";
              sav.setKeyColumnList(keyColNames);
              for (int i=1234; i <1240; i++) {
              String rowPatternToDelete= "<?xml version = '1.0'?> " +
                        " <ROWSET> " +
                        " <ROW num=\"1\"> " +
                        " <EMPNO>" + i + "</EMPNO> " +
                        " </ROW> " +
                        " </ROWSET> ";
                   sav.deleteXML(rowPatternToDelete );
              sav.close();
              System.out.println("Done ....!");
    Program Listing 4 : ConnectionHelper.java
    import java.sql.*;
    import java.util.*;
    import oracle.jdbc.driver.*;
    public class ConnectionHelper {
    public static Connection getConnection() throws SQLException {
    String username = "scott";
    String password = "tiger";
    String thinConn = "jdbc:oracle:thin:@localhost:1521:orcl";
    String default8iConn = "jdbc:oracle:kprb:";
    String driverClass = "oracle.jdbc.driver.OracleDriver";
    Connection cn = null;
    try {
    Driver d = (Driver)Class.forName(driverClass).newInstance();
    return DriverManager.getConnection(thinConn,username,password);
    catch (Exception e) {
    throw new SQLException("Error Loading JDBC Driver");

  • Oracle sql developer and access db

    Hi All,
    I have connection to oracle and Access dbs’ on my oracle sql developer.
    When i try to create a database link from oracle db to access db i have to add Host Name.
    Connection details to access looks like this :
    @jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\ list.mdb;DriverID=22;READONLY=false}
    I tried different variants, but it doesn’t work.
    Is this possible to create database link to access db, and if yes, what i have to add for a host name and what is the syntaxes for cross table ?
    Thank you

    Good documentation here... http://www.orafaq.com/node/60
    TimS

  • Can OEm list the schemas used in dbs ?

    I just wondered if there was a view or table in the OEM reposiory that lists the schema and the dbs they are using, i didn't find anything on the Oracle doc so that'a why i am asking the question here.

    Hello,
    this SQL should help:
    db2 "select schemaname from syscat.schemata"

  • How do I automatically backup SQL Agent jobs and SSIS packages on the mirror daily?

    I have seen this question asked before but I could not find a satisfactory answer. What is the best solution to get your SQL Agent jobs/schedules/etc. and your SSIS packages on the mirror server? Here's the details:
    Server A is the principal with 2 DBs mirrored over to server B. Everything is fine and dandy, DBs are synched and all good. In Disaster Recovery testing, we need to bring up server B, which now will serve as the principal. Server A is inaccessible. Now,
    we need all our jobs that are setup in server A to be in server B, ready to go, but disabled. We also need all our SSIS packages properly stored. Yes, we store our packages in the MSDB in server A.
    Now, I can see a few answers coming my way.
    1- Backup the MSDB to server B. When you bring server B up as principal in DR, restore the MSDB. All your jobs,schedules,steps, SSIS packages will be there. Is this possible? Can this be done on server B without rendering it incapable of serving as the principal
    for the mirrored DBs? My fear with this option is that there may be information in the MSDB itself about the mirroring state of the DBs? Or is all that in the Master DB? Have you tried this?
    2- Right click each job, script them out, re-create them on server B... No, thank you very much. :) I am looking for an AUTOMATED, DAILY backup of the jobs and SSIS packages. Not a manual process. Yes, we do change jobs and packages quite often and doing
    the job twice on two servers is not an option.
    3- Use PowerShell.. Really? Are we going back to scripting at the command prompt like that, that fast?
    Since I fear option number 3 will be the only way to go, any hints on scripts you guys have used that you like that does what I need to do?
    Any other options?
    Any help GREATLY appreciated. :-) I can be sarcastic but I am a good guy..
    Raphael
    rferreira

    I would go with option number 3. Once  you have a script simple run it....
    param([string]$serverName,[string]$outputPath) 
    function script-SQLJobs([string]$server,[string]$outputfile) 
        [reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.Smo") | Out-Null 
        $srv = New-Object Microsoft.SqlServer.Management.Smo.Server("$server") 
        $db = New-Object Microsoft.SqlServer.Management.Smo.Database 
        $scrp = New-Object Microsoft.SqlServer.Management.Smo.Scripter($srv) 
        $scrp.Options.ScriptDrops = $FALSE 
        $scrp.Options.WithDependencies = $TRUE 
        $jobs = $srv.JobServer.get_Jobs() 
        $jobs=$jobs | Where-Object {$_.Name -notlike "sys*"}     
        foreach($job in $jobs) 
            $script=$job.Script() 
            $script >> $outputfile 
            "GO" >> $outputfile 
    ---script-SQLJobs "SQLSRV12" "C:\Jobs\test.txt" 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Blog:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance

Maybe you are looking for

  • Can I use my existing USB connector (for iPod video) on the new iPhone 3G?

    It looks the same, but these days you never know and i didnt want to find out "No" the hard way...thanks.

  • IPad 2 is acting crazy!

    Bought it in July 2012 and over the last month, the screen sensitivity has gradually gotten worse with these problems:  1.  When I type something on the touchscreen keyboard, it will either type too many letters (like 10 of them) after touching it on

  • Problem installing solaris 10 10/08  (x86) in multi-boot configuration

    I'm trying to build a an x86_64 that can boot solaris10, Centos 5.3 and Ubuntu 8.10. (below is the linux fdisk data) I have successfully installed the Ubuntu (partition 3& 6) and Centos ( parititions 2 &5 ). Every time I've tried to install solaris,

  • Why can't I restore my iphone

    my iphone 5 has crapped out. I need to recover but as soon as it "extracts data" it gives me an error saying the iphone can't be restored. The error troubleshooting says its something to do with security, but i dont know how to change that...any help

  • Cd Linear Simulation - Exponential Matrix Overflow

    Hi everybody i try to use the "CD linear simulation.vi" to implement two transfer function to "modify" a signal; the transfer funciton model are in polynomial form with a numerator and a denominator as usual. Sometimes when i make my .vi run appear a