Getting WD JCOConnection

Hello,
i have deploy a application on the J2EE WAS which is using JCO Connections for calling RFC.
Now i have seen that i can Maintain and create JCO Connection in WD Content Administrator.
Is it possible to access these JCO Connection by JCO Api?
thx
Mario
null

Hi,
suggest asking on the WD java forum:
Web Dynpro Java
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Similar Messages

  • Enterprise Application and Web Portal Projects

    I know its possible to have one enterprise application that contains 2 web portal projects. The part Im unsure about is if it is possible to update one web project without having to bring down the other project. Supposedly through console you can do this however I have been unable to get this to successfully work. Is this a known error?

    Hi Anikumar!
    Yes it is true! The webDynpro make it automaticaly.
    I'm not clear with J2EE web application. I don't know how i should get the login parameter for my RFC calls.
    I have try:
    DestinationService dstserv =(DestinationService) ctx.lookup(DestinationService.JNDI_KEY);
    RFCDestination dest =(RFCDestination) dstserv.getDestination("RFC", "test");
    Properties destprop = dest.getDestinationProperties();
    String user1="MYSAPSSO2";
    String passwd1=pass;// pass is encrypted ticket;
    destprop.setProperty("jco.client.user",user1);
    destprop.setProperty("jco.client.passwd",passwd1);
    JCO.Client cl = JCO.createClient(destprop);
    cl.connect();
    cl.ping();
    cl.disconnect();
    I also try
    IWDJCOClientConnection ca =     WDSystemLandscape.getJCOClientConnection("ModelData");
    In the contentadministrator Modeldata Destination set to Ticket authentification and it works fine when i test it in webdynpro contentadministrator, but when i try to get the JCOConnection i get a SystemLandscapeException:Error while obtaining JCO connection.
    I debugged it and i get a WDRuntimeException--->Nullpointerexception. It seems that the jco destination is not initialized at this time.
    Maybe i understand something wrong.
    Regards!

  • Deploy error!!!

    Hi all,
    I'm trying to deploy my webdynpro application and I got the following problem....
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Error connecting using JCO.Client: nullcom.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Error connecting using JCO.Client: null
    Does anybody know about this kind of error?
    Thanks,
    Jesus.

    Hi Jesus,
    Please try printing the cause for the exception in your catch  block using 'wdComponentAPI.getMessageManager().reportSuccess("ERROR::CAUSE ::"+e.getCause());'.
    This might show you a message like 'jcoClientConnection couldn't be created' and 'Please assure that you have configured the RFC connections and/or logical System Name properly for this model'.
    And from your previous post webdynpro application deploy error...', I understand that your jco has been created in the proper way. <b>If this is the case</b>, My Guess is :
    Please check what kind of user authentication your jco for Application data (Model Data) uses. When you create a jco for Application Data, you can use the following methods for User Authentication :
    - User/Password
    - Ticket
    - User Mapping
    - Client Ticket (About which I'm clueless)
    If you are using Ticket or User Mapping, the created jco won't have any userid attached to it. So, you need to authenticate yourself while running the application. For that you need to set the 'authentication' to true for your application and provide a valid user name & password at run time.
    If you are not familiar with setting the authentication for the application, these links may help you:
    http://help.sap.com/saphelp_webas630/helpdata/en/2c/7a0a00c8bb5d42b87e58419c09bf43/content.htm
    http://help.sap.com/saphelp_webas630/helpdata/en/09/a4d6a674bc1d4a9e74abf81bed3ef6/content.htm
    And if you are using User/Password for authentication and have given the correct credentials, and still if you get a 'jcoconnection error', then you can be pretty sure that your jco hasn't been created properly.
    Hope this helps,
    Best Regards,
    Nibu.

  • Getting JCOConnection

    Hello,
    i have deploy a application on the J2EE WAS which is using JCO Connections for calling RFC.
    Now i have seen that i can Maintain and create JCO Connection in WD Content Administrator.
    Is it possible to access these JCO Connection by JCO Api?
    thx
    Mario

    Hi Mario,
    You can get a JCo Connection with the following line of code:
    IWDJCOClientConnection jcoClientConn = WDSystemLandscape.getJCOClientConnection(jcoName);
    where jcoName is a String that's the name of the Jco Connection as defined in the Content Administrator.
    Once you have that you can access all the information about that connection.
    For instance, in one of my apps, I need to change what JCo connection I'm using for one of my models depending on what value they select from a radio button group.  So I get the connection using the line of code above, and then set my model to use that connection with the following line:
    myModel.setJcoClient(jcoClientConn.getClient());
    I hope that helps some.
    -Jennifer

  • Get all values from request.getParameter

    In ASP, I can do something like that...
    For each item in Request.Form
    Response.write "Name is:" & item & " value is:" & Request(item)
    Next
    How about in JSP? How do i get the names and values of the form using a loop?

    You can use request.getParameterNames() which will return an enumeration, then you can iterate through the enumeration and use request.getParameterValue(String paramName) method to get the values.

  • I am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier

    i am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier photo please help me to recover my photos

    Well I'll guess you're using iPhoto 11:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Apple Mini-DVI to Video Adapter - Can't get it to work!

    Bought the Apple Mini-DVI to Video Adapter to hook up my Macbook to my TV. I tried it when it first arrived and it worked within minutes of setting up. Great! I go to set it up and use it again a week later, and it wouldn't work at all. I went through every possible setting I could to try and get it to work, nothing. Do these things have a tendency to go out or short out or something? I'm getting nothing but scrambled screens, grey screens, etc. Nothing seems to work.
    http://store.apple.com/us/product/M9319G/A?mco=MTY3ODQ5OTY
    Any other solutions for playing my laptop on my TV?

    Hey Rob,
    Is your profile information accurate? The MacBook 2,1 was introduced in November of 2006 and discontinued in May of 2007, so the mini-DVI to video adapter ought to work.
    What, exactly, do you see on your screen? Are all of the connections nice and snug? Do you have another RCA cable you can try? You can use a white or red one if you want; they all will work as long as you're connecting the video adapter to the yellow port on the TV.
    ~Lyssa

  • Clicking on Year view to get Week view in iCal

    In the  Lion version, is there any way I can double click a date and get to the 'week view' rather than the 'day view'?

    CaptainStarwars,
    Try using (⌘+C) and then (⌘+V). That action retains the event in the original, while also placing a duplicate in the new location.
    If you want to remove the event from the original time, use (⌘+X), then (⌘+V) in the new time frame.
    ;~)

  • Is there a way of getting a "schedule view" in iCal on a mac and on iPad in the same way you can get one on iPhone?

    IS there a way to get a schedule view of events on a busy day in iCal on the iPad 2 Air and on the Macbook Pro?  I can get this view on an iPhone.

    I am paranoid that some untrusted technician is going to make a copy of my music (11,000 tracks) or share some of my personal information (scanned copies of my birth certificate, passport, certificates, photos, etc.) on the web.
    If you put your info into the computer and hand it to another, you have to assume they will copy everything.
    Why are you putting scanned copies of valuable identity information into a computer than can be hacked, stolen, lost or compromised by a dirty tech?
    Have you lost your mind?
    Is there a way of finding out what activity has taken place whilst they've had it in their possession?
    No. The tech would just deny it if he did, or tell the truth which the answer would be "NO" in either case.
    The employer won't ask that sort of questions without solid proof, less they make a enemy of the employee and/or risk being sued for defamation of character.
    It's not like they bother to have a team of people watching over his shoulder that he doesn't stick a USB thumb drive of your data into his pocket to take home.
    I am paranoid that some untrusted technician is going to make a copy of my music (11,000 tracks)
    If it's iTunes music, it has your personal ID embedded into the song files. Most IT techs know this though.
    I appreciate any advice you guys can offer.
    Too late now, all you can do is not worry about it.
    Take your personal info out of the machine and if you need it, burn cd/dvd copies, a few USB thumb drives, Iron Keys or self encrypting external storage drives with key and/or keypad.

  • How can i get music to another account?

    I had another account with apple with was [email protected] but i had to give that one to my boyfriend cause i gave him my old my ipad and he didnt have a email account so i let him use that one which i had bought so ablums on that account and i had to have dell restart my whole comp just a few days ago and now i cant get the ablums i bought on the other account onto my new account with my iphone what can i do to get that fixed?

    Content acquired with an Apple ID is permanently tied to that Apple ID.  There is no way to transfer media from one Apple ID to another.
    For what silly reason would anyone give away their Apple ID?  Just because the bf did not have one is no reason to give him your Apple ID.  Make him create his own.  Email addresses from Hotmail, Yahoo, Gmail and many others are free.

  • Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    You can seach the net for solutions like this one http://appletvvpn.com/how-to-connect-apple-tv-2-to-vpn/ another idea is to use a PC as the control and fit that with a wireless card and set up a ad hoc wireless network that the Apple TV uses. 

  • How can you get your data back on i tunes

    Hi i am Justin,
    I have i phone and i have i tunes here is my problom. last night i formatted my HP windows 7 computer and i backed up my pictures and backed up i tunes witch i thoght i did becasue i backed it up on my external 500 MB hard drive and with out making a folder and c oping i tunes i only backed up library and before the format i went to edit, preferences and adavaned in i tunes (sorry about the bad spelling) becasue apples's step by step i read and saw the pictures were to go and i thought i can back up i tunes that way. My phone has 333 songs all my pictures apps and contacts and there is no way to re copy from the phone back in to i tunes i do not use i cloud becasue (one i do not want to pay for more space) and 2 the free version tells me i do not have enough space to back it up so i am worried one sync i will lose all my info. these songs are from cd's i have and off the Internet before the courts stopped Napster and Lime Wire. Sos what should i do just unstalli tunes and leave my computer as a re charging stastion? or is there any secret way to get all my things back then this time i can make a folder and do it right in case the next time i have to re format my drive from a problems or need to what is the best case here?
    Justin

    Sync is only oneway, from PC to your device. Unless you have the music on your PC, iTunes is going to wipe out what you have on your device if you are syncing to a new library.
    You can only transfer Purchased music over to Itunes on your PC.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/HT1848
    As for you own music, you may have to use a third party software. A good Free one is called Sharepod which you can download from Download.com here:
    http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2

  • When i send a PDF via e-print, it gets cropped, is there a way to prevent this from happening?

    PDF's are printing fine when i print direct to the printer but when they are sent by e-mail they get cropped, is there a way to get the document to fit to page when sent as an email attachment?
    The Printer in question is a HP LaserJet Enterprise 500 color M551n, the printer is brand new installed last week so i don't know if this is the norm or not.
    Edit: Please can someone please explain how to correct this.

    If you're using a desktop or notebook PC to send the email you could try installing the HP ePrint Mobile Driver software on your machine, the link to the download is here. This will allow you to print the PDF to any ePrint capable printer without having to email it to the printers email address as an attachment.
    Once installed and with your PDF open on your machine, select Print from the File menu, then select "ePrint" from the list of available printers (don't select the actual printer itself) and click Print in the bottom right corner of the box. A dialogue box will open showing the avaialble ePrint printers you can print to. Click on the Connected button on the left of the screen to add your printer to the list if its not listed.  
    Hope this helps.
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • Problem with Adobe BRIDGE getting Photoshop/Image Processor menu

    When I open my drop-down or fly-out menu under TOOLS in Bridge (CS3 version), the entire portion of the menu which is supposed to appear next underneath the Cache line option is missing (i.e., Photoshop, Illustrator, InDesign, Start Meeting..., Photoshop services).
    What gives?
    I'm trying to get to Image Processor under the Photoshop menu option (which is supposed to appear in the Tools drop-down menu).
    Please tell me what's wrong. Thanks in advance.

    Thanks, but there IS no Photoshop subheading in my Tools menu.
    That exactly describes the problem I'm having!

  • Can not get PK-FK in meta-Data of MySql....Help me pls.

    Hello Every one.
    I can not to get the PK and FK from Meta-Data Database of mysql-4.1.1a-alpha. Anyway I tried to do the
    followihg
    1. OS windows 2000 Pro.
    2. set configuration Script support InnoDB Table Type as the follow in my.ini file.
    [mysqld-nt]
    innodb_data_home_dir = C:\mysql\data
    innodb_data_file_path =\ibdata\ibdata1:2000M // in folder \data\ i was created folder ibdata
    3. I try to create data as reference in example java code and table :persons , shirt as the example in
    Create innodb table Type of mysql doc.
    4. the code test as following
    In the test code i can get the result only from method : getPrimarykey(...); only and the other method ,getExportedKeys, getImportedKey , getCrossReference the result in ResultSet is null.
    anyway, this code i can apply in the oracle db with change db driver .
    I wish the answer why? and the actually the second parameter of this parameter , as refer scheme name , the scheme name is ?
    Thank you
    import java.sql.*;
    public class testMeta {
    public testMeta() {
    ResultSet rs=null;
    String url = "jdbc:mysql://localhost:3306/testinnodb";
    Connection con = null;
    try{
    Class.forName("org.gjt.mm.mysql.Driver");
    }catch(ClassNotFoundException ex){
    System.out.println(ex.getMessage());
    try{
    con = DriverManager.getConnection(url,"root","rootpwd");
    prtS("getConnection complete");
    DatabaseMetaData metaData = con.getMetaData();
    Connection con2 = metaData.getConnection();
    String type[] = new String[1];
    type[0] = new String();
    prtS("*************** GET Schemas ***************");
    rs = metaData.getSchemas();
                   while(rs.next()){
    System.out.println("12345");
    prtS("TABLE_CAT" + " : " + rs.getString(0));
    prtS("TABLE_CAT" + " : " + rs.getString("TABLE_SCHEM "));
                   rs=null;
    prtS("*************** GET PRIMARY KEYS ***************");
    rs = metaData.getPrimaryKeys(con.getCatalog(),null,"persons");
    while(rs.next()){
    prtS("TABLE_CAT" + " : " + rs.getString("TABLE_CAT"));
    prtS("TABLE_SCHEM" + " : " + rs.getString("TABLE_SCHEM"));
    prtS("TABLE_NAME" + " : " + rs.getString("TABLE_NAME"));
    prtS("COLUMN_NAME" + " : " + rs.getString("COLUMN_NAME"));
    prtS("KEY_SEQ" + " : " + rs.getString("KEY_SEQ"));
    prtS("PK_NAME" + " : " + rs.getString("PK_NAME"));
                   rs=null;
    prtS("*************** GET Exported KEYS ***************");
    rs = metaData.getExportedKeys(con.getCatalog(),null,"shirt");
    while(rs.next()){
    prtS("FKCOLUMN_NAME" + " : " + rs.getString("FKCOLUMN_NAME"));
                   rs=null;
    prtS("*************** GET Imported KEYS ***************");
    rs = metaData.getImportedKeys(con.getCatalog(),null,"persons");
    while(rs.next()){
    prtS("PKTABLE_CAT" + " : " + rs.getString("PKTABLE_CAT"));
    rs=null;
    prtS("*************** GET CrossReference ***************");
    rs = metaData.getCrossReference(con.getCatalog(),null,"persons",con.getCatalog(),null,"shirts");
    while(rs.next()){
    prtS("PKTABLE_CAT" + " : " + rs.getString("PKTABLE_CAT"));
    }catch(SQLException ex){
    prtS(ex.getMessage());

    How i know the jdbc driver not compatible to this
    mechanismBy reading the documentation tthat comes with your driver. Recent versions of the MySQL JDBC driver do support the getExportedKeys/ImportegKeys methods but the table needs to be crated as InnoDB.
    So run the SQL command
    show table statusWhats under the Type column for your table? If it isn't InnoDB then this isn't going to work.
    If it is InnoDB but getExportedKeys/ImportegKeys still don't work then you haven't used the "foreign key" constraint in your "create table" command

Maybe you are looking for

  • How to change display order

    All, I had created a Line chart graph with three measures (Total Employees, Total Promotion and Total Hires) for last 12 months. Chart legend is displaying this order, Total Employees, Total Promotions and Total Hires. But my requirement is , Legend

  • Re: How can I know what my skype number is?

    Hey bringiton did you get an answer? I just recently bought skype credit and would like to find out what my number is..

  • Redirected network drive, iTunes, and iOS 8.0.2

    It took me two days to troubleshoot this problem.  I'm up and functioning again, but I thought I'd post this in case anyone else has the peculiar circumstances that broke my iTunes.  Systems:  Windows 8.1, iTunes 11.4.0.18, iPhone 5S 32GB.  Symptoms:

  • OEM edition of Crystal Reports for Simply Accounting - help w/invoice look

    I updated our Simply Accounting from 2008 to 2010 and now our invoices print out differently: the address does not look the same, and so it doesn't fit properly ... how can I fix this? Thanks.

  • Java.lang.OutOfMemoryError although enough free memory left

    hi there, i am facing a strange problem. i get a java.lang.OutOfMemoryError although my gc monitoring (wily introscope) shows that there is enough free memory left. so my question is what can lead to a java.lang.OutOfMemoryError. is it possible that