Start Configuration Using CIO

Hi,
I am using CIO object to start a Configuration from OA Framework. below is the code followed by the error am encountering.
======= Start Code =========
Context context = new CZWebAppsContext("HostName","Port","vis");
System.out.println("------------- Context object created ----------");
ConfigParameters cp = new ConfigParameters(79160); // 79160 is Model ID.
System.out.println("------------- ConfigParameters object created ----------");
CIO cioObject = new CIO();
System.out.println("------------- CIO object created ----------");
Calendar modelLookupDate = Calendar.getInstance(); // current date and time
cp.setModelLookupDate(modelLookupDate);
System.out.println("-------------Start CZ Libraries ----------");
cioObject.checkForCZLibraries();
System.out.println("------------- CZ Libraries ----------");
Configuration config = cioObject.startConfiguration(cp,context);
System.out.println("------------- Configuration object created ----------");
========= End Code ==========
====== Error Log =========
oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.UnsatisfiedLinkError, msg=no czlce in java.library.path
at oracle.apps.fnd.framework.OAException.wrapperException OAException.java:888)
     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:864)
     at OAErrorPage.jspService(OAErrorPage.jsp:35)
======== Error Log =======
Could any one plz help me in finding the solution?
Regards,
Adarsh

Thanks Mukul. I got the session id.
Could you help me with my next step.
I need to launch the configurator UI to create new configurations and pass back the headerid and rev number to the current page.
I am confused here and need some guidance.
Should I follow Oracle® Configurator,Extensions and Interface Object Developer’s Guide Release 11i -->Example 5–1 Creating a Configuration Object (MyConfigCreator.java)
or should I refer to chapter 9 Session Initialization, and initialize the cz's UI servlet.
Actually I hardcoded the values in the initialize xml and was able to launch the particular UI which I had hardcoded. I do not know how to retrieve ui_def_id for the particular model name I enter in the form.It needs to be dynamic , than hardcoded.
Here is what I did:
<form action=................/CZInitialize.jsp method="post" id="test1" name="test1">
<input type="hidden" name="XMLmsg" value='<initialize>
<param name="database_id">skm123_dbc</param>
<param name="user">test</param>
<param name="pwd">1234abc</param>
<param name="calling_application_id">708</param>
<param name="responsibility_id">24190</param>
<param name="ui_def_id">186540</param>
<param name="ui_type">JRAD</param>
Please Help.
Thanks

