Connections Parameters

Hi All,
I am developing an EJB wherein i make a connection to SAP system. My requirement is where should i save these connections parameters.
1. i dont want to hardcode them.
2. If the user wants to change the connection parameters in future he/she should be able to do that without any problems.
Is there some way i can store the values in the Configuartion Adapter service in VA and access them from EJB.
Please give your suggestions.
Regards
Sidharth

Hi,
   Put the connections parameters in a property file and import this file where ever necessary.Hence it will reduce time if any modifications required by others.Only the property file has to be modified once.
Regards,
Guru

Similar Messages

  • File has to pass through FTPS connection.. Connection parameters?

    Hi,
    I want to transfer the file through FTPS connection. Partner side provided the following details as connection parameters.
    - IP : 129.32.169.140 
    - POrt: 990
    User name
    Password
    PASV mode
    SSL Direct, OpenSSL,SSL Listing, SSL Transfers.
    Kindly let me know what are all the parameters I need to pass in Receiver file adapter.
    FTP Connection Parameters:
    Server
    Port
    Data connection: Passive
    Connection Security:  FTPS for control connection or FTPS for control and Data connection.???
    Command Order :  ?????
    Please let me know what are the security and command order parameters I need to use in Receiver file adapter.
    They didn't provide any certificates.
    Thanks
    Deepthi.

    Hi Rajesh,
    The message is not even failing.. It is in the status of "Delivering". The below are the logs from adapter and Messaging system.
    File Adapter Log:
    Success   Message successfully received by messaging system. Profile: XI URL: http://xi-dev.intranet.XI.com.au:50200/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    Success  Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    Success  Message successfully put into the queue.
    Success  The message was successfully retrieved from the receive queue.
    messaging system log:
    Message ID  44b756da-d9bd-42e2-3136-e34d75adfe03 
    Message Type  Asynchronously Received Message (RECEIVE) 
    From Service   Name:  BS_1  
    To Service   Name:  BS2  
    Action   Namespace  http://XI.com/SAP_PI/ControlData Name:  BYPASS  
    Connection Name   File_http://sap.com/xi/XI/System 
    Status   Delivering 
    Error Category    
    Error Code    
    Profile   XI 
    Transport   HTTP 
    Delivery Semantics   Exactly Once 
    Times Failed   0 
    Number of Retries   3 
    Sent / Received  09/09/2009 11:22:52 
    Transmitted / Delivered  09/09/2009 11:22:53 
    Next Delivery  09/09/2009 11:22:53 
    Persist Until  10/09/2009 11:22:52 
    Valid Until  01/01/1970 10:00:00 
    Retry Interval   5 Minutes 
    Address   http://xi-dev.intranet.XI.com.au:50200/MessagingSystem/receive/AFW/XI 
    Transport Headers   authorization=Basic UElJU1VTRVI6dDFhbTRyaWE= Content-Length=3010 accept-encoding=gzip sap-xi-messageid=44B756DAD9BD42E23136E34D75ADFE03 content-length=3024 host=xi-dev.intranet.XI.com.au:50200 user-agent=SAP Web Application Server (1.0;700) content-type=multipart/related;boundary=SAP_4AA4E14330050131E10080000A722149_END;type="text/xml";start="" HTTP=POST soapaction="http://sap.com/xi/XI/Message/30" 
    Principal Propagation

  • Assignment of BEx 7 connection parameters in unicode system

    Hi, experts!
    We faced the following problem:
    There is a BEx 7 workbook on BI-server. We use this WB to save data in DSO with remote function module. To call the this FM, in VBA-function we create an object  r3 like u201CSAP.Functionsu201D.This object gets BEx Analyzeru2019s current connection parameters. At that moment the following error raises: u201CRun-time error u201861704u2019: Internal application erroru201D.
    Our BI-system is Unicode system. In all Non-unicode BI-systems, that we tested, connection parameters are sending successfully. However, if we create "SAP.Functions.Unicode" object, then there is another error: "Run-time error '-2147352568 (80020008)': Bad variant type".
    When we use the similar functions in BEx 3.5, assignment of connection parameters is fine with "SAP.Functions" object both in Unicode and non-unicode systems... Using "SAP.Functions.Unicode" does not lead to error, but the connection is not happening in this case.
    Could you advice what settings should be done in BI-system or how can we adjust our function to solve connection problen
    Functions we use to assign connection in BEx7:
    Sub testconnection()      u2018non-unicode
      Dim r3, MyFunc As Object
      Dim RES_DATA_TBL As Object
      Dim ConnObject As Object
      Set ConnObject = Run("BEXAnalyzer.XLA!sapBEXgetConnection")
      Set r3 = CreateObject("SAP.Functions")
      r3.Connection = ConnObject '        here this error raises: "Run-time error '61704': u2018Internal application error".
      Set MyFunc = r3.Add("Z_UD_DATA_ODS")
      Set RES_DATA_TBL = MyFunc.Tables("RES_DATA")
      Result = MyFunc.Call
    End Sub
    Sub testconnection_UC()      u2018unicode
      Dim r3, MyFunc As Object
      Dim RES_DATA_TBL As Object
      Dim ConnObject As Object
      Set ConnObject = Run("BEXAnalyzer.XLA!sapBEXgetConnection")
      Set r3 = CreateObject("SAP.Functions.Unicode")
      r3.Connection = ConnObject '        here this error raises: "Run-time error '-  2147352568 (80020008)': Bad variant type"
      Set MyFunc = r3.Add("Z_UD_DATA_ODS")
      Set RES_DATA_TBL = MyFunc.Tables("RES_DATA")
      Result = MyFunc.Call
    End Sub
    Thanks for your replies,
    Best wishes,
    Sergey Musatov.
    Edited by: Sergey Musatov on Nov 23, 2011 7:05 AM

    Hi, gurus!
    Don't you have any ideas on this problem? It is not solved yet...
    We'll be grateful if you care.
    Thanks in advance.
    Best wishes,
    Sergey Musatov.

  • SQL SERVER EXPRESS DATABASE CONNECTION Parameters

    Hi,
    I am using the Database called " SQL Server Express"
    Can you give idea about connection parameters in JDBC Sender and JDBC Receiver.
    Connection Parameters are:
    JDBC Driver:
    Connection:
    Advance Thanks,
    Sateesh

    Hi Sateesh,
    Basis persons  are  configure the drivers in XI system to u r database.Once installation is complted u have check the following location whether drvers are install succesfull or not.
    1)The location is D:usrsapD31DVEBMGS00SDM
    ootoriginsap.comcom.sap.aii.af.jmsproviderlibSAP AG37.0014.20071029095337.0000aii_af_jmsproviderlib.sda.zip
    In this ZIP file u have to check Sqljdbc.jar whether installed or not.
    2)Check in VISUAL Adminstrator.Select JDBC adapter->Drivers->Sqljdbc.jar
    Please check this url for DRivers configuartion
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60237e74-ef19-2b10-5a9b-b35cc6a28e83
    3)Configuer the JDBC sender/Reciever Adapter.
    JDBC Driver:com.microsoft.sqlserver.jdbc.SQLServerDriver
    CONNECTION:jdbc:sqlserver://IP ADDRESS:PORT;Database=HOST NAME;
    USER NAME:sa
    PWD:XXXXXXXx
    Thanks
    Ravi

  • Receiver SOAP Adapter - Connection Parameters

    I have a scenario where I need to pass some data (authentication data) to a web service.
    I tried using Connection Parameters - Connection User Authentication, and it seems it does not go through SOAP HEADER.
    Does anybody know I can pass data to a Web Service without using payload??
    Actually I need to pass information set up in communication channel like user authentication.
    Thanks and Regards,
    Fabio Ramos

    Hi Carlos,
    The link(pdf) is opening fine.... Just try again.
    It actully explains your need...
    Also go through this info below and see if it helps:
    1) Check the wsdl message,mapped message (input to the SOAP Adapter)
    2) Check the Target URL in the SOAP Reciever Adapter. Also SOAP Receiver Adapter Parameters -
    http://help.sap.com/saphelp_nw2004s/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    3) Try to test the WebService -
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    4) Also check these links -
    Receiver SOAP Adapter Error: invalid content type for SOAP: TEXT/HTML
    Problems with soap adapter?
    You need to mention the Target URL i.e URL of the WSDL file.
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • Setting connection parameters in iOS-Corebluetooth Framework

    Hi Team,
         According to the Core Bluetooth Framework Reference there is an option argument on the CBCentralManager.connectPeripheral method, but there is no documentation that describes it other than to mention that its "A dictionary to customize the behavior of the connection.".
          I'm assuming that this is how the caller would specify the initial connection interval and slave latency. Please provide the dictionary details(i.e key of the dictionary).
         Please suggest me, how to give the key and value for the connection parameters dictionary(mentioned above).
    Thanks and Regards
    -Ibrahim Sulaiman

    Thanks for the answer. I am sure a trigger could be done but would be a pain for a few deployment reasons.
    In my searching seems like the ODBC setting work much like the fat JDBC. So I would guess I will need some VBA script in Access. But I am not sure VBA can drill down to the driver level.
    Any thought on a VBA script a user could run to set the params then they could do their ad-hoc stuff?

  • Mail Adapter  connection parameters

    Hi
    I have done the following scenario.
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    The source file is picked and in SXMB_MONI it shows checkered flag but not reaching the target.
    what should I give in connection parameters for Mail Server incase if I want to sent my file to gmail/yahoo mail
    Thanks,
    srinivas

    Srinivas,
    Your receipient email address (gmail/yahoo) has nothing to do with connection parameters.
    Con params in adapter refer to a mail server to connect and send email to the given receipient email addres...this mail server is needed coz XI doesnt have mail server built in...it uses external mail servers
    hope its clear now
    praveen

  • Dynamic passing database connection parameters

    I have a situation which is two different source of client but they have the same functions, so have the same screens. But they maintain two separate database even with same table structure/tablename (I inherited this and cann't change it). I am thinking I should have one reusable Entity Object/View Object. But when I create entity object, I create database connection first which has the database name/password/sid etc. My question is that is it possible the database connection parameters(name,password,host,sid etc) can reside in configuration files or something like that. somewhere in the java code, when I create a instance of view object/entity object, I find out which type of client is and so by passing the correct connection string, then the correct database entity object will be created. Is that something feasiable? Do I make myself clear? Please help!
    Type of Client 1 type of Client 2
    Same of ADF face Screen
    |
    |
    Same VIew Object/Entity Object
    |
    |
    | |
    database for Client1 database for client2 but those two database have the same table, lets say Employee with same columns, data types.... etc

    Hi,
    This [url http://jobinesh.blogspot.com/2011/04/modifying-application-modules-jdbc.html]blog would be helpful.
    -Arun

  • The connection parameters file could not be found

    Hi,
    I`m receiving the message "The connection parameters file could not be found" every time I try to access my local sybase data base from dbisqlc.exe. I work with Sebel 78 and I have entered as parameters my ID, my password and the path to the .dbf file.
    Could anyone please advise?
    Thanks

    Hi,
    Try specifying the ODBC Data Source [Create an ODBC Connection] and specify the Data Source File (.DSN) in the Login Tab of (dbisqlc.exe) under
    "Choose an ODBC datasource to supplement the connection parameters" section.
    Hope it helps.
    Regards,
    Joseph

  • Correct format for P_JDBCPDS connection parameters / URL ?

    Am using the Sqlserver-merant driver with a simple report but can't get past the error message below. Have read through all the posts here & at metalink and all advise updating classpath's etc to point at the Merant drivers, these have all been set ok but its still not working (actually don't recall seeing any thread where this has been resolved).
    I believe the problem may lie in the format of the connection parameters in the URL, again from the posts in the forums I've found many variations so need to check which one is actually correct. Oracle's 'Configuring and Using the JDBC PDS' gives examples of sybase and db2 strings but not sql server... has anyone ever got this to work??
    error:
    REP-4100: Failed to execute data source.
    JDBCPDS-62008:com.oracle.ias.jdbc.sqlserver.SQLServerDriver
    ---------------------------------------------------------------

    Hi Leah,
    The display URL for a Database Source should point to a separate server that provides web access to the document. It is not meant to point back to the SES instance. As the Admin Guide states:
    "This connector requires that there is URL-based access to the records in the result set of the view or query."
    In other words, the display URL should be something you can copy/paste into your browser location bar to view the document, with the other server rendering the document information to a user completely independently from SES.
    HTH,
    Mark

  • ERROR of SCCM: MPDB ERROR - CONNECTION PARAMETERS

    We got some SCCM Connection errors like below. It happened when sccm pushes packages out but they fail with Failed bad environment. Any ideas, thanks.
    =======================================
     MP_PolicyManager 9/15/2010 7:06:54 PM 8812 (0x226C)
    CPolicyManagerHandler::HandleMessage(): SetComplete(DISCARD) called. MP_PolicyManager 9/15/2010 7:06:54 PM 8812 (0x226C)
    CMPDBConnection::Init(): IDBInitialize::Initialize() failed with 0x80004005 MP_PolicyManager 9/15/2010 7:06:54 PM 8812 (0x226C)
    ======================================= MP_PolicyManager 9/15/2010 7:06:54 PM 8812 (0x226C)
    MPDB ERROR - CONNECTION PARAMETERS
    SQL Server Name     : SQLServer1
    SQL Database Name   : SCCM_ABC
    Integrated Auth     : True
    MPDB ERROR - EXTENDED INFORMATION
    MPDB Method         : Init()
    MPDB Method HRESULT : 0x80004005
    Error Description   : Cannot open database "SCCM_ABC" requested by the login. The login failed.
    OLEDB IID           : {0C733A8B-2A1C-11CE-ADE5-00AA0044773D}
    ProgID              : Microsoft OLE DB Provider for SQL Server
    MPDB ERROR - INFORMATION FROM DRIVER
    SQL Server Name   : SQLSERVER1
    Native Error no.  : 4060
    Error State       : 1
    Class (Severity)  : 11
    Line number in SP : 1
     MP_PolicyManager 9/15/2010 7:06:54 PM 8812 (0x226C)

    Hi,
    For this MP error, could you please browse through MP URL from Client machines Url to check MP is working or not:
    http://smsservername/sms_mp/.sms_aut?mplist - if page display MP list, MP is working fine.
    http://smsservername/sms_mp/.sms_aut?mpcert - if a longstring appears, MP is working fine.
    Did you use a remote database or a local database for you primary site?
    Make sure you added your SCCM  site server computer account to Local sql connection group.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Query on Connection parameters on Client console

    Hi all,
    I've a question on Connection parameters used in Client console.
    "Is there any restriction for the password to be used while connecting to the CRM server through Client Console while assigning a site Id or generating the Metadata? If yes what the restrictions?"
    Regards,
    Praveen.
    Edited by: Praveen on Jul 9, 2008 1:44 PM

    Hi Ankan,
    Thanks for your response.
    what are the restrictions on every version of BASIS system for the password? How can we find these rules/restrictions?
    Regards,
    Praveen.

  • Server Name in FTP Connection Parameters

    Hello
        When I specify IP Adrress for Servername in FTP Connection Parameters it works fine. Is it possible to give Hostname or URL for the parameter servername. If this is not possible is there anyway that we could pass Hostname or URL instead of IP Address.
    Thanks
    Naga

    Hi Naga
    Hostname will work. just you need to take care about the DNS resolution of that hostname. If the host name is not resolved by DNS then it will not work
    Thanks
    Gaurav

  • How to set the connection parameters for SQL

    How to set the connection parameters for SQL to access the MS Access database
    Attachments:
    Quick_SQL.vi ‏21 KB
    Doc1.doc ‏45 KB
    db1.mdb ‏112 KB

    Right-click the WINDOWS desktop, choose New->Microsoft Data Link. That will bring up a dialog that allows you to configure and test your database connection. You might connect to the Access database via ODBC or directly via Jet Engine. The Jet Enginge saves you the trouble of creating an ODBC connection on your PC. After you leave the dialog, the "data link" will show up on your desktop as text file. Open it and copy-paste the connection string to your VI.
    This webpage is an excellent resource for connection strings: http://www.able-consulting.com/ADO_Conn.htm
    If your application requires users to change the database connection at runtime, you can also include the dialog via ActiveX (MSDASC.IDataSourceLocator).

  • How to change connections parameters?

    Hi,
    How to change connections parameters
    For Local BC4J JClient Application with a Simple executable JAR File?.
    The name of de Server in Production is not equal to the name of de Server Test.
    URL (production) is= jdbc:oracle:thin:@OtherServer:1521:OtherBase
    URL (test) is= jdbc:oracle:thin:@MyServer:1521:MyBase
    Without generate a new jar.
    In other terms, how to deployment de executable simple jar for distribution with configurable connection parameters.
    Thanks.

    Hi,
    How to change connections parameters
    For Local BC4J JClient Application with a Simple executable JAR File?.
    The name of de Server in Production is not equal to the name of de Server Test.
    URL (production) is= jdbc:oracle:thin:@OtherServer:1521:OtherBase
    URL (test) is= jdbc:oracle:thin:@MyServer:1521:MyBase
    Without generate a new jar.
    In other terms, how to deployment de executable simple jar for distribution with configurable connection parameters.
    Thanks.

Maybe you are looking for

  • Help! Please No other forum would answer me!

    I have a Powerbook G4 OS X 10.3.6. I have found it very difficult to burn cds, or import them. The reason: the drive spits it out. The cd will go into the drive, and skip around for a minute ot two, and than come right back out. DVDs seem to work fin

  • Differnec in front end and back end of ESS record time from ABAP point

    HI Expert, Here I need information regarding employee working time. Quary is we are trying to restricts the records entered in time sheet through user exit CATS0006. Here in CATS0006 one table is there CHECK_TABLE. when I am executing time sheet from

  • Java Server Page Translation Error

    Hello ! I'm new in JSP pages and i try to launch Hello.jsp on Java Web Server(2.0) I get the following error : java Server Page Transalation Error Error during compilation Can't load class : pagecompile.jsp._Hello With Hello.jsp : <html> <head> <titl

  • ATI Mach64 Video drivers for PowerMac 4400

    Hi! I have one of these machines that I just put in an ATI Mach64 PCI video card and was wondering about drivers for this card. Do I need to find and install them or does OSX 8.1 already have them? I am from a Windows world so bear with me. Thanks! D

  • Tutorials for getting started in Garageband

    Hi, I am just getting started in Garageband , i was wondering if anybody could point me in the direction of any good tutorials that cater to novice users who are not that musically inclined. Thanks in advance. Powerbook g4   Mac OS X (10.4.5)