How to make ADF use OC4J datasource

Hi Gurus,
I deployed an ADF application on OC4J, and I want my application to use the datasource given by the OC4J, how do I let my application know during design time.

Refer
http://www.oracle.com/technology/products/jdev/howtos/10g/usingdatasources/using_datasources.html

Similar Messages

  • How to make and use customised DataSource

    Hi Gurus. If we are not making cubes for Inventory etc for which DS is already available, how can we create data sources in order to load the desired data in BW.means if Database fields are entirely different
    kind regards
    rajesh

    Hi,
    Customised extractors are called Generic extracters.
    Usage:
    1. When the standard extractors are not supporting the extraction what you need. If SAP does not have a standard extractor for your need to get data from R3, you would have to go for generic extractor.
    2. If you create a custom object say by combining certain base tables in R3 say custom tables ZTAB1 and ZTAB2. These two tables are not SAP provided tables and there will not be any standard extractors. So cases like this you will have to go for generic extractors.
    3. FI-SL requires generic extractors.
    How:
    You have to use RSO2 transaction and you can also set delta based on, one of the three characteristics such as timestamp, calday or pointer (a sequence no).
    once you create it and activate it. The extractor will be available in ROOSOURCE - (table in R3 where all the data sources are available).
    Steps
    Log on sap R/3.
    Step 1. create a table or view for generic extraction in se11.
    Step 2. Goto  t-code RSO2
    Step 3. Here u have to decide whether to extract transaction data or master data attributes or texts.
    Step 4. suppose if u have opted for transaction data,then give name in the column ex:ztd_m(data source name)
    Step 5. select create button,this will take u to another screen.
    Step 6. Here u have to decide from which application component u r extacting data.Ex: SD,MM,..
    Step 7. in this screen u have to fill short disciption,medium,long( these r mandatory).
    Step 8. then U have to Table name or view name which u have created in se11.
    Step 9. I f u want to maintain generic delta then u can select generic delta in top left hand side corner.
    Step 10. in next screen u have to give some field which is primary key.
    step 11. here u to specify whether time stamp or cal day or numeric pointer depending on u r requirement.
    step 12. then u have to specify  whether new status for changed records or additive delta.
            If u choose additive delta ,then u have to load data to infocube or ods object.
            If u choose new status for changed records, then u to load data  to ods object only.
    Step 13. then save it.
    Step 14. then logon to sap bw ,then replicate the data source then as usuall.
    Refer:
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    Generic Extraction with Table, View, FM & Infoset
    Creating a datasource for generic extraction
    Generic Extraction
    Customer and Generic extraction difference ?
    generic extraction
    Re: Generic extractors
    generic extraction
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-db
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b0
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.h
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Re: Generic Extractor - Delta
    Thanks,
    JituK

  • How to make adf security?

    Dear all
    How to make adf security?
    I am new adf security.
    I'm facing security issue. Now i need to secure me application (User, Group, Role etc...)
    Oracle recommend me use WebLogic internal LDAP or OID. How to manage User, Group, Role deploy after?
    Thanks Lhagva

    Hi,
    once you deployed an application, users and roles are no longer in the domain of ADF Security. So the administration is
    WLS console - if users and groups are in the WLS LDAP
    Identity Management - if users and roles are in OID, RDBMA, Active Directory etc.
    Enterprise Managers - to manage application roles and granting permissions or application roles to enterprise groups
    Frank

  • I have a $10 gift card balance on my Apple ID but when I try to rent a movie it wants me to use my debit card. How can Make it use the iTunes credit?

    I have a $10 gift card balance on my Apple ID but when I try to rent a movie it wants me to use my debit card. How can Make it use the iTunes credit?

    Hi ...
    Select None for payment method > iTunes Store: Changing account information
    Be aware, an auto renewing subsciption by require a credit card.

  • How to make OLAPDATAGRID use AS3

    How to make OLAPDATAGRID use AS3? I make like this and have a
    problem lease halp me type simple example!
    [Attach Code]
    package My
    import mx.collections.ArrayCollection;
    import mx.collections.IList;
    import mx.controls.Alert;
    import mx.controls.OLAPDataGrid;
    import mx.olap.IOLAPCube;
    import mx.olap.IOLAPDimension;
    import mx.olap.IOLAPQuery;
    import mx.olap.IOLAPQueryAxis;
    import mx.olap.OLAPAttribute;
    import mx.olap.OLAPCube;
    import mx.olap.OLAPDimension;
    import mx.olap.OLAPHierarchy;
    import mx.olap.OLAPLevel;
    import mx.olap.OLAPMeasure;
    import mx.olap.OLAPQuery;
    import mx.olap.OLAPResult;
    import mx.olap.OLAPSet;
    import mx.rpc.AsyncResponder;
    import mx.rpc.AsyncToken;
    public class OlapDGCreator
    [Bindable]
    private var flatData:ArrayCollection = new ArrayCollection(
    {otd:"div1",pos:"programmer",year:2007,quarter:"q1",zp:20000},
    {otd:"div1",pos:"manager",year:2007,quarter:"q1",zp:15000},
    {otd:"div2",pos:"programmer",year:2007,quarter:"q1",zp:25000},
    {otd:"div2",pos:"manager",year:2007,quarter:"q1",zp:23000},
    {otd:"div1",pos:"programmer",year:2007,quarter:"q2",zp:21000},
    {otd:"div1",pos:"manager",year:2007,quarter:"q2",zp:16000},
    {otd:"div2",pos:"programmer",year:2007,quarter:"q2",zp:27000},
    {otd:"div2",pos:"manager",year:2007,quarter:"q2",zp:24000},
    public var str:String = "";
    public var ODG:OLAPDataGrid = new OLAPDataGrid();
    public var MyCube:OLAPCube = new OLAPCube("otchet");
    public function OlapDGCreator()
    MyCube.dataProvider=flatData;
    var m:OLAPMeasure = new OLAPMeasure("ZP");
    m.aggregator="SUM";
    m.dataField="zp";
    var a:IList = new ArrayCollection();
    a.addItem(m);
    var dimDateTime:OLAPDimension = new
    OLAPDimension("DateTime","DateTime");
    dimDateTime.cube=MyCube;
    dimDateTime.name="DateTime";
    var hierDataTime:OLAPHierarchy = new
    OLAPHierarchy("hierDataTime","displayHierDataTime");
    var l1:OLAPLevel = new OLAPLevel("Year","Year")
    var l2:OLAPLevel = new OLAPLevel("Quarter","Quarter")
    hierDataTime.levels.addItem(l1);
    hierDataTime.levels.addItem(l2);
    var att1:OLAPAttribute = new OLAPAttribute("Year","Year")
    att1.dataField="year";
    att1.name="Year";
    var att2:OLAPAttribute = new
    OLAPAttribute("Quarter","quarter")
    att2.dataField="quarter";
    att2.name="Quarter";
    dimDateTime.attributes.addItem(att1)
    dimDateTime.attributes.addItem(att2)
    dimDateTime.hierarchies.addItem(hierDataTime);
    var dimDivDim:OLAPDimension = new
    OLAPDimension("DivDim","DivDim");
    dimDivDim.cube=MyCube;
    dimDivDim.name="DivDim";
    var hierDivDim:OLAPHierarchy = new
    OLAPHierarchy("hierDivDim","displayHierDivDim");
    var dd_l1:OLAPLevel = new OLAPLevel("Otd","Otd")
    var dd_l2:OLAPLevel = new OLAPLevel("Pos","Pos")
    hierDivDim.levels.addItem(dd_l1);
    hierDivDim.levels.addItem(dd_l2);
    var dd_att1:OLAPAttribute = new OLAPAttribute("Otd","Otd")
    dd_att1.dataField="otd";
    dd_att1.dimension=dimDivDim;
    var dd_att2:OLAPAttribute = new OLAPAttribute("Pos","Pos")
    dd_att2.dataField="pos";
    dd_att2.dimension=dimDivDim;
    dimDivDim.attributes.addItem(dd_att1);
    dimDivDim.attributes.addItem(dd_att2);
    dimDivDim.hierarchies.addItem(hierDivDim);
    MyCube.dimensions.addItem(dimDateTime);
    MyCube.dimensions.addItem(dimDivDim);
    MyCube.measures = a
    MyCube.refresh();
    //MyCube.measures.addEventListener("www",test);
    //MyCube.addEventListener(CubeEvent.CUBE_COMPLETE,runQuery)
    runQuery();
    //запустили
    выражение
    // Create the OLAP query.
    private function getQuery(cube:IOLAPCube):IOLAPQuery {
    // Create an instance of OLAPQuery to represent the query.
    var query:OLAPQuery = new OLAPQuery;
    // Get the row axis from the query instance.
    var rowQueryAxis:IOLAPQueryAxis =
    query.getAxis(OLAPQuery.ROW_AXIS);
    // Create an OLAPSet instance to configure the axis.
    var otdSet:OLAPSet = new OLAPSet;
    // Add the Product to the row to aggregate data
    // by the Product dimension.
    var tmp:IOLAPDimension = cube.findDimension("DivDim");
    var tmp2:OLAPDimension = cube.dimensions[0];
    otdSet.addElements(OLAPAttribute(OLAPDimension(cube.dimensions[1]).attributes[0]).childre n);//zah
    otdSet.addElements(cube.findDimension("DivDim").findAttribute("Otd").children);
    // Add the OLAPSet instance to the axis.
    var posSet:OLAPSet = new OLAPSet;
    // Add the Product to the row to aggregate data
    // by the Product dimension.
    posSet.addElements(OLAPAttribute(OLAPDimension(cube.dimensions[1]).attributes[1]).childre n);//zah
    posSet.addElements(cube.findDimension("DivDim").findAttribute("Pos").children);
    // Add the OLAPSet instance to the axis.
    rowQueryAxis.addSet(otdSet.crossJoin(posSet));
    // Get the column axis from the query instance, and
    configure it
    // to aggregate the columns by the Quarter dimension.
    var colQueryAxis:IOLAPQueryAxis =
    query.getAxis(OLAPQuery.COLUMN_AXIS);
    var yearSet:OLAPSet= new OLAPSet;
    yearSet.addElements(OLAPAttribute(OLAPDimension(cube.dimensions[0]).attributes[0]).childr en);//zah
    yearSet.addElements(cube.findDimension("DateTime").findAttribute("Year").children);
    var quarterSet:OLAPSet= new OLAPSet;
    quarterSet.addElements(OLAPAttribute(OLAPDimension(cube.dimensions[0]).attributes[1]).chi ldren);//zah
    //quarterSet.addElements(cube.findDimension("DateTime").findAttribute("Quarter").children );
    colQueryAxis.addSet(yearSet.crossJoin(quarterSet));
    return query;
    // Event handler to execute the OLAP query
    // after the cube completes initialization.
    // private function runQuery(event:CubeEvent):void {
    private function runQuery():void {
    // Get cube.
    //var cube:IOLAPCube = IOLAPCube(event.currentTarget);
    var cube:IOLAPCube = IOLAPCube(this.MyCube);
    // Create a query instance.
    var query:IOLAPQuery = getQuery(cube);
    // Execute the query.
    var token:AsyncToken = cube.execute(query);
    // Setup handlers for the query results.
    token.addResponder(new AsyncResponder(showResult,
    showFault));
    // Handle a query fault.
    private function showFault(result:Object, token:Object):void
    Alert.show("Error in query.");
    // Handle a successful query by passing the query results to
    // the OLAPDataGrid control..
    private function showResult(result:Object,
    token:Object):void {
    if (!result) {
    Alert.show("No results from query.");
    return;
    ODG.dataProvider= result as OLAPResult;
    [/Attach Code]

    Here is the fixed code. I would have loved to re-organize the
    code but left it as is so that you can diff the files and make a
    note of the differences.
    package
    import mx.collections.ArrayCollection;
    import mx.controls.Alert;
    import mx.controls.OLAPDataGrid;
    import mx.events.CubeEvent;
    import mx.olap.IOLAPCube;
    import mx.olap.IOLAPDimension;
    import mx.olap.IOLAPQuery;
    import mx.olap.IOLAPQueryAxis;
    import mx.olap.OLAPAttribute;
    import mx.olap.OLAPCube;
    import mx.olap.OLAPDimension;
    import mx.olap.OLAPHierarchy;
    import mx.olap.OLAPLevel;
    import mx.olap.OLAPMeasure;
    import mx.olap.OLAPQuery;
    import mx.olap.OLAPResult;
    import mx.olap.OLAPSet;
    import mx.rpc.AsyncResponder;
    import mx.rpc.AsyncToken;
    public class OlapDGCreator
    [Bindable]
    private var flatData:ArrayCollection = new ArrayCollection(
    {otd:"div1",pos:"programmer",year:2007,quarter:"q1",zp:20000},
    {otd:"div1",pos:"manager",year:2007,quarter:"q1",zp:15000},
    {otd:"div2",pos:"programmer",year:2007,quarter:"q1",zp:25000},
    {otd:"div2",pos:"manager",year:2007,quarter:"q1",zp:23000},
    {otd:"div1",pos:"programmer",year:2007,quarter:"q2",zp:21000},
    {otd:"div1",pos:"manager",year:2007,quarter:"q2",zp:16000},
    {otd:"div2",pos:"programmer",year:2007,quarter:"q2",zp:27000},
    {otd:"div2",pos:"manager",year:2007,quarter:"q2",zp:24000},
    public var str:String = "";
    public var ODG:OLAPDataGrid = new OLAPDataGrid();
    public var MyCube:OLAPCube = new OLAPCube("otchet");
    public function OlapDGCreator()
    MyCube.dataProvider=flatData;
    var m:OLAPMeasure = new OLAPMeasure("ZP");
    m.aggregator="SUM";
    m.dataField="zp";
    //var a:IList = new ArrayCollection();
    //a.addItem(m);
    var dimDateTime:OLAPDimension = new
    OLAPDimension("DateTime","DateTime");
    //dimDateTime.cube=MyCube;
    //dimDateTime.name="DateTime";
    var hierDataTime:OLAPHierarchy = new
    OLAPHierarchy("hierDataTime","displayHierDataTime");
    var l1:OLAPLevel = new OLAPLevel("Year","Year")
    l1.attributeName = "Year";
    var l2:OLAPLevel = new OLAPLevel("Quarter","Quarter")
    l2.attributeName = "Quarter";
    //hierDataTime.levels.addItem(l1);
    //hierDataTime.levels.addItem(l2);
    hierDataTime.levels = new ArrayCollection([l1, l2]);
    var att1:OLAPAttribute = new OLAPAttribute("Year","Year")
    att1.dataField="year";
    //att1.name="Year";
    var att2:OLAPAttribute = new
    OLAPAttribute("Quarter","quarter")
    att2.dataField="quarter";
    //att2.name="Quarter";
    //dimDateTime.attributes.addItem(att1)
    //dimDateTime.attributes.addItem(att2)
    dimDateTime.attributes = new ArrayCollection([att1, att2]);
    //dimDateTime.hierarchies.addItem(hierDataTime);
    dimDateTime.hierarchies = new
    ArrayCollection([hierDataTime]);
    var dimDivDim:OLAPDimension = new
    OLAPDimension("DivDim","DivDim");
    //dimDivDim.cube=MyCube;
    //dimDivDim.name="DivDim";
    var hierDivDim:OLAPHierarchy = new
    OLAPHierarchy("hierDivDim","displayHierDivDim");
    var dd_l1:OLAPLevel = new OLAPLevel("Otd","Otd")
    dd_l1.attributeName = "Otd";
    var dd_l2:OLAPLevel = new OLAPLevel("Pos","Pos")
    dd_l2.attributeName = "Pos";
    //hierDivDim.levels.addItem(dd_l1);
    //hierDivDim.levels.addItem(dd_l2);
    hierDivDim.levels = new ArrayCollection([dd_l1, dd_l2]);
    var dd_att1:OLAPAttribute = new OLAPAttribute("Otd","Otd")
    dd_att1.dataField="otd";
    //dd_att1.dimension=dimDivDim;
    var dd_att2:OLAPAttribute = new OLAPAttribute("Pos","Pos")
    dd_att2.dataField="pos";
    //dd_att2.dimension=dimDivDim;
    //dimDivDim.attributes.addItem(dd_att1);
    //dimDivDim.attributes.addItem(dd_att2);
    //dimDivDim.hierarchies.addItem(hierDivDim);
    dimDivDim.attributes = new ArrayCollection([dd_att1,
    dd_att2]);
    dimDivDim.hierarchies = new ArrayCollection([hierDivDim]);
    //MyCube.dimensions.addItem(dimDateTime);
    //MyCube.dimensions.addItem(dimDivDim);
    //MyCube.measures = a
    MyCube.elements = [dimDateTime, dimDivDim, m];
    MyCube.refresh();
    //MyCube.measures.addEventListener("www",test);
    MyCube.addEventListener(CubeEvent.CUBE_COMPLETE,runQuery)
    // Create the OLAP query.
    private function getQuery(cube:IOLAPCube):IOLAPQuery {
    // Create an instance of OLAPQuery to represent the query.
    var query:OLAPQuery = new OLAPQuery;
    // Get the row axis from the query instance.
    var rowQueryAxis:IOLAPQueryAxis =
    query.getAxis(OLAPQuery.ROW_AXIS);
    // Create an OLAPSet instance to configure the axis.
    var otdSet:OLAPSet = new OLAPSet;
    // Add the Product to the row to aggregate data
    // by the Product dimension.
    var tmp:IOLAPDimension = cube.findDimension("DivDim");
    var tmp2:OLAPDimension = cube.dimensions[0];
    otdSet.addElements(OLAPAttribute(OLAPDimension(cube.dimensions[1]).attributes[0]).children );//zah
    otdSet.addElements(cube.findDimension("DivDim").findAttribute("Otd").children);
    // Add the OLAPSet instance to the axis.
    var posSet:OLAPSet = new OLAPSet;
    // Add the Product to the row to aggregate data
    // by the Product dimension.
    posSet.addElements(OLAPAttribute(OLAPDimension(cube.dimensions[1]).attributes[1]).children );//zah
    posSet.addElements(cube.findDimension("DivDim").findAttribute("Pos").children);
    // Add the OLAPSet instance to the axis.
    rowQueryAxis.addSet(otdSet.crossJoin(posSet));
    // Get the column axis from the query instance, and configure
    it
    // to aggregate the columns by the Quarter dimension.
    var colQueryAxis:IOLAPQueryAxis =
    query.getAxis(OLAPQuery.COLUMN_AXIS);
    var yearSet:OLAPSet= new OLAPSet;
    yearSet.addElements(OLAPAttribute(OLAPDimension(cube.dimensions[0]).attributes[0]).childre n);//zah
    yearSet.addElements(cube.findDimension("DateTime").findAttribute("Year").children);
    var quarterSet:OLAPSet= new OLAPSet;
    quarterSet.addElements(OLAPAttribute(OLAPDimension(cube.dimensions[0]).attributes[1]).chil dren);//zah
    //quarterSet.addElements(cube.findDimension("DateTime").findAttribute("Quarter").children) ;
    colQueryAxis.addSet(yearSet.crossJoin(quarterSet));
    return query;
    // Event handler to execute the OLAP query
    // after the cube completes initialization.
    // private function runQuery(event:CubeEvent):void {
    private function runQuery(event:Event):void {
    // Get cube.
    //var cube:IOLAPCube = IOLAPCube(event.currentTarget);
    var cube:IOLAPCube = IOLAPCube(this.MyCube);
    // Create a query instance.
    var query:IOLAPQuery = getQuery(cube);
    // Execute the query.
    var token:AsyncToken = cube.execute(query);
    // Setup handlers for the query results.
    token.addResponder(new AsyncResponder(showResult,
    showFault));
    // Handle a query fault.
    private function showFault(result:Object, token:Object):void
    Alert.show("Error in query.");
    // Handle a successful query by passing the query results to
    // the OLAPDataGrid control..
    private function showResult(result:Object, token:Object):void
    if (!result) {
    Alert.show("No results from query.");
    return;
    ODG.dataProvider= result as OLAPResult;

  • How to make ADF PanelPage as Template

    Hi,
    Im Harry. Im newbie to ADF and JSF
    I wanna know how to make PanelPage as a template.
    So when i drag PanelPage component, it already have my company logo as a header, application name as title. etc ..
    How can i do that ?
    FYI im using JDev 10.1.3.3

    Harry - just because you are new doesn't mean that you can keep posting the same message over and over. There are 4 entries for your question already - and as Frank replies in one of them there is no templating built in in 10.1.3 - you can use copy/paste of your component.
    Some people use Regions to do templating - though this is not supported and won't migrate to 11 (you can search google for template and adf region - and you'll find the solution).

  • Error when using OC4J Datasource

    Hi,
    A customer is using a Servlet to run in an OC4j instance and is using EJB's for data DML.
    To work around the possibility that XMLTypes are not supported we do an update in the DoPost.
    public void ejbPostCreate(String mediumnummer, String inzender, String inhoud, PrlBerichttypeLocal prlBerichttypeLocal)
    OracleConnection oconnection = null;
    OraclePreparedStatement opstmt = null;
    CLOB tempCLOB = null;
    try
    oconnection = (OracleConnection)getConnection();
    String sql = "";
    sql += "update prl_xml_berichten SET ";
    sql += "INHOUD = XMLTYPE(?) where id = ?";
    opstmt = (OraclePreparedStatement)oconnection.prepareCall(sql);
    System.out.println(sql);
    System.out.println("username : "+ oconnection.getMetaData().getUserName());
    tempCLOB = CLOB.createTemporary(oconnection,true,CLOB.DURATION_SESSION);
    Writer writer = tempCLOB.getCharacterOutputStream();
    writer.write(inhoud);
    writer.flush();
    writer.close();
    opstmt.setCLOB(1,tempCLOB);
    opstmt.setLong(2,id.longValue());
    boolean test = opstmt.execute();
    tempCLOB.trim(0);
    if (!test) System.out.println("Succes !!!!");
    else System.out.println("Failure!!!");
    // connection.commit();
    catch (Exception exc)
    System.out.println("Fout bij inhoud update ");
    exc.printStackTrace();
    finally
    try
    if (opstmt != null) opstmt.close();
    if (oconnection != null) oconnection.close();
    System.out.println("create dopost gedaan...");
    catch (SQLException sqlex)
    sqlex.getMessage();
    System.out.println("Fout bij afsluiten dopost");
    When they are using the getConnection from the Datasource:
    private Connection getConnection() throws NamingException, SQLException
    InitialContext context = new InitialContext();
    DataSource dataSource = null;
    // Look up data source object in directory service using JNDI
    dataSource = (DataSource)context.lookup("jdbc/prlDS");
    // Establishing db connection
    return dataSource.getConnection();
    The following error occurs:
    username : PRL
    create dopost gedaan...
    com.evermind.server.rmi.OrionRemoteException: javax.ejb.EJBException: java.lang.AbstractMethodError: oracle.jdbc.OracleConnection oracle.jdbc.OracleConnection.unwrap()
    java.rmi.RemoteException com.evermind.server.ejb.EJBUtils.getUserException(java.lang.Throwable, boolean) EJBUtils.java:263
    java.lang.String CheckIn_StatelessSessionBeanWrapper8.checkInMessage(java.lang.String[]) CheckIn_StatelessSessionBeanWrapper8.java:126
    When we change it to the connection setup with a hard string it does work:
    private Connection getConnection() throws NamingException, SQLException
    DriverManager.registerDriver(new OracleDriver());
    return DriverManager.getConnection(Receiver.DATASOURCE);
    Does anybody have an idea what the difference is with the direct connect string or the datasource from OC4J.
    I attached the full error and the datasource.xml.
    Regards,
    Remco

    Hi Remco,
    You may not be aware of this, but the "Connection" returned from a "DataSource" is not necessarily the same as the one returned from "DriverManager". If I remember correctly, there was a similar question to yours posted to this forum, not so long ago. As I recall, Steve Button mentioned that there are emulated and non-emulated "Connection"s. I saw no mention in your post regarding which version of OC4J you are using, so I will assume the latest, stand-alone, production version (9.0.3). The Data Sources chapter of Oracle9iAS Containers for J2EE Services Guide has more details.
    Good Luck,
    Avi.

  • How to make and use distribution list?

    How do I make and use a distrubition list in mail?
    I know how to do it on a PC but cannot find it on the MAC?

    You create a Group in AddressBook.

  • How to make ADF application from ADF library jar ?

    Hi all experts,
    We used to make adf library jar from an ADF application in jdeveloper.
    Is it possible to do the reverse of it.
    I need to make a adf application from an ADF libraryjar file.
    Regards,
    Hoque

    its possible to get do the application from an EAR file
    New Galleary - Application - Application from EAR file.Project can be done using WAR file
    New Galleray - Prjects - Project from WAR filefor SOA we can do file - import - SOA Achive into soa project

  • How to make ADF Business Component Connection which is using XATransaction?

    Hi all,
    I'm using ORACLE 10.1.3 ADF business component, how to set this component using XA transaction? Is that possible to use xa transaction manually from application module?
    thanks

    I believe you mean to ask whether ADF BC uses XA Transaction.
    You can use a JDBC datasource based on XA Transaction for ADF BC. You might find this link useful for an overview: [XA Data Source Interface and Oracle Implementation|http://download-uk.oracle.com/docs/cd/B10501_01/java.920/a96654/xadistra.htm#1058741]
    What do you mean by "+Is that possible to use xa transaction manually from application module?+" - Do you mean exposing the transaction of ADF BC outside its AM..? If so, I'm afraid that its not supported.
    Thanks,
    ~Krithika

  • How to make Weather use my system language

    Hi all,
    My situation is kind of uncommon, but I would like to try to post here to see if anyone happens to know a solution. If I should not post this question (which is about sync between iPhone and Macbook) here, please let me know.
    Background:
    iPhone 6 plus (language is Chinese)
    Macbook Pro (language is English)
    The problem:
    If I add a new city in Weather on my iPhone in Chinese ( I had to add it using Chinese, btw), it shows as it is on my Mac. See picture below.
    I also noticed that I can add that city again on my Mac again, in English of course. See picture below.
    This happens in the other direction too. Adding a city on my mac in English, then it shows in English on my iPhone, and I can still add a Chinese version of that city.
    This is weird to me, because usually this should be designed as the same model with two different views (same thing in different languages), not two separated models.
    Please let me know if you know how Weather syncs data and/or how to solve this issue.
    === more: ===
    The behavior becomes even weirder if I add a city in one language on one device and then add the same city in another language on another device. Take the capital of France for example, I added '巴黎' (Paris in Chinese) on my iPhone (and it is synced to Mac), then I added 'Paris' on my Mac. To my surprise, the second entry shows as '巴黎' on my iPhone, not as 'Paris' (I now have two exactly same entries on my iPhone).
    And after I add another city on my iPhone, the second capital-of-France entry on my Mac becomes '巴黎' too. ( I think this is normal, as things are synced to another device when updated on one device).
    notes:
    - This also happens on the other direction.
    - This is not happening every time. Sometimes this bug shows up, sometimes not.
    - I found this behavior long ago. I'm pretty sure this is not only for the latest versions of iOS and Mac OS.

    Move the entire iTunes folder from <User's Music> to the root of the other drive. Press and hold down shift as you launch iTunes and keep holding until asked to choose or create a library. Click choose and browse to X:\iTunes\iTunes Library.itl where X:\ is the drive letter.
    You should also consider making a backup of your library to an external drive.
    iTunes will still want to store iOS backup data on the system drive unless you use the following process to relocate it.
    Moving the iOS device backup location
    Open a command prompt by hitting the start button and typing CMD<Enter> in the search box that opens up, or with Start > Run on older Windows.
    To move the current backup folder from C: to X: (for example) type in this command and press <Enter>
    Move "C:\Users\<User>\AppData\Roaming\Apple Computer\MobileSync\Backup" "X:\Backup"
    Where <User> is your Windows user name.
    To make iTunes look for the data in the new location type in this command and press <Enter>
    MkLink /J "C:\Users\<User>\AppData\Roaming\Apple Computer\MobileSync\Backup" "X:\Backup"
    If your preferred drive has a different letter or you already have a folder called "Backup" then edit "X:\Backup" accordingly in both commands.
    If you have Windows XP then you'll need a third-party tool such as Junction to link the two locations together instead of the MkLink command. The source folder is C:\Documents and Settings\<User>\Application Data\Apple Computer\MobileSync\Backup
    tt2

  • How to make full use of Apple iCloud

    As a MacOS X 10.7 (Lion) and iOS 5 user, I have free access to Apple's iCloud services.  I have used iCloud successfully in rural Georgia under Windstream DSL but I find no mention of iCloud in my search of the Verizon support forums.  As I plan to move to Florida and have arranged for Verizon FiOS Internet, I'd really like to get a better handle on whether and how Verizon supports iCloud.  I have 30 days to cancel the Verizon account and make other arrangements if necessary.  Thanks in advance for any information on this topic.
    It appears that I will not be able to use Apple's authenticated SMTP server (smtp.me.com) and that I must instead use outgoing.verizon.net.  Is that correct or is there a way to use yje iCloud SMTP servers?  

    flowney wrote:
    So are you saying that Verizon blocks port 25?  If so, I can use port 587 according to Apple's iCloud support document on this subject: http://support.apple.com/kb/TS4002  I'll try that.
    Short answer, yes.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • How to make the java.sql.Datasource.setLoginTimeout method work

    I have an EJB that gets a database connection. At the moment, if it can't get a connection, it waits there for 3 minutes, which is unacceptable. I would like to throw an exception or somehow limit the timeout period. When I found this setLoginTimeout method I thought my troubles were over. But no matter what I set it to, it still blocks and waits about 3 minutes.
    I have tried this with MSSQL7 databases, and Sybase databases, using all the inet drivers available and also jConn52 driver (for Sybase). But with no luck (despite inet saying Opta supports this method)
    Is it that no drivers yet support this method? If so, could you point me in the direction of some drivers (MSSQL7 and Sybase Server ) that support this method? Otherwise, could someone tell me what I'm doing wrong? Thanks.
    This is my code, to try to make it timeout in 30 seconds.
    javax.naming.InitialContext ic = new javax.naming.InitialContext();
    javax.sql.DataSource ds = (javax.sql.DataSource)ic.lookup(myDatasourceName);
    ds.setLoginTimeout(30);
    java.sql.Conection newConn newConn = ds.getConnection();
    Thank you for your help.

    Hi,
    I am using Oracle classes12.jar driver to connect to DB. When i use DriverManager.setLoginTimeout(1). But it is not getting timed out. Why?

  • How to make ADF page center align  when open in mac 1920×1080

    Hi all,
    we have created an ADF application using 1024*786 and display is working fine. But when I open the application in safari browser in mac pc having 1920×1080 screen size the display start from extreme left top which takes 1024*786 screen and leave the left area blank. I wanted my fixed screen to come in the middle of the browser 1920×1080 .
    I have tried the following option by setting inline style
    style="margin-left: auto;
    margin-right: auto;
    width: 1024;
    in <af:document tag but it doesn't work.
    How can i move my page to center of the screen for higher resolution browser?
    Thanks in advance

    Thanks Vince but it stretch whole screen that is not require. As my screen size is fixed 1024 *748 I want my screen should come in the center . I need same behavior when I open yahoo.com in mac browser.

  • How to make Adf Table Read Only

    hi.
    i have a Viewobject named Employe based on an entiy object. when i insert it on a form as a table, by default the table is updatable.
    how can i make it readonly (just the adf swing table) without creating an other readonly view object Employe.

    I think you'll need to do this in the Jtable level -
    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

Maybe you are looking for