EJB as a Client to another EJB in 6.0

I have an EJB that calls another EJB. I understand that to call the first EJB from a java Client, I need to have the home and remote interface in the path of the Client. However, when the EJB locates the 2nd EJB through JNDI, I'm getting an exception that the 2nd EJB does not have access to the first EJBs interfaces. When I physically put the first EJBs home and remote interfaces in the /config/examples/serverclasses directory that is explicitly included in the CLASSPATH, the call to the second bean is successful. Why don't the EJBs have access to each others interaces?

Because they either need to be in the same .jar or in the same .ear.
Gene
"Clay Barrow" <[email protected]> wrote in message news:3a7989fa$[email protected]..
I have an EJB that calls another EJB. I understand that to call the first EJB from a java Client,I need to have the home and remote interface in the path of the Client. However, when the EJB
locates the 2nd EJB through JNDI, I'm getting an exception that the 2nd EJB does not have access to
the first EJBs interfaces. When I physically put the first EJBs home and remote interfaces in the
/config/examples/serverclasses directory that is explicitly included in the CLASSPATH, the call to
the second bean is successful. Why don't the EJBs have access to each others interaces?

Similar Messages

  • How can I transfer sapscript from one client to another

    Please tell me the steps , how can I <b>transfer</b> SAPscript from one client to another (like DEV Client to Test Client)?

    Hi,
    Utilities --> Copy from client.
    If you have to copy from once system to another use Program RSTXSCRP
    Regards,
    Satish
    Message was edited by:
            Satish Panakala

  • Transfer data in the Ztable from one client to another client in a same ser

    Hi all,
    How can i transfer or move data in the Ztable from one client to another client in a same server .
    Thanks
    Ajay

    hi,
    create a transport request (Workbench type) and add the following line into the transport request:
    R3TR TABU name_of_table
    save and doubleclick this line and enter the table keys for the required entries (if you need all antries: client and an asterisk will do).
    When it is done save again, release the transport and ask basis to import into target client (or you can do on your own in SCC1 transaction)
    hope this helps
    ec

  • How to transfer file from one client to another client?

    hello,
    i have some questions and hope you all can help me..thanks a lot first..
    Here are the questions:
    i) How can i send a file from one client to another client using RMI?
    ii) Does the client(sender) need to send the file to server, then server save it and then send it to another client(receiver)?
    iii) If using RMI, a client can receive two files from same client(sender) or different client(sender) at a same time? how to do it? when both of the files come in from same port, how to differenciate them?
    iv) For your information, i am doing the File Transfer Server-client application which sender can send any file to other client. Can you give me any ideas? thanks..
    Last, thanks again..

    Your questions reflect some ambiguity in terms.
    "Client" and "server" are commonly used in two different senses:
    1. Technical sense: A client process makes requests, and a server process fulfills the request (provides a service).
    2. IT sense: A client computer (process) makes requests of a server (computer) process, and the server (computer) processes the request.
    In the first case, any computer might be a client, or a server, or both, depending on the processes being executed. In the second case, the computers are assigned some role.
    So: If you wanted to, you could implement client/server processes communicating between two peer computers, using RMI.
    This may not be what you wanted; if you really want to distinguish client and server computers, then the answer is that yes, you will probably put files into intermediate storage on the server computer.
    Finally, you probably do not have to worry about port conflicts if you use RMI; while the initial client server contact is established through a registry operating on a standard port, the actual RMI communications is established using random ports, one for each link.

  • How can I move particular users from one client to another client

    Hi, I am trying to find a way to move few or many user from one client to another. Is there a transaction available or program to move them. e.g. there is a SCC1 available to move transport only from one client to another without going through TMS.
    Is there any trick available ?
    thnx in advance

    closing this one. thnx

  • How can I transport data from one client to another client?

    How can I transport data from one client to another client? 
    Regards,
    Subho

    hmmm, CTS = cutomizing transport?
    If you have a customizing table, there are still two possibilities.
    1. customize in DEV system and transport
    2. customize right there where you need it.
    this depends on how the maintainance view is built. If it is a simple customizing table and you get not asked for a TR when customizing a new record or changing an existing one, you hit possibility 2.

  • How to transfer data from one client to another client

    Dear Experts,
    Please explain how to transfer data (Materials) from one client to another client?
    Thanks,
    Ajay Kumar

    Hi Ajay,
    Check any of below methods
    Refer thread http://scn.sap.com/thread/171981 where people use IDOCs for master data transfer.
    OR
    This is done by BASIS team, by client refresh or client copy. Check with your basis team for this and there is some predefined time when they plan this activity, and in most project they do it once in 3 months etc to get production environment in test system which helps to resolve issues of production by creating similar case in test system.
    Check below threads for more information
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/cleint-copy-vs-client-refresh-1377848
    http://basissap.blogspot.in/2008/05/what-is-client-copy.html
    OR
    You can download data from one client and upload in another through BDC or LSMW.
    Regards,
    Sharat

  • Transfer master data from a project from one client to another client

    Hi all,
    I have a training client and a production client.  The project master data has been created (Tcode CJ01) in training client with multiple levels and WBS.  Is there a way to transfer the master data from the training client to another client so there will be no need to create the same project in another client?
    Thanks.

    Refer note for 37899 batch input option.
    Though this pertains to older versions with few changes to code it might be suitble to the version you are working on.
    Regards
    Sreenivas

  • Error while copying GL Accounts from One Client to another client

    Hi,
    We are trying to copy GL accounts created in one client to another client (Company Code is same in both the clients). First we executed FS15 (send) and a file was created on the server. With the help of BASIS team we checked that file and it contained the required values. However, when we are doing FS16 (receive) we are getting following OK messages:
    File /usr/sap/DEV/SYS/global/FBISABC is being checked
    Session 1 session name RFBISA20 : No terminations have been found
    However, at the same time we are getting following error message:
    File name FI_COPY_COMPANY_CODE_DATA_FOR_GENERAL_LEDGER_0X is unknown
    Message no. SG001
    Diagnosis
    No entry was found in the conversion table for the logical file name FI_COPY_COMPANY_CODE_DATA_FOR_GENERAL_LEDGER_0X.
    Procedure
    Add an entry to the conversion table for the logical file name. Maintain the conversion table with the transaction SM30.
    Can someone please advice is there something wrong that we are doing for copying GL accounts from one client to another client.
    Thanks,
    Sanjay

    Dear Sanjay,
    Did you check the batch-input? SM35
    It could have happend that there was a mistake in the batch-input data and that the destination file has not been written. If this has not been written it could not be found.  (I.E. you tried to transport G/L Accounts with deletion flags but did activate the checkbox "Transfer deletion ****").
    There is another point: Did you activate the box "Datei nur prüfen" (English: Check file only)? If this box is activated the programm will check if the batch-input-file will be written without mistakes but it will not write the file. Only if the checkbox is not activated the batch-input-file will be written. (the same with FS16).
    Kind regards
    Maike
    Edited by: Maike Nemeyer on Dec 1, 2011 8:52 AM
    Edited by: Maike Nemeyer on Dec 1, 2011 11:45 AM

  • QM master Data copy from one client to another client

    Hi QM guru...
    Kindly suggest me how i will copy all  qm master data  from one client to another client
    QM master Data like....Catlogs. MIC inspection method. sampling...etc
    Kindly suggest me how i will copy all master data
    Thanx
    Regards
    Akil

    Dear Akil,
    I think that LSMW can be of help in this case.
    Otherwise, please check with your ABAPer whether any BDC is there for mass uploading of master data.
    Regards,
    Kaushik

  • Problem in using the sap script from 1 client to another

    Hi,
    I am working on a sap script which is developed in the 555 cliet(Quality) but now the error comes change to repository or cross client is not allowed.
    In order to change the script which i am working on i tried to copy that script in 333 client and created with the orignal script. I tried to copy the modified script (developed in 555) but it is copying that script.
    Plzz proivde me guideliness how to solve this problem.

    >
    ricx .s wrote:
    > Hi,
    >
    > I am working on a sap script which is developed in the 555 cliet(Quality) but now the error comes change to repository or cross client is not allowed.
    >
    > In order to change the script which i am working on i tried to copy that script in 333 client and created with the orignal script. I tried to copy the modified script (developed in 555) but it is copying that script.
    >
    > Plzz proivde me guideliness how to solve this problem.
    Hi there,
    Are clients 555 and 333 both on DEV Server? If so you may use transaction SCC1 to copy the form from one client to another. Just run SCC1 on the client where the sapscript form will be copied, indicate the source client, and search for the transport request number that contains your form.
    Also, where did you develop your form?
    Let me know.
    Regards.

  • Moving object from one client to another using transport requests...

    Hi,
    If we want to move one object from one client to another, we go to se09 and release it. I know this. But after release what are the next steps to move it from one system to another ?
    Regards,
    Rajesh

    Hello Rajesh
    If the two systems share a <u>common</u> transport directory then you can simply go to transaction <b>STMS</b>, double-click on the <b>import queue</b> (target system), then choose menu <b>Extras -> Other Requests -> Add.</b>
    The transport request will be added to the import buffer. Next you can import the request.
    If the two systems do not share a common transport directory you can use RFC-enabled function module <b>EPS_FTP_PUT</b> to copy the data and cofile from the source to the target system (check for <b>DIR_TRANS</b> directories using transaction AL11).
    Regards
      Uwe

  • G/L accounts to be copied from one client to another

    Dear Gurus,
    I would like to copy all or few G/L accounts from one client (000) to another client (800).   Is it possible? If it is possible, can anybody explain how to do the same.
    FYI - This question may not be relevant for SD, but i would like to carry out the above activity.
    Regards
    Manivannan R

    Hi Prasanth,
    Yes.  We can work with CIN in two way. One way we can do it through copy client to a new client and another one is by creating all CIN related elements to an existing client (may be in 800).
    Since i do not know, how to do the client copy, i am requesting how to transfer the G/L accounts from one clinet to another client.
    If somebody knows how to do the client copy, please let us know.
    Thank you in advance
    Regards
    Manivannan R

  • Transporting Course Catalog from one client to another

    Hi Experts,
    Can we transport LSO Course Catalog from one client to another or from development server to QA Server? If yes please somebody help me how to do that? Appreciate your efforts. Thanks
    Regards,
    FS

    Hi,
    You may use report RHMOVE30 and try creating a transport request manually.
    Use object type as course group (L) and type all of the course group numbers as object id.
    Then select evaluation path as L-D.
    Please try.
    Another option is to create an LSMW for creation of the course groups and types and the relationships between them.
    Regards,
    Dilek

  • How do the copy the Recording form one client to another client.

    Hi all
    I have one scenario like
    We need to process the sales documents which are not process to output(means send the document to printer) .
    For that I have to write a BDC program,
    In that program we  need to list out the all the documents which are not process .
    Then we need to do the Recording for VA02.
    NAVIGATION IS LIKE : va02 --> enter the doc No --> go the Extract(main menu) --> output --> Header --> Edit --> select the output type -->Save --> go the Sales Document(in main menu option) --> issue output --> print.
    But what my quarry is we have  to do Record that T-Code (VA02)  client 040 but we don’t have any test data (any entries),
    We have another client 093, in this client we don’t have authorization properly, means I able to Record but I am unable to create the program after recording why becace we don't ahve authorization for SE38.
    Please tell me is there any possible Export the Record form one  client and Import to another client.

    Hi Amjad,
    Yes we can transfer from one client to another client.
    to copy client from 901 to 903. if you have created a recording in client 901, go to transactions SHDB, double click on the specific recording, it will open the recording. there got to menu path: recording->export. export to a text file.
    in client 903 create a sample recording. open the recording in change mode, delete all lines. then go to menu path Recording->import, import the text file.
    it will works fine.
    Regards
    Krishnendu

  • ALE IDOC Transfering Material Master From One Client to Another Client

    I am using ALE Idoc transfering material master from one client to another client with MATMAS msgtype the details of Idoc received on receiver side is showing message i.e no Idoc is selected at receiving side after passing partner number in WE02 transaction.
    As I am new to ALE/IDOCS , I am transferring material master from one client to another client with in same system on IDES using ALE/Idocs the details of IDOC received on receiver side is showing message i.e no IDOC is selected at receiving side after passing partner number in WE02 transaction and showing current status 51 instead of 53  i.e no details of IDOC is received at receiver side  using MATMAS Message-Type. It is <removed by moderator>
    Kindly provide solution.
    Naveen
    Message was edited by: Naveen Grover
    Message was edited by: Manish Kumar : Subject and formatting changed

    Hello Naveen,
    If the connection is available (test with SM59 + Connection identifier),
    after choosing your Connection you can test the connection:
    you might find the idocs with the daate when they where sent in SM58:
    The message says in this case there was no service, there might also be other errors like "wrong password" and so on.
    After solving the error, you can restart sending the idoc from this screen.
    Hope this helps .
    Regards,
    Gerlinde

Maybe you are looking for