Error JBO-33003 ADF Business component as an EJB remote

Hi,
I need to deploy an ADF application (model in business component and view in ADF Faces) in a multi-tier architecture. I deployed the MODEL project (bc4j) in an OAS’s OC4J instance. Now, when I try to test de application I get the following error:
oracle.jbo.ConfigException: JBO-33003: Connection name <my_conn_to_oas> not defined.
Also, I tried to connect to de EJB session from my VIEW project, so I changed the file DataBindings.cpx. I changed the line Configuration="AMProyectosLocal" to Configuration="AMProyectosAS_DS".
When I run the view project I get the same error:
500 Internal Server Error
oracle.jbo.ConfigException: JBO-33003: Connection name AppServerPenny not defined
     at oracle.jbo.client.Configuration.initializeFromConnectionName(Configuration.java:1103)
     at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:538)
     at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:461)
     at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:436)
     at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:287)
     at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:539)
     at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
     at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:136)
     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:222)
     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
     at oracle.adf.model.BindingContext.get(BindingContext.java:457)
What is the problem?
Where can I find the process to deploy in a multi-tier platform?
Please, help me.

Thank for your help.
I reviewed the datasource configuration and it is Ok.
The connection’s name isn't a datasource name. It is the connection’s name to the APPLICATION SERVER. I reviewed the bc4j.xcfg file and it has the following definition:
<ConnectionDefinition name="AppServerPenny">
<ENTRY name="remote-oracle-home" value="/home/oracle/OAS/10.2.0/middle"/>
<ENTRY name="ConnectionType" value="Oracle_AS_10g_UNIX"/>
<ENTRY name="HOSTNAME" value="penny.asesoftware.com"/>
<ENTRY name="DeployPassword" value="true"/>
<ENTRY name="oc4j-instance-name" value="OC4J_ARES"/>
<ENTRY name="user" value="ias_admin"/>
<ENTRY name="ConnectionName" value="AppServerPenny"/>
<ENTRY name="ormi-username" value="admin"/>
<ENTRY name="ormi-client-url" value="ormi://penny.asesoftware.com:23791"/>
<ENTRY name="IIOP_PORT" value="1810"/>
<ENTRY name="password">
<![CDATA[{904}05B4D7F42A8C91433599EDC9FDE9B9B249A698997ABBAAAD13]]>
</ENTRY>
<ENTRY name="ormi-password" value="manager123"/>
<ENTRY name="DeployPassword" value="true"/>
</ConnectionDefinition>
Why does the test utility not found the AppServerPenny connection?

