Nonunique ejb-relation-name

hi all,
i have a bean that has 2 seperate
many-many cmrs to the same bean.
the workbench is creating 2
ejb-relations with the same name.
in any case, weblogic.ejbc is giving
me an error that that ejb-relation-name
must be unique? i like having the
workbench maintain the ejb-jar.xml
file and so i ask if there is anyway to
bypass this other defining one of the
relationships by amending the descriptors?
thanks,
sean

just to be clear, this is not a composite.
the situation is EJBFoo has 2 many-many
cmrs to EJBBar. my original post wasn't
quite clear.
thanks.

Similar Messages

  • EJB relation One to Many - ClassCastException

    Hi !
    I created two CMP EJB entity Client and Address. There is a One to Many relation between them.
    When I deploy them on JBoss, I have no errors, and the correponding tables are created in the database. The EJB seems to work fine, but when I use a 'relation' method : myAddress.setClient(myClient) for instance. I get a ServerException.
    In the log of JBoss there is :
    ClassCastException : org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.SetInstanceValue(...)
    I think I have a problem in my descriptors or JBoss configuration.
    If u have an idea ...
    Thx

    sorry to whack a load of code in but i can't see where the problem is here is my ejb-jar.xml file:
    <ejb-jar>
         <enterprise-beans>
              <entity>
                   <description>This bean represents a copy item.</description>
                   <ejb-name>CopyEJB</ejb-name>
                   <home>com.RemoteCopyHome</home>
                   <remote>com.RemoteCopy</remote>
                   <local-home>com.LocalCopyHome</local-home>
                   <local>com.LocalCopy</local>
                   <ejb-class>com.CopyBean</ejb-class>
                   <persistence-type>Container</persistence-type>
                   <prim-key-class>java.lang.String</prim-key-class>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <abstract-schema-name>Copy</abstract-schema-name>
                   <cmp-field>
                        <field-name>copyid</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>quality</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>buyinprice</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>selloutprice</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>bookid</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>title</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>genre</field-name>
                   </cmp-field>
                   <primkey-field>copyid</primkey-field>
                   <security-identity>
                        <description></description>
                        <use-caller-identity></use-caller-identity>
                   </security-identity>
              </entity>
              <entity>
                   <description>This bean represents a supplier.</description>
                   <ejb-name>SupplierEJB</ejb-name>
                   <home>com.RemoteSupplierHome</home>
                   <remote>com.RemoteSupplier</remote>
                   <local-home>com.LocalSupplierHome</local-home>
                   <local>com.LocalSupplier</local>
                   <ejb-class>com.SupplierBean</ejb-class>
                   <persistence-type>Container</persistence-type>
                   <prim-key-class>java.lang.String</prim-key-class>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <abstract-schema-name>Supplier</abstract-schema-name>
                   <cmp-field>
                        <field-name>supplierid</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>name</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>address1</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>address2</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>address3</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>address4</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>postcode</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>email</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>telno</field-name>
                   </cmp-field>
                   <primkey-field>supplierid</primkey-field>
                   <security-identity>
                        <description></description>
                        <use-caller-identity></use-caller-identity>
                   </security-identity>
              </entity>
              <entity>
                   <description>This bean represents an edition.</description>
                   <ejb-name>EditionEJB</ejb-name>
                   <home>com.RemoteEditionHome</home>
                   <remote>com.RemoteEdition</remote>
                   <local-home>com.LocalEditionHome</local-home>
                   <local>com.LocalEdition</local>
                   <ejb-class>com.EditionBean</ejb-class>
                   <persistence-type>Container</persistence-type>
                   <prim-key-class>java.lang.String</prim-key-class>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <abstract-schema-name>Edition</abstract-schema-name>
                   <cmp-field>
                        <field-name>editionid</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>isbn</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>publisher</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>binding</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>other</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>edition</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>printdate</field-name>
                   </cmp-field>
                   <primkey-field>editionid</primkey-field>
                   <security-identity>
                        <description></description>
                        <use-caller-identity></use-caller-identity>
                   </security-identity>
              </entity>
              <entity>
                   <description>This bean represents an author.</description>
                   <ejb-name>AuthorEJB</ejb-name>
                   <home>com.RemoteAuthorHome</home>
                   <remote>com.RemoteAuthor</remote>
                   <local-home>com.LocalAuthorHome</local-home>
                   <local>com.LocalAuthor</local>
                   <ejb-class>com.AuthorBean</ejb-class>
                   <persistence-type>Container</persistence-type>
                   <prim-key-class>java.lang.String</prim-key-class>
                   <reentrant>False</reentrant>
                   <cmp-version>2.x</cmp-version>
                   <abstract-schema-name>Author</abstract-schema-name>
                   <cmp-field>
                        <field-name>authorid</field-name>
                   </cmp-field>
                   <cmp-field>
                        <field-name>name</field-name>
                   </cmp-field>
                   <primkey-field>authorid</primkey-field>
                   <security-identity>
                        <description></description>
                        <use-caller-identity></use-caller-identity>
                   </security-identity>
              </entity>
              <session>
                   <description>Supplier Function Session Bean</description>
                   <display-name>SupplierFunctionEJB</display-name>
                   <ejb-name>SupplierFunctionEJB</ejb-name>
                   <home>com.SupplierFunctionHome</home>
                   <remote>com.SupplierFunctionRemote</remote>
                   <ejb-class>com.SupplierFunctionSBean</ejb-class>
                   <session-type>Stateless</session-type>
                   <transaction-type>Container</transaction-type>
              </session>
              <session>
                   <description>Copy Function Session Bean</description>
                   <display-name>CopyFunctionEJB</display-name>
                   <ejb-name>CopyFunctionEJB</ejb-name>
                   <home>com.CopyFunctionHome</home>
                   <remote>com.CopyFunctionRemote</remote>
                   <ejb-class>com.CopyFunctionSBean</ejb-class>
                   <session-type>Stateless</session-type>
                   <transaction-type>Container</transaction-type>
              </session>
         </enterprise-beans>
         <relationships>
              <ejb-relation>
                   <ejb-relation-name>Supplier-Copy</ejb-relation-name>
                   <ejb-relationship-role>
                        <ejb-relationship-role-name>copy-recievedfrom-supplier</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>
                        <cascade-delete></cascade-delete>
                        <relationship-role-source>
                             <ejb-name>CopyEJB</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>supplier</cmr-field-name>
                        </cmr-field>
                   </ejb-relationship-role>
                   <ejb-relationship-role>
                        <ejb-relationship-role-name>supplier-has-items</ejb-relationship-role-name>
                        <multiplicity>One</multiplicity>
                        <relationship-role-source>
                             <ejb-name>SupplierEJB</ejb-name>
                        </relationship-role-source>
                   </ejb-relationship-role>
              </ejb-relation>
              <ejb-relation>
                   <ejb-relation-name>Edition-Copy</ejb-relation-name>
                   <ejb-relationship-role>
                        <ejb-relationship-role-name>edition-has-items</ejb-relationship-role-name>
                        <multiplicity>One</multiplicity>
                        <relationship-role-source>
                             <ejb-name>EditionEJB</ejb-name>
                        </relationship-role-source>
                   </ejb-relationship-role>
                   <ejb-relationship-role>
                        <ejb-relationship-role-name>copy-is-a-edition</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>
                        <cascade-delete></cascade-delete>
                        <relationship-role-source>
                             <ejb-name>CopyEJB</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>edition</cmr-field-name>
                        </cmr-field>
                   </ejb-relationship-role>
              </ejb-relation>
              <!--<ejb-relation>
                   <ejb-relation-name>Author-Copy</ejb-relation-name>
                   <ejb-relationship-role>
                        <ejb-relationship-role-name>copy-has-items</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>                                     
        <relationship-role-source>
                             <ejb-name>AuthorEJB</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>copies</cmr-field-name>
                             <cmr-field-type>java.util.Set</cmr-field-type>
                        </cmr-field>
                   </ejb-relationship-role>
                   <ejb-relationship-role>
                        <ejb-relationship-role-name>copy-has-authors</ejb-relationship-role-name>
                        <multiplicity>Many</multiplicity>
                        <cascade-delete></cascade-delete>
                        <relationship-role-source>
                             <ejb-name>CopyEJB</ejb-name>
                        </relationship-role-source>
                        <cmr-field>
                             <cmr-field-name>authors</cmr-field-name>
                     <cmr-field-type>java.util.Set</cmr-field-type>     
                        </cmr-field>
                   </ejb-relationship-role>
              </ejb-relation>-->
         </relationships>
         <assembly-descriptor>
              <security-role>
                   <description>This role represents everyone who is allowed full access
             to the beans.</description>
                   <role-name>Subscribers</role-name>
              </security-role>
              <method-permission>
                   <role-name>Subscribers</role-name>
                   <method>
                        <ejb-name>CopyEJB</ejb-name>
                        <method-name>*</method-name>
                   </method>
                   <method>
                        <ejb-name>SupplierEJB</ejb-name>
                        <method-name>*</method-name>
                   </method>
              </method-permission>
              <container-transaction>
                   <method>
                        <ejb-name>CopyEJB</ejb-name>
                        <method-name>*</method-name>
                   </method>
                   <method>
                        <ejb-name>SupplierEJB</ejb-name>
                        <method-name>*</method-name>
                   </method>
                   <trans-attribute>Required</trans-attribute>
              </container-transaction>
         </assembly-descriptor>
    </ejb-jar>my session bean code can be found at
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=11&t=006578

  • Missing ejb relation description file after deploying ejb module

    when i deploye a ejb module to oc4j_extended_1013_dp4 successfully, it's can't find the file ejb-jar.xml that descript ejb relations and navigators.
    why?
    how can i defense it ?

    however, i repeat my question
    i use two file descript ejb module in MEAT-INF directory, one name ejb-jar.xml , another name orion-ejb-jar.xml
    my ejb jar-package contrained them.
    after deploying , i only find orion-ejb-jar.xml in application-deployments/myapp/myejb

  • A prefix can be included in the EJB JNDI name dynamically?

    In the Stateless annotation, we can specify the mappedName attribute to the EJB JNDI name bind.
    Can we specify a prefix to the mappedName separately?
    For example: We have this:
    @Stateless(mappedName="myEJB")And don't want to do this:
    @Stateless(mappedName="prefix/myEJB")We want to include the prefix in another place in the code dynamically.
    Can we do that??

    jtahlborn wrote:
    eudesf wrote:
    Hello! Thanks for reply!
    As I can't configure programatically, there is any way to configure in an application descriptor, or in another place of the application server?
    The idea is to publish two applications that use the same EJB classes, but in different JNDI namespaces, because we don't want to share the resources. Otherwise, it will result in JNDI name conflicts. The applications works in different contexts and we want to reuse the existing EJB definitions.
    Any suggestion?yes you can do this. ejb 3.0 keeps the features from 2.1, namely all the xml based configuration (although it is now optional). and, the annotations are always overriden by the xml configuration. thus, you can create different deployments with different the same compiled class files. you just need to override the annotation configuration with xml configuration (via ejb-jar.xml or whatever).Yes, we can do that. I've tested here, and it works. But, can we do better?
    The configuration via XML implies maintenance, and it's not good, because we have so many EJBs to maintain.
    And there is another problem... The EJB classes are in JARs, and these JARs are shared across the applications.
    Pretend that you have to maintain two versions of each EJB JAR. One with XML configured and other without. If we change one, the another must be changed too. How can it be productive?
    I have seen some EJB implementations that are more flexible with JNDI naming.
    See:
    - [http://openejb.apache.org/jndi-names.html|http://openejb.apache.org/jndi-names.html]
    - [http://fixunix.com/weblogic/221782-dynamic-jndi-name-weblogic-ejb-jar-xml.html|http://fixunix.com/weblogic/221782-dynamic-jndi-name-weblogic-ejb-jar-xml.html]
    Does it have a better solution in Glassfish?

  • How can I import Related name fields from contacts?

    I am using the drag and drop function to get contacts into a table in Numbers. However, it does not seem to work for related names (no headers for those appear). Anyone experiencing the same?

    Hi aarild,
    The other columns are there, but hidden.
    In this screen shot, column labels jump from J to S (also jump from C to J). Click in the table to get Column labels to show.
    Unhide all Columns.
    Regards,
    Ian.

  • Related names in contacts

    Do I understand correctly that the related name field in Contacts can only be used as a simple text field? If correct, I think I miss something with this function. What is it good for? By entering a contact as related name, I would strongly assume that I get a direct link to this contact, e.g., get contact details of the related name by clicking on it. Also, if a direct link between related contacts would be built, relationships should work both ways, e.g., by defining contact A as my sister, I should be defined as sister in contact A's related names section automatically. Anyone? Thanks.

    Press "Edit" (top-right) then the red ⊖ next to the ones you want to delete, Then "Done" (top-right).

  • Problems printing labels and envelopes with related names

    When I try and print out labels for Christmas cards from Address Book, the program creates the first line of the label with the name on the Address Book "card", plus the names of the "Related Name" entries on the card. This works for most cards except in the following situation.
    The Related Name field (Spouse, Child, etc.) does a 'fuzzy lookup' to match other cards in the Address Book database. If there is another card with the same name as one of the related names, the address is checked to see if the address matches. If it matches (or if there is no card that matches the related name), Address Book will include the related name on address labels. (Address information is required for this test since Address Book will not print a label for a card that does not have and address.) This was the source of my first problem as I had a card for a related name that had an old address on it, so Address Book chose not to print that related name on the labels as they did not live at the same address. I agree with this logic.
    The real problem is revealed when you add a related name to a card in which the first name of the related name matches the first name of another card which is NOT the same person. So I have a card for "John Hart", and on that card I have two relate names, a Spouse of "Nancy Hart" and a Child of "Eric Hart". I also have a card for "Nancy Hart" with a Spouse of "John Hart" and a child of "Eric Hart" and the address matches that on the card of "John Hart". If I print a label for "John Hart", Address Book properly prints "John, Nancy and Eric Hart". Now if I add a card for "Eric Smith" and either have a different address or no address at all on that card, when I print a label for "John Hart" Address Book will print "John and Nancy Hart", effectively losing the child. I can only think that Apple made the search for related cards TOO FUZZY and forgot to include the last name in the search.
    Apple... are you out there? Please help!!!
    PS: My full database has many records that are incurring this problem, and it's annoying.
    PowerMac G5 Dual 2.5 Mac OS X (10.4.3)

    After going through 3 2nd level support personnel, I finally reached one who cared enough to actually type in what I asked him to, and then to research the findings.
    As I pointed out above, Address Book compares the related names with the other cards in the database. If there is no card for the specific related name, Address Book will stop at a record with a matching first name and then compare addresses. If the addresses do not match, it will not print the related name. The support rep stated that hopefully in future version this might be refined.
    AS A WORKAROUND, he suggested I create cards for any of the related names on my cards. Once this is done, and the cards have matching addresses, all of the related names on the selected card for label or envelope printing are printed.

  • Can my contacts on my iPhone see my personal information such as my home address and "related names" (relatives)?

    I was setting up my own info in Contacts on my iPhone 5S to keep things organized and tidy. I added in my home addresses (I have two) and added my relatives' names as well. I did this to make things convenient for me, especially when using Maps... I can just type or say "home" or "home2" instead of typing in the entire address or scrolling around and zooming in with my fingers. It's especially handy when I'm driving and don't want to use my hands. I also added in my relatives' names so I can just tell Siri to give me directions to "aunt Debbie" or "call uncle Joe," etc...
    But then I realized this is information that my contacts can probably see. Many of my contacts are only professional acquaintances (not friends) and I don't want them to know my home addresses or the names of my relatives. All I want my contacts to see is my phone number, job title, and the link to my LinkedIn page.
    As far as I know there is no setting to control what info is visible to your contacts. If there is, can someone please point it out to me? If not, is there another solution? Or should I just not have my addresses stored in my phone (which kind of defeats the purpose of the phone being convenient when you need it to)? Any help is appreciated, thanks.
    iPhone 5S
    iOS 8.2

    I hope that's right. With social networking and social integration and now iCloud in the picture, I wonder what gets synced these days between contacts. I have contacts in my iPhone who I have no idea who they are but they automatically synced to my phone simply because I had an email exchange with them once upon a time. And I'll get those same peoples' birthday reminders (as if I care), LinkedIn links, and though I don't use facebook or twitter I'm sure those show up on everybody's contacts who uses them.
    I used to be more tech savvy a few years ago but with more responsibilities as I get older I just don't have the time to study what's what these days. These days it seems like everything is now about the "cloud" and I have no idea what iCloud will sync automatically with other iPhone users. I'm growing increasingly wary about who can see what, and my home addresses and relatives' names are on top of that list.
    Thank you for your reply.

  • "Related Names" Does Not Sync From Apple Address Book to iOS 4 Address Book

    I keep a very detailed address book and have just realized that the "related names" field does not sync from my Mac to my iPhone.  Does anyone know if this is a limitation of the iTunes syncing and the software, or am I doing something wrong?  If this is a limitation, does anyone know a work around?  This is important information for me to have on the go.

    Oops -- I just had to turn iCloud on in the System settings on the iPhone, then the Contacts synched.

  • Ejb Session Name

    Hi,
    I need some help to link a Web App (on Server 1) to an Ebj_Module (on Server 2).
    WebApp need Ejb_Module Session name but I don't know how can I found this name on Server 2 OAS Console.
    At this time, I have a "javax.naming.NameNotFoundException".
    Thanks for your help,
    Julien.

    Hi,
    If you are using EJB3 then The default JNDI name (according to J2EE Specs) format for your EJBs will be following:
    *<mappedName>#<qualified business interface name>*
    <font color=maroon>Example:</font> In below case the JNDI name should be *“MyBeanMappedName#aaa.bbb.MySLSBRemote”*
    package aaa.bbb;
    @Stateless(mappedName=”MyBeanMappedName”)
    @Remote(aaa.bbb.MySLSBRemote.class)
    public class MySLSBBean implements MySLSBRemote
    //some code
    }If the webApplication is deployed separately (individually) Then you can do the Lookupo using JNDI name : *“MyBeanMappedName#aaa.bbb.MySLSBRemote”*
    But To refer to the EJB from a WAR file which is also present inside the Same EAR archieve you need to add the following tag inside the "web.xml" of your WebApplication:
    <web-app>
    <ejb-local-ref>
    <ejb-ref-name>ejb/ReplicableSFSBean</ejb-ref-name>
    <local>sfsb3.ReplicableSFSLocalIntf</local>
    </ejb-local-ref>
    </web-app>.
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic/?page_id=123  (Middleware magic Is Here)

  • Problems while defining EJB relations for container managed bean

    I am having a problem while trying to create my relations for my container managed bean.
    My Database schema is:
    Order table
    order_id
    message
    WorkItem table:
    order_id
    item_id
    message
    I have defined my OrderBean to have:
    @LocalMethod()
    @CmrField
    public abstract Collection getCmWorkItemsCmr();
    @LocalMethod()
    public abstract void setCmWorkItemsCmr(Collection workItems);
    I am not sure how to define my relation for my class:
    @Relation(cmrField = "cmWorkItemsCmr", multiplicity = Relation.Multiplicity.MANY, name = "Orders-CmWorkItems")
    An order can have many workitems. I am not sure how to fill in the rest for foreign Key jointable and such.
    Any help pointing me in the right direction would be helpful.
    Thanks,
    Ian

    I am having a problem while trying to create my relations for my container managed bean.
    My Database schema is:
    Order table
    order_id
    message
    WorkItem table:
    order_id
    item_id
    message
    I have defined my OrderBean to have:
    @LocalMethod()
    @CmrField
    public abstract Collection getCmWorkItemsCmr();
    @LocalMethod()
    public abstract void setCmWorkItemsCmr(Collection workItems);
    I am not sure how to define my relation for my class:
    @Relation(cmrField = "cmWorkItemsCmr", multiplicity = Relation.Multiplicity.MANY, name = "Orders-CmWorkItems")
    An order can have many workitems. I am not sure how to fill in the rest for foreign Key jointable and such.
    Any help pointing me in the right direction would be helpful.
    Thanks,
    Ian

  • Default ejb JNDI name in websphere ear

    Hi,
    I am using ejb2.0-2.1 in websphere 6.0 WAS.
    I have a local entity ejb.
    I wish to define a service locator for this as a singleton class that caches the entity bean's home after doing a JNDI lookup.
    I am interested in two things.
    1) Since my service locator is a simple singleton class I want it to lookup the local ejb homes using the JNDI names supplied in the websphere specific deployment descriptors correspondiing to ejb-jar.xml. (No point in even thinking of any ejb-local-ref) My service locator is defined inside the same ejb jar.
    2) Ideally I would like to not specify any explicit JNDI names in any websphere specific DD for the local ejb homes. I would like to use a JNDI name based on the ejb-name itself.
    I have been able to do 2) using JBoss.
    Thanks.
    Raster

    Hi Ravi,
    Can you please post the error message and stack trace? Also what version of WLS are you
    using? The more relevant information you can give me, the more likely I'll be able to
    help you.
    - Matt
    ravichandran wrote:
    Hi Matthew,
    Thank u for very quick response, the error is class cast exception and these objects
    are serialized and kept in ear. ur solution will be highly appreciated.
    regards
    ravi
    Matthew Shinn <[email protected]> wrote:
    Hi,
    What error are you getting (please include full error message & stack trace)?
    Also,
    is the object you are returning Serializable?
    - Matt
    ravi wrote:
    Hello Daniel
    I also have the same problem, do u have any solutions, please let me know,I was
    struggling for more than ten days.
    regards
    ravi
    [email protected] (Daniel) wrote:
    Hi, there:
    Our team is trying to write a session bean as a factory to serve
    other beans. Even the JSP (or other clients) can find the correct
    session bean residing on different ear file, the factory can't return
    properly when the returning parameter is a java object (it works fine
    if we only return int/string/etc). Is there a work-around to make
    these work?
    Thanks,
    -Daniel

  • Session EJB JNDI name

    Hello all!
    I created this SLSB:
    @Local
    public interface CatalogServiceLocal {
         public float getCatalogVersion();
    @Stateless(name="CatalogService")
    public class CatalogService implements CatalogServiceLocal {
    I'm using JSF and I want to access my SLSB from a Managed Bean but the server always complains it didn't find the given name:
    this.catalogService = (CatalogServiceLocal) ctx.lookup(JNDI_NAME);
    I tried a lot of different names (CatalogService, ejb.CatalogService...). How can I know the correct name for the lookup. I searched for it in the admin console but I didn't find it either.
    Thank you very much!
    sitaro

    Hi Sitaro,
    Please refer to the following links... you will get information about how to lookup Local EJB3...
    http://jaysensharma.wordpress.com/ejbs_weblogic/
    http://jaysensharma.wordpress.com/2009/08/16/weblogic-10-3-ejb3-local-lookup-sample/
    Here you will get the information of Customizing The JNDI name and to look them up.
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com/  (WebLogic Wonders Are Here)

  • DM_Mappings.csv which maps logical names to relational names is blank

    Hi,
    I have created a data model (both logical and relational) using OSDM 3.1.4.710. I am trying to generate a csv report (go to File -> Export -> To CSV option in OSDM) which maps the logical names to physical names (physical names are abbreviated as I am using a glossary for abbreviations). This information was present in the csv named DM_Mappings.csv in version 3.0.0-665 of OSDM which maps the logical component of the model to the physical component. However when I use OSDM 3.1.1-703 or OSDM 3.1.1-704 or OSDM 3.1.4.710, the csv file DM_Mappings.csv is generated but its blank. I am not sure if there is some hidden option somewhere which will help me generate this mapping information which was a default option in OSDM 3.0.0-665. I would appreciate it if someone could help me in getting this logical to physical mapping in csv format using OSDM.
    Let me know if you need any other information.
    Regards,
    Ashok

    Hi Ashok,
    thanks for reporting the problem. Fix will be available in next release.
    Philip

  • EJB relation mappings between different ejb jar files.

    I have two local entity EJBs but they are in different ejb jar files. I'd like to make a relationship mapping (one-to-one, one-to-many or whatever) between them. Is it possible? To do that, I need <ejb-name> reference tag each other in both ejb-jar.xml, but how can I refer to ejb-name defined in different ejb jar files? Or as long as you make EJB relationship mappings, all EJBs must be in the same ejb jar file?
    thanks,
    -tom

    Refer to
    http://www.onjava.com/pub/a/onjava/2001/06/26/ejb.html?page=2&x-showcontent=text

Maybe you are looking for