Database Access via WLS Datasource

I need to access a database resource by JNDI Datasource lookup and not by JDBC Direct Connection. This is needed because the underlying database is an Oracle RAC with several machines and my intention is to use WLS MultiDatasource Feature to round-robin and failover all the database needs.
Could someone help me ??
Thanks in advance

I'd like to access the same database from a
standalone, command window program and have tried
setting the INITIAL_CONTEXT_FACTORY and PROVIDER_URL
properties as shown below.I've never done this. I'm not sure if it can or should be done.
The problem is that the standalone app isn't part of any Tomcat context.
It also ties your standalong app to Tomcat. I don't think you want to do that.
There's got to be a way to manage this without resorting to Tomcat. I'd look at the Commons docs to see.
If I copy the JAR file containing
BasicDataSourceFactory (viz. commons-dbcp-1.2.1.jar)
from Tomcat's common\lib folder into Java's
jre\lib\ext folder, This is a terrible idea. You shouldn't be putting anything in jre/lib/ext - it'll cause more problems than it's worth.
Create a /lib directory for your project and put the 3rd party JARs in there. Disk space is cheap, and keeping all the artifacts that you need to create your app in one place is a good idea.
%

Similar Messages

  • Command Window Database Access via a DataSource

    Hi.
    I've succeeded in accessing a MySQL database via a DataSource from a servlet that makes use of a DAO. However, I would now like to use the same DAO to access the database from a standalone, command window program.
    The error that I am getting is "javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial". This error is generated by the second of the following two lines in the DAO:
    Context initialContext = new InitialContext();
    Context context = (Context)initialContext.lookup("java:comp/env");
    Is there any way in which I can get a standalone program to make use of my server.xml and web.xml DataSource mappings to access the database??
    Any help would be most appreciated.
    Thanks in anticipation.
    Jan

    The error that I am getting is
    "javax.naming.NoInitialContextException: Need to
    specify class name in environment or system property,
    or as an applet parameter, or in an application
    resource file: java.naming.factory.initial". This
    error is generated by the second of the following two
    lines in the DAO:
    Context initialContext = new InitialContext();
    Context context =
    (Context)initialContext.lookup("java:comp/env");
    The error itself suggests some solution to you. You need to specify the environment variables in the parameter to the InitialContext constructor. something like this...
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL, "t3://localhost:7001");
    Context context = new InitialContext(env);Cheers!
    ***Annie***

  • Command Window Database Access via a DataSource (Pt 2)

    Hi.
    For those of you (especially duffymo) who were good enough to make suggestions concerning my problems when attempting to access an Oracle 10g database via a DataSource from a servlet the week before last, I'm pleased to say that I got that working on my return from holiday!
    Now to return to an earlier problem...
    I'd like to access the same database from a standalone, command window program and have tried setting the INITIAL_CONTEXT_FACTORY and PROVIDER_URL properties as shown below.
    Hashtable envt = new Hashtable();
    envt.put(Context.INITIAL_CONTEXT_FACTORY,
    "org.apache.commons.dbcp.BasicDataSourceFactory");
    envt.put(Context.PROVIDER_URL, "http://localhost:8080");
    Context initialContext = new InitialContext(envt);
    Context context =(Context)initialContext.lookup("java:comp/env");
    DataSource dataSource =(DataSource)context.lookup("jdbc/Oracle_Finances");
    connection = dataSource.getConnection();
    However, this generates error messages with root exception "java.lang.ClassNotFoundException: org.apache.comons.dbcp.BasicDataSourceFactory".
    If I copy the JAR file containing BasicDataSourceFactory (viz. commons-dbcp-1.2.1.jar) from Tomcat's common\lib folder into Java's jre\lib\ext folder, then I get a similar set of error messages, but the root exception changes from ClassNotFoundException to "java.lang.ClassCastException: org.apache.comons.dbcp.BasicDataSourceFactory".
    Does anybody know where the problem lies??
    Any help most appreciated.
    Cheers.
    Jan

    I'd like to access the same database from a
    standalone, command window program and have tried
    setting the INITIAL_CONTEXT_FACTORY and PROVIDER_URL
    properties as shown below.I've never done this. I'm not sure if it can or should be done.
    The problem is that the standalone app isn't part of any Tomcat context.
    It also ties your standalong app to Tomcat. I don't think you want to do that.
    There's got to be a way to manage this without resorting to Tomcat. I'd look at the Commons docs to see.
    If I copy the JAR file containing
    BasicDataSourceFactory (viz. commons-dbcp-1.2.1.jar)
    from Tomcat's common\lib folder into Java's
    jre\lib\ext folder, This is a terrible idea. You shouldn't be putting anything in jre/lib/ext - it'll cause more problems than it's worth.
    Create a /lib directory for your project and put the 3rd party JARs in there. Disk space is cheap, and keeping all the artifacts that you need to create your app in one place is a good idea.
    %

  • Database Access via ODBC

    Hi,
    Since recent (LMS3.2) Cisco released the Open Database Schema support. In the guidelines I find info/procedures to access the database remotely via ODBC. However only Solaris/Solaris Windows/Windows is described. Is there any info how I can access the Database (LMS installed on Sol10) remotely via a Windows system ?
    Jan

    The instructions for Windows/Windows apply, but you'll need to first get the necessary DLLs to allow for database access. The easiest way to do this would be to install Common Services from the LMS 3.2 DVD on a Windows 2003 or 2008 machine. Then extract the DLLs, and uninstall Common Services.
    It may also be possible to start the installer, have it extract the install bits to the TEMP location, then you can pull the DLLS from there. However, I have not tried this for obtaining database DLLs (only device packages).

  • Palm Database access via Midlet application

    Hi.
    I'm trying to access a Palm database from within a Midlet application for the Palm.
    Is there a Java API that I can upload onto my Palm which will give me access to the Palm database ?
    Regards,
    Matt
    P.S. Here's what I've tried already.
    I cannot get hold of the KVMUtil.prc, nor it's associated SDK. It seems like it has been replaced by the MIDP SDK.
    RMS is the only database access provided in the MIDP suite, described in the following article :
    http://developer.java.sun.com/developer/technicalArticles/wireless/midpdatabase/
    This is too generic for me - as it should be - midlets are supposed to run on more than just Palm devices.

    Hi Matt:
    I'll address your 5 major areas 1 at a time. This is only my opinion, only you can decide what will work best for you.
    Sun may have stated the Kjava API is not officially supported. However, Sun has enhanced the Kjava API since its initial release.
    1. I'm trying to access a Palm database from within a Midlet application for the Palm.
    What I'm doing is treating the com.sum.kjava classes as an add on package, using the JAR tool to include these classes prior to building the .PRC.
    2. Is there a Java API that I can upload onto my Palm which will give me access to the Palm database ?
    Yes, it is part of the j2me_cldc installation, see below. It will allow you access to any PDB on the Palm. Like Palm address, memo etc.
    3. I cannot get hold of the KVMUtil.prc, nor it's associated SDK. It seems like it has been replaced by the MIDP SDK.
    When a developer downloads and unZips the most recent versions of the two j2me files:
    j2me_cldc-1_0_2-fcs-winunix.zip
    j2me_cldc-1_0_2-fcs-kjava_overlay.zip
    the following directory structure is created
    c:\j2me_cldc\bin\common\api\classes;
    -- j2me_cldc
    -- bin
    -- common
    -- api
    -- classes
    -- com
    -- java
    -- util
    -- javax
    -- microedition
    -- io
    etc.
    As of 05/01/2001 the KVM.prc and KVMUtil.prc existed here: c:\j2me_cldc\bin\kjava\palm\
    When a developer downloads and unZips the most recent version the file:
    j2me_cldc-1_0-fcs-bin-b10-win-15_sep_2000.zip
    the following directory structure is created
    c:\midp-fcs
    -- classes
    -- java
    -- util
    -- javax
    -- microedition
    -- io
    -- lcdui
    etc.
    When a developer downloads and installs the most recent version the file:
    j2me_wireless_toolkit-1_0_2-ea-win.exe
    the following directory structure is created:
    c:\J2MEWTK
    --bin
    midpapi.zip
    etc.
    Three places to get the MIDlet classes each class has a different creation date too. I've installed the classes oldest to newest in my development environment.
    Check you classpath. I've created a setup.bat to configure the classpath.
    4. RMS is the only database access provided in the MIDP suite, described in the following article:
    No. It is one of two options, RMS and Kjava Database. However, it may not be a option for a Palm if the RMS Database cannot be created on a server and then HotSync'ed to a Palm. A Palm app would be pretty useless if we cannot instantiate its databases with data.
    5. This is too generic for me - as it should be - midlets are supposed to run on more than just Palm devices.
    I agree, that is why I have not stopped using the Kjava Database objects. I've written a server-side Palm Database API the will convert data from any source into Palm PDB's. These PDBs are then HotSync'ed to the Palm. A Palm app would be pretty useless if we cannot instantiate its databases with data.
    Matt, let me know if this helps.

  • Remote database access via JDBC?

    Hello,
    Can anyone give me info on accessing remote databases (i.e. Microsoft
    Access, etc) from Java programs (Servlets, JSP's, Classes) residing on the
    iSeries (AS400) or perhaps any platform?
    I currently have a couple of web applications set up on the Websphere App server that access DB2/400 database and I also have some Java Classes on PC's that access MS Access datafiles. I would like to begin writing the majority of my applications that run on the iSeries (or host system) that can remotely access other databases on our network.
    Any info would be of great help to me.
    Thank you
    Don

    I don't know of any existing Access JDBC drivers that support remote access, after all, the Access database itself is not remote access capable except via file sharing. One possibility is to look for a Type 3 JDBC driver that supports reuse of other Type 1 (ODBC bridge), Type 2 (Java/Native Mix) and Type 4 (pure Java)JDBC drivers on the server side.
    If you were using WebLogic Server, I suppose you could use its remote JDBC facilities, but that won't help you.
    One problem you will have to face is that Access JDBC drivers are not (if I recall) meant to be used in a multithreaded fashion. Good luck. By the way, it might be far simpler to port the Access database to DB2/400.
    Chuck

  • Database Access via a Servlet

    Hello
    I have the following Servlet code:
    package server;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import java.io.PrintWriter;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.SQLException;
    import javax.sql.DataSource;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class ServletDB extends HttpServlet {
       private static String URL= "jdbc:microsoft:sqlserver://localhost:90;" +
         "DatabaseName=Filme;User=sa;Password=";     
      // GET handles the 'read' action
      protected void doGet(HttpServletRequest request,
                           HttpServletResponse response) throws IOException {
        PrintWriter out = response.getWriter();
        String action = request.getParameter("action");
        if (action == null) {
          out
            .println("You need to specify 'create' as the action parameter in GET.");
          return;
        if (action.equals("read")) {
          readDB(request, response, out);
        } else {
          out.println(action + " is not a valid action parameter.");
        return;
      public void doPost(HttpServletRequest request,
                         HttpServletResponse response) throws ServletException,
                         IOException {
        doGet(request, response);
      private void readDB(HttpServletRequest request,
                          HttpServletResponse response,
                          PrintWriter out) throws IOException {
        Statement stmt = null;
        ResultSet rs = null;
        Connection con = null;
        try {
          Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
          con= DriverManager.getConnection(URL);       
          stmt = con.createStatement();
          rs = stmt.executeQuery("SELECT * FROM Voturi");
          // Read the data, a line at a time
          boolean hasEntries = false;
          while (rs.next()) {
            hasEntries = true;
            out.println(rs.getString("nume_film") + "," + rs.getString("nr_voturi")
                        + "," + rs.getString("an_de_productie"));
          if (!hasEntries) {
            out.println("database is empty");
          stmt.close();
          con.close();
        }catch (SQLException sqle) {
          out.println("Data not fetched. Check the stack trace!");
          sqle.printStackTrace();
        }catch (ClassNotFoundException cnfe) {
          cnfe.printStackTrace();
        }catch (InstantiationException instantiationException) {
          instantiationException.printStackTrace();
        }catch (IllegalAccessException illegalAccessException) {
          illegalAccessException.printStackTrace();
      // Get Servlet information
      public String getServletInfo() {
        return "server.ServletDB Information";
    }When I run this servlet I get a blank page instead of the requested information and I can't figure why?My database connection part of this program works because I tried it with a J2SE application. I have just started working with servlets so the answer might be simple but I just can't see it.
    Please help
    Regards,
    Michael

    Hello jSweep.
    Thank you for the reply.
    I put the jar files in the lib directory and run the servlet again. I got the following message: 'Data not fetched. Check the stack trace!'. I have no clue how to check the stack trace. Please help if you know how.
    Regards,
    Michael

  • Database access via Jdbc  in JSP

    Hey guys,
    Need a help here..I want to compare a data to existing data in a table sequencially.
    1)re is the example, if i have a user login prog,i want to compare the user already exists in that data table.
    if so how can print the user id's to compare?
    and 2)at if the user id is a wave file(binary data) in SQl? since its immposible to compare the binary data?
    keep me posting,thanks

    1. Well, perform a query.
    2. Who says you can't compare "binary" data?

  • How to handle and manage a multi Database access in runtime with LCDS?

    Hello there
    I got several customer working with the same application and I wonder how,  with LCDS,  to manage  in a runtime a multi dataBase access; without creating a configuration "mxl" file in
    the folder catalina for each database.
    Indeed, each customer have their own dataBase, and so far, I did not find out how to avoid creating a config xml file in catalina for every single database; which force me to create as well for each customer a  folder application, since the name of the config file in catalina require a folder application to be ran under tomcat....
    Thus, my question is :
    Is there anyway to create only one configuration mxl file in catalina (in the server side) and then from the client side (application) let the user select its environment (meaning its database) to run the application.... this technic can be also used for multi database environment such as : Dev / Test / Prod   environment (or database) where the same application can access to.
    Please if any one have an idea or already delt with; just let me know, because I'm entering in a bootle neck and the situation is getting serioulsy critical....
    Regards

    Hello Ulrich,
    with compact and repair I mean the MSAccess function "Compact and Repair".
    Please follow the link below for more details:
    http://office.microsoft.com/en-us/access-help/compact-and-repair-an-access-file-HP005187449.aspx
    Normally you can execute this function directly in Access or with the Windows ODBC Data Sources Administrator  => "Control Panel" => "Administrative Tools" => "Data Sources (ODBC)"...
     I want to execute this function via cvi code and not by hand ;-).
    Thank you for your support.
    Frank

  • How to handle and Manage Multi DataBase access with LCDS in runtime ?

    Hello there
    I got several customer working with the same application and I wonder how,  with LCDS,  to manage  in a runtime a multi dataBase access; without creating a configuration "mxl" file in
    the folder catalina for each database.
    Indeed, each customer have their own dataBase, and so far, I did not find out how to avoid creating a config xml file in catalina for every single database; which force me to create as well for each customer a  folder application, since the name of the config file in catalina require a folder application to be ran under tomcat....
    Thus, my question is :
    Is there anyway to create only one configuration mxl file in catalina (in the server side) and then from the client side (application) let the user select its environment (meaning its database) to run the application.... this technic can be also used for multi database environment such as : Dev / Test / Prod   environment (or database) where the same application can access to.
    Please if any one have an idea or already delt with; just let me know, because I'm entering in a bootle neck and the situation is getting serioulsy critical....
    Regards

    Hello Ulrich,
    with compact and repair I mean the MSAccess function "Compact and Repair".
    Please follow the link below for more details:
    http://office.microsoft.com/en-us/access-help/compact-and-repair-an-access-file-HP005187449.aspx
    Normally you can execute this function directly in Access or with the Windows ODBC Data Sources Administrator  => "Control Panel" => "Administrative Tools" => "Data Sources (ODBC)"...
     I want to execute this function via cvi code and not by hand ;-).
    Thank you for your support.
    Frank

  • How to Connect to Oracle 9i database server via Oracle 10g XE

    I have installed Oracle 10g eXpress Edition and uninstalled Oracle 9i client database. I used Oracle 9i client to connect to another Database server on a local LAN. Is it possible to create a database link to the old Oracle 9i database server via Oracle 10g XE? If yes, do I need to add ODBC drivers?
    I want to achieve the following:
    1) Create a connection to the Oracle 9i database server using Ora101040 odbc drivers.
    2) Use a similar 9i tool (Enterprise Management Console) within Oracle 10g XE to access Oracle 9i Database tables on a LAN network.
    3) Create data access to Oracle 10g XE via some ODBC connection from a C++ runtime application.
    Hope to receive help from Oracle professionals.
    Thanks.

    I have installed Oracle 10g eXpress Edition and
    uninstalled Oracle 9i client database. I used OraclePlease clarify - you uninstalled the 9i database or the 9i client.
    9i client to connect to another Database server on a
    local LAN. Is it possible to create a database link
    to the old Oracle 9i database server via Oracle 10g
    XE? If yes, do I need to add ODBC drivers?
    Database links between Oracle databases do not require ODBC. They do require Oracle Networking (included with both Oracle9i Database and Oracle Database 10g XE) to be configured correctly.
    It is also possible to connect ot the 9i database using the 10g Instant Client (separate download)
    I want to achieve the following:
    1) Create a connection to the Oracle 9i database
    server using Ora101040 odbc drivers.Please clarify - what client do you wish to run that needs ODBC?
    2) Use a similar 9i tool (Enterprise Management
    Console) within Oracle 10g XE to access Oracle 9i
    Database tables on a LAN network.XE does not have an equivalent to Oracle Enterprise Manager. XE does come with HTMLdb preinstalled and configured, and HTMLdb provides a subset of the administration capabilities of Enterprise Manager.
    3) Create data access to Oracle 10g XE via some ODBC
    connection from a C++ runtime application.You can download ODBC drivers from the same location on OTN you downloaded XE. I do not know whether XE includes ODBC drivers. ODBC drivers will usually still require you to configure the Oracle Networking.
    There are a number of items that make me believe you do not have a good grasp of Oracle architecture and basics. If true, I encoureage you to start reading the Concepts manual found for the database at http://docs.oracle.com, or at least the O'Reilly book 'Oracle Essentials' found at http://oracle.oreilly.com

  • SBO Ent XI 3.1 SP3 repository database access error

    Dear Experts,
    We are installing XI SP3 and using oracle 10g for repository database, we've installed 10.2.0.4 oracle db on windows 2008,
    tnsping is working, but we are getting following error ;
    Database access error. Reason Loading shared object failed. First tried to load library oci and failed because of error: [%1 is not a valid Win32 application.
    ]. Second tried to load library oci.dll and failed because of error: [%1 is not a valid Win32 application.
    Problems installing Xi 3.1 sp3 with Oracle DB
    Same problem solve via using 32bit oracle client, how can i instalee 32 bit oracle client, because oracle path's using ths insttalion directory on same server,
    Could you please wirte the steps for how to install oracle client for boe on the same server via 64 bit oracle home
    Best Regards

    BusinessObjects is not a 64-bit application.  It is a 32-bit application that can be run on a 64-bit server.  My experience has been that because it is a 32-bit application, it will not work with 64-bit database drivers.  For example, we have to set up 32-bit ODBC connections in order to connect to MS SQL Server even though the server where BOE is installed is a 64-bit server.
    -Dell

  • No access via webinterface possible

    hey,
    i'm working with oracle 11g for a few weeks now. But now i have a problem and need some help.
    Yesterday, i deleted the database and created a new one. afterwards i configured the listener. during the listener configuration i recieved a port error (standard port is used by another application). i told oracle to go on because i thought the error ocured because of another application in the background, but i was wrong.
    now i am not able to access the oracle webinterface. but i'm able to access via sql developer.
    who can help me to get webaccess again?
    cu and thx
    itchy2

    yes the instance is ccrfinal.
    i will translate it as good as possible:
    C:\Documents and Settings\dufdmz>lsnrctl
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-JUL-2010 16:00
    :48
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Willkommen in LSNRCTL. Geben Sie "help" ein, um Information zu erhalten.
    LSNRCTL> status
    Sign in on (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=DEBONWNC6010890.dp-itsol
    utions.de)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    Beginning date 30-JUN-2010 18:57:17
    Uptime 0 Tage 21 Std. 3 Min. 35 Sek.
    Trace-level off
    security ON: Local OS Authentication
    SNMP OFF
    Parameter file of the listener C:\app\team\product\11.2.0\dbhome_2\network\admin\listener.ora
    Log-File of the Listener c:\app\team\diag\tnslsnr\DEBONWNC6010890\listener\alert\log.xml
    Summary/Conlusion of the listening endpoints
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DEBONWNC6010890.dp-itsolutions.de)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DEBONWNC6010890.dp-itsolutions.de)(PORT=9090))(Presentation=HTTP)(Session=RAW))
    Service Overview
    Service "CCRfinal" has 2 instances
    Instance "CCRfinal", Status UNKNOWN, has 1 Handler for this service
    Instance "ccrfinal", Status READY, has 1 Handler for this service...
    Service "CCRfinalXDB" has 1 Instance.
    Instance "ccrfinal", Status READY, has 1 Handler for this service...
    Service "CLRExtProc" has 1 Instance.
    Instance "CLRExtProc", Status UNKNOWN, has 1 Handler for this service...
    The command has been executed successfully
    LSNRCTL>
    I tried to change the port of the http listener before to 9090 but there was no possibility to get access to the webinterface.

  • How to use taglibs in JSP for Database access

    Hi
    Could any one please tell me how to use taglibs in JSP for Database access
    with regrds
    Jojo

    This is a sample how to connect to a MySQL database with JSTL 1.0:
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>JSTL MySQL</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <c:catch var="e">
    <sql:setDataSource var="datasource" url="jdbc:mysql://Your_Server_Name_Here/You_Schema_Here"
                           user="Your_Username_Here" password="Your_Password_Here"
                           driver="com.mysql.jdbc.Driver"/>
    <c:out value="datasource= ${datasource},  Class = ${driver.class}"/>
    <br />
    <br />
    <sql:query var="deejays" dataSource="${datasource}">SELECT * FROM Your_Table_Name_Here</sql:query>
    <table>
    <%-- Get the column names for the header of the table --%>
    <c:forEach var="columnName" items="${deejays.columnNames}"><th><c:out value="${columnName}"/></th></c:forEach>
    <tbody>
    <%-- Get the value of each column while iterating over rows --%>
    <c:forEach var="row" items="${deejays.rows}">
      <tr><c:forEach var="column" items="${row}">
            <td><c:out value="${column.value}"/></td>
          </c:forEach>
      </tr>
    </c:forEach>
    </tbody>
    </table>
    </c:catch>
    <br />
    <br />
    <c:if test="${e!=null}"><span class="error">Error</span>�
      <c:out value="${e}" />
    </c:if>
    </body>
    </html>And this thread might help you:
    http://forum.java.sun.com/thread.jspa?threadID=639471&tstart=44

  • Reg: How to see Database tables in any Datasource?

    Hi Friends,
    Please give me answer to see Database tables in any Datasource.
    Thanks,
    Rama

    Hi,
    I dont think there is any Tcode for this.
    Try either of this.
    Go to RSA2 (DS Repository) in your source system and display your source system.
    If Extraction Method is 'V' - you are lucky and you see table name where data is taken from.
    If it is F* - function module is used, and you have to go thru its code to see all the tables it uses and logic how data is
    processed.
    Ext. Meth   Short text                                                                               
    V                 Transparent Table or DB View                
    D                  Fixed Domain Value                          
    F1                Function Module (Complete Interface)        
    F2                Function Module (Simple Interface)          
    Q                 Extraction Using ABAP Query                 
    A                 DataSource Append                           
    OR
    Since you have the extract structure and the extractor, you can try Extractor Checker RSA3.Execute ST05 (activating SQL Trace), switch on the trace and execute the extractor checker. Once the extractor checker presents the results
    switch off trace. The clcik on Display trace and you will see all the tables that were hit by the extractor checker to retrieve data and present it to you.
    Note: Set the break point in the Extractor Function module.
    View the ST05 Extended Trace list. The Object name shows the Tables accessed.
    Hope this helps.
    Thanks,
    JituK

