How to run oracle cm sdk examples in a standalone mode?

I encountered some difficulty on how to run the examples provided by CM SDK Developer's Guide,such as SimpleConnection.I deployed my develop enviroment in two computers,installed only oracle JDeveloper in one computer,while installed Oracle10g,Oracle AS and Oracle CM SDK on the other computer.But when I tried to run the example on the computer which was only installed Oracle JDeveloper,I always failed.I have no idea of how to run the example in a standalone mode.I hope someone who familiar with Oracle CM SDK can help me solve the problem or give me some advice.Now I list the errors which appeared when I ran the example,SimpleConnection.
C:\Oracel JDeveloper904\jdk\bin\javaw.exe -ojvm -classpath C:\Oracel JDeveloper904\jdev\mywork\Workspace2\Project1\classes;C:\Oracel JDeveloper904\jdev\lib\jdev-rt.jar;C:\ias\cmsdk.jar;C:\ias\uix2.jar;C:\ias\classes12.jar;C:\ias\emPid.jar -DIFS.DOMAIN.Name=ifs://zhao:1521:zyh:IFSSYS -DIFS.STANDALONE.Mode=true -DIFS.SCHEMA.PASSWORD=manage oracle.ifs.examples.devdoc.connection.SimpleConnection
Connecting...
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefaultService)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (SmallServiceConfiguration)
java.sql.SQLException: Io Òì³£: The Network Adapter could not establish the connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)      
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:431)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:515)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:345)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:618)
at oracle.ifs.beans.LibraryService.getServiceConfigurationProperties(LibraryService.java:503)
at oracle.ifs.beans.LibraryService.startService(LibraryService.java:366)
at oracle.ifs.examples.devdoc.connection.SimpleConnection.main(SimpleConnection.java:17)
Process exited with exit code 0.

The CMSDK uses the oci8 interface to connect to the database. The classes12.jar file has to correspond to the appropriate ocijdbc9.dll file; and the ocijdbc9.dll file is dependent on about 26 other DLLs beginning with oci*.dll and ora*.dll.
I've found that the 10.1.0 and 9.2.0 database client releases contain the wrong oci*.dll family (at least for JDeveloper) and I use the 9.0.4 AS Client tree in my path when I work with CMSDK.
My quick test is to see if I can connect to my database using JDeveloper Connect DBMS with the oci8 connection method. This seems to put out some reasonable error messages explaining why it failed, e.g. it tells you that it couldn't find the right DLL dependency.

