Oracle lite Java Command to drop a device

I want to know if there is a java method to drop a device from the Oracle lite repository. I don't find it in the java doc. If such method does not exist maybe I could delete the Device in the repository tables? Is someone did that before?
Thank you
Simon

is that what you need?
http://download.oracle.com/docs/cd/E12095_01/doc.10303/e12090/oracledb.htm#BCGGBGGC
3.1 Deleting a Client Device
If you want to delete a device, use the delete method from the Device class. To retrieve the Device object, use either the getDevice or getDeviceByName methods, as demonstrated below.
If the device id is available, the following can be directly used:
if (oracle.lite.resource.ResourceManager.getInstance() == null)
oracle.lite.resource.ResourceManager.initialize(JDBC_URL, USER, PASSWORD);
oracle.lite.resource.Device d =
oracle.lite.resource.ResourceManager.getInstance().getDevice(deviceId);
d.delete();
If the device id is not available, then you can provide the device name, which is shown on the Mobile Manager UI in the oracle.lite.resource.User.getDeviceByName(deviceName) method. Once retrieved, use the delete method of the Device object as demonstrated above.

Similar Messages

  • Oracle lite + Java on Win CE?

    Hi All,
    I have had a long hard look through the documentation, and am
    still unclear on one thing.
    Can I run Oracle Lite with a Java front end on a Win CE machine?
    tia
    Richard Summers
    null

    Hello you two,
    I couldn4t get the connection with Java also, I tried for one month, so do you have a solution for this?
    Second (and more urgent):
    I've got the following message on my pocketPC during the synchronization with consolidatorclient :
    "duplicate keys in unique/primary keys"
    Do you know this error and do you know a solution??
    Thanx for help
    Eva Lepperhoff
    Hello Mr. Summers,
    Perhaps you are a bit surprised because you postet your question in 1999 but I have looked through nearly all entries about Oracle 8i Lite because I have the same Problem and I hope that you have some news after the past two years...
    I am also trying to programm the OKAPI but there is a mystirious thing. In the documentation they are writing about a function called okInit. I couldn4t find this function in any of the headerfiles...
    greatings from Germany
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Richard Summers ([email protected]):
    Hi All,
    I have had a long hard look through the documentation, and am
    still unclear on one thing.
    Can I run Oracle Lite with a Java front end on a Win CE machine?
    tia
    Richard Summers<HR></BLOCKQUOTE>
    null

  • Oracle Lite java(?) conduit for Palm

    I had a lot of fun getting the Oracle Lite for handhelds install to work. Now I get the following error on hotsync:
    Unable to initialize threads: ,en
    Can't create Java VM
    OK Oracle with 2 message(s)
    Has anyone actually managed to get this to work? Any help will be appreciated.
    Thanx
    Vikas

    i recommend you ask questions about oracle lite on the oracle lite forum.
    you'll get a better and faster answer there...

  • Oracle Lite API to send commands

    Hi,
    Is anyone here ever used the Olite API to send commands to devices?
    When i send the command "Install apllication" from MobileManager to all devices from one platform. Sometimes, Mobilemanager hangs for hours and not all devices receive the command.
    So I would like to know if it can be done by Oracle Lite java API and if someone have somme examples on how to use oracle.lite.resource.dm.* Classes.
    Thanks
    JSET

    Here is an example from Metalink
    It throws an error in 10.3.0.1... but I have been told it works in 10.3.0.2
    import java.sql.*;
    import java.util.*;
    import oracle.lite.resource.ResourceManager;
    import java.util.Enumeration;
    import oracle.lite.resource.User;
    import oracle.lite.resource.Device;
    import oracle.lite.dm.DeviceManager;
    import oracle.lite.resource.dm.Command;
    import oracle.lite.dm.info.SyncLog;
    public class DeleteDeviceResourceManager {
    private static ResourceManager rm = null;
    private static DeviceManager dm = null;
    private static String[] userList = null;
    private static String[] cmdList = null;
    public static void main (String[] args) {
    String url = null;
    String user = null;
    String pwd = null;
    if (args.length != 3) {
    System.err.println("usage: java TestDeviceResourceManager <repo url> <repo user> <repo pwd>");
    System.exit(1);
    else {
    url = "jdbc:oracle:thin:@" + args[0];
    user = args[1];
    pwd = args[2];
    if (!initialize(url, user, pwd)) {
    System.exit(1);
    System.err.println("********** Testing DeviceResourceManager API's **********");
    /* System.err.println("Testing: getCommand");
    // testgetCommand();
    System.err.println("Testing: getCommands");
    // testgetCommands(); */
    System.err.println("Testing: getDevice");
    testgetDevice();
    System.err.println("Testing: getDeviceFiles");
    testgetDeviceFiles();
    System.err.println("Testing: getDeviceUser");
    testgetDeviceUser(); */
    private static boolean initialize(String url, String user, String pwd) {
    boolean init = true;
    String repoURL = user + "/" + pwd + "@" + url;
    try {
    ResourceManager.initialize(repoURL);
    rm = ResourceManager.getInstance();
    dm = DeviceManager.getInstance();
    Driver dr = (Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    DriverManager.registerDriver(dr);
    Connection conn = DriverManager.getConnection(url, user, pwd);
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("select name from users");
    List list = new ArrayList();
    int rowCnt = 0;
    while (rs.next()) {
    rowCnt++;
    list.add(rs.getString(1));
    rs.close();
    userList = new String[rowCnt];
    Iterator itr = list.iterator();
    int icnt = 0;
    while (itr.hasNext()) {
    userList[icnt++] = (String)itr.next();
    rs = stmt.executeQuery("select id from dm$all_commands");
    list = new ArrayList();
    rowCnt = 0;
    while (rs.next()) {
    rowCnt++;
    list.add(rs.getString(1));
    rs.close();
    cmdList = new String[rowCnt];
    itr = list.iterator();
    icnt = 0;
    while (itr.hasNext()) {
    cmdList[icnt++] = (String)itr.next();
    stmt.close();
    conn.close();
    init = true;
    catch (Throwable t) {
    init = false;
    System.err.println("Initialization failed");
    t.printStackTrace();
    return init;
    private static void testgetCommand() {
    for (int i=0; i<userList.length; i++) {
    String userName = userList;
    try {
    User usr = rm.getUser(userName);
    for (Enumeration e1 = usr.getDevices(); e1.hasMoreElements();) {
    Device dev = (Device)e1.nextElement();
    String devName = dev.getName();
    System.err.println(" Command List of Device: " + devName);
    for (int j=0; j<cmdList.length; j++) {
    Command cmd = dm.getCommand(cmdList[j]);
    String cmdString = cmd.getCommandString();
    System.err.println(" Command String: " + cmdString + " (Command ID: " + cmdList[j] + ")");
    System.err.println("");
    catch (Throwable t) {
    System.err.println(" Test Failed\n");
    t.printStackTrace();
    return;
    System.err.println(" Test Passed\n");
    private static void testgetCommands() {
    for (int i=0; i<userList.length; i++) {
    String userName = userList[i];
    try {
    User usr = rm.getUser(userName);
    for (Enumeration e1 = usr.getDevices(); e1.hasMoreElements();) {
    Device dev = (Device)e1.nextElement();
    String devName = dev.getName();
    Vector cmdList = dm.getCommands();
    System.err.println(" Command List of Device: " + devName);
    for (Enumeration e2 = cmdList.elements(); e2.hasMoreElements();) {
    System.err.println(" Command: " + e2.nextElement());
    System.err.println("");
    catch (Throwable t) {
    System.err.println(" Test Failed\n");
    t.printStackTrace();
    return;
    System.err.println(" Test Passed\n");
    private static void testgetDevice() {
    boolean testPassed = true;
    // for (int i=0; i<userList.length; i++) {
    //String userName = userList[i];
    String userName = "TEST";
    try {
    User usr = rm.getUser(userName);
    for (Enumeration e1 = usr.getDevices(); e1.hasMoreElements();) {
    Device dev1 = (Device)e1.nextElement();
    String devName1 = dev1.getName();
    String userGUID = usr.getGUID();
    String devType1 = dev1.getType();
    System.out.println(userName);
    //System.out.println(userGUID);
    System.out.println(devType1);
    System.out.println("TEST1");
    Device dev2 = dm.getDevice(userName, devType1);
    //Device dev2 = dm.getDevice(userGUID, "WIN32");
    //oracle.lite.resource.Device d=oracle.lite.resource.ResourceManager.getDevice(devId);
    //d.delete();
    dev1.delete();
    System.out.println("TEST2");
    // String devName2 = dev2.getName();
    //System.out.println(devName2);
    // String devType2 = dev2.getType();
    //System.out.println(devType2);
    String devId1 = dev1.getClientId();
    System.out.println(devId1);
    // String devId2 = dev2.getClientId();
    //System.out.println(devId2);
    /* System.err.println(" Device Details of device: " + devName1);
    System.err.println(" Device Type (using User.getDevices().getType()) : " + devType1);
    System.err.println(" Device ID (using User.getDevices().getClientId()) : " + devId1);
    System.err.println(" Device Details of device: " + devName2);
    System.err.println(" Device Type (using DeviceManager.getDevice().getType()) : " + devType2);
    System.err.println(" Device ID (using DeviceManager.getDevice().getClientId()): " + devId2);
    System.err.println(""); */
    System.out.println("TEST3");
    if (!devId1.equals(devId1)) {
    testPassed = false;
    catch (Throwable t) {
    System.err.println(" Test Failed\n");
    t.printStackTrace();
    return;
    if (testPassed) {
    System.err.println(" Test Passed\n");
    else {
    System.err.println(" Test Failed\n");
    private static void testgetDeviceFiles() {
    for (int i=0; i<userList.length; i++) {
    String userName = userList[i];
    try {
    User usr = rm.getUser(userName);
    for (Enumeration e1 = usr.getDevices(); e1.hasMoreElements();) {
    Device dev = (Device)e1.nextElement();
    String devName = dev.getName();
    Vector devfileList = dm.getDeviceFiles(dev);
    System.err.println(" Device Files of device: " + devName);
    for (Enumeration e2 = devfileList.elements(); e2.hasMoreElements();) {
    System.err.println(" Device File: " + e2.nextElement());
    System.err.println("");
    catch (Throwable t) {
    System.err.println(" Test Failed\n");
    t.printStackTrace();
    return;
    System.err.println(" Test Passed\n");
    private static void testgetDeviceUser() {
    boolean testPassed = true;
    for (int i=0; i<userList.length; i++) {
    String userName = userList[i];
    try {
    User usr1 = rm.getUser(userName);
    for (Enumeration e1 = usr1.getDevices(); e1.hasMoreElements();) {
    Device dev = (Device)e1.nextElement();
    String devName = dev.getName();
    SyncLog sl = dm.getSyncLog(dev);
    String devId = sl.getDeviceId();
    User usr2 = dm.getDeviceUser(devId);
    String usrName1 = usr1.getDisplayName();
    String usrName2 = usr2.getDisplayName();
    System.err.println(" Device User Name of device: " + devName + " (using User.getDisplayName()) : " + usrName1);
    System.err.println(" Device User Name of device: " + devName + " (using DeviceManager.getDeviceUser().getDisplayName()): " + usrName2);
    System.err.println("");
    if (!usrName1.equals(usrName2)) {
    testPassed = false;
    catch (Throwable t) {
    System.err.println(" Test Failed\n");
    t.printStackTrace();
    return;
    if (testPassed) {
    System.err.println(" Test Passed\n");
    else {
    System.err.println(" Test Failed\n");

  • J2me/kvm connectivity to PALM Oracle lite 8i/9i??

    I have a requirement to develop an application in Java for PALM OS with Oracle Lite 8i/9i connectivity. I want to know if j2me/kvm supports connectivity to PALM Oracle lite 8i/9i. Please help me to know what all java VM available in the market which have oracle connectivity(jdbc/odbc/whatever) for Oracle Lite for PALM.
    thanks
    dk

    Thanks for the respose. But I want to have local database in Palm Oracle lite. The oracle lite database will be on palm device. My question is, If we can commect to oracle lite on palm using jdbc/etc?
    I am new to J2Me, But what I understand by writing servlets that they will be running on a web server. But I want the program to run on PALM DEVICE(AWT/SWING) with connnnection to local oracle lite.
    regards
    dk

  • How to install Oracle Lite ODBC driver without connecting the mobile server

    My Oracle Lite version is 10g R3.
    I am using branch office version application.
    I wanted to connect oracle client database(.odb file) via Lite DSN in a windows XP machine without installing the client in that device.
    Some of my users wanted to access the client database from backend which requires a DSN entry in that device.Oracle Lite ODBC gets registered in the device only when we do a setup from the mobile server or if Oracle 10g Lite MDK is installed.
    I do not want either of this to be done in my user PC. I wanted a ODBC utility which will register oracle Lite ODBC Driver (Normal & Cleint) in the user PC so that i can manually create and configure the DSN.
    Does anyone have a solution for this?
    Regards,
    Ashok Kumar.G

    Dear Sir,
    Yes, you can find the Driver here
    http://www.oracle.com/technology/software/tech/windows/odbc/index.html

  • A problem regarding set up of Oracle Lite 3.6.0.2.0 on Win 95, with JDK 1.1.8 &java 2

    A problem regarding set up of Oracle Lite 3.6.0.2.0 on Win 95, with JDK 1.1.8 and Java 2 SDK ( Ver 1.3 Beta)
    After the installation of Oracle Lite 3.6.0.2.0 on a laptop (with WIN 95 OS), When I run Oracle Lite Designer from start menu, I receive following error message :
    ====================================
    Invalid class name 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
    usage: java [-options] class
    where options include:
    -help print out this message
    -version print out the build version
    -v -verbose turn on verbose mode
    -debug enable remote JAVA debugging
    -noasyncgc don't allow asynchronous garbage collection
    -verbosegc print a message when garbage collection occurs
    -noclassgc disable class garbage collection
    -ss<number> set the maximum native stack size for any thread
    -oss<number> set the maximum Java stack size for any thread
    -ms<number> set the initial Java heap size
    -mx<number> set the maximum Java heap size
    -classpath <directories separated by semicolons>
    list directories in which to look for classes
    -prof[:<file>] output profiling data to .\java.prof or .\<file>
    -verify verify all classes when read in
    -verifyremote verify classes read in over the network [default]
    -noverify do not verify any class
    -nojit disable JIT compiler
    Please make sure that JDK 1.1.4 (or greater) is installed in your machine and CLASSPATH is set properly. JAVA.EXE must be in the PATH.
    ====================================
    My ORACLE_HOME is c:\program files\ora95_2 and Oracle Lite is installed under the ORACLE_HOME in LITE\DESIGNER directory.
    JDK version is 1.1.8 which is greater than 1.1.4 installed in c:\program files\jdk1.1.8, My PATH, and CLASSPATH are set in AUTOEXEC.BAT as follows:
    set CLASSPATH=c:\Progra~1\jdk1.1.8\lib\classes.zip;c:\progra~1\ora95_2\lite\classes\olite36.jar;c:\progra~1\ora95_2\lite\designer\oldes.jar;c:\progra~1\ora95_2\lite\designer\swingall.j ar
    PATH=C:\Progra~1\Ora95_2\bin;.;c:\Progra~1\jdk1.1.8\lib;c:\Progra~1\jdk1.1.8\bin;C:\Progra~1\Ora95_2\lite\Designer;C:\WIN95;C:\WIN95\COMMAND;C:\UTIL
    And, I can run JAVA.EXE from any directory on command prompt.
    With JAVA 2 SDK (ver 1.3 Beta) instead of JDK 1.1.8 I'm getting a different Error message as follows:
    =============================
    java.lang.NoClassFoundError: 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
    Please make sure that JDK 1.1.4 (or greater) is installed in your machine and CLASSPATH is set properly. JAVA.EXE must be in the PATH.
    ==============================
    the PATH and CLASSPATH were set accordingly, as with JDK1.1.8, and there was no classes.zip in classpath
    also the class file or the jar file looks weird or wrapped in the error message : 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
    Another interesting thing I noticed is if I run oldes.exe from Installation CD, the Oracle Lite Designer runs fine, and without error, I'm able to modify tables in the database of my laptop also.
    Could someone shade some light on what am I doing wrong here ?
    Thanks for help in advance .
    Regards
    Viral
    null

    On 07/20/2015 06:35 AM, Itzhak Hovav wrote:
    > hi
    > [snip]
    > [root@p22 eclipse]# cat eclipse.ini -startup
    > plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
    > --launcher.library
    > plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
    >
    > -showsplash
    > org.eclipse.platform
    > --launcher.XXMaxPermSize
    > 256m
    > --launcher.defaultAction
    > openFile
    > -vmargs
    > -Xms40m
    > -Xmx512m
    > [snip]
    Try this: http://wiki.eclipse.org/Eclipse.ini. You should have read the
    sticky posts at forum's top for getting started help.

  • Oracle Lite and Java 1.3

    Some preliminary testing of Java 1.3 against Oracle Lite 8.1.5 causes an fatal crash that won't allow me to debug through and suspends both the VM and my debugger/IDE for Java.
    Can anyone confirm if it is possible to run Olite and Java 1.3? Same code works great in OLite and Java 1.2.2, and crash doesn't seem to be OS specific (tested under NT and 2000).
    Cheers, DJ

    When you put your code in a try block and print the exception, what does it say:
    String driver = getDriverFromConfigurationFile();
    try
    Class.forName(driver);
    catch(ClassNotFoundException cnfe)
    System.err.println(cnfe);
    Second option is to use DataSource instead.

  • Oracle Scripting 11i - custom java command problem

    Hello
    Can someone pls help me with the following issue I'm having with Oracle Scripting 11i.
    I want to use in my script a custom Java command for a shortcut button. I follow the instructions given in the docs that I found, but seems that I miss something, so pls advice.
    This is what I did:
    1. in my script a defined a shortcut button with a Java command type. The command name is correctly specified as :
    a.b.myclass::mymethod - I'm also passing a Proxy parameter and a string - the name of the group I want to jump to. (this is the exact example I found in Oracle Scripting use and administer course dating from 2000 -:( ).
    2. I packaged my classes in a jar. (What is strange is that I am using the exact code for my method as the ScriptUtil class provided as bestpractice by Oracle)
    3. using Oracle Scripting Administration Console I upload my jar as global.
    4. Deploy my script to the database.
    5. Run the script
    After all that, what I get when I push the shortcut button is .... nothing!!!!
    If I am removing my jar from the database using Oracle Scripting Administration console - I am getting "Unable to load class since no jar was associated with your script"
    If I'm indicating on purpose a Java method name (that does not exist in my class) I'm getting java.lang.RuntimeException.
    So, I really do not know what the problem is, since my code is the same as the ScriptUtil class, and if I'm using the Script Util as my Java Command it works just fine.
    Can someone help me? What am I doing wrong? Did I missed a step?
    Thank you
    Cristina

    Hello
    Can someone pls help me with the following issue I'm having with Oracle Scripting 11i.
    I want to use in my script a custom Java command for a shortcut button. I follow the instructions given in the docs that I found, but seems that I miss something, so pls advice.
    This is what I did:
    1. in my script a defined a shortcut button with a Java command type. The command name is correctly specified as :
    a.b.myclass::mymethod - I'm also passing a Proxy parameter and a string - the name of the group I want to jump to. (this is the exact example I found in Oracle Scripting use and administer course dating from 2000 -:( ).
    2. I packaged my classes in a jar. (What is strange is that I am using the exact code for my method as the ScriptUtil class provided as bestpractice by Oracle)
    3. using Oracle Scripting Administration Console I upload my jar as global.
    4. Deploy my script to the database.
    5. Run the script
    After all that, what I get when I push the shortcut button is .... nothing!!!!
    If I am removing my jar from the database using Oracle Scripting Administration console - I am getting "Unable to load class since no jar was associated with your script"
    If I'm indicating on purpose a Java method name (that does not exist in my class) I'm getting java.lang.RuntimeException.
    So, I really do not know what the problem is, since my code is the same as the ScriptUtil class, and if I'm using the Script Util as my Java Command it works just fine.
    Can someone help me? What am I doing wrong? Did I missed a step?
    Thank you
    Cristina

  • How to connect using netbean 6.5 and oracle lite 10g

    Hello everyone.. I am really really new in this kind of thing. My task is that I need to develop a simple system using netbean and oracle lite 10g..Does anyone can at least give me a little bit tutorial for a head start in order to connect them.. I really appreciate for those who answer this.. Thank you guys...

    you mean to connect from java to oracle lite server or client?
    -if it is server you mean then you probably need to run some oracle apis (e.g. the consolidator aps).
    String url="MOBILEADMIN/123@jdbc:oracle:thin:@MYSERVER:1521:MYDB" ;
    ResourceManager.initialize(url);
    rm = ResourceManager.getInstance();
    User usr = rm.getUser(user);
    for (Enumeration e = usr.getDevices(); e.hasMoreElements();) {
    Device dev = (Device)e.nextElement();
    }//AND you may continue from here in order to send commands to the devices
    -if you have a oracle repository at the back end and you want to connect to that then you can connect like:
    DriverManager.registerDriver ((Driver)Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance ());
    String url="jdbc:oracle:thin:@myserver:port:database;
    c=DriverManager.getConnection( url,"username", "password" );
    s=c.createStatement();
    s.executeQuery("Select TRIM(CODES) AS CODES,TRIM(SURNAME)||'_'||TRIM(FIRSTNAME) AS NAME from MYDB.USERS");
    ResultSet rs =s.getResultSet();
    -now if you want to connect to the oracle lite client database then you may connect using the polite
    you should write something like (i havent tried it because i use handheld clients)
    String ConnectMe=("jdbc:polite:SCOTT/tiger:polite;DataDirectory=c:\Oracle_Home;Database=polite;IsolationLevel=SINGLE;USER;Autocommit=ON;CursorType=DYNAMIC")
    try {
    Connection conn = DriverManager.getConnection(ConnectMe)
    catch (SQLException e)
    (check the internet for jdbc:polite connection strings)
    gl

  • Install on vista with Oracle Lite Multiuser Service -  SERVICE_START_PENDIN

    Hi all,
    I'm trying to install app server 10.1.3 on Vista, but on Configuration assistant screen, it stops at BPEL process manager configuration manager ,
    error in oraInstall.err:
    C:\Users\victoria\AppData\Local\Temp>echo updating ODBC.ini
    updating ODBC.ini
    C:\Users\victoria\AppData\Local\Temp>echo off
    C:\Users\victoria\AppData\Local\Temp>echo updating ODBCINST.ini
    updating ODBCINST.ini
    C:\Users\victoria\AppData\Local\Temp>echo off
    C:\Users\victoria\AppData\Local\Temp>echo updating POLITE.ini
    updating POLITE.ini
    C:\Users\victoria\AppData\Local\Temp>echo off
    C:\Users\victoria\AppData\Local\Temp>exit
    Oracle JAAS [Mon May 18 08:36:05 GMT 2009] admin password is changed successfully
    opmnctl: starting opmn and all managed processes...
    OliteService reports the following status:
    The service is installed.
    OliteService reports the following status:
    The service start pending.
    The current status of Oracle Lite Multiuser Service:
    Current State : SERVICE_START_PENDING
    Acceptable Control Code : (0x0)
    installaction.log:
    BUILD SUCCESSFUL
    Total time: 3 minutes 35 seconds
    C:\product\10.1.3.1\OracleAS_1\bpel\samples>ENDLOCAL
    BUILD SUCCESSFUL
    Total time: 4 minutes 43 seconds
    Exit: 0
    TASK: oracle.tip.install.tasks.UpdateConfigFiles
    Updating configuration files ...
    Exit: 0
    TASK: oracle.tip.install.tasks.RegisterOlite
    Registering Olite ...
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OB_HOME=C:\product\10.1.3.1\OracleAS_1\bpel
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OLITE_LIB=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OLITE_BIN=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set PATH=C:\product\10.1.3.1\OracleAS_1\jdk\bin;C:\product\10.1.3.1\OracleAS_1\ant\bin;C:\oracle\product\10.2.0\db_1\bin;C:\app\product\11.1.0\db_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\product\10.1.3.1\OracleAS_1\MOBILE\sdk\bin;C:\product\10.1.3.1\OracleAS_1\jdk\jre\bin\server
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set CLASSPATH=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olite40.jar;C:\product\10.1.3.1\OracleAS_1\MOBILE\Sdk\bin\OLITE40.JAR;
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /stop
    OliteService reports the following status:
    The service stop is pending.
    OliteService reports the following status:
    The service is stopped.
    The current status of Oracle Lite Multiuser Service:
    Current State : SERVICE_STOPPED
    Acceptable Control Code : (0x0)
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /remove
    OliteService reports the following status:
    The service is removed.
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /install
    OliteService reports the following status:
    The service is installed.
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /start
    OliteService reports the following status:
    The service start pending.
    OliteService reports the following status:
    The service is running...
    port = 1531
    wdir = C:\Windows\system32
    The current status of Oracle Lite Multiuser Service:
    Current State : SERVICE_RUNNING
    Acceptable Control Code : (0x1) SERVICE_ACCEPT_STOP
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>mkdir "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite"
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>del /f "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb"
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>"C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\createdb.exe" orabpel "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb" manager
    Database C:\PRODUCT\10.1.3.1\ORACLEAS_1\BPEL\SYSTEM\DATABASE\OLITE\ORABPEL.odb created (VolID = 1736).
    C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>exit 0
    Could Not Find C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb
    Oracle Lite CREATEDB Version 10.2.0.2.0.
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Exit: 0
    TASK: oracle.tip.install.tasks.DeployApps
    Deploy applications and adapters
    Port value is 6003
    Buildfile: bpminstall.xml
    init-midtier:
    Trying to override old definition of datatype echoproperties
    common_update_server.xml:
    Adding shared library apache.junit ...
    Adding shared library oracle.db.lite ...
    Adding shared library apache.commons 10.1.3 ...
    Adding shared library apache.jdom ...
    Adding shared library apache.slide ...
    Running batch script by:
    java admin_client.jar deployer:oc4j:opmn://victoria-PC:6003/home -script C:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\ant-tasks/bpel_admin_client_script_sl.txt
    Failed at "Could not get DeploymentManager".
    This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
    More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
    update_server.xml:
    restart.container:
    Stopping home container ...
    opmnctl: stopping opmn managed processes...
    ================================================================================
    opmn id=victoria-PC:6200
    no processes or applications matched this request
    Restarting home container ...
    opmnctl: starting opmn managed processes...
    ================================================================================
    opmn id=victoria-PC:6200
    0 of 1 processes started.
    ias-instance id=oapp1013.victoria-PC
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    default_group/home/default_group/
    Error
    --> Process (index=1,uid=503452990,pid=3000)
    failed to start a managed process after the maximum retry limit
    Log:
    C:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~home~default_group~1.log
    init-midtier:
    Setting up the dehydration store [olite]...
    dehydrationStore:
    Configuring data sources for olite dehydration store ...
    Deploying ORABPEL Applications...
    deploy-applications:
    Deploying Oracle BPEL Process Manager ...
    Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
    Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
    Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
    Updating jar: C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib\orabpel.ear
    Running batch script by:
    java admin_client.jar deployer:oc4j:opmn://my-PC:6003/home -script C:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\ant-tasks/bpel_deployapps.txt
    Failed at "Could not get DeploymentManager".
    This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
    More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
    Please advise what's wrong?
    thanks
    andrew

    The following procedure describes the steps required to deploy the DbAdapter.rar file using admin_client.jar:
    1. Copy the following libraries from server.xml in an OC4J_SOA container to a server.xml file for a new
    container:
    oracle.bpel.common
    apache.junit
    oracle.db.lite
    apache.commons
    apache.jdom
    apache.slide
    For example, for oracle.bpel.common, copy the following extract from one server.xml to another and
    do the same for all other libraries:
    <shared-library name="oracle.bpel.common" version="10.1.3">
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/classes"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-common.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-thirdparty.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bpm-infra.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/wdk.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/connector15.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-exts.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-ant.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/ant_1.6.5.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bipres.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bicmn.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/uix2.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/jewt4.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/regexp.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/share.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jdk/lib/tools.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/ldapjclnt10.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/schema"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/config"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/bpm-services.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/wfapi.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/fndctx.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/phaos.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/pushapi.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/oracle_http_client.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/uddiclient_api_v3.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/wasp.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/uddiclient_core.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/saaj.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/jaxm.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/builtin_serialization.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/core_services_client.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/jaxrpc.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/rl.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/rulesdk.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/webdavrc.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/jr_dav.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/webservices/lib/wsif.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/oraesb.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/bpm-ide-common.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5/rdbms/jlib/xdb.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/ide.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/javatools.jar"/>
    <code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/xmleditor.jar"/>
    <import-shared-library name="oracle.dms"/>
    <import-shared-library name="oracle.jdbc"/>
    <import-shared-library name="oracle.xml"/>
    <import-shared-library name="oracle.jwsdl"/>
    <import-shared-library name="soap"/>
    <import-shared-library name="oracle.ws.client"/>
    <import-shared-library name="oracle.toplink"/>
    <import-shared-library name="apache.junit"/>
    <import-shared-library name="oracle.db.lite"/>
    <import-shared-library name="apache.commons.logging"/>
    <import-shared-library name="oracle.cache"/>
    <import-shared-library name="apache.commons"/>
    <import-shared-library name="apache.slide"/>
    <import-shared-library name="apache.jdom"/>
    </shared-library>
    2. Restart the container to make sure that server.xml was updated correctly.
    3. From the configtools.log file find the opmn port number, for example:
    deployer:oc4j:opmn://dimak.au.oracle.com:6012/home
    dimak.au.oracle.com - is the machine name and
    6012 - port number
    4. Launch a new command prompt
    and set path and classpath, for example:
    set PATH=$ORACLE_HOME\jdk\bin;%PATH%
    set classpath=.
    where in the classpath there is only one entry - the dot, which stands for the current directory.
    5. change directory to the following:
    $ORACLE_HOME\j2ee\home
    and run the following command (written all on one line) to deploy the DbAdapter:
    java -jar admin_client.jar deployer:oc4j:opmn://dimak.au.oracle.com:6012/test oc4jadmin
    manager1 -deploy -file $ORACLE_HOME\integration\esb\lib\DBAdapter.rar -deploymentName
    DbAdapter2 -parent default
    where
    * dimak.au.oracle.com should be substituted with your machine name
    * 6012 should be substituted with your port which you found in step 3
    * test is the name of the container you want to deploy the adapter to
    * manager1 should be substituted with your oc4jadmin password
    * $ORACLE_HOME\integration\esb\lib\DBAdapter.rar is the location of the DBAdapter.rar file
    * deploymentName DbAdapter2 - should be different from DbAdapter, as that name is already used in the OC4J_SOA container.

  • JDBC API ( JSR 169 ) Implementation for accessing oracle lite database

    We are developing an application using IBM J9 (CDC and Foundation Profile) on Pocket PC 2003 environment with SWT as the front end development. We are using Oracle Lite 9i as the Client database.
    We have sucessfully installed Oracle Lite and was able to create tables in the database.. however we could not find the JDBC API (java.sql and javax.sql packages which is JSR 169 JDBC 2.0/3.0) inorder to load the JDBC driver(OLITE40.jar) and access the oracle Lite Database on Pocket PC.
    IBM J9 Micro Environement does not have this support.
    I am wondering if Oracle provides this implementation.
    If not is there a get around.
    the client database is crucial to the application and i would really appreciate an answer to our problem.

    Check out
    http://groups.google.com/groups?hl=en&lr=&threadm=cjgl3g%248hhm%241%40news.boulder.ibm.com&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26group%3Dibm.software.websphere.studio.device-developer
    I have had the same issue before.
    Regards,
    Ron

  • Additional query... on Oracle Lite

    Dear All,
    I have a few additional queries on the question I posted before
    ADditional queries :
    ==================
    1) What software does lie on the Windows CE platform and how do we install it, because if we install Oracle lite for handheld devices it installs it on the PC?
    2) How can the replication be done with the Polite.odb on windows CE device in the simplest possible way?
    3) If I want to connect to this polite.odb how can i do that from my PC?
    Previous question :
    ==================
    I am working on a prototype between Oracle Lite and Oralce 8i database. I have managed to install oracle lite on PC and also manage the replication between the Oracle database and Oracle Lite database. I can also connect to the Oracle Lite database (It is a ODB file) through SQL plus. But I am having a few problems :
    1) While connecting to Oracle Lite database I get a message
    "Server not available or version too low for this feature" without any oracle error number. The versions are as follows : Oracle Open Client Adapter for ODBC 6.0.5.3.0
    Oracle Lite ORDBMS 4.0.0.2.0
    Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
    With the Partitioning and Java options
    PL/SQL Release 8.1.5.0.0 - Production
    To connect to Oracle Lite database, your give the userid/password@odbc:<<oracle lite dbname>>
    What can be the possible reasons?
    2) I tried to create a database link between the Oracle Lite database and Oracle database and when I try to fire a select on a table in Oracle Lite database I get an error
    "ORA-06401: NETCMN: invalid driver designator"
    so how dow we create a database link between these 2 databases?
    Thanks in advance
    Please send your mails to [email protected] and/or [email protected]
    Regards
    Sohil
    null

    Hi Aman,
    I was going through Oracle® Database Concepts 11g Release 2, Chapter 12 Logical Storage Structures (link below):
    http://docs.oracle.com/cd/E11882_01/server.112/e25789/logical.htm#i19599
    *Automatic Segment Space Management*
    The ASSM method uses bitmaps to manage space. Bitmaps provide the following advantages:
    •Simplified administration
    ASSM avoids the need to manually determine correct settings for many storage parameters. Only one crucial SQL parameter controls space allocation: PCTFREE. This parameter specifies the percentage of space to be reserved in a block for future updates (see "Percentage of Free Space in Data Blocks").
    •Increased concurrency
    Multiple transactions can search separate lists of free data blocks, thereby reducing contention and waits. For many standard workloads, application performance with ASSM is better than the performance of a well-tuned application that uses MSSM.
    •Dynamic affinity of space to instances in an Oracle Real Application Clusters (Oracle RAC) environment
    ASSM is more efficient and is the default for permanent, locally managed tablespaces.Regards,
    Ankit Rathi

  • Oracle Lite on Windows CE

    It is given in documentation that
    "Java stored procedures and triggers, and the Oracle Lite JAC and JDBC interfaces are currently not supported on Windows CE" is
    there is any other way to accomplish this task. I want to access Oracle Lite database
    and perform advance replication thr java program on Windows CE platform.
    null

    This may be helpful (if you still need it)
    In order to use Oracle Lite with Windows CE, I had to write a dll using the libraries and dll's from oracle that were compiled for Windows CE (depending on your processor type: MIPS, SH3, SH4 are supported) There are also sample applications (with source code) that I used to help write the dll. If you install Oracle Lite on a Win32 system, the source code for the sample applications is under /<oracle dir>/lite/pda40/wince and then look under the appropriate processor type.
    I am still working on getting Replication to work from the CE device. I am focusing on HTTP replication, but if you have any idea of how to replicate at all from CE....

  • Oracle Lite on Cell phones??

    Hi,
    I have a question, the documentation and metalink said that Oracle Lite is only supported for Laptops, tablet PC, Pocket PC and Palms. However, many people is interested in using on cell phones.
    Someone knows if certain devices like Black Berry has the capability of supported it.

    The Datbase Lite client RDBMS is ported to CE, Mobile 5 and Symbian OS 7 and 8. Telephone handsets using these OS environments, Nokia, Sony Ericsson, Motorola, HTC, Samsung and others, can and do use Datbase Lite.
    Blackberry is a Java only enviroment and it is not possible to port the client database since it is written in C/C++ and RIM want allow anything but Java on their devices. We would have to re-write the client database in Java and that development effort is extreme.
    TNX,
    Phil

Maybe you are looking for

  • FIPS-compliant SSL as client in XI 7.0

    Hello experts, I am configuring an RFC destination in SM59 to send data to an external system via HTTPS. The partner requires FIPS 140 compliant cryptography (which means TLSv1 cipher suites) - or else they deny the SSL request.  Everything I have se

  • EMERGANCY! i think i just broke my ipod by changing the settings

    Hi, im a little stuck with something. I bought a laptop and my music is in iTunes on my home computer and alot more is on my laptop. I don't want to have to upload all that music on my new laptop as there is tons and some of it I don't have the CD to

  • USB in Java

    So there is an API for linix, but what about windows? I'm trying to find anything on the use of USB through java. I've got a palm pilot I'm trying to communicate with. I'm finding theories and low level USB info, but java info on USB's whimper

  • Mac dual boot

    I hear that there is a support article on how to dual boot my Mac so one can run Snow Leopard and Lion. Does anyone know where this is? Thanks!

  • Why won't iTunes sync with Iphone 4s after upgrade?

    I recently upgraded to iTunes 10.7.0.21, now my iPhone 4s will not sync via iCloud or my computer.  When I plug the phone in, it starts a sync session like normal but it will not complete the sync.  I get an error message that says "iTunes could not