Maybe you are looking for

  • Index attachments in MSG files

    I am trying to use Oracle Text to index and search msg files with attachments. For testing purposes, I have set up a table called TEST_DOCUMENTS. The table has two columns - a blob column containing the data to be indexed and a varchar2 column descri

  • Windows Update from COntrol Panel does not work??

    Hello, regardless if it is common way to do so or not: Does anyone have experience with the "Windows Update" functions in WE8S? I tried them upon a customers request, and I've seen that I could not get it to complete successfully when choosing the op

  • JDeveloper / OC4J rewriting my orion-ejb-jar.xml

    Hi All. Im having a play around with OC4J and CMP entity beans and struts at the moment learning some stuff for a new job, so ive started to write a little test app to get used to things. Ive created a CMP entity - CustomerEntityEJB, manually defined

  • Link Budget for Aironet 1550EU point-to-multipoint bridge

    We have six remote building near our main office. Is it possible to use a single Aironet 1550EU as the root bridge for point-to-multipoint links to six Aironet 1530E on each building? The datasheet for Aironet 1550EU states that it support three 5Ghz

  • Force a required login in a running wd abap application

    hi folks how can i force the user to make a login in a running wd abap application. background: user is loggid in with a default user and has to be forced to use another userid/password. kind regards, oliver