Similar Messages

  • How to run the parameter form example report :pform_report.jsp

    how to run the parameter form example report : pform_report.jsp ?
    I got these error message:
    Reports Error Page
    Sat Oct 18 11:58:24 CST 2003
    javax.servlet.jsp.JspException: rwlib-1: REP-6106: (, 4 L, XML 1h��/�� ' PI with the name 'xml' can occur only in the beginning of the document.'.
    javax.servlet.jsp.JspException: rwlib-1: REP-6106: (, 4 L, XML 1h��/��
    PI with the name 'xml' can occur only in the beginning of the document.'.
         at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:180)
         at examples.tools._pform__report._jspService(_pform__report.java:79)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:66)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:539)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:285)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:771)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:796)
         at java.lang.Thread.run(Thread.java:484)

    repost !
    please help!

  • How to run Oracle workflow in windows 7 os

    Hi,
    Am new to oracle workflow.
    I have installed oracle workflow successfully in my laptop.
    After installation I dont see any shortcut's in my desktop.
    Can any one sugess me how to run oracle workflow.
    Steps to begin from basic level.
    Thanks
    Balaji

    You mean to say you installed Workflow Builder on your laptop? See that Oracle Workflow has a Client Side (WF Builder), a backend Server side and middle application side.
    Assuming you successfully installed the client side then you must have a group of programs called Oracle OUIHome and there one called Application Development. There you should be able to find Workflow builder.
    Useful notes for WF Builder:
    How To Download and Install the Latest Oracle Workflow Builder (Client Tool) and XML Gateway Message Designer for E-Business (Doc ID 261028.1)
    which leads to <internal URL removed>
    Regards.

  • How to run oracle forms in Unix

    How to run Oracle forms in unix ?'

    Oracle Forms only runs on an Oracle application Server.
    Regards
    Grant Ronald
    Oracle Product Management

  • How to run oracle forms in ipdad or smart mobile using OS android

    please help me
    how to run oracle forms in ipad or smart mobile using OS( android )and connect to application server 10g?????
    Thanks

    If you had looked at data dashboard and some of the other links on Android, you would see that you cannot run a LabVIEW app on Android. Nor can you use a serial port. With Data Dashboard, you have a pc running LabVIEW and it publishes to network shared variables. Data Dashboard on the Android allows you to view those variables.

  • How to run oracle 11g forms in windows xp

    Hi friends,
    I have installed weblogic 10.3.4, Oracle Fusion Middleware Forms 11g 11.1.4 version....
    Configuration of domail also successful...
    I use the following steps to run the form
    1. WLS_FORMS
    start -> programs - > Oracle Classic Instance - asinst_1_FR1 - > Forms Services -> Start Weblogic Server - WLS_FORMS
    it is successfully running - showing the Running Mode
    2. open the form bulider and connect to the database.
    3. in form builder runtime path is - http://localhost:9001/forms/frmservlet
    4. When i click on run button web page was invoked... but nothing is coming... blank page is displayed..
    Please tell me how to run the form.... Am trying the test.fmx which is in D:\Oracle\Middleware\as_1\forms.
    My system configuration in 2gb ram, windows Xp ser 2 , 2.4ghz processor...
    Regards
    Deepak Kumar H.R.

    Do the following:
    1. As Sarah mentioned, ensure that you have JRE 1.6.0_12 or newer installed.
    2. In the Builder, ensure that you have entered both the Application Server URL and Web Browser Location values. Neither of these fields should be left blank. The browser location should be the complete path to the desired browser and include the exe name. For example if you were going to use IE it would look like this:
    C:\Program Files\Internet Explorer\IEXPLORE.EXE
    These settings are found in the Builder under EDIT > PREFERENCES > RUNTIME

  • How to Run Oracle Reports from the web.

    How can we run Oracle Reports from the web - for example from a portal such as "Gateway"
    This is a univeristy that implements Banner - so can we run them from within Banner?

    Yes, of course. And for running the reports-server you need an OAS. Maybe here is a good starting point http://www.oracle.com/technology/documentation/reports.html

  • How to run oracle 10g enterprise manager

    hi
    how can i run oracle 10g enterprise manager?
    thanks

    set oracle_sid
    then run the following
    EMCTL START DBCONSOLE
    emctl status dbconsole---This is to check status
    emctl stop dbconsole---This is to stop dbconsole
    If you are using windows system then you can start enterprise manager through dbconsole service in controlpanel-administrator tools-services

  • How to Run the MDK Sample Example Application in SAP NWDS

    Hi all,
    As i go through the MDK 2.5 i have physically under gone with all option that are included in
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eba3a7-0601-0010-b982-92f1fca3258a
    this site and imported the Example 1 Application in nwds, but when try to run it,this application asking to mention some main Class option .
    tell me which class should i mention to run the example1 application.
    so please help me out of it ,
    thanks and Regards,
    Venu

    hi Venu Gopal,
    Welcome to the SDN and Mobile Community.
    Pl. check my weblog on this "Execute and Debug Applications from NWDS". /people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds
    I've explained how to run the application from NWDS itself.
    Regards
    Arunkumar R

  • How to run oracle 10g application on firefox browser.(linux)

    on of my client using Linux (UBUNTU) OS.he wants to run oracle application on firefox.but firefox always asks for intall plugins..
    what setting should i do to run my application on firefox linux(UBUNTU) client.

    When using Firefox Browser 3.0.x, you have to manually install the java plugin on your pc and copy the NPJPI150_xx.dll to the plugin directory of Firefox.
    Make sure, that you use exactly the same version, as you named in your formsweb.cfg configuration.
    In my case, were we use Java Plugin 1.5.0_06, I have these linse in my formsweb.cfg file:
    # For Firefox:
    jpi_mimetype=application/x-java-applet;jpi-version=1.5.0_06
    # For IE:
    jpi_classid=clsid:CAFEEFAC-0015-0000-0006-ABCDEFFEDCBA
    Good luck

  • How to run Lenovo t400 with Windows XP in safe mode

    Hi guys,
                  I caught a Spyware Portection Virus this morning while i was doing research on fish disease. The virus isn't letting me run any programs except Internet Explorer. I have found the program to delete it but I need a way to run it so the best way is to run Windows XP on safe mode. So how do you run windows xp in safe mode. I can't access the Microsoft Configuration program (msconfig). Any ideas of how to work through bios to boot up in sade mode?

    Hit F8 at the splash screen

  • How to run Oracle Report in new window

    Hi,
    There appear to be many threads regarding this issue, but so far I've been unable to piece together a solution to my problem.
    My requirements are quite simple really.
    - Invoke an Oracle Report from an HTMLDB page
    - Pass parameters form the page to the report URL
    - Run the report in a new window
    I have created a simple example at:
    http://htmldb.oracle.com/pls/otn/f?p=36506:1
    Page 1 contains the following HTML Header attribute
    <script language="JavaScript" type="text/javascript">
    function callMyPopup (url){
    w = open(url,"winLov","");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    </script>
    The URL i wish to invoke is
    http://myappserver/reports/rwservlet?test/test@test+report=test.rdf+&P1_PARAMETER.
    My question is, where would I put the code to invoke the URL? I'm trying to use the following code
    javascript:callMyPopup('http://myappserver/reports/rwservlet?test/test@test+report=test.rdf+&P1_PARAMETER.');
    I've tried putting this in a branch but I get a 'Page can not be displayed' error.
    Any help would be appreciated.
    Thanks
    Andrew

    Hi,
    I'm trying to invoke an oracle report through a button in apex2.2. Please let me know how to display the report in a new window.
    I have put the URL as of now in the branch of the button, and the report is getting displayed in the same window.
    I've read some of the posts and put the URL as the target of the button instead of a branch and also used the javascript:popupURL(), but it still doesnt work for me. The URL works fine without the javascript.
    I have put the URL as of now in the branch of the button, and the report is getting displayed in the same window.
    Thanks in advance,
    Priyanka

  • Running Oracle ADF tutorial example to weblogic server

    Hi all,
    I am following the tutorial at [Developing RIA Web Applications with Oracle ADF|http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm] . However, I did something new here. I deployed the finished sample to weblogic admin server, and it went fine. But when I tried to access the page DeptEmpPage.jspx, I got exception:
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
    and also
    java.sql.SQLException: ORA-01005: null password given; logon denied
    Looks like the user hr was not logged in. I tried to give explicit plaintext password in the file connections.xml as following
    <SecureRefAddr addrType="password">
    <Contents>hr</Contents>
    </SecureRefAddr>
    , but this also did not work.
    Could you please let me know how to make it working? I know for security concerns, we may need to have a log in form to do authentication. But for the quick-fix and pedagogic purpose, could anyone here please help?
    Many thanks.

    Dou you need to change the bc4j.xcfg content to reference the JNDI connection created in the deployment. Note that the deployed EAR creates a HrDS JDBC connnection with the credentials and Security user and associations, see the JNDI url in your app, for example, for "jdbc/HrDSDS", the entry to be added to the config file must be <Custom JDBCDataSource="java:comp/env/jdbc/HrDSDS"/>
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">
    <AppModuleConfigBag ApplicationName="lt.andrejusb.model.HrModule">
    <AppModuleConfig name="HrModuleLocal" ApplicationName="lt.andrejusb.model.HrModule" DeployPlatform="LOCAL" jbo.project="lt.andrejusb.model.Model">
    <Database jbo.TypeMapEntries="OracleApps"/>
    <Security AppModuleJndiName="lt.andrejusb.model.HrModule"/>
    *<Custom JDBCDataSource="java:comp/env/jdbc/HrDSDS"/>*
    </AppModuleConfig>
    <AppModuleConfig name="HrModuleShared" ApplicationName="lt.andrejusb.model.HrModule" DeployPlatform="LOCAL" jbo.project="lt.andrejusb.model.Model">
    <AM-Pooling jbo.ampool.maxpoolsize="1" jbo.ampool.isuseexclusive="false"/>
    <Database jbo.TypeMapEntries="OracleApps"/>
    <Security AppModuleJndiName="lt.andrejusb.model.HrModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/HrDSDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    </BC4JConfig>

  • How to run Oracle Reports 6i

    Can any 1 pls help how to execute the report from plsql or scheduled job and not from a form
    I have a report that works fine, The concern now is that somebody will have to manually run this process. It should be something automated, wherein it will run on it's own
    Some batch job which will trigger automatically as per the pre defined schedule
    Thx in advance
    Imran

    Hi Imran,
    If the job is to be scheduled on unix... do you have an report server rwrun60 on your unix machine? (in other words can you deploy your reports on unix?) If so it will be a lot easier not to use dbms_job but just schedule it with the unix scheduler CRON.
    Then you can create a shell script (.bat is used in windows , on unix it should be , actually you even don't need an extention, .unx or .sh)
    eg for your script
    #!/bin/ksh
    ORACLE_HOME=<path to your oracle home on unix>
    ORACLE_SID=<SID of the instance your report needs to run on>
    PATH=$ORACLE_HOME/bin:$PATH
    WORKINGDIR=<your directory where your reports are
    export ORACLE_HOME PATH ORACLE_SID WORKINGDIR
    cd WORKINGDIR
    # if you want more than one report to run at the same time you can use this loop
    for i in `ls *.rep`
    do
    rwrun60 module=$i userid=..... destype=printer (you can of course use other parameters too)
    done
    *If you want just a single report leave the loop out and put name of report afeter module=
    if you save the file ask your unix admins to make it executable and to schedule it with cron on the unix machine
    That's all
    I have several hundreds reports running this way (on Linux with 10g report server)
    Hope it helps
    Erwin
    In answer to you latest question to run from pl/sql it can but you need to be able to run a "host" command from your database
    one way to do it with java class
    install these two java sources on your instance
    (you can leave the FEP1_ out of course)
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "FEP1_CaptureStream" AS
    import java.util.*;
    import java.io.*;
    class FEP1_CaptureStream implements Runnable {
    private final InputStream is;
    private final String type;
    private final OutputStream redirect;
    private boolean redirected = false;
    FEP1_CaptureStream(InputStream is, String type, OutputStream redirect)
    this.is = is;
    this.type = type + ">";
    this.redirect = redirect;
    FEP1_CaptureStream(InputStream is, String type)
    this(is, type, null);
    FEP1_CaptureStream(InputStream is)
    this(is, " ", null);
    public void run()
    try {
    PrintWriter pw = null;
    if (redirect != null) {
    pw = new PrintWriter(redirect);
    redirected = true;
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line=null;
    while ( (line = br.readLine()) != null) {
    System.out.println(type + line);
    if (redirected) {
    pw.println(line);
    if (redirected) {
    pw.flush();
    pw.close();
    br.close();
    isr.close();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    second source
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "FEP1_ExecOSCmd" AS
    import java.util.*;
    import java.io.*;
    public class FEP1_ExecOSCmd {
    public static void main (String args[])
    int rc = 0;
    if (args.length < 1) {
    System.out.println("USAGE: java ExecOSCmd \'cmd\' ");
    System.exit(1);
    try {
    String cmd = args[0];
    FileOutputStream fos = null;
    if (args.length == 2 ) {
    fos = new FileOutputStream(args[1]);
    Runtime rt = Runtime.getRuntime();
    Process p = rt.exec(cmd);
    FEP1_CaptureStream err = new FEP1_CaptureStream(p.getErrorStream(), "ERR");
    Thread e = new Thread(err);
    /* NOTE we do not join the error thread. If there was no
    Error it may never return. We would wait forever for it to
    return thus janging this process */
    e.start();
    FEP1_CaptureStream out = new FEP1_CaptureStream(p.getInputStream(),
    "OUT", fos);
    Thread o = new Thread(out);
    o.start();
    try {
    rc = p.waitFor();
    /* Handle exceptions for waitFor() */
    } catch (InterruptedException intexc) {
    System.out.println("Interrupted Exception on waitFor: " +
    intexc.getMessage());
    if (fos !=null) {
    o.join(); // need to wait for the output to finish.
    fos.flush();
    fos.close();
    System.out.println("ExitValue: " + rc);
    } catch (Throwable t) {
    System.out.println("ExitValue: " + rc);
    t.printStackTrace();
    Now create a package or standalone procedure to wrap this code
    PROCEDURE EXECUTECMD
    (CMD VARCHAR2
    IS
    LANGUAGE JAVA NAME 'FEP1_ExecOSCmd.main(java.lang.String[])';
    put security ok and then you can use this procedure in a another
    eg
    EXECUTECMD('/mybin/start_reports.sh');
    this will start the sh script
    or
    eg
    EXECUTECMD('/Oracle/bin/rwrun60 module=.....');
    or create a string with all your params and pass it to the command
    Be aware that this command executes on the server where your instance is running!
    Message was edited by:
    Irvine74

  • How to run order-jsf-jpa-example.zip in JDeveloper?

    What is the easiest way to make order-jsf-jpa-example.zip from the link http://www.oracle.com/technology/products/ias/toplink/jpa/examples-index.html to run in JDeveloper?
    Step by Step please.
    Thanks
    Ming Man

    You can use the JDeveloper "project from existing source" to create a new project that is based on this code.
    You can then use the built in Ant support to run the build file.

Maybe you are looking for

  • Print purchase order caption by output type

    Hi, I have created the new output type"ZNEU" for the taking the Purhcase order printout. When  I did  i the changes in the PO simulatenously I have maintained  the versions in the PO. Then  I take the Printout by using NEU o/p type.Then in the printo

  • I am trying to open an audio file.  the disc is a       cdr

    I am tring to open a cdr on my I mac and it does not open.  it is an audio cdr and the extension dcr.  Why am I unable to open and hear this file? Lina

  • Integration with middleware

    Hello Can anyone help me with information about how integrate Wonderware Software Inbatch with SAP ERP. Any experience?. Any consultant in Barcelona? Thanks.

  • Integrate an existing SOA11g suite with IDM 11g

    Hello gurus,      We need to install SOA 11g with Oracle Service Bus, Service Registry,BPEL Process Manager, Web service Manager. Along with this setup , we need to Configure Oracle integrated security framework to enable security and identity manage

  • Itunes Unexpectedly quits when trying to acsess itunes store

    When I try to opene the itunes store i tunes will unexpectedly quit occasionally i do get in and even then at times itune will quit for no reason. Any Ideas to what is causing this aggravating occurance, and how i can fix it?