Similar Messages

  • Error while adding ADF Business Component

    Hi All,
    I am using JDev 11.1.1.3 and trying to create a new Application.
    Under the Model Project of this Application when I am trying to add Business component I am getting following error:
    " *Wizard Open Error*
    *Illegal name. It is either a reserved word or an object of a given name already exists within the project.*
    *com.java.DemoApp.Model*
    *Exception: oracle.jbo.dt.objects.JboException* "
    Steps I followed:
    New Application --> Fusion Web Application (ADF) --> Gave App name and hit Finish Button.
    Model and View Controller Projects got created.
    Now when I am trying to add ADF Business Component I am Getting above error.
    Please Help

    Hi John ,
    Please find details and steps below:
    1. Open Jdev
    2. Click New Application
    3. Create Fusion Web Application (ADF)
    wizard will come up
    Details entered:
    Application Name: DemoApp
    Directory: D:\Jdev\mywork\DemoApp
    Application Package Prefix com.java.Demo
    4. Hit Next Button
    Project 1Name come (Step 2 of 5)
    Project Name Model (Default Project Name)
    Directory D:\Jdev\mywork\DemoApp\Model (Automatically Populated)
    No changes done
    5. Hit Next Button
    Project 1 Java Settings come (Step 3 of 5)
    Below values automatically populated
    Default package com.java.Demo.model
    Java Source Path D:\Jdev\mywork\DemoApp\Model\src
    Output Directory D:\Jdev\mywork\DemoApp\Model\classes
    No changes done
    6. Hit Next button
    Project 1Name come (Step 4 of 5)
    Project Name ViewController (Default Project Name)
    Directory D:\Jdev\mywork\DemoApp\ViewController (Automatically Populated)
    No changes done
    7. Hit Next Button
    Project 1 Java Settings come (Step 4 of 5)
    Below values automatically populated
    Default package com.java.Demo.view
    Java Source Path D:\Jdev\mywork\DemoApp\ViewController\src
    Output Directory D:\Jdev\mywork\DemoApp\ViewController\classes
    No changes done
    8. Click Finish Button
    9. Select Model Project under Application Navigator
    10. Right Click and select New --> ADF Business Component --> Application Module --> Ok
    Error Thrown..
    Please let me know if more details required
    Thanks and Regards
    Manav Ratra

  • ADF Business Component problem

    Hello,
    I am trying to Setting Up ADF Business Component Data Sources, pass all steps. Deployed oracle.bi.integration.adf.ear on WLS, added OBIEEBroker proggect to an application and so on. But when I deploy my application I am getting exception.
    [08:45:51 AM] weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false], [Extension-Name: oracle.bi.integration.adf, Specification-Version: 11.1.1.2, exact-match: false], [Extension-Name: oracle.applcore.model, Specification-Version: 11.1.1, exact-match: false].
    I have Oracle Business Intelligence 11.1.1.5.0, WebLogic Server Version: 10.3.5.0 and Studio Edition Version 11.1.1.5.0
    Thanks,
    SNikiforov

    Check this Doc ID 947921.1
    If helps pls mark

  • 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

  • 11g ADF Business Component Browser + ADF BC security

    Hi gang
    I was hoping somebody could help me out with the ADF BC security features as outlined section 28.4.3 of the Fusion Developer's Guide for JDev 11g.
    1) I note once you've defined a Policy Store via the ADF Security wizard, each time you run the ADF Business Component Browser a login dialog then shows requiring a user to be authenticated. Is there anyway to turn this off for the ADF BC model project for testing purposes without removing the whole Policy Store set of files?
    2) The EO + EO attributes allow the role "unauthenticated-role" as a permission, documented online as:
    "Select when you want to grant access privileges to unauthenticated users. All users, including unauthenticated users, for example, those *not*required* to log on to the application, are automatically considered by Oracle Platform Security to be a member of the anonymous-role."
    (Note my emphasis in the quote)
    Given this, once the ADF Security is enabled, the login dialog always appear for the ADF Business Component Browser. How do you login in an unauthenticated fashion to test an unauthenticated user's privileges against an authenticated privileges?
    Hope you can help with thanks,
    CM.

    Chris,
    you should be able to switch it on/off by setting
    authorizationEnforce="false"
    authenticationRequire="false"/>
    in the .adf\META-INF\adf-config.xml file
    you can edit this file from within JDeveloper
    Frank

  • SBL-DAT-00222: An error has occurred creating business component 'Admin SEA

    Hello,
    I am also facing simillar issue.
    I am trying to create admin account through Siebel Data bean using Business object "Users" and business component "User";
    It works from Web client. but fails from siebel databean program.
    Following is an error in SCCObjManager log :-
    Please ask your systems administrator to check your application configuration.
    ObjMgrMiscLog Error 1 0000001650241a04:0 2012-08-13 14:26:48 (busobj.cpp (1666)) SBL-DAT-00222: An error has occurred creating business component 'Admin SEA Application' used by business object 'Users'.
    Please suggest.
    Siebel Environment details:-
    Siebel 8.2.2.0.0 - Windows 2008 R2 SP1
    Database - Oracle 11g
    We are using database as security adapter.

    I have never worked with Databeans and neither with Siebel 8.2.2.
    But when I look in Siebel 8.1.1.3 Tools at the Business Object 'Users', I don't see the business component 'Admin SEA Application'.
    The Business Component does exist, but in a different Business Object.
    Perhaps you should review the code of the Databean.
    If all else fails, you can try to add it through Business Object 'Employee' and Business Component 'Employee'.

  • ERROR WHEN USING JHEADSTART TO GENERATE ADF BUSINESS COMPONENT FROM DESIGNE

    Use JDeveloper to generate a ADF Businness component using Jheadstart from
    Designer the following error is thrown
    oracle.jmig.source.ExtractorException: Caught SQL exception:ORA-01795: maximum number of expressions in a list is
    1000
    at oracle.jmig.source.designer.DesignerExtractor.extract(DesignerExtractor.java:136
    at oracle.jmig.MigrationRunnable.extract(MigrationRunnable.java:349)
    at oracle.jmig.MigrationRunnable.migrate(MigrationRunnable.java:183)
    at oracle.jmig.MigrationRunnable.run(MigrationRunnable.java:122)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    at java.lang.Thread.run(Thread.java:595)

    Yes, this is a known issue. We will fix this for the next release.
    Having said that, the next release will contain the JHeadstart Forms2ADF generator which directly reads Oracle Forms .fmb files to ADF, without the need to use Oracle Designer, avoiding problems like this alltogether.
    Steven Davelaar,
    JHeadstart Team.

  • JBO-25200 in Business Component Browser in JDeveloper 9.3.3

    I create Application Module for ODBC bridge database (Access). It works fine in JDeveloper 9.3.2. But in JDeveloper 9.3.3 I receive JBO-25200 error when I try test it in Business Component Browser.
    Why?

    Are you able to run the query directly in Database:
    SELECT Customers.CUSTOMER_ID, Customers.CUST_FIRST_NAME, Customers.CUST_LAST_NAME, Customers.CUST_ADDRESS, Customers.PHONE_NUMBERS, Customers.NLS_LANGUAGE, Customers.NLS_TERRITORY, Customers.CREDIT_LIMIT, Customers.CUST_EMAIL, Customers.ACCOUNT_MGR_ID, Customers.CUST_GEO_LOCATION, Employees.FIRST_NAME, Employees.ROWID, Employees.LAST_NAME FROM CUSTOMERS Customers, EMPLOYEES Employees WHERE Customers.ACCOUNT_MGR_ID = Employees.MANAGER_ID ORDER BY Customers.CUSTOMER_ID
    Thanks,
    Navaneeth

  • Error while using ADF map component

    I am facing problem while using ADF map component to display geographical addresses on the map. Steps I have followed are as follows :
    1. I have created a simple table with structure.
    location_name varchar2(20),
    longitude number(10),
    latitude(10)
    This table is having records for actual values.
    2. I have created BC objects for accessing this table.
    3. Then I have added this data control to the JSP page as a ADF map and point theme. Here I have specified map viewer URL as http://elocation.oracle.com/mapviewer/. I have binded values for longitude and latitude to the values from EO. I have specified point data value as location_name. No value is specified for category.
    With this setup when I try to execute the page, it is throwing following error.
    DVT-26007: Theme mapPointTheme1 cannot be displayed because data at row 0(rowId=0001000000055445535431) does not have value.
    Can someone guide me on this please.....
    Message was edited by:
    user609092

    Hi,
    When we add point theme to the map, we specify the data control binding to this theme. This binding is done against the attribute names from the data control. I want to bind this theme input values to some variables. So that it can be changed at runtime. I think this can be done if we are able to use EL. So is it possible to achieve this? Could you please suggest me any other alternative way to achieve this.
    Thanks,
    Prashant

  • Programmatic ADF Business Component Work

    Is there any documentation on advanced usages of ADF Business Components at the programmatic level? Oracle supplies a lot of documentation (i.e ADF Developer's Guide for Forms/4GL Developers) regarding the programmatic use of business components at the individual component level (i.e. a single entity object, view object, etc). But I cannot seem to locate any good resources for aiding in the programmatic use and development of already defined business components. I have gone through Part II "Building Your Business Services" and Part IV "Advanced Topics" of the Dev Guide trying to develop an understanding, but I find there is just too much content to sift through to collate the information that I think I need (if it is even present in the Dev Guides to begin with).
    I am at the point where I know how to define, customize and extend my business components. My problem is now that I need to USE the business components to create methods and processes as required by my project. To be specific, I essentially have to write a process that uses a specific ViewObject and the ViewObjects linked to it (through ViewLinks) to redefine the parent's PK, copy it and it's originally associated child rows

    Programmatic manipulation of components are covered in:
    5.6 Working Programmatically with View Object Query Results
    6.8 Working Programmatically with Entity Objects and Associations
    7.8 Working Programmatically with Entity-Based View Objects
    The application module class has generated getter methods to access any view object intstance in the data model.
    See section "8.3.2 What Happens When You Generate a Custom Class for an Application Module"
    View object rows have view link attributes you can use to access child collections:
    See section "5.10.4.2 How to Access a Detail Collection Using the View Link Accessor"

  • New ADF Business Component  need: "Defaulting Rules"

    Dear ADF developers & architects,
    ADF BC have Entity Business Logic Group & Business Logic Unit component.
    These components provide only the validation does not provide substitution.
    I want to develop discriminator field based substitution(defaulting) with Groovy.
    What are my options? What are your suggestions?

    Thank you for reply,
    Blog link is information about how to use Business Logic Groups & Business Logic Units.
    Business Logic Groups and Business Logic Units are entity validator rules.
    I do not want to validate entity objects.
    I want to assign a default value of entity objects according to certain rules.

  • Oracle ADF Business Component - Various data source...

    As part of our recent design effort we are evaluating how ADF Binding/Data Control and Business Components can be leveraged for different data sources for an instance, we need to support Oracle Database (i.e. leveraging all goodies like ADF View/Entity objects) but along with it we also need to support legacy file data source (note archival of data to file store is already in place). From legacy file data source we will get data via Java interfaces which will be massaged/formatted the same way as data from DB.
    Are there existing examples/best practices listed that we can look at, so that we can design the application with minimal code duplication.

    Regarding best practices / real-world usecases, you might want to keep a few things in mind:
    1. If you need to display data from different databases/data sources in a dashboard like page, you can make use of regions.
    Each region can display a task-flow, and each task-flow can point to different databases.
    This is nice and easy with ADF.
    2. The challenging part is when you need to combine two different data sets into a single collection (such as a table).
    Your only 'efficient' option would then be a programmatic VO where you take care not to make too many network round-trips to fetch data and handling connections /file descriptors properly...
    Other options include:
    Expose a web-service on one of the data sources and use a service based entity in your 'main' application.
    You could access this via a ViewAccessor in your 'main' VO, fetch a large data set, then filter in-memory using a ViewCriteria or RowMatch etc. etc.
    Hope that helps..
    Regards,
    Jang Vijay Singh

  • ADF Business Component Type MAP Oracls vs Java

    what the advantages and disadvantages from each one map type
    thank in advance

    Take a look at this link in developer's guide:
    http://docs.oracle.com/cd/E16162_01/web.1112/e16182/bcintro.htm#sm0062
    The Java Extended for Oracle type map and the Oracle Domains type map handle numeric data differently. When you create a new application the default type map Java Extended for Oracle maps numeric data to the java.math.BigDecimal >class, which inherits from java.math.Number. The java.math.BigDecimal default matches the way the Fusion web application view layer, consisting of ADF Faces components, preserves alignment of numeric data (such as numeric values >displayed by ADF Faces input fields in a web page). Whereas the Oracle Domains type map, which maps numeric data to the oracle.jbo.domain.Number class, may not display the data with the alignment expected by certain ADF Faces >components. Aside from this alignment issue, the Oracle Domains type map remains a valid choice and applications without ADF Faces components will function without issue.Thanks,
    Navaneeth

  • What is the better approach to populate Ref cursor into ADF business Component

    HI All,
    I have a requirement where I get the search results by joining more than 10 tables for my search criteria.
    What is the best approach to populate into ADF BCs.
    I have to go with Stored Procedure approach where I input the search Criteria and get the cursor back from the same.
    If I populate VO programmatically then the filtering at column level is a challenge.
    Anyone Please help me. Thanks in Advance.
    Thanks,
    Balaji Mucheli.

    The number of tables to be joined for a VO's query shouldn't matter - if the query is valid and fixed.
    Are you saying that you have logic to decide which tables to join to create the correct query?  I admit that would be a difficult thing to do, other than with a programmatic VO.  However, there are two possible solutions for doing this without a programmatic VO.
    Instead of your procedure returning a REF CURSOR, you can create an object type (CREATE TYPE) and a nested table of that type.  Then you have a function that returns an instance of the nested table.  The query in the VO is SELECT my_column... FROM TABLE(CAST my_table_function(:bind_variable) AS my_table_type).  You may have trouble getting the VO to accept this query as valid SQL, but it IS valid and it DOES work.
    Create a VO to be the master VO - it should have all the attributes that you intend to use, but the query can be anything, even a SELECT from DUAL.  Then create other VOs that subclass the master VO - one for each major variation of the query.  When you use the VO, use the data control for the master VO to create your pages, but change the pageDef to make the VO name a variable (with expression language).  Then you can set that variable to the correct child VO for the query that needs to execute.

  • ADF business component wizard with tables referencing junction table

    I have a three tables, user, devices and a link/junction table to map the user's assigned devices.
    <<user>>
    user_id
    user_name
    <<device>>
    device_id
    device_name
    <<userdevice>>
    user_id
    device_id
    I wanted to create a view page where I can search a user then display the list of devices assigned to this user. The association between these two tables is the userdevice table.
    Using the wizard alone couldn't satisfy my objective. Have you encountered the same issue? Thanks.

    Hi Cyrus
    I'm not sure which Wizard are you referring to; can you clarify?
    Which area of WebCenter Portal are you using where you're seeing this issue?
    ~Sripathy

Maybe you are looking for