Ebusiness Suite SDK for Java session management

Hi, I am trying to try sample java application mentioned in Oracle® E-Business Suite Software Development Kit for Java Release 11i and 12 Part No. E28169-02
Current version i am trying is Jdeveloper 11.1.1.4.0 and Ebiz suite 12.1.3
able to create Apps Data source with out any issue.
when Home.jsp is accessed through application menu, user name and all session related information is showing as NULL.
how to resolve this issue.

Hi Shay,
I gone through the webinar.
Here is more explanation of my issue.
I created Apps Data source earlier. That time i registered external node in ebusiness suite with node_name as ip_address of weblogic server.
But that time session details came as Null on sample Java application.
Then i realized that may be the issue and corrected registration of external node and corrected ebiz profile options accordingly.
When i tried to create Apps data source with fresh dbc file, i got into invalid username/pwd issue.
As per following forum discussion topic, hyphen and dots in host name will cause issue with Apps data source creation, which is confirmed by couple of discussion participants and Juan also.
https://kr.forums.oracle.com/forums/thread.jspa?threadID=2489849&start=30&tstart=0
My weblogic host name is like WL-SOADEV-01.domainname.com
what should be my further actions to resolve this issue.
Thanks
Maheedhar.J

Similar Messages

  • Porting from JDK 1.2.2 to MS SDK for Java 4.0 - Help!!!

    Hi All!
    My company is developing big project using WLS 4.5.1. + JDK 1.2.2 + Java
    Plug-In 1.2.2 on clients. A lot of applied code depend on Java 2 APIs,
    javax/swing is actively used as well. But the customer decide to use
    Microsoft VM both on server and client sides - they have support contract
    (for other products) with MS and MS may decide to cancel support if our
    customer will use Sun JDK and Sun JVM.
    So, I have to try to port all project to MS SDK for Java and the question
    is: Do I have a chance not to rewrite 100% of my code?
    Somewhere I read: ":I've downloaded the new MS Virtual Machine
    (msjavx86.exe) that should be compatible to Java2:" - is it really so? Does
    anybody knows if MS will support Java 2 platform specifications? As I found
    at MS, latest MS JDK 4.0 (on which WLS 5.1 can run) meets specification of
    Java 1.1 and after installing it I found that I must rewrite about 90% of my
    code. Can someone clarify the situation with MS JDK?
    Thanks in advance,
    Andrey Bogush
    PS: Any information, links, documents, overviews on how to persuade the
    customer to use Sun JDK and JVM against MS one are VERY and STRONGLY welcome

    Andrey Bogush wrote:
    >
    Hi All!
    My company is developing big project using WLS 4.5.1. + JDK 1.2.2 + Java
    Plug-In 1.2.2 on clients. A lot of applied code depend on Java 2 APIs,
    javax/swing is actively used as well. But the customer decide to use
    Microsoft VM both on server and client sides - they have support contract
    (for other products) with MS and MS may decide to cancel support if our
    customer will use Sun JDK and Sun JVM.MS can cancel their support if they use Sun's JDK! That's an
    "interesting" clause in your support contract.
    >
    So, I have to try to port all project to MS SDK for Java and the question
    is: Do I have a chance not to rewrite 100% of my code?
    Somewhere I read: ":I've downloaded the new MS Virtual Machine
    (msjavx86.exe) that should be compatible to Java2:" - is it really so?I don't believe any versions of Microsoft's JVMs support Java2.
    Personally, I think it would be a big waste of time to port working
    Java2 code to JDK 1.1 just to run MS's JVM.
    -- Rob
    Does
    anybody knows if MS will support Java 2 platform specifications? As I found
    at MS, latest MS JDK 4.0 (on which WLS 5.1 can run) meets specification of
    Java 1.1 and after installing it I found that I must rewrite about 90% of my
    code. Can someone clarify the situation with MS JDK?
    Thanks in advance,
    Andrey Bogush
    PS: Any information, links, documents, overviews on how to persuade the
    customer to use Sun JDK and JVM against MS one are VERY and STRONGLY welcome

  • Use vCloud SDK for Java to integrate with vCD 5.6

    Hello Folks,
             Newbie here.
             I have a situation where a home grown app, that uses vCloud SDK for Java to invoke a vCloud Director 5.1 installation. We use this for powering on/ off a few VMs.
             Our installation is being upgraded from vCloud Director 5.1 to 5.6.
             My question is, are we expected to upgrade/ carry out any code changes to our current implementation to integrate with the newer runtime version (5.6)?
             Many thanks in advance.
    Regards
    Mohan

    Somewhat going from memory here.
    As long as the REST API Versions URL states that it is compatible with 5.1, then you should be fine to make the calls as v5.1.
    Here is the section of the documentation for that:
    Using the vCloud API with vCloud Director
    The I think the SDKs are just wrappers in a manner of speaking.  They all eventually translate code (java/python/etc) into a REST API system that is sent into vCloud Director via the API.  For the most part, I think it'll work.
    That's not talking about "support", just that it should work with some exceptions.  I don't know if there is an official stance on cross compatibility like this.

  • SonyEricsson SDK for Java ME - version 2.5.0.2 - Where?

    Hi. I'm looking for a SonyEricsson SDK for Java ME, and I need its version 2.5.0.2 (for p1i on-device debug). But only 2.5.0.3 can be downloaded from developer.sonymobile.com. I've looked for it on google, but I haven't found. Does somebody have this version? If you have it, or you know a download link, post me, please. Thanks!

    I've had a look but that version doesn't seem to be available for download anymore, either on Sony's developer world site, or anywhere else. I suggest you contact Sony and see if they can help you:
    http://www.sonymobile.com/global-en/support/contact-us/

  • Azure SDK for Java on Mac/Linux

    I need to develop a part (communication with Service Bus) of a solution in Java (normally I use C# for development) on Mac/Linux. Can I just use the microsoft-windowsazure-api-0.4.6.jar file of the Azure SDK for Mac/Linux in my project, because I don't
    use Maven?
    Thanks.
    Guy

    When trying out some code using the Windows Azure SDK for Java (on a Mac) obviously just adding the jar to my project and adding it to my build path isn't just enough. I get error messages such as:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
    at com.microsoft.windowsazure.services.core.Configuration.<clinit>(Configuration.java:48)
    at com.microsoft.windowsazure.services.serviceBus.ServiceBusConfiguration.configureWithWrapAuthentication(ServiceBusConfiguration.java:88)
    at xx.yyy.zzzz.aaaaa.ServiceBusClient.<init>(ServiceBusClient.java:20)
    at xx.yyy.zzzz.aaaaa.Main.main(Main.java:7)
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 4 more
    When clicking e.g. on Configuration.java:48 I get: Source not found.
    The JAR file microsoft-windowsazure-api-0.4.6.jar has no source attachment.
    What am I missing. Thanks for your help.

  • What's the difference between Netscape SDK for Java & JNDI?

    I know I can use either JNDI or Netscape SDK to access iDS. So whats their differences basically?
    Why would I need JNDI/Netscape SDK if I can just use either of them to access iDS?
    Thanks!

    Netscape SDK for JAVA developed only for iplanet Directory Server but JNDI for any directory server.
    JNDI has classes provided by Sun that will help your application interact with an LDAP server.JNDI applications work similarly to JDBC applications - write applications once and be free to use "drivers" from different vendors. Sun provides the "driver" that will help interact with the LDAP server. Sun also provides "drivers" for other naming services (like CORBA, Netscape).
    The Java Naming and Directory Interface (JNDI) allows Java applications to use a single set of methods to access multiple naming and directory services such as LDAP and NIS.
    JNDI is a Java API that provides a common way for programmers to access a variety of naming and directory services. The API consists of several packages:
    javax.naming for naming operations (access entries)
    javax.naming.directory for directory operations (access attributes)
    javax.naming.event for requesting event notification
    javax.naming.ldap for LDAP-specific features.
    JNDI operates through a layer of software called a Service Provider. The Service Provider implements the JNDI operations in terms of a particular underlying protocol.
    JNDI's Service Provider Interface (SPI) allows you to select Service Providers at runtime. In many cases you can use the same JNDI methods regardless of whether the Service Provider is talking to an LDAP server or using another protocol such as NIS. In order to access all of the functionality of the LDAP protocol, however, you will have to use methods outside of this abstraction.

  • Getting VALID_GUEST icxSession using Ebusiness Suite SDK session management

    Hi all
    I have the following use case. My first question would be - is the ebusiness SDK appropriate for this use case in the first place?
    I am trying to provide order invoices to customers on the web. I have an OAF page we use internally to view the pdfs. The plan is to use this page basically as a web service that provides the pdf to my application (sending users to the actual page is of course not desirable). So I am building a mid-tier RESTful web service that will hit the appropriate OAF page url, and take the input and pass it to an external app.
    Of course, to access the OAF page, I need a valid icxSession. Previously, I was able to get a valid session by calling some of the icx functions through a PL SQL call. Then I extract and pass the $TWO_TASK cookie, and use it in my call to the OAF page. I then pass along the pdf I get from the OAF page as a Response. I had this working. But I understand the icx PL SQL functions are (or will soon be) deprecated, so I am trying to avoid using them if possible. And so, now I have been trying to use the Ebusiness SDK.
    Is this a valid use of the SDK? I know the icx PL SQL functions are being deprecated and all, but how valid would using them be as a backup plan?
    Here is my experience so far with the SDK.
    I have registered the nodes, setup profile options, created the AppDataSource, and everything else in the steps found in the pdf manual (titled Oracle E-Business Suite Software Development Kit for Java). I have integrated some code into my RESTful service to use the fndext.jar(I am using Jersey by the way). Right now, I can instantiate the EBiz object with the APPL_SERVER_ID from my desktop dbc file, create the AppsRequestWrapper and Session. However, I am getting a session as a guest, not a VALID session as the new user I created with the UMX|APPS_SCHEMA_CONNECT role. I believe I have my app and the EBS instance on the same domain, so I do not think that is the problem. Could there be other reasons for this problem? Some steps to troubleshoot this would be wonderful - note I am developing the service in Eclipse, and not JDeveloper though.
    So of course with a guest session, I cannot access the page. However, I have found that is I use Session.convertGuest() and pass in the user name of the user with the UMX|APPS_SCHEMA_CONNECT role, that I can now get the icx cookie value, and successfully use it to get the pdf data as I was before. So it is working like this, I am just not sure it is good practice. I expected to not need to use convertGuest at all - I thought I would have a VALID session immediately. Can someone confirm this for me - should I indeed have a VALID session as soon as I instantiate the EBiz object and create the session? Or is a VALID_GUEST session the intended initial session?
    My last question is about the HttpServletRequest and HttpServletResponse objects I pass in to instantiate AppsRequestWrapper. I have not been able to find an example of this used in a RESTful web service. So to get these objects, I am using the following:
    private @Context HttpServletRequest request;
    private @Context HttpServletResponse response;
    Does this seem correct, or should I be doing this some other way?
    Thanks very much
    edit - one other thing. In the documentation, it talks about editing your hosts file:
    "1. Open C:\WINDOWS\system32\drivers\etc\hosts file on notepad. Then replace the
    line 127.0.0.1 localhost with #127.0.0.1 localhost 127.0.0.1 myapp.us.oracle.com"
    I am not sure how to decipher this. It seems to be telling me to replace
    127.0.0.1 localhost
    with
    #127.0.0.1 localhost 127.0.0.1 mydomain.com
    All on the same line... I don't know everything about the hosts file and how it works, but wouldn't that just be a commented out line?
    Are the instructions perhaps trying to say to replace
    127.0.0.1 localhost
    with two lines:
    #127.0.0.1 localhost
    127.0.0.1 mydomain.com
    That seems to make more sense to me, but I wanted to clarify since it is not clear in the pdf.
    Edited by: mkohanek on Mar 14, 2013 11:33 AM
    Edited by: mkohanek on Mar 14, 2013 12:24 PM

    Hi,
    Regarding the host file change in the documentation: The EBS SDK routines require that your external application, which is typically on a separate machine from the EBS installation, must be on the same domain (such as oracle.com) as the EBS installation. In development, we are often working from machines (like a laptop) that are not on the same domain as the EBS instances we are using, so for testing purposes we often need to make our "external application" machines LOOK like they are in the same domain. This is ONLY for testing purposes.
    Thanks,
    Sara

  • Java Software Development Kit (SDK) for Java 6 on Leopard.

    Does anyone know if the Java Software Development Kit (SDK) comes with Leopard, or if one needs to sign up for an Apple developer account to obtain it?
    I typed the following command on the Terminal command line: 
        javac
    The output of that command was:
    Usage: javac <options> <source files>
    where possible options include:
      -g                         Generate all debugging info
      -g:none                    Generate no debugging info
      -g:{lines,vars,source}     Generate only some debugging info
      -nowarn                    Generate no warnings
      -verbose                   Output messages about what the compiler is doing
      -deprecation               Output source locations where deprecated APIs are used
      -classpath <path>          Specify where to find user class files
      -cp <path>                 Specify where to find user class files
      -sourcepath <path>         Specify where to find input source files
      -bootclasspath <path>      Override location of bootstrap class files
      -extdirs <dirs>            Override location of installed extensions
      -endorseddirs <dirs>       Override location of endorsed standards path
      -d <directory>             Specify where to place generated class files
      -encoding <encoding>       Specify character encoding used by source files
      -source <release>          Provide source compatibility with specified release
      -target <release>          Generate class files for specific VM version
      -version                   Version information
      -help                      Print a synopsis of standard options
      -X                         Print a synopsis of nonstandard options
      -J<flag>                   Pass <flag> directly to the runtime system
    I would like to use Java version 6.

    Hi John,
    I sort of remember Java 6  being IntelMac only...
    Once you’ve gotten logged in, go to Downloads, select “Java” on the right hand side of the page, and download the Java SE 6 beta. Note: this is only available for Intel Macs running Tiger or Leopard — if you’ve got a G4 or G5, you’re out of luck right now
    http://www.metaphoriclabs.com/articles/installing-java-6-on-mac-os-x/
    But here they are...
    http://ituploads.com/apple/macintosh-os-x-java-jdk/
    Can I do Java 6 development in OS X?...
    http://stackoverflow.com/questions/739418/can-i-do-java-6-development-in-os-x

  • RSAT in Server 2012R2 for RDS Session management

    Trying to setup a 2012R2 server, to be able to remotely manage a number of Remote Destop Services servers, particularly to manage the individual sessions of RD users. Apparently this should be able to be done with the Server management tools within 2012R2,
    but I cannot find this option anywhere.
    Apparently the RSAT are supposed to be already installed, and available through add/remove features, but it does not appear anywhere I can find.
    Can someone point me in the correct direction?
    Thanks.

    Hi,
    Thank you for posting in Windows Server Forum.
    Remote Server Administration Tools includes Windows PowerShell cmdlet modules that can be used to manage roles and features that are running on remote servers. Although Windows PowerShell remote management is enabled by default on Windows Server 2012 R2 and
    Windows Server 2012, it is not enabled by default on Windows 8.1 or Windows 8. To run cmdlets that are part of Remote Server Administration Tools against a remote server, run Enable-PSRemoting in a Windows PowerShell session that has been opened with elevated
    user rights (that is, Run as Administrator) on your Windows client computer after installing Remote Server Administration Tools.
    Please check below article might help in your case.
    Deploy Remote Server Administration Tools
    http://technet.microsoft.com/en-in/library/hh831501.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Microsoft SDK for Java

    Well i am new at Java but i found it necessary to convert some libraries i made previously in C++ that deals with various aspects in the WIN2k server ... when i tried to do this in java i wasn't able to access win32api ..( unless building my virtual machine :)) ). so i searched and found that the microsoft VM supports alot of intresting stuff like J/direct and win32 api access and the WFC ...
    so as i won't use java ( at least at this point) in development for other OSes i wanted to know how could i use the MSVM in development . and if the sdk is legal or it is still under the 7 year treaty or what ...
    if it isn't feasable how could i access DLL files on windows and api (regardless of what is written in Core Java Volume 2)

    You'd better go on JNI side:
    1. ms jvm is going to be less and less supported
    2. j/direct is not the standard way to call native code
    3. if you're planning to port your code on another platform, you will use the same java code and rewrite the native part as needed.
    I've used JNI and can tell you is very simple to use, specially if you're an experienced c/c++ programmer.
    Good start points:
    http://java.sun.com/docs/books/tutorial/native1.1/index.html
    http://java.sun.com/products/jdk/faq/jni-j2sdk-faq.html
    Hope it helps

  • Exception in openDocument call - SDK for Java

    Hi,
    Getting exception in openDocument call to get object of type DocumentInstance. Snippet -
    IEnterpriseSession eSession=(IEnterpriseSession)session.getAttribute("EnterpriseSession");     
    if ( eSession != null)
         ReportEngine webiRepEngine = (ReportEngine) eSession.getService("", "WebiReportEngine");
                    webiRepEngine.setLocale(request.getLocale().getLanguage());
         session.setAttribute("ReportEngine", webiRepEngine);
                   String searchID = "149729";
                   query = "SELECT SI_ID, SI_NAME, SI_PARENTID,"
         + " SI_KIND, SI_INSTANCE, SI_DESCRIPTION FROM"
         + " CI_INFOOBJECTS WHERE SI_PARENTID = " + searchID;
                  try
          IInfoStore localInfoStore = (IInfoStore)session.getAttribute("InfoStore");
          list = localInfoStore.query(query);
         catch(Exception sdke){
              System.out.println("query exception - " + sdke);
                    DocumentInstance doc = null;
                    ReportEngine repEngine = (ReportEngine)session.getAttribute("ReportEngine");
                    for (int reportCnt = 0; reportCnt < list.getResultSize(); reportCnt++)
              IInfoObject document = (IInfoObject) list.get(reportCnt);
                                    doc = repEngine.openDocument(document.getID());
    In the logs I can see correct value of 'document.getID()' for the corresponding document. However at the call - openDocument(document.getID()), exception -
    Web Intelligence cannot perform the intended action on this document. (Error: WIS 30650)
    Am I missing something in above code?
    Any help will be greatly appreciated.
    Thanks
    -A
    Edited by: aditya gaurav on Aug 15, 2008 10:25 PM
    Edited by: aditya gaurav on Aug 15, 2008 10:30 PM

    Thanks for the reply Ted.
    Iterating only through documents with parent ID as a specific ID (as in the 'query'). Currently in our environment, it returns 2 ID's (for 2 files as present in the infoview) and hence looping twice to get these 2 files.
    To rule out the probability of checking on invalid document ID (under the call openDocument(docID) ), even tried hard-coding the document ID (to the value as seen in infoview). And still the error continues.
    Can it be something related to configuration of BO server?
    -A

  • Help on Directory SDK for Java

    Hi
    I work using LDAP Directory SDK, i have a requirement to compare two LDIF files or compare an LDIF file with a directory subtree and provide a new LDIF which is having only changes.
    Is there any resources available on this ?
    Swaraj

    Is there anyone who could answer this one ?
    Swaraj

  • Issue in session management

    Hi All,
    I have a problem regarding java session management.
    i have created one web application in which i want if user login from one browser instance and opens another instance of same browser and logs in from that then user should be logged out from previous instance. I am using Mozzila 5.0.
    Here is what i am doing while creating session in LoginServlet.java
    session = request.getSession(false); //return session if already exists
    System.out.println("Session object: "+session);
    if(session != null)
    System.out.println("Session ID Old: "+session.getId());
    session.invalidate(); //invalidate the session if already exists
    session = request.getSession(true); //Create new session
    System.out.println("Session ID New: "+session.getId());
    Second and third System.out.println() statements giving the same session id.
    This way only the information stored in session when user was logged in from first instance of browser is replaced with the new information stored when the user logged in from second instance of browser, but the user is not logged out from the first browser instance.
    Please help me out how i can log the user out from first instance if he logs in from second instance.
    Thanks in advance...

    Since user in logging again from the same machine so i think invalidating the previous session won't work.
    Suppose user opens first instance of the mozilla browser and login as say 'ashok' whose role is normal user now he opens another instance of mozilla by clicking on executable and login as 'mitch' whose role is admin then after successful login of 'mitch' on first window mitch's menus items are getting displayed instead of ashok's.
    What i am doing is,
    While creating new session on login i first check is any existing session available in above case its true
    session = request.getSession(false); //return session if already exists
    System.out.println("Session object: "+session);
    if(session != null)
    System.out.println("Session ID Old: "+session.getId());
    session.invalidate(); //invalidate the session if already exists
    session = request.getSession(true); //Create new session
    System.out.println("Session ID New: "+session.getId());
    so control will go inside the if block, here i first invalidate the existing session (this is not destroying the session but only unbinding the information that was stored in the session) and create new session (this is returning the same session which was already exists) and save mitch's information. Since the previous instance was using the same session that will now get the mitch's information so now both instances will show the mitch's information.
    I am not getting any way to destroy the existing session so next time new session id will get generated.

  • Gradient-Layer with Creative Suite SDK

    Hi,
    i wanna create a gradient-layer with the Creative Suite SDK for AS3. Does anybody have a hint for me, to master this task?

    Have a look at the documentation for the Photoshop Script Listener.
    You'll need to install the script listener, restart Photoshop, create your gradient layer, then convert the script listener output (which is extendscript) to ActionScript.
    Regards

  • Is it possible to download Oracle Ebusiness Suite 11i?

    Dear Sirs,
    I checked the e-delivery and there is only ebusiness suite 12 for download. Am I missing something? or there is no way I could get Oracle EBusiness 11i?
    thanks you
    regards

    Hi,
    I checked the e-delivery and there is only ebusiness suite 12 for download. Am I missing something? or there is no way I could get Oracle EBusiness 11i?Log a SR and ask Oracle Support to send you the Media Pack as 11i software is not longer available for download from Oracle e-Delivery website.
    oracle e-business suite release 11.5.10 for windows
    oracle e-business suite release 11.5.10 for windows
    Regards,
    Hussein

Maybe you are looking for