A question for shared in 2 data source model of the application of the project in JDEV11

Hi all
My application has the following structure:

...
| _Model_A
| ...
| | _Application-module-1
| | _Application-module-2
|
| _ViewController_A
| ...
|
| _Model_B
| ...
| | _Application-module-1
| | _Application-module-3
|
| _ViewController_B
...

As you can see, there are 2 projects of model and they share an Application Module: Application-Module-1

I created 3 branches: APPDS_1, APPDS_2, APPDS_3. When you set up these 3 AMs in the model project, then select "JDBC URL" as the type of connection, both applications can work properly, say, source of data/JNDI are correctly at the launch of the JDEV 11 apps. Then, when select 'JDBC Data Source' as connection type, that is to say, use it as the source of data for Application-Module-1, both Model_A and Model_B: java: comp/env/jdbc/APPDS_1, app B throws an error:

oracle.jbo.DMLException: Houston-27200: failure JNDI. Impossible to research data Source in the context...

but app has still works.

play with the value of data source in the Model_B for Application-Module-1, it is that set the JDBC data source "* jdbc / APPDS_1 *" make a app B! But, as far as I know, the correct value for 'JDBC Data Source' in 11g should be: java: comp/env/jdbc/APPDS_1.

This really disturbs me. Why would this happen? Is it because that the Model_B use the same name that Model_A, IE. Application-Module-1?

Just tried to rename it to Model_B so request-Module-1 becomes application-Module-4, still got the same error.


Thank you
Shawn

Published by: shawn_abc on June 13, 2012 15:19

# The best way is to use jdbc/APPDS_1

The initial prefix part of the Datasource resource tree.
Read here, http://www.coderanch.com/t/316003/EJB-JEE/java/lookup-java-comp

Tags: Java

