ABAP connection to EJB

Hello @ all,
I have a problem. I want to establish a connection from ABAP to an EJB to transfer data from the EJB to ABAP. I found a class which can help me solving that problem. The class name is "CL_EJB_JAVA_OBJECT_METHODS".
But there is no Documentation for the class. So I didn't know what exactly to do. My actually coding is looking like:
FUNCTION ZEJB_TEST_ZUGRIFF.
Data: v_bean TYPE REF TO cl_ejb_java_object_methods.
CALL METHOD v_bean->GET_RESULT
  EXPORTING
    NUMBER     =
    METHODNAME = getMessage()
    IM_PARAMS  =
  IMPORTING
    RESULT     =
ENDFUNCTION.
Can anybody of you help me solving my problem or do anybody still have a solution for my problem?
Thank you in advance!!!
Greetings, Alexander

Hi ALexander,
If you want to access Web Service, you should have WSDL available from the provider.You don't have to do anything with EJB now. Web Services automatically takes care of that. You have to make a connection to Web Services now.
If you have WSDL file or link to the URL, post the same question in ABAP forum.
Don't write EJB, but reframe your question as "How to access Web Service from ABAP
regards,
Piyush

Similar Messages

  • How to configure RZ12  and SM59 ABAP connection settings when we have work with Load Balancing servers rather than a specific server .

    Hi ,
    If we have a specific server say 10.10.10.10 (abc.co.in) on which we are working, Then under RZ12 we make the following entry  as :
    LOGON GROUP          INSTANCE
    parallel_generators        abc.co.in_10         ( Lets assume : The instance number is 10 )
    Now in SM59 under ABAP Connections , I am giving the following technical settings:
    TARGET HOST          abc.co.in
    IP address                  10.10.10.10
    Instance number          10
    Now if we have a scenario of load balancing servers with following server details (with all servers on different instance numbers ) :
    10.10.10.11    
    10.10.10.13
    10.1010.10
    10.10.10.15
    In this case how can we make the RZ12 settings and SM59 settings such that we don't have to hardcode any IP Address.
    If the request is redirected to 10.10.10.11 and not to 10.10.10.10 , in that case how will the settings be.
    Regards,
    SHUBHAM

    Hi,
    No one using FMS behind a load balancer? No one using RTMPT?

  • ABAP Objects and EJB

    Hi every one,
    Can <b>ABAP Objects and EJB</b> be compared?
    -Naveen.

    Hi Naveen,
    Check this guide- might be useful-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/dc09af90-0201-0010-d09b-bd611a11070b
    Regards,
    Moorthy

  • Fetching ABAP connection information from SLD

    Hi Experts,
    I had created one SLD. so i want to use the ABAP connection information of SLD in JCo programming.  how can we achieve this one?
    Thanks,
    Maha

    Hi,
    Refer the below links...
    SLD Configuration:
    Configuring SLD in Sneak Preview SAP NetWeaver '04 Sneak
    SAP Help on JCO Destinations and on other bussiness Packages.
    http://help.sap.com/saphelp_erp2005/helpdata/en/8c/cb3042366c0521e10000000a155106/frameset.htm
    Creating ABAP Technical System:
    http://help.sap.com/saphelp_nw70/helpdata/en/24/8fa93e08503614e10000000a114084/content.htm
    Regards,
    Srinivas

  • ABAP connect SQL run SQL insert into Error

    Dear All
             I have a problem in ABAP connect SQL,Below is my code snippet sentence.
    CONCATENATE 'Insert Into [timportcortrol]'
                    '(zucode,zstate,zdate,zkind) Values('''
                      VG_PCID ''','''
                      '1'','''
                      SY-DATUM ''','''
                      '1' ''')'
                     INTO SQL.
        CALL METHOD OF REC 'Execute'
         EXPORTING #1 = SQL
         #2 = CON
         #3 = '1'.
    IF NOT SY-SUBRC = 0.
        MESSAGE I000 WITH 'Download  to [timportcortrol] failure,Please Check the SQL Connect!!! '.
        EXIT.
      ENDIF.
    "Con:is the connect SQL String ,the connect SQL is Okay.
    I debug this code,when I used u2018Select u2026sentenceu2019,the program can work.if I  use u2018insert intou2019 then canu2019t work,but I copied the SQL of the u2018inset Into sentenceu2026u2019run it into SQL server then it can work also.
    And I found the SY-SUBRC eq u20182u2019.whatu2019s mean about of the sy-subrc eq u20182u2019.
    I think the insert into sentence in abap I have write the wrong ,but I canu2019t assurance.
    The Insert Into Sentence is:u2019 Insert Into [timportcortrol](zucode,zstate,zdate,zkind) Values('20080807094713','1','20080807','1')u2019
    Could you give me some advice for this issue?
    Thanks of all
    Sun.

    Hi
    I think the problem is with the date format "20080807094713". You should know first how the date is stored in the underlying database. In that format we have to pass the date in the SQL DML statements.
    Try "07-Aug-2008' for example and check.
    Hope it helps.
    Murthy

  • Configuration Wizard-NW:BI-AS ABAP(Connectivity of BI and Source System): M

    Hi friends,
    I´m configuring the (NW: BI - AS ABAP (Connectivity of BI and Source System): Maintain) in NWA using Configuration Wizard.
    But there is the error in step (NW: BI - AS ABAP (Connectivity of BI and Source System): Maintain > Scenario UI: NW_BI_ABAP_DEFAULT > Scenario Process: Abap Server Integration to BI > Configuration Process > Configuration Unit: Initialize > Config Unit BI System: Initialize > Customizing: Assign Logical System to Client > Write Customizing data to Table T000)
    Below error log:
    *Write Customizing data to Table T000*
    Description:
    Exception in step "WriteProfile_1223390220410"
    Exception details : com.sap.tc.lm.ctc.metamodel.exception.ActionExecuteException: Exception during the import of the profile!
    State
    Step finished with error
    Support Information
    Type of Action
    WriteProfile
    Debug Events
    WriteProfile:Write Customizing data to Table T000
    Library: sap.com/tclmconfig~bs
    SourcePath ./com_sap_nw_bi_abap_default_maintain/ext_12064772269223/ext_1206447991146/Process_1207123636083/proc_1196064316796/Process_1204300420808/proc_1204300371034/WriteProfile_1223390220410
    Time 2011/11/03 at 15:36:57
    Schema content/NetWeaver/Common/Customizing/Clients/T000.xsd
    Type : View Maintenance
    Input
    <TABLE_T000 xmlns:expr="http:/sap.com/ctc/expressions"><T000><MANDT>100</MANDT><LOGSYS>SOLCLNT100</LOGSYS></T000></TABLE_T000>
    Schema
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:vma="http://www.sap.com/ctc/vma"
    elementFormDefault="qualified"> <xsd:element name="TABLE_T000" type="TABLE_T000"></xsd:element> <xsd:complexType name="TABLE_T000"> <xsd:sequence> <xsd:element name="T000" type="T000"> <xsd:annotation> <xsd:appinfo
    source="http://www.sap.com/ctc"> <vma:vmacontext table="T000" isupdate="false"/> </xsd:appinfo> </xsd:annotation> </xsd:element> </xsd:sequence> </xsd:complexType> <xsd:complexType name="T000"> <xsd:sequence> <xsd:element name="MANDT" type="xsd:string"> <xsd:annotation> <xsd:appinfo source="http://www.sap.com/ctc"> <vma:vmaproperty column="MANDT"/> </xsd:appinfo>
    </xsd:annotation> </xsd:element> <xsd:element name="LOGSYS" type="xsd:string"> <xsd:annotation> <xsd:appinfo source="http://www.sap.com/ctc"> <vma:vmaproperty column="LOGSYS"></vma:vmaproperty> </xsd:appinfo> </xsd:annotation> </xsd:element
    </xsd:sequence> </xsd:complexType> </xsd:schema>  
    Destination parameters
    user : SOLMAN_ADMIN
    password : % secure content %
    host : cdsolman
    sysnr : 01
    client : 100
    language : en
    Stack Trace
    Caused by: com.sap.tc.lm.ctc.cul.api.CULServiceException: Exception during the import of the profile!
         at com.sap.tc.lm.ctc.cul.serviceimpl.writeProfile.CULServiceWriteProfileImpl.writeProfile(CULServiceWriteProfileImpl.java:98)
         at com.sap.tc.lm.ctc.cul.serviceimpl.process.WriteProfileControllerImpl.execute(WriteProfileControllerImpl.java:160)
         ... 16 more
    Caused by: com.sap.tc.lm.ctc.cul.cpi.context.ConfigurationBrokerException: <Localization failed: ResourceBundle='com.sap.tc.lm.ctc.cul.cpi.CPIResourceBundle', ID='xml_parsing_exception', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key xml_parsing_exception
         at com.sap.tc.lm.ctc.cul.broker.BrokerWriteProfileImpl.writeProfile(BrokerWriteProfileImpl.java:79)
         at com.sap.tc.lm.ctc.cul.serviceimpl.writeProfile.CULServiceWriteProfileImpl.writeProfile(CULServiceWriteProfileImpl.java:95)
         ... 17 more
    Caused by: com.sap.tc.lm.ctc.provider.vmaprovider.exceptions.VMAProviderBaseException: Incorrect XML
         at com.sap.tc.lm.ctc.provider.vmaprovider.util.VMAUtil.getDocument(VMAUtil.java:349)
         at com.sap.tc.lm.ctc.provider.vmaprovider.util.VMAUtil.setXmlValue(VMAUtil.java:250)
         at com.sap.tc.lm.ctc.provider.vmaprovider.util.JCOProfileExecutorImpl.executeContext(JCOProfileExecutorImpl.java:310)
         at com.sap.tc.lm.ctc.provider.vmaprovider.util.JCOProfileExecutorImpl.executeChildNode(JCOProfileExecutorImpl.java:183)
         at com.sap.tc.lm.ctc.provider.vmaprovider.util.JCOProfileExecutorImpl.executeProfile(JCOProfileExecutorImpl.java:129)
         at com.sap.tc.lm.ctc.provider.vmaprovider.VMAWriteProfile.writeProfile(VMAWriteProfile.java:59)
         at com.sap.tc.lm.ctc.cul.broker.BrokerWriteProfileImpl.writeProfile(BrokerWriteProfileImpl.java:144)
         at com.sap.tc.lm.ctc.cul.broker.BrokerWriteProfileImpl.writeProfile(BrokerWriteProfileImpl.java:73)
    Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: Incorrect encoded sequence detected at character (hex) 0x6f, (bin) 1101111. Check whether the input parsed contains correctly encoded characters. Encoding used is: 'utf-8'(:main:, row:1, col:637)(:main:, row=1, col=637) -> com.sap.engine.lib.xml.parser.ParserException: Incorrect encoded sequence detected at character (hex) 0x6f, (bin) 1101111. Check whether the input parsed contains correctly encoded characters. Encoding used is: 'utf-8'(:main:, row:1, col:637)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:139)
         at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:76)
         at com.sap.tc.lm.ctc.provider.vmaprovider.util.VMAUtil.getDocument(VMAUtil.java:341)
    Caused by: com.sap.engine.lib.xml.parser.ParserException: Incorrect encoded sequence detected at character (hex) 0x6f, (bin) 1101111. Check whether the input parsed contains correctly encoded characters. Encoding used is: 'utf-8'(:main:, row:1, col:637)
         at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:209)
         at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:207)
         at com.sap.engine.lib.xml.parser.helpers.AdvancedXMLStreamReader.read(AdvancedXMLStreamReader.java:143)
    All the others steps were finished successfully
    Only this step is with error. I don´t know that to do.
    Regards,
    Ricardo Arriado
    Edited by: Ricardo Arriado on Nov 4, 2011 6:24 PM

    Hi,
    Please double check the JCO user and the authorization.
    Or
    Apply these two notes, it should resolve ur issue
    1493124 CTC: Check table existence before table whitelist
    1471762 CTC: Automated Configuration:
    Hope this helps u.
    Best Regards
    Vijay K

  • Checking the ABAP connection - error

    Hi
    According to the ADS config guide for NW2004s, I wanted to test the ABAP connection. I went to t.code SA38, entered FP_PDF_TEST_00 and entered the connection name, and when I execute it I get the error
    Error Code: 2
    Error Message: ADS
    Invalid http conenction: ADS
    No version available.
    Can anyone please explain me where and how should I set the http conenctions to make this test successful.
    Thanks in advance
    regards
    SM

    Hi SM,
    Programs FP_PDF_TEST_00 & FP_TEST_00 are completely different.
    The program FP_PDF_TEST_00 that you run is just returns ADS version only.
    If you execute the program FP_TEST_00, it will show you PDF output. That is this program takes the PDF form name FP_TEST_00 in the selection-screen parameter and also ADS destination name and will return you the PDF Output.
    Basically you will do the following steps to run an Adobe Form.
    1. Get the generated function module name for the Adobe form using function module FP_FUNCTION_MODULE_NAME.
    2. Call the function module FP_JOB_OPEN. here we have to pass ADS connection, Device name, No dialog option...etc
    3. Call the generated function module , here we an pass SAP data from the print program.
    4. Call the function module FP_JOB_CLOSE.
    For more information, check the program FP_TEST_00 code .
    Thanks
    Ramakrishna

  • Why ABAP connections?

    Hi all,
    I have just read a few notes on RFC connection particularly on maintaining RFC destinations (SM59) and there are a few groups: ABAP connections, HTTP connections, Internal connections, logical connection and so forth...
    Why do i use ABAP connections when I was doing my IDOC? Can i use other RFC destination?
    Thanks and regards,
    William Wilstroth

    Hi William,
    The most important is ABAP conenctions, HTTP connections and TCP/IP connections.
    HTTP - Type G- When you need to connect to the external HTTP server
    Type T (TCP/IP) This is the most imortant, as this will be used for all the external systems connectes, lets say FAX system, IXOS, etc.
    Do reward points to useful answers.
    Regards,
    Atish

  • How can connect different ejb server in one client program

    hi , every
    i want to make connect ejb server into one client program.
    for that , but i try to change PROVIDER_URL property , it's not correct
    who solve this problem for novice? :(

    You need to create separate initialContext to each of the different servers
    and lookup up the different ejbs.
    -Sabha
    "inking" <[email protected]> wrote in message
    news:[email protected]..
    hi , every
    i want to make connect ejb server into one client program.
    for that , but i try to change PROVIDER_URL property , it's not correct
    who solve this problem for novice? :(

  • How to connect the EJB webservices using kxmlrpc in J2ME

    Hi all,
    I am trying to develope a program in J2ME using kxmlrpc. I am having the EJB web serivce as server and its working fine , the webservice coding is as follows and i am using Sun application sever for web services
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.ArrayList;
    import javax.ejb.EJBException;
    import javax.ejb.Stateless;
    import javax.jws.WebService;
    import javax.jws.WebMethod;
    import javax.jws.WebParam;
    import javax.sql.*;
    @Stateless()
    @WebService()
    public class test1 {
    /* Sample Web Service Operation */
    @WebMethod(operationName="sample_operation")
    public String operation(@WebParam(name="param_name") String param) {
    // implement the web service operation here
    System.out.println("test the xml rpc");
    param="helloworld";
    return param;
    Any body please help me how to call this web sevices method in J2ME client using kxmlrpc, i tried but it shows execption. And i want to know which url i want ot give inthe XmlRpcclient() and what are all the parameters to be given in xmlrpcclient.execute(). Anybody please help me on this and my kxml coding is as follows:
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import java.io.*;
    import java.util.*;
    import org.kxmlrpc.*;
    public class kxmlrpc_demo extends MIDlet implements CommandListener {
    private List list;
    private Command exitCommand;
    private String[] menuItems;
    private Display display;
    private Alert response;
    private XmlRpcClient xmlrpc;
    private Vector params, xmlArray;
    public kxmlrpc_demo() {
    //Initialize the User Interface
    menuItems = new String[] {"Timestamp", "Randomizer", "AddressBook"};
    list = new List( "Select a service", List.IMPLICIT, menuItems, null );
    exitCommand = new Command( "Exit", Command.EXIT, 1 );
    response = new Alert("Service Return", null, null, AlertType.INFO);
    response.setTimeout( Alert.FOREVER );
    //Add commands
    list.addCommand( exitCommand );
    list.setCommandListener( this );
    //obtain a reference to the device's UI
    display = Display.getDisplay( this );
    }//end MyMidlet()
    public void startApp() {
    display.setCurrent( list );
    }//end startApp()
    public void pauseApp() {
    }//end pauseApp()
    public void destroyApp( boolean unconditional ) {
    //clean up
    list = null;
    exitCommand = null;
    display = null;
    }//end destroyApp
    public void commandAction( Command com, Displayable dis ) {
    if ( dis == list && com == List.SELECT_COMMAND ) {
    switch( list.getSelectedIndex() )
    case 0:
    try
    xmlrpc = new XmlRpcClient( "http://localhost:4116/test1Service/test1?Tester" );
    params = new Vector();
    String serverTime = (String) xmlrpc.execute( "sysTime.getSystemTime", params );
    response.setString( serverTime.toString() );
    display.setCurrent( response );
    catch ( Exception ex )
    response.setString( ex.toString() );
    ex.printStackTrace(); // DEBUG
    display.setCurrent( response );
    }//end try/catch
    break;
    case 1:
    try
    xmlrpc = new XmlRpcClient( "http://localhost:4116/test1Service/test1?Tester" );
    System.out.println("url"+xmlrpc.getURL());
    params = new Vector();
    xmlArray = new Vector();
    xmlArray.addElement( "param_name" );
    // xmlArray.addElement( "5" );
    // xmlArray.addElement( "12" );
    params.addElement( xmlArray );
    String serverTime = (String) xmlrpc.execute( "sample-operation", params);
    System.out.println("servertime: "+serverTime);
    response.setString( serverTime.toString() );
    display.setCurrent( response );
    catch ( Exception ex )
    response.setString( ex.toString() );
    ex.printStackTrace(); // DEBUG
    display.setCurrent( response );
    }//end try/catch
    break;
    case 2:
    response.setString( "Not implemented yet." );
    display.setCurrent( response );
    break;
    }//end switch( list.getSelectedIndex() )
    else if ( com == exitCommand ) {
    destroyApp( true );
    notifyDestroyed();
    }//end if ( dis == list && com == List.SELECT_COMMAND )
    }//end CommandAction( Command, Displayable )
    }//end MyMidlet
    Thanks in advance.
    regards
    Senthil K

    Any body please help me on this. I am really struggling on this

  • Connecting to EJB's via RMI?

    If I have understood correctly, it's possible to establish connection
    between
    IPlanet server J2SE 1.3.0 client by using RMI/IIOP classes provided
    in the J2SE 1.3.0. Have I understood correctly?
    Other interesting question for me are pure RMI-clients.
    I would like to know is it for example possible to communicate
    between Java 1.1.7 client and EJB's deployed to IPlanet server by using
    RMI?
    (It would be great if we could just put general RMI classes to
    the client-applications archive when the client is using some other
    version of Java than 1.3)
    Mika

    Well I found the problem in case anyone else runs into the same issue. I missed the part in the how to document about changing the orion-application.xml file to point to the system level jazn-data.xml file. After doing this the user authenticated fine.
    changed
    <jazn provider="XML"
    location="jazn-data.xml" />
    to
    <jazn provider="XML"
    location="./jazn-data.xml" />
    in the deployed applications directory for the application.

  • Connectivity from ejb to Resource Adapter at run time

              I am facing a problem regarding the look-up of the Resource Adapter from the Ejb.
              To explain :
              1.I have The <resource-ref> tag in ejb-jar.xml set at follows :
              <resource-ref>
              <description>The Resource Adapter</description>
              <res-ref-name>eis/RitResourceAdapter</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
              </resource-ref>
              and the <resource-description> tag in weblogic-ejb-jar.xml as follows:
              <resource-description>
              <res-ref-name>eis/RitResourceAdapter</res-ref-name>
              <jndi-name>eis/RitResourceAdapterConnectorJNDINAME</jndi-name>
              </resource-description>
              2.Even though I have mentioned the res-ref-type as javax.sql.Datasource , in my
              code I have done :
              rcf = (RitConnectionFactory) c.lookup ("java:comp/env/eis/RitResourceAdpapter");
              Where rcf is the my Resource Adapter specific Connection Factory (one which
              I have prepared and not
              the javax.resource.cci.ConnectionFactory). So this means the connection
              object which I get is casted to
              get my own application specific connection object.
              3.When I run my servlet (which looks up the Ejb and which in turn looks-up the
              Resource Adapter) it works fine to the point that it looks-up the bean successfully
              but fails when it tries to do so for Resource Adapter. The Server exception is
              as follows :
                        javax.ejb.EJBException
                        - with nested exception:
              [javax.naming.NameNotFoundException: Unable to resolve comp/env/eis/RitResourceAdpapter/
              Resolved: 'comp/env/eis' Unresolved:'RitResourceAdpapter' ; remaining name '']
              It will be great to hear about any solution from you people.
              For your information :
              I am using Weblogic 6.1, both the ejb jar and the RitResourceAdapter.rar has been
              deployed and the relevant portion of the weblogic-ra. xml is :
              <connection-factory-name>LogicalNameOfRitResourceAdapter</connection-factory-name>
              <jndi-name>eis/RitResourceAdapterConnectorJNDINAME</jndi-name>
              Regards,
              Ritwik
              

    > My question here is that is there any way where I do not put the queue name in the sender adapter at design time and based on the data availability in the queue let the sender adapter know the queue name to be processed at run time.
    Unfortunately for JMS Sender CC it is not possible, but other way around is possible. I.e. you can dynamically choose the receving queue names by using ASMA "JMSReplyTo" in JMS Sender CC.
    Regards,
    Sarvesh

  • General question: Connect to EJB

    Hi,
    At the moment I am working on the architectural design of a new application written by J2EE technology.
    To study the subject I read many books and tried a large number of HelloWorld applications with EJB.
    As I understand it, the EJB works like this:
    Client ==> [RMI] ==> EJB ==> [JCA] ==> Node X
    or
    Client ==> [RMI] ==> EJB ==> [JDBC] ==> RDBMS
    My picture from EJB down to JCA or JDBC is quite clear although the construction of a JCA was quite troublesome. My picture from the Client to the EJB is not so clear.
    Until now I succeeded to connect to a EJB by using JMS, RMI and Webservice (SOAP).
    Web Services is great since my application must support this so it looks a good idea to connect this with a stateless session bean.......
    However I also need to support some kind of simplified LDAP and perhaps another legacy protocol. So I think I actually need to add a listening socket to the EJB. Of course this cannot be done by default, since a EJB is not allowed to act as server. But how can we achieve this anyway and work "by the book"? I would like to use stateless session beans to use the Application Servers infrastructure like robust thread handling, clustering and hot deployment possibilities.
    Downstream we use JCA/JDBC but how to we listen to upstream commands? Is there only SOAP, RMI and JMS? Should I develop another JCA and connect this to a EJB in some way?
    Sorry for all my questions, but in all Hello Pet Store World examples I have seen so far a web tier exists. All operations are initiated by the web browser. In my case there is not such a thing like a web browser or web tier.
    Thanks for your support, it would be great if I just knew where to continue reading!
    Joop

    Hi Dmitry, I too had a few problems with the Sun App server. I was trying to call add a message to a JMS Message queue (of a Message-Driven bean) from a standalone Java application running on a second node. After researching the problem for some time, we still have not found a solution for this bug. We are getting a GIOP Magic error.
    You should not have problems deploying an EAR. This is working. You might need to investigate these problems, i.e. deployment process, configuration, etc.
    How should I make lookups if I deploy "Enterprise Applications" with EJB inside it. Your lookups should use the InitialContext and the JNDI tree of the application server. Again, you need to make sure that your deployment is correctly building the JNDI tree.
    How are you deploying the application modules?
    />

  • How to get current connection from ejb container

    We have to execute sql statement directly to the database and will use for this issue to connection establish between the ejb container and the database.
    How to get the corresponding object ?

    thanks

  • JDBC connection in EJB

    In EJBs, we can always spawn a JDBC connection using the internal server side driver through defaultConnection() or kprb. My question is, can we spawn any other kind of connection from an EJB to another database on some remote machine, this would involve using the thin or oci drivers, i try but get security exceptions and access privilege exception though the account i use is privilegded for database operations. Can someone answer my question please.

    see reply in one of the four other forums you posted the same question to !!

Maybe you are looking for

  • Hiding Columns in a Spry Region

    Hello All, I'm using the SpryDOMUtils.js to hide columns in my SPRY table.  Everything works fine when I load the page except when I add the LoadListener to hide the columns when the page generates: function hideColumn(){      Spry.$$("#second th:nth

  • Logic Express 8 and OSX 10.6.5 Problems...

    Hi, I just did a fresh install of all of my software on my iMac. Previously had it running 10.6.4 and everything an fine. Now that I've reinstalled and upgraded to 10.6.5 Logic Express won't work. Anyone else having this problem? Am I just ging to ha

  • ABAP dynamic tables add fields

    Hi, i have to extend a dynamic table like this: FIELD-SYMBOLS: <g_data> TYPE table. I have to build a custom structure with all the fields of g_data plus some other fixed fields. In other words if g_data looks like this AUFNR POSNR 100   10 200   20

  • Using apple tv

    How can i play movies from my imac(2008) through apple tv which are not in my itune library

  • How do I download a recently purchased album to a CD?

    How do I download a recenly purchased album to a CD?