[WSAD5.0] Access one EJB of an EAR into another EAR.webapp

Hi,
I've got 2 ear application : toto.ear and titi.ear
toto.ear carry
* one ejb.jar file with CMSession.java EJB
titi.ear carry
* one ejb.jar file with some other EJB
* one web.war file with servlets & JSP
The fact is I'd like to call 'toto.ear/CMSession.java' EJB from a servlet in 'titi.ear/web.war'. So I need to reference this CMSSession EJB in the 'titi.ear/web.war/web.xml', isn't it ?
However, when I go to the web deployment descriptor page of 'titi.ear/web.war' the I click on 'reference' tab, then 'Add' button I can only see the EJB from 'titi.ear'.
My question is how can I directly reference the 'toto.ear/CMSession.java' EJB from a Servlet located in 'titi.ear' ?
Regards,
Denis Boutin.

Can you do that across applications. Dont you have to do a lookup and invoke the EJB.

Similar Messages

  • Sign out of one itunes account and sign into another seperate account on same macbook.  Cannot access itunes library for 2nd account

    Sign out of one itunes account and sign into another seperate itunes account on same macbook.  Cannot access itunes library for 2nd account.  How do I do this?

    iTunes account is not the same as iTunes library.
    iTunes account is what you use to purchase from iTunes.
    iTunes library is what is on your computer.
    You can have items from multiple iTunes accounts in one iTunes library.

  • I am trying to drag and drop one page of a .pdf into another .pdf in Acrobat Reader.  I used to be able to drag and drop from one .pdf to another.

    I am trying to drag and drop one page of a .pdf into another .pdf in Acrobat Reader.  I used to be able to drag and drop from one .pdf to another.

    If you could drag and drop pages before, it wasn't in Reader. You no doubt had Adobe Acrobat (Pro or Standard) which shouldn't be confused with Adobe Acrobat Reader. They recently added Acrobat to the name of Adobe Reader so the confusion about which product you had and/or have is understandable.

  • Is it possible to clone one part of an image into another in iphoto?

    Since it is not possible in Aperture to clone one part of an image into another photo is it possible in iphoto?

    No.  You will need to use an image editor that can handle layers.
    Some Image Editors that support  layers:
    Photoshop Elements 9 for Mac - $79
    GraphicConverter - $45
    Rainbow Painter - $30
    Imagerie - $38
    Acorn - $50 Pixelmator - $60 
    Seashore - Free
    Portraits and Prints - Free
    GIMP for Mac - Free
    Of those I believe you get the most bang for the buck with PSE 9.  The following are some of the advanced editing you can do with it:
    Click to view full size
    Click to view full size
    Additional possible candidates for editors can be found by searching for "edit" at MacUpdate.com.
    OT

  • How to clone one part of an image into another

    Is it possible in Aperture to clone one part of an image into another or as in windows fuse the photos together?
    Thanks

    This points directly to the difference between a digital image conversion and development program, and a graphics program.
    Development programs' tools adjust the color and luminance information in each pixel.  They do not (mostly) add any information to the pixels or to the image.
    Graphics programs are built around adding information to images (or blank canvases).  Rectangles, circles, text, other images -- these are all graphics elements which are combined to make a new image.
    Aperture is the former (and also a superb digital asset manager).
    The generalized workflow is this:
    Capture information using a digital camera
    Optimize that information (make the picture as good as possible) using an image development program
    Combine pictures and graphics elements to make new graphics using a graphics program
    There are many excellent graphics programs.  Photoshop is the best known and most used.

  • How do i select a clip from one project and enter it into another?

    how do I select a clip from one project and enter it in another?

    This doesn't seem to relate to Adobe Reader. Please let us know the product you are using so we may redirect you or refer to the list of forums at http://forums.adobe.com/

  • JTextPane: Insert one (part of) a Document into another

    Hi,
    I am writing a small programm which user a JTextPane and a
    StyledDocument with
    an RTFEditorKit.
    Now I have the problem that I want to get one Document, transport it
    over
    a network and insert it into another Document.
    The only method in Document to insert sth needs a string but I have a
    Document.
    So my question is: How can I insert one Document into another or at
    least append
    one Document to another?
    Thanks
    Frank

    Hi, it is much more simpler than i thaught.
    use the getLength method of the Document-Interface.
    e.g.:
                    InputStream in1; // Streams of your Files
         InputStream in2; // Streams of your Files
         RTFEditorKit rtf = new RTFEditorKit();
         Document doc = rtf.createDefaultDocument();
         try{
             rtf.read(in1, doc,0);
             int x = doc.getLength();
             rtf.read(in2,doc,x);
         }catch(BadLocationException ble){
         }catch(IOException ioe){
         }use this value in the read-method as pos and your second doc is concated to the first.
    Or any other pos you like.
    Hope this is what you are lokking for.
    Greetings Michael
    read
    public void read(InputStream in,
                     Document doc,
                     int pos)
              throws IOException,
                     BadLocationException
        Insert content from the given stream which is expected to be in a format appropriate for this
        kind of content handler.
        Overrides:
           read in class DefaultEditorKit
        Parameters:
           in - The stream to read from
           doc - The destination for the insertion.
           pos - The location in the document to place the content.
        Throws:
           IOException - on any I/O error
           BadLocationException - if pos represents an invalid location within the document.

  • Migration of one welogic (obiee)  " Users&Groups " into another

    Hi,
    How to migrate the " User's & Groups " which were created in one web logic server in to another web logic server.
    What is are the steps we need to follow to do this . Can any one help us on this.
    Thanks,
    RK

    Hello,
    Here is the tutorial on how to migrated users/groups from weblogic to another weblogic server.
    http://www.obieetalk.com/oracle-biee-11g-%E2%80%93-migrating-security-%E2%80%93-identity-stores-%E2%80%93-part-1
    -Amith.

  • How to deploy an EJB to Oracle9iAS installed into another machine?

    When I try to deploy a statless ejb to a local machine where JDeveloper is installed every thing works fine. However, when I try to deploy it into another machine where Oracle9iAS(oc4j) is installed,I get the following error:
    Error: javax.naming.NamingException: Lookup error: java.io.EOFException: Disconnected; nested exception is:
    java.io.EOFException: Disconnected
    Can anybody help?
    thanks
    Ali

    I got problem when I deloy ejb in Oracle JDeveloper: I created jar file and delpoyed the jar, but when I tried to call the bean from client code I got "connection refused" error. I tried to created a connection to Application server, it asked me to enter userid/password. Since I use the embeded OC4J as my server now, I never set userid/password for the OC4J, so I left the fields empty, but I cannot create the connection.
    Please let me know what should I do to get my ejb deployed. Thank you.

  • Link one solution manager word document into another solution manager HTML

    Hi,
    I have requirement in solution manager that there are two documents uploaded into solution manager.
    1. One word document in one of the project folder
    2. HTML page in another folder of same project
    I have to set up a hyper link of word document in the HTML web page.
    If anyone has gone through this type of requirement, please let me know the details of how did you set up the link between word and HTML document.
    Appreciate the early response.
    Thanks,
    Siva

    Go to the properties of the file you want to link your word document to. (attributes icon)
    There you will find a button "Generate Document URL (F9)". Clicking this button will buffer the URL into clipboard.
    Then you open your Word document in edit mode and paste the URL there.
    source: Inserting a document into another in Solution Manager

  • How to auto populate data from one list in SharePoint 2007 into another list based on a key value?

    Hi,
    As a part of new requirement in my project I am supposd to work on SharePoint 2007. I have one List (BCExtract - Main list) with all data related to an Application (like ID, name, app manager RTO etc).
    I have created another list which has form to be filled by a user (with details about his/her applications). My requirement is that when the user enters AIT ID then the page should refresh (probably after hitting enter) and other details like Application
    name, RTO etc which is present in another list gets auto populated depending on the AIT ID (unique column) entered so reduce the burden on the user.
    Please suggest me how this can be done. I do not have permission for obtaining SharePoint Designer and I do not know JQuery. Infopath is ok but if this can be done through SharePoint 2007 alone then it would be great.
    Thanks....

    Hello,
    You can either use jquery/jaavscript or infopath form to achieve this. There is no default way to do this.
    I would suggest jquery because you can put script in newform/editfor.aspx page using content editor webpart. Refer this link for jquery:
    To get value from list:
    http://social.technet.microsoft.com/Forums/en-US/ac47fe2a-ccb6-4f5b-b274-703aecc6cb0a/get-list-items-in-sharepoint-2010-by-using-jquery
    http://www.robertkuzma.com/2010/08/read-list-items-using-sharepoint-web-services-and-jquery/
    To set value in column:
    http://paulgalvinsoldblog.wordpress.com/2009/06/13/quick-and-easy-use-jquery-to-set-a-text-field%E2%80%99s-value-on-a-sharepoint-form/
    http://spservices.codeplex.com/discussions/468729
    If you use infopath form, then you need to create two data connection to get data from both lists. Later you can set value in fields based on selection using rule. This can be possible without code.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Require sum value of one table to be inserted into another table column

    Hi
    I have a table which contains a list of parts and their prices required for an assembly.
    I am trying to calculate the total from this part lists and put into the total price column for the assembly (another table column).
    My method was to calculate the total in a page process ( eg, once all parts in the assembly have been entered the page process calculates the total price (the sum of the part prices at that time) and puts the result (total) in the assembly total column)
    In the process I capture the total using either
    SELECT SUM(TOTAL_COST) Total INTO B from CC_REQ_BOM WHERE RID = :P5_RID;
    or
    SELECT SUM(TOTAL_COST) INTO B from CC_REQ_BOM WHERE RID = :P5_RID;
    Both the above sql statements are allowed ( one with alias and one without alais) by the page process but they dont seem to be working as no total is returned to the table when the page process is run.
    to insert the calculation(variable B) into the required table I have used
    INSERT INTO CC_REQ(TOTAL_COST)
    VALUES(B);
    I have used this method a few times with no problems for standard sql statements but this is the first time I have used it with the sum SQL function. For some reason it doesn't seem to like the SUM function even though the code below works in SQL Command window.
    SELECT SUM(TOTAL_COST) from CC_REQ_BOM WHERE RID = :P5_RID;
    Any help welcome.
    PGJ

    Hi
    In that case, I would do something like this then...
    CREATE TABLE crt_crates
    (ccr_id   INTEGER        CONSTRAINT ccr_pk PRIMARY KEY,
    ccr_name VARCHAR2(4000) CONSTRAINT ccr_nam_nn NOT NULL);
    CREATE TABLE crt_requests
    (cre_id        INTEGER        CONSTRAINT cre_pk PRIMARY KEY,
    cre_reference VARCHAR2(4000) CONSTRAINT cre_ref_nn NOT NULL,
    --I've skipped the requester as this would probably refernce a different table
    --I've skipped request details as it's not necessary for this example
    cre_ccr_id    INTEGER        CONSTRAINT cre_ccr_fk REFERENCES crt_crates);
    CREATE TABLE crt_materials
    (cma_id   INTEGER        CONSTRAINT cma_pk PRIMARY KEY,
    cma_name VARCHAR2(4000) CONSTRAINT cma_nam_nn NOT NULL,
    cma_cost NUMBER(12,2)   CONSTRAINT cma_cos_nn NOT NULL);
    CREATE TABLE crt_crate_bom
    (ccb_id       INTEGER CONSTRAINT ccb_pk PRIMARY KEY,
    ccb_ccr_id   INTEGER CONSTRAINT ccb_ccr_fk REFERENCES crt_crates,
    ccb_cma_id   INTEGER CONSTRAINT ccb_cma_fk REFERENCES crt_materials,
    ccb_quantity INTEGER DEFAULT 1 CONSTRAINT ccb_qua_nn NOT NULL);
    INSERT INTO crt_crates
    VALUES(1, 'Crate 1');
    INSERT INTO crt_requests
    VALUES(1,'Request 1',1);
    INSERT INTO crt_materials
    VALUES(1,'Material 1', 1000);
    INSERT INTO crt_materials
    VALUES(2,'Material 2', 500);
    INSERT INTO crt_crate_bom
    VALUES(1,1,1,5);
    INSERT INTO crt_crate_bom
    VALUES(2,1,2,3);
    COMMIT;
    --So crate cost totals would be...
    SELECT cre_reference              request,
           ccr_name                   crate,
           SUM(cma_cost*ccb_quantity) crate_cost
    FROM   crt_requests,
           crt_crates,
           crt_materials,
           crt_crate_bom
    WHERE  cre_ccr_id = ccr_id
    AND    ccb_ccr_id = ccr_id
    AND    ccb_cma_id = cma_id
    GROUP BY cre_reference,
             ccr_name;
    --And request cost totals would be...
    SELECT cre_reference              request,
           SUM(cma_cost*ccb_quantity) crate_cost
    FROM   crt_requests,
           crt_crates,
           crt_materials,
           crt_crate_bom
    WHERE  cre_ccr_id = ccr_id
    AND    ccb_ccr_id = ccr_id
    AND    ccb_cma_id = cma_id
    GROUP BY cre_reference; Do you see what I mean - you don't store the derived values as they could get out of sync with the component parts that make then up. You derive them from the underlying data instead.
    Hope this makes sense.
    Cheers
    Ben

  • How can I copy a slide from one presentation and paste it into another?

    Hoe can I copy a slide from one presentation to another?

    In the first Keynote, Click the slide in the Navigator panel to select it
    Copy the slide;   command C or Edit > Copy
    Go to the 2nd Keynote, click in the navigator panel and paste; command V or Edit > Paste

  • Select records from one database and insert it into another database

    Hi
    I need to write a statement to select records from one database which is on machine 1 and insert these records on a table in another database which is on machine 2. Following is what I did:
    1. I created the following script on machine 2
    sqlplus remedy_intf/test@sptd @load_hrdata.sql
    2. I created the following sql statements in file called load_hrdata.sql:
    rem This script will perform the following steps
    rem 1. Delete previous HR data/table to start w/ clean import tables
    rem 2. Create database link to HR database, and
    rem 3. Create User Data import table taking info from HR
    rem 4. Drop HRP link before exiting
    SET COPYCOMMIT 100
    delete from remedy.remedy_feed;
    commit;
    COPY FROM nav/donnelley@hrp -
    INSERT INTO remedy.remedy_feed -
    (EMPLID, FIRST_NAME, MI, LAST_NAME, BUSINESS_TITLE, WORK_PHONE, -
    RRD_INTRNT_EMAIL, LOCATION, RRD_OFFICE_MAIL, RRD_BUS_UNIT_DESCR) -
    USING SELECT EMPLID, FIRST_NAME, MI, LAST_NAME, BUSINESS_TITLE, WORK_PHONE, -
    RRD_INTRNT_EMAIL, LOCATION, RRD_OFFICE_MAIL, RRD_BUS_UNIT_DESCR -
    FROM ps_rrd_intf_medium -
    where empl_status IN ('A', 'L', 'P', 'S', 'X')
    COMMIT;
    EXIT;
    However, whenever I run the statement I keep getting the following error:
    SP2-0498: missing parenthetical column list or USING keyword
    Do you have any suggestions on how I can fix this or what am I doing wrong?
    Thanks
    Ali

    This doesn't seem to relate to Adobe Reader. Please let us know the product you are using so we may redirect you or refer to the list of forums at http://forums.adobe.com/

  • Exporting video from one machine and then importing into another not working...

    Here is my situation:
    I wanted to import some videoes into iMovie on my Mac (OSX Lion) that my wife shot on her iPhone 4S (ios 5.x). I first synched her photos and video with iTunes/iPhoto on her machine (OSX Snow Leopard), then exported them from iPhoto onto a thumb drive. Then I imported them into iPhoto on my machine.
    The pics are fine. But the videos are not playing. iPhoto sees they are videos, but each one is like a still: there is no duration to the video when you hit the play arrow. They also will not play by clicking on them directly in a Finder window from the thumb drive. The are showing up (for example) as IMG_0133.mov, with the proper "Quicktime movie" in the "Kind" column, but each one is 1 to 1.5 MB or less, so something is up.
    Anyone know what has happened? Perhaps they don't export correctly?

    Yes, I do, and I will do that when I re-do the process tonight.
    Do I need to (or is it advisable) to export the .mov files separately?
    I admit I was in a hurry and never having done this before, I did not look closely at the options.

Maybe you are looking for

  • Why does Google Search not work with FF14.0.1?

    <blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/934886]]</blockquote> When I use Google Search, no matter what I type in, this is all that shows up: http://i20.photobucket.com/albums/b232/emerald_typhoon/Example1.jpg If I

  • ABUMN- Assets transfer between assets class within company

    hi i am using the T. code ABUMN for Assets transfer between one class to other with thin the same cpmpany  for the assets purchased during currenting year not posting give error message AA417, for old assets it is working. pls help to solve this issu

  • Express xy graph second plot

    Hi , Im trying to get a second plot on the express XY graph. I've tried some of the suggestions like building the x array twice ( concatanating ?) but this does not seem to work for me. Is there a tutorial on multiple plotting with this beast anywher

  • How do you create a slideshow in cs6?

    how do you create a slideshow in cs6?

  • Import Song Question

    I am running Itunes 6.0.4 and had a question about importing music into ITunes. There is a setting under the Pref options in Advanced that talks about "Filter Freq. under 10Hz". Does this setting have to be checked? And if not, what does this option