Similar Messages

  • Launch Configuration using CIO object

    Hi,
    I am trying to launch Configuration using CIO object.
    plz find the code below, that am using.
    ===========START CODE==================
    Context context = new CZWebAppsContext("hostName","portNumber","dbcFileName");
    System.out.println("------------- Context object created ----------");
    ConfigParameters cp = new ConfigParameters(79160);
    System.out.println("------------- ConfigParameters object created ----------");
    CIO cioObject = new CIO();
    System.out.println("------------- CIO object created ----------");
    Configuration config = cioObject.startConfiguration(cp,context);
    System.out.println("------------- Configuration object created ----------");
    IUserInterface ui = config.getUserInterface();
    System.out.println("------------- UI object created ----------");
    ui.navigateToScreen("Page-1");
    System.out.println("------------- Page navigation ----------");
    =============END CODE==================
    am getting the following error after CIO object is created, while trying to start the configuration, at cioObject.startConfiguration(cp,context). The hostName, portNumber and dbcFileName are correctly provided.
    ============START LOG ====================
    ------------- Context object created ----------
    ------------- ConfigParameters object created ----------
    ------------- CIO object created ----------
    java.lang.RuntimeException: Null JDBC Connection returned from connection pool.
    Contents of CZWebAppsContext error stack: AOLJ_JAVA_EXCEPTION (MESSAGE=Not able to create new database connection. Cause:java.sql.SQLException: Io exception: The Network Adapter could not establish the connection)
    SECURITY-No gateway reconnect
    SYSTEM-ERROR (MESSAGE=Io exception: The Network Adapter could not establish the connection)
         at oracle.apps.cz.common.CZWebAppsContext.getJDBCConnection(CZWebAppsContext.java:116)
         at oracle.apps.cz.dio.DbTransaction.<init>(DbTransaction.java:61)
    ==============END LOG=======================
    plz help me in finding the solution.
    Regards,
    Adarsh

    Adarsh,
    Looks like the parameters passed in the constructor call are not valid ones and hence the database connection is not getting done.
    Context context = new CZWebAppsContext("hostName","portNumber","dbcFileName");
    Check the above call carefully and its parameters. I guess the dbcFileName might be the reason as other 2 entries are pretty easy to know.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Oracle Apps 11.5.10 How to start configuration.

    Hello All,
    I’m stuck 11.5.10.2+ in a new installation that is working and nobody use for configuration problems since Dec 2005, this project has passed to me now.
    When some body here decide to use oracle 11i they start to configure the software with iSetup and they never end. Now isetup is not longer available and I’m stuck in how to push the configuration and do wherever needed to make this work.
    My question: How can I start configure Oracle Apps 11.5.10.2 or exist something similar to iSetup that can help to reduce the work and increase the accuracy.
    Any help will be welcome.

    iSetup is used to copy setups between two or more instances, and reporting on setups in an existing instance. But you can not configure a new instance out of scratch using iSetup. You can copy the setup from an existing instance.
    Note:176465.1 -
    Oracle iSetup supports rapidly configuring a new E-Business suite instance, copying setups between two or more instances, and reporting on setups in an existing instance.
    iSetup is deployed in two parts.
    iSetup Configurator runs on the web, external to your installation of the Oracle E-Business Suite. To use iSetup Configurator, connect to http://isetup.oracle.com (now decommissioned - read next note).
    iSetup Migrator and Reporter are part of the Oracle E-Business Suite that you access using the Oracle iSetup responsibility. You also use iSetup Migrator to load a configuration you create using iSetup Configurator.
    Note:306512.1 -
    The iSetup Configurator does not support the 11i10 release of the Oracle E-Business suite. If your implementation plans extend beyond the 31st of May 2005, we suggest that you check with your consulting partners for information about solutions that may suit your needs.
    The Migrator and the Reporter components of iSetup, which are a part of the E-Business suite, would continue to be enhanced and supported.
    ---------------------------------

  • Manage MSMQ is missing from Failover Cluster Manager when configured using powershell

    Hi,
    I am hoping someone would be able to help me as I have looked on the internet for an answer to this. We deploy a number of servers that are configured using Powershell. I am in the process of creating a clustered WIN2K8R2 cluster with MSMQ. I am able to
    do this successfully through the Failover Mgr with no issues.  In addition, I can do this via Powershell (code listed below) with one caveat.
    However, when I create the same exact MSMQ in Powershell, I am unable to right click on the MSMQ service to manage it as the "Manage MSMQ" is missing when I right click on it. The settings are the same, including dependencies. The only difference
    I have been able to find is the icon in the Failover Manager shows the Service as a Generic Service icon when created in Powershell, but when it is created in the GUI it shows up as the MSMQ icon. I was able to verify this in the registry in HKLM\Cluster\Groups\<GUID>\:
    GroupType HEX: 68 for msmq icon. When it is the Generic Service icon it is HEX: 270f. When I change it from 270f to 68, the icon changes in Failover Manager and I am able to open, but then I get an invalid handle and I am unable to manage it.
    This is causing an issue, because I want to automate this build and hand it over, but they would be unable to manage it except by programming which the operators are not ready for.
    Here is the code which I have created in Powershell:
        Write-host "Configuring MS MSMQ Cluster Failover..."
        $CluName = "Cluster Name"
        $ClsMSMQName = $CluName.Name + "MSMQ"
        $ClsMSMQResourceName = "MSMQ-" + $ClsMSMQName
        $Response = Read-host "Enter the IP Address of the Clustered MSMQ"
        $ClsIpRes = get-clusterresource "Cluster IP Address"
        $MSMQIpAddr = New-Object Microsoft.FailoverClusters.PowerShell.ClusterParameter $ipres,Address,$Response
        Add-ClusterServerRole -Name $ClsMSMQName -Storage "Cluster Disk" -StaticAddress $MSMQIpAddr.value
        # Add the MSMSMQ Service to the new Server Role
        Get-ClusterGroup $ClsMSMQName | Add-ClusterResource -Name $ClsMSMQResourceName -ResourceType "MSMQ"
        # Create Dependencies for the MSMQ group
        Add-ClusterResourceDependency $ClsMSMQResourceName $ClsMSMQName
        Add-ClusterResourceDependency $ClsMSMQResourceName "Cluster Disk"
        # Start MSMQ group
        Start-ClusterGroup $ClsMSMQName
    You would just have to change "Cluster Disk" and "Cluster Name".
    Thank you

    Hi,
    I am hoping someone would be able to help me as I have looked on the internet for an answer to this. We deploy a number of servers that are configured using Powershell. I am in the process of creating a clustered WIN2K8R2 cluster with MSMQ. I am able to
    do this successfully through the Failover Mgr with no issues.  In addition, I can do this via Powershell (code listed below) with one caveat.
    However, when I create the same exact MSMQ in Powershell, I am unable to right click on the MSMQ service to manage it as the "Manage MSMQ" is missing when I right click on it. The settings are the same, including dependencies. The only difference
    I have been able to find is the icon in the Failover Manager shows the Service as a Generic Service icon when created in Powershell, but when it is created in the GUI it shows up as the MSMQ icon. I was able to verify this in the registry in HKLM\Cluster\Groups\<GUID>\:
    GroupType HEX: 68 for msmq icon. When it is the Generic Service icon it is HEX: 270f. When I change it from 270f to 68, the icon changes in Failover Manager and I am able to open, but then I get an invalid handle and I am unable to manage it.
    This is causing an issue, because I want to automate this build and hand it over, but they would be unable to manage it except by programming which the operators are not ready for.
    Here is the code which I have created in Powershell:
        Write-host "Configuring MS MSMQ Cluster Failover..."
        $CluName = "Cluster Name"
        $ClsMSMQName = $CluName.Name + "MSMQ"
        $ClsMSMQResourceName = "MSMQ-" + $ClsMSMQName
        $Response = Read-host "Enter the IP Address of the Clustered MSMQ"
        $ClsIpRes = get-clusterresource "Cluster IP Address"
        $MSMQIpAddr = New-Object Microsoft.FailoverClusters.PowerShell.ClusterParameter $ipres,Address,$Response
        Add-ClusterServerRole -Name $ClsMSMQName -Storage "Cluster Disk" -StaticAddress $MSMQIpAddr.value
        # Add the MSMSMQ Service to the new Server Role
        Get-ClusterGroup $ClsMSMQName | Add-ClusterResource -Name $ClsMSMQResourceName -ResourceType "MSMQ"
        # Create Dependencies for the MSMQ group
        Add-ClusterResourceDependency $ClsMSMQResourceName $ClsMSMQName
        Add-ClusterResourceDependency $ClsMSMQResourceName "Cluster Disk"
        # Start MSMQ group
        Start-ClusterGroup $ClsMSMQName
    You would just have to change "Cluster Disk" and "Cluster Name".
    Thank you

  • How to start to use Oracle client to access Database ?

    Folks,
    Hello. I have just installed Oracle Client into directory /home/myOracle/Oracle_Client. But I don't know how to start and configure the client to access Oracle Database.
    Can any folk tell me how to start to use Oracle client to access Database ?

    user13764998 wrote:
    I have earlier managed to install the Oracle Client (32-bit) in 32-bit clients and servers Oracle Client 10.
    The reason that it went well before was the exellent setup and configurationprograms we got with that version.It seems you are confusing the "full" Datbase Client with Instant Client.
    Now I'm trying to install the Oracle Instant Client 11g R2 both 32-bit and 64 (of the latest revision) on a 64-bit Windows 2008 Server .
    I have managed to install the driver but the setup doesn't give me any Net Configuration Assistant or Net Manager to help with the configuration.What setup? Are you not using just the zip files?
    What are you installing exactly, i.e. what install media (file) did you download?
    So I haven't succeded in configuring it despite I I read the readme-info that comes with the Instant Client files.There's not much to configure - that's sort of the point of Instant Client. Just drop a few files in a folder, set PATH and off you go.
    Doesn't <instant client dir>\sqlplus user@'hostname/servicename' work?

  • [SOLVED] UEFI boot configuration using efibootmgr

    Hello All,
    I've been having a very frustrating time with efibootmgr on my HP Laptop.
    I've been searching around for some information regarding the OS Bootmanager in UEFI boot and cannot find anything that works for me.
    I'm trying to get efibootmgr to load the boot entries in the order that I specify, but, although it lists exactly what I want in the terminal, when it comes to a reboot, the OS Bootmanager is failing and writing new entries every boot and I cannot fathom why.
    Please could someone point me in the direction of a good guide to UEFI boot/OS Bootmanager and it's configuration using efibootmgr?  I have read info found in the Archwiki, but was hoping for something focussing on efibootmgr alone as a configuration tool.
    Many thanks for your help,
    Frazer
    Last edited by frazer (2014-03-10 22:21:14)

    It's likely that the firmware (or maybe Windows, if you're booting into Windows between boots and haven't mentioned that fact) is changing the boot order. Unfortunately, some EFIs do that, or worse.
    I recommend you start by upgrading your firmware. (In some cases, this will wipe out all your boot entries, so be prepared.) If the problem continues, either file a bug report with the manufacturer or return the hardware for a refund and buy something else. The manufacturers have had a long enough time to work out such major problems with their firmware, and returning defective hardware is really the only thing we as consumers can do that will get the manufacturers' attention.
    If you must keep the hardware and a firmware update doesn't help, you may just need to find a workaround. If you need advice on doing that, you'll need to provide more details about what your setup is -- in particular, what you want the boot manager's boot list to look like (as in "efibootmgr -v" output once it's configured) and how the firmware is reshaping that when you reboot.

  • I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have manged to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the pr

    I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text  or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?

    The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
    David

  • I've recently started to use Numbers but when I try to sync to iCloud it asks me to create a new iCloud account. Problem is I already have one and that's the one I want to use. Looks like I have the same situation on my iphone. Any guidance? Thanks.

    I've recently started to use Numbers on my macbook pro but when I try to sync to iCloud it asks me to create a new iCloud account. Problem is I already have one and that's the one I want to use.
    Looks like I have the same situation on my iphone.
    The only option I'm being given is to create an lCloud account.
    Any guidance? Thanks.

    The last thing you want is a second iCloud account. Try logging out and back in in System Preferences. If that doesn't work, I'd get AppleCare on the line.
    Jerry

  • Can not start HTTP_server using "opmnctl startall" after applying p4505133

    After I apply patch 4505133 on win32
    10.1.0.5 PATCH SET FOR ORACLE DATABASE SERVER
    I can not start HTTP_Server using opmnctl startall, got following error in apache log file:
    [Thu Mar 22 22:43:54 2007] [error] (2)No such file or directory: mod_plsql: Please check your enviroment.\nORACLE_HOME is [C:\\OracleHomes\\oms10g]\nPATH is [C:\\OracleHomes\\oms10g\\bin;C:\\OracleHomes\\oms10g\\Perl\\5.6.1\\bin\\MSWin32-x86;C:\\OracleHomes\\oms10g\\Apache\\Apache\\fastcgi;C:\\OracleHomes\\oms10g\\opmn\\bin;C:\\OracleHomes\\oms10g\\opmn\\lib;C:\\OracleHomes\\oms10g\\opmn\\bin;C:\\OracleHomes\\oms10g\\opmn\\lib;C:\\OracleHomes\\oms10g\\bin;C:\\WINDOWS;C:\\WINDOWS\\system32]\nNLS_LANG is [Not Set]
    [Thu Mar 22 22:44:00 2007] [crit] (2)No such file or directory: mod_plsql: Unable to initialize Oracle OCI
    Any idea what is going on?
    thanks,

    Thanks for u r reply.
    resolved this issue
    oracle/middleware/oracle_idm1/bin
    oidldapd folder is missing. so we copied the folder from trail environment and placed in above directory and started opmnctl services.
    it worked.
    Thanks and Regards,
    sri485.

  • My granddaughter put the Start Up Disk in the drive inadvertently and now the drive will not eject it or start up using the HD.  I have tried all of the suggestions for opening it that appear in the manual.  Help?

    My granddaughter put the Start Up Disk in the drive inadvertently and now the drive will not eject it or start up using the HD.  I have tried all of the suggestions for opening it that appear in the manual.  Help?  It is her computer, a iMac G3 or G4 with superdrive, the one with the ball shaped base.   Thank you.

    It's a tray loading drive, there should be a little hole next to it, just large enough for a paper clip.  Stick the end of the paper clip in it and the tray should open.
    Miriam

  • HT201342 I have an icloud address but now I am told "that address is taken".  How can I start to use it again?

    How can I start to use my own address?  It is old from .me

    Welcome to the Apple community.
    Unfortunately you cannot change an iCloud mail address once you have created it. You can however use an iCloud alias which you can set up at iCloud.com.
    To create an alias.....
    Navigate to the Mail feature at iCloud.com and click on the gear icon in the bottom left corner. Choose Preferences from the drop down menu, then select accounts from the options across the top, here you can create your alias.

  • Start sap using run

    hi guys
    start sap using run
    in c: type startsapr3 and follow the syntax

    Hello
    1 - Start CMD.exe
    2- Goto directory of Kernel
    3- sapstart.exe name=<SID> nr=<SYS_NUMBER> sapdiahost=<hostanme>
    Cheers,
    Levi Shaked

  • Hey! I am from Egypt and purchased I phone5 unlocked from USA Atlantic City NJ. When I started to use it the Home button wouldn't respond. I tried everything pushing hard, turning it off and on again it's just hopeless. What can I do? Need help!

    I purchased Iphone 5 from USA while I am from Egypt. It's unlocked so no issues there, yet when I started first using it the home button wouldn't respond under any circumstances! I am afraid to give it to an Apple retailer in Egypt to fix it coz that might make me lose my warranty in the US.. Sending it back to the US and asking for a replacement might take time and according to the purchasing reciept it says return date Aug 15th! Need some help.. Thanks

    Thnx, I already did that when I got the chance. But when I took it over there yesterday they told me we can only fix it and not replace it coz I exceeded my warranty reclaim!! its just not practical to have it and send it back overseas within the warranty limit! I was so furious it's just so not fair..

  • How can i start to use i chat if it said my password is incorrect and i change it, but still appears that the password is wrong :(

    how can i start to use i chat if it said my password is incorrect and i change it, but still appears that the password is wrong

    Hi,
    AIM
    If this is a Name valid with the AIM servers the password has to be 16 characters or Less.
    The Apple IDs from MobileMe and @Mac.com allow you to create (And prompt your for ) Longer passwords.
    These Names are Valid with the AIM servers but they cannot process the password.
    Use iforgot to Change the password to something shorter.
    Googletalk
    If you are using a Google ID then you have to enter your Google ID as it appears when you log in to the Google Web Mail Page.
    The Mail App seems to allow the Endings (@gmail.com and @googlemail.com) to be used almost interchangeably where as the Jabber Server Google run for Google Talk is stricter (so iChat needs to be precise).
    Also the chat option needs to appear in the Web Mail page.
    If it does not it needs Enabling on you Google Account settings page.
    8:10 PM      Tuesday; July 5, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Can I make a Data Guard configuration using EM console without Grid Control

    Can I make a Data Guard configuration using EM console without Grid Console?
    Can I download Grid Console software from Oracle website without cost?

    Assuming this is for 10g,
    You could use Oracle® Data Guard Broker
    Even you can download Grid Control software for free from Oracle site, you can't legally use it without license.

Maybe you are looking for