Htmldb and rdb

How to get htmldb working with rdb ?

if you're asking about accessing your rdb data from htmldb, then the answer is that once you set up your db that runs htmldb to access your rdb (via odbc or whatever), you can use htmldb against that data. the rule of thumb for these types of integration questions is that if you can access it from sql or pl/sql, you can access it from htmldb. that's because you're ultimately executing the code/commands you specify in htmldb as a user in the db. if you're asking something else, please feel free to be much more specific.
regards,
raj

Similar Messages

  • OpenOffice and Rdb ODBC

    I have the Oracle Rdb Driver v3.0.2 installed on a Windows client and a User DSN connection established in the ODBC Data Source Administrator control panel applet. I can query successfully with clients like MSQuery, Excel (with the SQLREQUEST() array function), and my terminal emulator (SmarTerm 9) which comes with built-in SQL functions. However, with OpenOffice 1.0 and 1.0.1, which comes with a query builder similar to MSQuery, I cannot get a proper list of available tables once the connection is made to the remote database.
    There are 3 log files on the client which offer some clues, but it is not clear (to me) whether the Oracle driver is faulty, or it's OpenOffice that's the problem. Buried in two of the logs are SELECT statements which appear to pass invalid SQL syntax to the database, causing it to return no table names.
    The first log is generated by the ODBC Data Source Administrator itself when Tracing is enabled. It's name is SQL.LOG by default. The other two logs are CLIENT.LOG and RDBODBC.LOG, generated by SQL/Services and the driver, respectively. The first, SQL.LOG, contains the following lines at the point where OpenOffice is requesting the list of tables:
    scalc fff01057-fff017d7     ENTER SQLTablesW
              HSTMT 0314028C
              WCHAR * 0x00000000
              SWORD 0
              WCHAR * 0x00000000
              SWORD 0
              WCHAR * 0x0323FFE8 [      -3] "%"
              SWORD -3
              WCHAR * 0x0314067C [      -3] "VIEW,TA"
              SWORD -3
    scalc fff01057-fff017d7     EXIT SQLTablesW with return code 0 (SQL_SUCCESS)
              HSTMT 0314028C
              WCHAR * 0x00000000
              SWORD 0
              WCHAR * 0x00000000
              SWORD 0
              WCHAR * 0x0323FFE8 [      -3] "%"
              SWORD -3
              WCHAR * 0x0314067C [      -3] "VIEW,TA"
              SWORD -3
    The second log, produced by SQL/Services on the client, shows that the '%' wildcard has been changed to '% '. Here's the SQLTablesW call in that log:
    ROUTINE LEVEL LOG at 11:19:43 on 07-Sep-2002
    ----SQLSRV_PREPARE
    --------SQL STATEMENT
    ------------len: 233, value: SELECT '',rdb$flags,rdb$relation_name,rdb$system_fl
    ------------ag,'' FROM rdb$relations WHERE rdb$system_flag=0 AND rdb$relation_na
    ------------me LIKE '% ' ESCAPE '&' ORDER BY rdb$sy
    ------------stem_flag DESC,rdb$flags ASC,rdb$relation_name
    PROTOCOL LEVEL LOG CLIENT: write (logonly) at 11:19:43 on 07-Sep-2002
    ----PACKET LENGTH: 245
    PROTOCOL LEVEL LOG CLIENT: write (logonly) at 11:19:43 on 07-Sep-2002
    ----PACKET ID: 3, PACKET SEQUENCE: 0
    --------SQLSRV_PREPARE
    ------------SQL STATEMENT
    ----------------SQLSRV_COUNTED_BYTES, len: 233
    --------------------len: 233, value: SELECT '',rdb$flags,rdb$relation_name,rdb$s
    --------------------ystem_flag,'' FROM rdb$relations WHERE rdb$system_flag=0 AND
    -------------------- rdb$relation_name LIKE '% ' ES
    --------------------CAPE '&' ORDER BY rdb$system_flag DESC,rdb$flags ASC,rdb$rel
    --------------------ation_name
    --------END OF MESSAGE
    Finally, the RDBODBC.LOG driver log shows a similar change to the LIKE clause of the SELECT statement:
    .0X00700138: SELECT '',rdb$flags,rdb$relation_name,rdb$system_flag,'' F
    .ROM rdb$relations WHERE rdb$system_flag=0 AND rdb$relation_name LIKE '
    .% ' ESCAPE '&' ORDER BY rdb$system_flag D
    .ESC,rdb$flags ASC,rdb$relation_name
    I'm no ODBC developer, but perhaps someone can suggest why the spaces are being added?
    Thanks,
    Alder

    Unfortunately RDB and Oracle are two completely different animals, so I'm really out of my element.
    My wild, uninformed, shot-in-the-dark guess is that this has something to do with Unicode. When Unicode data is encoded as UCS-2 (Windows default encoding), ASCII characters are stored in two bytes, [ACSII value][00]. The ODBC Driver Manager is supposed to know whether a driver supports Unicode and to translate Unicode data passed through it to ASCII if that's what the driver needs. Perhaps the translation isn't happening properly here...
    If you look at the SQL.log file for the applications that work, I'm going to guess that you see the function SQLTablesA (ASCII version) being called, rather than SQLTablesW.
    Justin

  • HTMLDB and Workflows - pl/flow, Oracle Workflow or BPEL?

    Hi,
    I am looking for a workflow engine to integrate with HTMLDB for workflow applications.
    Most of the stuff I try to do will happen in the database (as of now).
    Which one should I choose? Which one is easy to use (intuitive, good samples)?
    I haven't used any of those, which is the fastest to learn?
    Can I graphically model the workflows with pl/flow, so that they can be modified by administrators later?
    What about the future? It seems to me that many links to Oracle Workflow seem to disappearing from OTN.
    I find pl/flow interesting, but is it used a lot? Is there still development going on?
    Any experiences / suggestions will be helpful. Or perhaps you use something completely different?
    Thanks,
    ~Dietmar.

    Hi Bob,
    thanks for thoughts on this.
    I was in touch with the lead developer of pl/flow and he explained that there was not much to add since the package was XPDL interface 2 compliant and most of the users were happy with it.
    You can even import workflows from XPDL visual workflow modelers which has some charme, since it is standards based.
    I was reluctant to use Oracle Workflow for several reasons.
    * It appears to be complex
    * It is not standards based
    * The administration interface looks "aged" (that lead me to believe that Oracle had not much interest in further promoting the product)
    * I don't know where the product is heading since BPEL is the big hype and the development of Oracle's former Java based workflow product is being stopped.
    The cost shouldn't be an issue since it is included in the database license as far as I have researched.
    I would be interested in all developer experiences using Oracle Workflow with HTMLDB or other tools.
    Is perhaps the HTMLDB - developer team working on an integration with Oracle Workflow?
    Thanks,
    ~Dietmar.

  • Java and RDB

    I was wondering if anyone has any information on, ....well...if it is possible to get data from RDB with java. I have been looking, and I am not exactly sure if it is possible. I am mostly wondering if anyone has created a program close to this.
    Thank you in advance.

    Google has lots of info

  • ODBC and RDB

    What software is needed to connect the Oracle ODBC rdb driver to a RDB database on a Alpha Open/VMS. Is it SQL/Services, SQL/Plus, or an ancient DEC product? Currently we just have the runtime version or RDG - supplied by 3rd party software vendor.

    Unfortunately RDB and Oracle are two completely different animals, so I'm really out of my element.
    My wild, uninformed, shot-in-the-dark guess is that this has something to do with Unicode. When Unicode data is encoded as UCS-2 (Windows default encoding), ASCII characters are stored in two bytes, [ACSII value][00]. The ODBC Driver Manager is supposed to know whether a driver supports Unicode and to translate Unicode data passed through it to ASCII if that's what the driver needs. Perhaps the translation isn't happening properly here...
    If you look at the SQL.log file for the applications that work, I'm going to guess that you see the function SQLTablesA (ASCII version) being called, rather than SQLTablesW.
    Justin

  • HTMLDB and graphic diagram

    How in HTMLDB to realize a conclusion of result of search as the graphic diagram?

    Enter your SQL query and the graphic is ready.
    For details see e.g.:
    Oracle® HTML DB User’s Guide
    Release 1.5
    Part No. B10992-01
    Pages:
    About SVG Charting Support - Using Application Builder 7-13
    Creating Charts - Building Application Components 8-35

  • Windows Authentication by using HTMLDB and Active directorty (AD)

    Is it possible to write an application by using HTMLDB to use windows authentication by using Active Directory (AD) ?
    Thanks!

    Hi Tanya,
    The IS_MEMBER routine won't necessarily work with AD since it actually checks for the sort of user/group relationship that is stored in OID (AD can store the relationship in a different way).
    To check group membership you will need to write your own code which checks the group and/or user to determine whether they are in a specific group or not. I believe there are already some examples of that code in this forum, if you search for 'group and ldap' you should be able to find some examples.
    If not, then post back and I'll try and dig something out.

  • HTMLDB and JDeveloper Suite installation/configuration

    Hi,
    I have downloaded and installed 10g and HTMLDB on Fedora Core 1. Both installed OK and the database works fine. HTMLDB, however, is giving me troubles. I have followed the steps recommended in both the HTMLDB admin manual and at http://otn.oracle.com/obe/obe10gdb/install/htmldbinst/htmldbinst.htm (they seem to contradict each other in terms of URLs) in order to access the HTML Admin page, but no luck. Apart from the welcome page (http://localhost:7777), I don't seem to be able to access anything else (the HTTP server always returns "Page Not Found").
    I am quite familiar with http servers and their configuration but never used the Oracle supplied one.
    Just wondering if someone more experienced in this area could shed some light.
    Also, I'd be interested if anybody installed the JDev 10g suite on Linux. I have tried, using the same tricks as for the DB installation. After the dependencies are successfully checked (gcc, shared libraries, etc) the runInstaller crashes, throwing a Java exception and advising to send the log file to Oracle. I had a look in that log file but it does not contain anything helpful - so I did not send it.
    Again, maybe somebody else has had more luck.
    Thanks and regards,
    George Topfner

    There are a few issues around vista, it is supported though.
    this note is for 10.1.3.4 but is still relevant for initial install of 10.1.3.1.
    http://download.oracle.com/docs/cd/E12524_01/relnotes.1013/e12523/install.htm#sthref7
    when you get errors like you got, what you need to do is go to the following directory
    SOA_HOME/opmn/bin
    run the 2 commands
    opmnctl shutdown
    opmnctl startall
    then retry in the configuration wizard.
    cheers
    James

  • HTMLDB and RAC

    Hi,
    I want to set-up a RAC environment with HTMLDB. I know I can set up my listener to load balance between 2 nodes so in the event a node becomes available the other node/s in the cluster continue to serve up data.
    How do I do this with HTMLDB ?
    I guess I'm asking how do I get Apache to failover from Node A to Node B in a cluster so that my application doesn't become unavailable ?
    Years ago I was a VMS system admin. In VMS you had the notion of a cluster alias where every node in the cluster could be accessed either via it's actual hostname or the cluster alias.
    Is there such a thing with RAC and HTMLDB ?
    Mike
    ------

    Just as with any other "client" with a RAC environment. If the tnsnames.ora that Apache home uses has somthing like:
    rac_taf =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac2)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rac_failover_service_name)
    or use the pre-connect type which will work better in this tier arrangement.
    The dad.conf file then has
    <Location /pls/htmldbrac>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
    PlsqlDatabasePassword xxx
    PlsqlDatabaseConnectString rac_taf
    then mod_plsql "should" failover. Keep in mind that I have made "bunged" the names and passwords in my tns and dads config files before posting. All this assumes that you have tested the basic or pre-connect failover features of your RAC.
    Dave

  • HTMLDB and Collaboration Suite Files

    Hi,
    I'm interested in writing an application for document retention, and one of the necessities is that the files that it uploads be placed within a CS Files area. Is this possible. Our reasons behind this are being able to have a front end to the upload of the files in order to associate descriptive fields with the file, but having the capability of viewing the files (those that they will have the privelege set for viewing) within the CS files structure (as well as a mounted share). If this is possible, can the file privelges be set so that only certain files are available for public viewing, while others are only vieweable if you have MORE prievelges (DBA, etc.).
    I hope I'm making sense here.
    -- Thanks in Advance,
    -- Cliff

    Cliff,
    You may already have studied the techniques Raj described at Downloading BLOB from a table. to move your uploaded files out of your wwv_flow_files view and into some other location. So, if I understand your question, it is how do you get that content (along with descriptive tags) into the CS files area and how do you control permissions on it. That should be described in the CS Files documentation. I know it supports several protocols, so there should be a PL/SQL API that you can use from your HTML DB application to copy the BLOB from wwv_flow_files to the CS Files tables. As far as permissions go, as I understand it, you don't actually set permissions on files, but you just put the content into CS Workspaces or CS Personal Areas that are appropriate for the type of access you want to allow. Individual users can access these areas according to their profiles in the Oracle Files User Store. Lots of resources on OTN about CS, e.g., http://otn.oracle.com/products/ofiles/pdfs/ofiles_migrationwp.pdf.
    In the not improbable event that I don't know what I'm talking about, I will rely on the charity of others for supplemental contributions.
    Scott

  • HTMLDB and Conditional Display Problem

    Hello,
    I try make Application with 9 pages and 3 users and I want that the first user will see only the tabs 1, 2, 3 and the second the tabs 4, 5, 6 and the last user should only see the tabs 7,8,9.
    I try to give the tabs a condition type to ask for the login-name and compare it with a string. But it doesn't` work.
    The item is P101_Username. I tried to take "Value of ITEM in Expression 1 = Expression 2".
    Expression 1: P101_Username
    Expression 2: 'user'
    Regards,
    Boris

    Boris - 1) If you used punctuation in the Expression 2 field, remove it (no quotes) and make sure the case matches the expected value. 2) Don't use P101_USERNAME, use APP_USER, assuming that you are using the standard login page which clears its cache after it's submitted.
    Scott

  • RDB Odbc drivers and Visual Express 2005 !!!

    hi,
    i'm having troubles with MS Web Developper Express 2005 and RDB database ODBC driver 3102.
    When i try to declare a link to a dsn previously delared in ODBC manager (win xp sp2), i click the "test connection" then it's succesfull, but when i want to browse thru the tables within the rdb db, i receive the error : [HYC00][Oracle][ODBC] Optional feature not implemented...
    I tried to use the same dsn with MS Access and it works correctly.
    Any idea ?
    Thanks

    hi,
    i'm having troubles with MS Web Developper Express 2005 and RDB database ODBC driver 3102.
    When i try to declare a link to a dsn previously delared in ODBC manager (win xp sp2), i click the "test connection" then it's succesfull, but when i want to browse thru the tables within the rdb db, i receive the error : [HYC00][Oracle][ODBC] Optional feature not implemented...
    I tried to use the same dsn with MS Access and it works correctly.
    Any idea ?
    Thanks

  • SSO and HTMLDB

    We have Oracle® Application Server 10g Release 2 (10.1.2), HTMLDB 1.6.0.00.87
    and the Based on authentication scheme from gallery:Oracle Application Server Single Sign-On (HTML DB as Partner Application).
    The best way I believe I can explain this issue is by explaining the user actions:
    1.User Authenticates through SSO login page.
    2.From Portal Launches HTMLDB Application.
    3.Authentication is successful.
    4.All links, buttons and actions work properly on htmldb application.
    5.User clicks link to open page in portal or in discoverer.
    6.When the user comes back to the HTMLDB Application and clicks on any link or button the following error is displayed.
    500 Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    We have gone through the configuration steps for SSO with HTMLDB and everything looks fine.
    Any clues??

    I'm sorry Scott, I'll try to clarify.
    When you do step 1, how do you first get to the login page, by visiting your application page first?
    By Going to the Portal.
    Step 2 is not clear to me,
    What I mean is that we have a link on Portal to the HTMLDB Application.
    I've never done that. Step 3 is not clear to me, if step 1 has already happened then authentication was successful at that point.
    I said authentication is successful in step 3, because my understanding is that while the user is authenticated when he/she goes to the portal, once they go to the HTMLDB Application HTMLDB_SSO is used by HTMLDB to verify the credentials of the user. (This portion works fine, and this is what I mean on step 3).
    Step 6, "when the user comes back" is something I don't understand the mechanism of. How does this work?
    This was pretty bad on my part: What I mean is, the user through a link on the HTMLDB Application opens a page in portal, then leaves portal (either by closing the browser or by selecting the original link the user used to go to the HTMLDB App) and returns to the HTMLDB Application.
    If you run your application by first visiting one of its pages before login, then you authenticate to SSO, and then just navigate around in your application (without any Portal/Discoverer links), does it work properly?
    Yes, the HTMLDB Application works perfectly, until I go to Portal or Discoverer. If I use Database or HTMDB Authentication everything works perfect.
    The error only happens when using SSO.
    Thanks if you and I can't figure this out, at least we have made my questions clearer.

  • Report performance problems on htmldb 1.6

    Hello everybody,
    I'm not a guru in both pl-sql and htmldb and I'm having slow performances on two queries, that are similar, so I think the root of the problem is the same..here they are:
    This query populates a select list and takes about 2 minutes:
    SELECT FLAG_VERBAL,FLAG_NUMBER
    FROM DISCHARGE_FLAG
    WHERE FLAG_NUMBER IN (SELECT UNIQUE(FLAG) FROM HYDRODATA
    WHERE LSFLD_ID IN (SELECT ID FROM DEMO_SIMO_CGMS_UPPDANUBE_ID))This query is in a Report (SQL query Region) and takes about 100 seconds:
    SELECT LSFLD_ID, MOMENT, DISCHARGE, FLAG
    FROM HYDRODATA
    WHERE
    FLAG = to_number(:P6_DISCHARGE_TYPE)
    AND LSFLD_ID IN(
      SELECT ID FROM DEMO_SIMO_CGMS_UPPDANUBE_ID
    AND moment >= to_date(:P6_FROM_DATE, 'yyyy-mm-dd')
    AND moment <= to_date(:P6_TO_DATE, 'yyyy-mm-dd')
    ORDER BY 1,2By my testing, it seems that the problem is correlated to the sub-SELECT inside the main SELECT.
    If I substitute the sub-SELECT statement ( SELECT ID FROM DEMO_SIMO_CGMS_UPPDANUBE_ID) with a list of its costant values, the output of those queries appears in few seconds.
    Another strange thing is that if I run alone the sub-select SELECT ID FROM DEMO_SIMO_CGMS_UPPDANUBE_ID it also takes few seconds!
    So why together they need so much time??
    Maybe the problem is in the table DEMO_SIMO_CGMS_UPPDANUBE_ID? It is populated by a process that:
    deletes its content and
    copies the selected values (by check boxes) of a previous Report :
    DELETE FROM DEMO_SIMO_CGMS_UPPDANUBE_ID;
    FOR I in 1..HTMLDB_APPLICATION.G_F01.COUNT LOOP
        INSERT INTO DEMO_SIMO_CGMS_UPPDANUBE_ID(id) VALUES (HTMLDB_APPLICATION.G_F01(i));
    END LOOP;Thanks in advance! :D

    This is really a SQL question and not a HTML DB question, but I will pose some things for you to consider. Just some high-level tips without getting into the details of your queries.
    1) Time your queries in SQL*Plus. I would guess that they are as slow in SQL*Plus as they are in HTML DB
    2) Keep in mind that use of functions like TO_NUMBER or TO_CHAR or TO_DATE applied to database columns disables the use of indexing on columns.
    3) Look to see if the columns you are joining on are indexed.
    4) Use EXPLAIN PLAN and tracing to see what execution plan Oracle is taking.
    5) Rewrite your queries. Join your three tables together in one SELECT statement instead of using IN's.
    For example change your first query to:
    SELECT FLAG_VERBAL,FLAG_NUMBER
    FROM DISCHARGE_FLAG df, HYDRODATA h, EMO_SIMO_CGMS_UPPDANUBE_ID e
    WHERE df.FLAG_NUMBER = h.FLAG
    AND h.LSFLD_ID = e.ID
    Mike

  • Htmldb 1.6 companion cd software on oracle site

    Hello,
    I am looking for a link to download the oracle 10g companion cd software (htmldb 1.6 version and http server). Earlier I found this link "http://www.oracle.com/technology/products/database/htmldb/index.html" and after clicking the HTMLDB 1.6, I have downloaded the software and installed the HTMLDB and http server on my sun solaris server and later when I opened the URL for the htmldb, I saw that its actually version 1.5 and not 1.6 as mentioned in the link on oracle site. Now I need the correct link.
    Can some one pls help me.
    Thanks,
    Jagan

    I can find separate link as;
    Oracle HTML DB v1.6 (47,913,091 bytes) - latest standalone version of HTML DB New (29-Dec-04)