Similar Questions

  • Add the Data Source to load the data rule

    I created an ODBC system data source in both the 32-bit and 64-bit ODBC managers (just to be sure), but they do not stand as options for sources of data in the SQL interface in EA. Y at - there a step I'm missing?

    Thank you.

    Did you create the ODBC on the Essbase server or on the server hosting the EAS, it should be on the Essbase server.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • List of default data Source is only the list of JDBC data sources

    I have several defined JDBC data sources and have added a few sources of data file. But when I look at the report of a new report properties page, the default data Source drop-down list only JDBC data sources, none of the sources of data file. I tried clicking on the link "Refresh Data Source list", but it doesn't seem to do anything.

    I'd be able to see my file data sources in the Data Source by default list? I the role of the admin, it should not be a security thing. I give my data file sources a role, and I also have that same role.

    Thanks for any help.

    Hello
    The default data source drop box contains only jdbc sources. You must create a new data source, type the file, and then choose the file directory, you have set up and then enter the name of the file. At this point, the default data source is ignored. Weird, I know, but it's like this: 0)

    Tim

  • Filtering data source based on the current user.

    Hello world


    I would like to add a Data Source Filter whenever a certain user connects.

    Any ideas on how to implement this?

    OEID v3.0

    Concerning

    Hi Omi,

    Use case sounds like a fairly standard security manager.  You're looking to filter the view of user data based on attributes of the user profile (be it from the LDAP or elsewhere).

    It is documented here for OEID v 3.0:

    Extension of Security Manager

    That should cover, if you're not a Java guy, or you're looking for some advice, don't hesitate to reach out in offline mode, we have built our fair share of complex and simple (as you describe).

    Patrick Rafferty

    Branchbird

    [email protected]

  • What are the best practices for creating only time data types, and not the Date

    Hi gurus,

    We use 12 c DB and we have a requirement to create the column with datatype of time only, if someone please describe what are the best practices for the creation of this.

    I would strongly appreciate ideas and suggestions.

    Kind regards
    Ranjan

    Hello

    How do you intend to use the time?

    If you are going to combine with DATEs or timestamps from a other source, then an INTERVAL DAY TO SECOND or NUMBER may be better.

    Will you need to perform arithmetic operations on time, for example, increase the time to 20%, or take an average?   If so, the NUMBER would be preferable.

    You are just going to display it?  In this case, DAY INTERVAL in SECONDS, DATE or VARCHAR2 would work.

    As Blushadow said, it depends.

  • want to 15 t k100 CT0: Question for compatibility with cards Envy 15 - update of the original wireless

    Hi, first of all thank you for the research this post ~!

    I got a craving for my friend last year, and this model use an old card wireless (Atheros AR9485) that is not supported bandwidth of 5G. I'm looking for a replacement that could support 2.4 and 5 G band.

    Model (based on the identification of auto for the HP Web site):

    Envy15t CT0 k100

    Model: G0T59AV

    Series: [personal information]

    Some positions, said there will be compatiablity question if I buy a card at random, so could someone help me with this? Maybe give me a model which can be integrated in this situation?

    HP partsurfer web page below, based on the model of my machine, I found some info, but really not sure whether this is the right one.

    http://PartSurfer.HP.com/search.aspx?SearchText=G0T59AV

    Thank you again to finish reading my problem! THX!

    Hello

    From my research, no whitelist more for new HP laptops (manufactured after 2014). Sounds like your machine has only 1 antenna so you can use the second one on the list.

    Kind regards.

  • BlackBerry Smartphones Hi there, a question for a person to answer it please on the app store! :)

    I was just wondering as I am only 16, how do you pay for the applications (which are not free, of course) of the store?

    I have an iPhone and I'm sure most of you know that you can get prepaid cards to make purchases of applications.

    Of course, I don't have a credit card, and I guess that's how make you payments? is there another way?

    Would love to hear from someone about it!

    Hello and welcome to the Forums of Support BlackBerry.com.
    You can update your profile here to provide your name and model carrier of BlackBerry device, so that when you have a question, what information should be asked from the start. Click my settings > personal information and then SAVE at the bottom of the page.

    PayPal.

    http://www.BlackBerry.com/BTSC/KB17745

  • Failed to create the Data Source by using the pivot table query

    Hi people.

    Running Oracle BI Publisher 11.1.1.6.0

    He complains with ORA-01738: lack of KEYWORD

    When I try and a SQL query in function by using the data set:

    SELECT *.
    FROM (SELECT ist.descr |) ' '|| EIT. Descr service_type, ROUND (sum (milf.ttl_number_units)) ttl_number_units
    Of mv_iot_line_item_forecasting mllf
    Ope on ope.master_entity_id = milf.partner_master_entity_id JOIN operator
    JOIN iot_service_type on ist.iot_service_type_id = milf.iot_service_type_id ist
    JOIN iot_event_type on iet.iot_event_type_id = milf.iot_event_type_id EIT
    WHERE milf.iot_agreement_id = 2621
    AND milf.traffic_direction = 'CR '.
    AND ope.operator_type_id = pkg_ngc_constants.operator_type_id_gsm
    Ope.main_reference GROUP, ist.descr | ' '|| EIT. Descr)
    PIVOT (sum (ttl_number_units) FOR service_type IN ("Voice MO' like' voice', 'MT voice' as 'voice MT", "SMS MO" as "SMS MO", "SMS MT" as "SMS MT", "MB of data" as "MB of data"))
    order by 1


    No idea why it won't let me create?

    The query runs perfectly fine in SQL.

    Any input appreciated.

    Simon

    Can you try to change your "IN" clause to this and see if it works?

    service_type IN ("voice MO' as Voice_MO, 'Voice MT" as Voice_MT, "SMS MO" as SMS_MO, "SMS MT" SMS_MT, 'MB of data' as Data_MB)

    Thank you
    Bipuser
    Published by: BIPuser on October 18, 2012 07:40

    Published by: BIPuser on October 18, 2012 07:41

  • How to set permissions for sharing by computer/object and not by the user, share Mac and no Windows Pc

    I wonder if anyone knows how put share permissions on an object such as a Mac in my case instead of the windows user.

    We do not have our Macs in Active Directory, we seek to share an external hard drive only Mac and not the Windows PC on the network using active directory. I tried sharing the hard drive of a PC to anyone and both PC and Mac can access to this, but we do want Macs to see and access it and not everyone. There is no selection shares with the name of the computer in the share permissions, so the only way to do is share it to everyone. The Mac, accounts are local to the Mac and the PC on Active Directory, so what I do is have a way to share this folder with only Mac and all the Windows PC. All solutions, all ideas will help.

    Thank you

    One thing I can suggest is to share the hard drive of a Mac and make sure that the hard drive is formatted in HFS file system + and not NTFS. Windows does not recognize HFS +. In this way, Windows users will not be able to access the hard disk.

    Alternative methods may be available with Mac. Please contact Apple support in this regard.

  • The intention to go for a Macbook Pro mid 2012 model with the Mavericks for video editing in FCPX... is this model for me: Apple Macbook Pro MD101HN/A laptop 13 inch (Core i5, 4 GB, 500 GB, Mac OS Mavericks / Intel HD Graphics), silver

    Hi all! A sale is on and I wonder if this model would help me to edit video in FCPX when I get out of the city. When at home, I use my iMac produce videos.

    Dr. Christophe

    FCPX requires macOS, 10.10... minimum.

  • 11g - why is it not add processes for multiple roles in new data sources?

    Anyone want to guess why Oracle chose to add roles both in the allocation of privileges to new data sources? If I have 40 different roles and add a new data source, I have to manually add this data source for each role, one at a time, 40 times. Horribly inefficient. Why?

    When you change the new data source (click on the data source), you have the option: "Move All" available to 'Authorized roles' roles under the security heading. Have you looked at this option? (Admin - Data Sources) and not passing is not by Admin-> roles and permissions...

    or have I misunderstood your question?

    Thank you
    BIPuser

  • Migration of LCM - Instance name?  Shared services project name? Data source?

    --------------------------------------------------------------------------------
    Situation
    --------------------------------------------------------------------------------
    * We have hyperion 11.1.1.3.24
    * Objective - trying to migrate files LCM of our DEV to UAT environment
    * DEV LDCS alone has enabled planning application ("budget"), little EN reports & other related artifacts.


    --------------------------------------------------------------------------------
    Up to now
    --------------------------------------------------------------------------------
    * Successfully exported these 4 (EPMA, shared services, planning & EN) of our DEV
    * When you try to import EPMA in our UAT, noticed that the State indicates failure. (Notice how claims have been reported in other posts as well.)

    Another dilemma that I have what should I write on the name of the Instance, the name of the Shared services project & the data source.

    * Instance name = >? I'm not sure. How to find it?
    * Shared services project = > have not created one at all. Thus, those who do I use OR how do I know this?
    * Data Source = > I guess, it would be the name of EPMA repository database?


    Although I can migrate all the artifacts in our (the same as our DEV) UAT, Migration status showed as "failed". Is this due to the fact that I jumped Destination options with empty values (for example, shared services and data source). Has anyone ever had success on this stage of the Migration.

    OR should I simply ignore this state of migration, because we can see all of the identical artifacts in our UAT.


    Any help would be greatly appreciated.

    If you connect EPMA and choose an application and select deploy (don't worry, you don't have to deploy, you can cancel it until you do).
    It displays a popup that will be the
    Name of the instance (usually the default), Shared Services project (drop-down menu displays the groups of different applications available), the Data Source (this is the name you gave when you created the source of application data)

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Logging data source expressions

    Hello

    We use NI TestStand 2012 here in our society, and I have a simple question.

    In any test pass/fail (numeric, String, pass/fail regular), is it possible to have the TestStand to include the data source expression in the default report?

    I can add it manually in the component "Other results", but I have to do for each step.

    I see that on conditional expressions and flow measures are included in the report, but not the my expressions of pass/fail, which are found in the data source tab.

    It seems obvious to me that the data source should be there, otherwise I just in the report the name of the step and the result and no information of what has been actually tested.

    Thank you in advance!

    Leandro

    It does not show what the '10' value means: speed, voltage, current, RPM, etc. unless we call actually step in this way.

    Thanks again.

    There is a 'units' set numerical limit markets which addresses this problem. You can even specify custom units if you would like, although there are many built in those you choose as well. Also the name of the step should usually give an idea of what exactly is being tested.

    For the recording of Boolean expressions, probably the simplest thing is to use a stage model that is preconfigured to connect to the data source, or you can create a new custom step based on the test of success/failure that connects to the default data source type, or you could write a tool that passes through the sequence files and change all tests pass/fail to connect their datasource.

    -Doug

  • Getting started with Open manage the essential problem of Server Data Sources

    I installed a server for and with Open Manage Server Essentials... discovered my network and found a lot of good servers... 1 server has a green check mark and you can see in the Data Source, it uses the administrator of the server with the Version 7.1.0. I downloaded the OMSA node in 7.4.0.2 on another server, etc. SNMP installed and the server is located with a gray question mark and the data source is an Agent of Version 2.0 of Windows Hardware... is anyone has any advice how to handle? And want to install server after the server to see it in OME centrally on a single management server...

    Sorry for my bad English and thanks for all the info.

    Thomas

    OK, so make sure you check out the first installation tutorial in the console of the OME.

    1. you must on the box, so 7.4 OMSA's fine.

    2. be sure that you did the necessary SNMP parameters in the box of the OMSA (services.msc, SNMP, accept any host paackets - or use the ip address).

    3. you can use the tool for troubleshooting Dell desktop OME to test SNMP connectivity to the server with OMSA on it.

    4. I think that the FAQ (delltechcenter.com/ome) contains some tips in the discovery section (3.4)?

    That should make us started.

    Thank you

    Rob

  • search form Web apps: how to retrieve the value of the data-source type field

    Hello

    My question is:

    How can I retrieve the value of the source field of a web - app data-types when you insert the "form web search apps" on a web page.

    I have a web application that contains fields from the data source of the type. These fields to recover the (data) value of the 'web app' - 'elements of the field' field of another web application.

    When I insert the form

    Web apps

    Web apps-search form

    Name of the Web application

    It displays the fields with the field (ie. string, number) types other than type of field 'data source '.

    (Note: in the mode 'model of list' module of data tags, the fields of the data source are visible).

    What other (alternative) possibilities are there to create a search form?

    Thanks for your help.

    Kind regards

    Carla

    By chance, I came up with this workaround. Of course there are other methods to get your data from a web - app, but if you want to use the 'Web apps search form', it would be a workaround.

    I noticed that the "Web apps entry form" contains all the fields of web applications for your web application (including the fields of the data source).

    It is possible to add the fields to the form of the "Web apps entry form" in the «Web apps search form»

    If you insert the "Web apps entry form" on a blank page, you will see all the fields in your web App including the "data source fields. The names of form fields contain something like.

Maybe you are looking for