Junit : how to create JDBC URL connection

hi folks,
I am implementing JUnit in my application , for that I have seen srdemo application every thing is fine but i havent get how to configure JDBC URL connection 'SRServiceLocalTesting' ? can any body tell me how to do it.
Thanks in advance
Regards
Pravin

Hi,
Have a look,
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/odi_project_xml-to-table/odi_project_xml-to-table.htm
Thanks,
Guru

Similar Messages

  • How to create JDBC connection in J2ME with MS-SQL server?

    I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........

    I need to have database connection in PDA with SQL server,as i am new to J2ME ,i dont know how to create jdbc connection on J2ME device.Please help me out with this problem........

  • How to create a new connection from SAPGUI to Test drive?

    Hi,
    I have installed Sap Netweaver Test drive on a linux virtual machine (windows host). The installation was successful and I was able to start the instance (application server and the database), yet I don't know how to create a new connection from my SAPGUI client (7.20) to this server. The static IP address of the server is 192.168.1.160.
    I entered the following values for my new connection entry
    Description: SAP Netweaver
    Application server: 192.168.1.160
    Instance number: 01
    System ID: DB2
    SAProuter: /H/192.168.1.160/S/3201/H/
    But it does not work. Any idea about the values needed  for creating a new entry?
    Thanks in advance,
    Dariyoosh

    >
    Dibya R Das wrote:
    > Why are you entering a router string? Can't you reach a box directly from your machine?
    >
    > Doesn't a ping to that host & a "telnet <host/ip address> 3201" work from your machine to the SAP System.
    >
    > Remove the router string you wont need if the above works.
    >
    > - Regards, Dibya
    Hello there,
    Thank you very much for your answer which solved my problem. In fact there was no need of providing router string.
    Kind Regards,
    Dariyoosh

  • How to create Personalized urls

    how to create personalized urls like firstname.lastname.abc.com with out making any individual sub-domain records in DNS

    Hey Ben,
    Yes it is possible to create dynamic URL's.
    1. Simply select the link from the table like so.
    SELECT PK_ID,
           NAME,
           LINK
      FROM IMAGE_INFO2. Edit the region and go to report attributes.
    3. Click the pencil to edit the link column.
    4. Scroll down to the column link section and enter something like 'View' as the link text. You can change that to whatever you like.
    5. Change the target form page in application to url.
    6 In the URL text object enter *#LINK#*. This will substitute #LINK# for the value that is returned by the sql statement in the LINK column.
    Seeing how you are linking to an image you could just do something like this:
    SELECT PK_ID,
           NAME,
           '<img class="mug_shot" src="' || LINK ||'" title="'|| NAME ||'" alt="'||NAME ||'" />' IMAGE,
      FROM IMAGE_INFOThis will generate an image tag and show the image inline with the record. Since this species a class you could use CSS in your header section to format the image to a standard size. Something like:
    <style type="text/css">
    .mug_shot{
       width:200px;
       height:200px;
    </style>Good Luck,
    Tyson
    Edited by: Tyson Jouglet on Jan 12, 2009 4:13 PM

  • How to Create diff URL in Portal.

    Hi Friends.
    I have one doubt on How to Create diff URL in Portal. We have only one EP-Server.
    For Example I have done logon page for portal when open the portal URL I m getting that logon page. So I did not get SAP Standard Logon Page By using Same URL.
    So I need one more Diff URL that URL having my Logon page. So that time I login into the Portal I am able to see our logon Page.
    When I logon to diff URL that time I am able to See SAP Standard Logon Page.
    Regards
    Vijay Kalluri

    Hi,
    SAP Logon page gets loaded based on similar concept of Servlet-jsp works i.e. based on pattern passed, in usual case irj is pattern which is identified by j2ee engine based on xml as portal web component and invokes it.
    Now to have 2 different logon pages; we need to pass 2 different patterns: have an entry for each in xml file and different web components for each.
    This is solely based on my cinceptual knowledge but have not tried it.

  • A bug in creator when creating jdbc jndi connection

    Hi,
    I am using sun java studio creator for jdbc jndi connection. The syntax is
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/mydb");
    conn = ds.getConnection();
    It's failed. Once I change to ctx.lookup("jdbc/mydb") and the connection is created.
    Once deployed to tomcat, it seems only java:comp/env/jdbc/mydb is working.
    The full path(java:comp/env/jdbc/mydb) seems right from my google search.
    Why creator using jdbc/mydb? Is it a bug to creator?
    Thanks,
    Jie

    I mean a resource reference in web.xml file that looks like this:
         <resource-ref id="ResourceRef_1103225373500">
              <res-ref-name>DBConnection</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Application</res-auth>
              <res-sharing-scope>Shareable</res-sharing-scope>
         </resource-ref>
    where DBConnection is the resource alias I mentioned before:
    DataSource ds = (DataSource)ctx.lookup("java:comp/env/DBConnection");
    Using WebSphere a binding between this above defined ResourceRef and JNDI mapping must be defined in a file called ibm-web-bnd.xmi. The content of this file will look like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <webappbnd:WebAppBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:webappbnd="webappbnd.xmi" xmi:id="WebAppBinding_1" virtualHostName="default_host">
    <webapp href="WEB-INF/web.xml#WebApp"/>
    <resRefBindings xmi:id="ResourceRefBinding_1103225373500" jndiName="jdbc/mydb">
    <bindingResourceRef href="WEB-INF/web.xml#ResourceRef_1103225373500"/>
    </resRefBindings>
    </webappbnd:WebAppBinding>
    Obviously using WSAD all of that could be done using IDE. In your case and using Sun IDE, I am not sure. But this is basically the concept of needed mapping in order to reference your JNDI without getting an error. At least this is how we resolved the error you are encountering.
    Hope that helps!

  • How to close JDBC client connections in JSP (9IDS Jdeveloper)

    Can anyone tell me how to close JDBC connections neatly through JSP in Oracle 9IDS Jdeveloper.
    I have a developer who has deployed a WAR file (comprising JSP page) to the Tomcat webserver.
    The page works fine except that it always leaves a JDBC client connection after the user closes the internet explorer window.
    I've tried using dead connection detection without success.
    At the operating system level, I have a script that can kill these sessions but I would prefer if theres some way the connection can be closed neatly through the JSP application.

    Hi:
    At database level you can:
    See CONNECT_TIME and IDLE_TIME options to CREATE/ALTER PROFILE
    Joao

  • How to create a URL in R3 system?

    Hi experts,
    My requirements is that external application will send a XML message to R3 system via a URL.But I don't know how to create a valid URL in R3 system.Who can help me.many thanks.
    Kelvin

    Hi,
    Check the below FMs,
    HTTP2_GET                      HTTP Get
    HTTP2_GET_FILE                 HTTP Get File
    HTTP2_GET_FILES_255            HTTP Get Files
    If u have any middleware like XI or SAP BC it will be simple.
    Thanks and Regards,

  • How to create a data connection with dynamic XML file?

    Thanks for all reply first!
    I have formatted the submitted data into an XML file on the server side,this file can be import to PDF form correctly.
    I try to send this XML file to the user to let him can review what he has submitted.
    I guess that I should create a data connection to the XML file so that it can be reviewed by the user.
    But the question is that the XML file is dynamic generated.
    How can i do?
    give me some clus or examples,please.
    thanks,
    Jasper.

    Hi Jasper,
    To show user back the result, you can use PDF instead of XML. You can store the PDF template in server and you can merge XML data with PDF template by Livecycle Form Data Integration service.
    We, as KGC, can generate huge number of Adobe Livecycle forms in small periods. Also we give consultancy on Adobe Livecycle ES products and Adobe Livecyle Designer. In case of any need, do not hesitate to contact us.
    Asiye Günaydın
    Project Consultant
    KGC Consulting Co.
    www.kgc.com.tr

  • How to use JDBC database connection in Solaris

    Hi all,
    I am new to Solaris and i want to create an application using JDBC database connection.
    I want a small piece of code, probably a login page code that verifies the username from a OpenOffice database (.odb) file. I am particular to know the driver name, etc. If possible give the code using JNDI loopkup.
    Thanks in advance,
    Parasou.

    Sure no problem.
    Please stand by while I do your work for you.

  • How To Create a URL Call in WebDynpro

    Hy All,
    i want to call a URL (WWW) directly from a WebDynpro-Application. But i found no stuff how to do this.
    URL myUrl = new URL("http://www.google.de");
    wdThis.wdInterfaceViewController().wdFirePlugStartAppExit(myUrl);
    I know how to read parameters of the URL, but i have Problems to create a URL-Call.
    Who can help ?
    Do I need a urlConnection ?
    Thanks for help.
    By Jürgen

    Hello Abdul, hello Sam,
    thanks for help !
    I have tested both and it is ok !.
    If i want to use the "external Link" in my Window, i have know thte Problem.
    I use the LinkToURL-Control with the Propertie "_SELF" and allways a new Browser Window come up! Where is my fault ?
    I have tested it with the following properties "_SELF, _PARENT, _TOP".
    Regards
    Jürgen

  • Excel import on Oracle Linux - How to create an ODBC Connection

    Hi,
    We have Oracle BI EE on Oracle Linux. We need to create an ODBC DNS and import tables to Admin tool.
    How would you create a ODBC connection inside Linux to Microsoft excel file using unixodbc. What drivers we need.
    Please let us know.
    Thanks!
    Nilaksha.

    See this post here: Re: [NQODBC][SQL_STATE: HY000][nQSError: 100[nQSError: 43093][nQSError: 16023]
    You need to find an Excel ODBC driver for Linux. The ones that come with OBIEE won't read Excel as far as I know.
    For info on creating an ODBC connection for OBIEE on Linux check the manual or search this forum. You don't need unixodbc for it.

  • How to create a URL in CRM 2007?

    Hi,
    Please guide me on how do I create a URL in SAP CRM 2007?
    Which transaction codes?
    Regards,
    Rohit

    Hi Rohit,
    1- Use T code- PPOMA_CRM and select your Organizational Unit
    2-Hope you would have assigned a Position
    3- Assign the User to the Position.
    By default it will take the Business Role Assigned to Position for the assigned user.
    If you want to assign a role double click on the position>Goto>Detailed Object-->clik on Enhanced object description.
    from the Infotype select Business Role > click on create> assignh Business Role ( e.g. SALESPRO,MARKETPRO,OR Z****)
    Regards
    Arup

  • Jdbc URL & connections properties

    Hello all,
    i would know if it is possible to add connection properties in a jdbc URL ( something like jdbc:oracle:oci8:user/pass@instance_machine:ResultSetMetaDataOptions=1&anotherProp=itsValue ...).
    Thank you in advance
    Loïc

    Loic,
    FAQ that Douglas mentioned is here:
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq_0.htm
    Good Luck,
    Avi.

  • How to create odbc (dsn) connection for OBIEE AND INFOR in unix environment

    Hi,
    we are establishing OBIA in Unix environment we set all the things fine but we are getting problem how to create ODBC connection
    for INFORMATICA AND OBIEE. I searched some blogs thats telling there is a ODBC.INI file we need to configure.
    but i am not getting clear idea to give parameters and it will not showing any TNSNAME ..........etc
    please any body give clear idea about how to create ODBC connection and LOCATION of that file AND parameter which i need to give.
    Thanks,
    charan....

    Hi Dpka,
    yah i already checked that one but i have not find out any parameter for TNS NAME information.
    is OBIEE connected to ORACLE DATA BASE without giving TNS information?............in UNIX OPERATING SYSTEM.
    pls give me the clear idea abt how to connect OBIEE, INFORMATICA to ORACLE DATA BASE IN UNIX ENVRNMENT
    thanks,
    charan.

Maybe you are looking for

  • "Extend a Wireless Network" seems to be... broken?

    Hey guys, Here's the scoop. I have one Airport Extreme 802.11n that's connected to a cable modem. It's set to "Create a Wireless Network". It's at 5 GHz, and "Allow this Network To Be Extended" is checked. It works fine! I have another Airport Extrem

  • Bridging mac mini to xbox 360 to use xbox live...HELP!

    i've done this once before with a previous router i was just trying out and it worked great. however, i purchased a wireless router and cant get it to work again. i've found all the instructions that the internet has to offer when it comes to using y

  • Closed lid, fan continued to run, body got extremely hot

    My wife closed the lid to our early 2011 MBP (15" 2.0 GHz) and put it in the sleeve. After about 6 hours she went to use it and realized that the fan was going very loudly and the body was too hot for her to pick up. I took it out, opened it up to do

  • IPhone SDK: UIScrollView, zooming works on simulator but not device

    I've got a UIScrollView set up to zoom an image. It worked fine under Beta 5, both on an iPod Touch and in the simulator. In Beta 6, after changing the method scrollViewWillBeginZooming to viewForZoomingInScrollView the zoom works fine in the simulat

  • Heirarchical Query, Connect By Loop in User Data

    Hi, Is there any method to find the node which has problem in heirachical query. As my data is complex and has levels upto 10 , its not possbile to fix manually. I have idendtified the series "START WITH" ,which causing problem. But I couldnt find th