Maybe you are looking for

  • How to get my wireless working ?

    hey guys today i had to connect using my wireless but I couldn't. So i follow this wiki http://wiki.archlinux.org/index.php/Wireless_Setup But when i typed lshwd lshwd 00:00.0 Host bridge: Intel Corp.|Mobile Memory Controller Hub (intel-agp) 00:02.0

  • Is there a way to extract ALL my music from my ipod touch 1st gen?

    My ipod touch has been really gritty and slow the past few months and im planning in getting a new touch. But ive manually installed music onto it from random computers but i want keep my recent music. I have around 2,000 songs. So is there a way to

  • DOM parsing exception in inbound XSD translator while parsing InputStream.

    Hi I am using 10.1.3.3.0 version of SOA Suite. I deployed my ESB which is having AQ adaptor. I have correctlry given the XSD.The input xml which is coming to this AQ adaptor will be as per the XSD I supplied but it is still throwing this error. Can a

  • Sign a Document

    Hello everyone How can I sign a document???, I can sign a message but not a document. thanks for advance cheers!!

  • What is causing a sound problem with new Cinema Display 27 ?

    My new 27 Cinema Display intermittently won't play sound when connected to my MB Pro. Restarting the computer doesn't fix it, and all the display audio settings are correct etc. Phoned Apple Support and the fix was to unplug the power from the back o