Oracle lite examples on symbian phone
As i have some guide from Oracle,I want Oracle lite examples on symbian phone.Presently i am using as IDE -Carbide c++ and SDK 3rd MR edition
But As oracle supports VC++ Or VC.net .I require some examples code , from which i can understand.
Regards
Chirag
please somebody reply?
Similar Messages
-
Oracle Lite Example Application
I got my mobile server working and I have also installed client on PPC device. Now how can I use the example application that come with Oracle lite on the PPC device so I can play with syncing data?
On the mobile device try using the username JUNIUS/JUNIUS in msync. Once it's done syncing the update application should startup and let you install the transport demo application.
-
What are the mobile phone models supported by "Oracle Lite 10gr3 for Symbian"?
Is Nokia 6600 supported?
Thanks in Anticipation....There's instructions in the documentation. See section 4.3.5.
I have not been in touch with this Lite variant, so I can't provide much guidance here. But when I get my hands on one of those smart phones, I think I will try it out. :) -
Help: Oracle lite 10.3.0.1.0 and symbian 9 s60
Greetings,
I installed the oracle litle server, I have a client installed windows 32, and synchronizes works, the problem is when I want to install a client for symbian,
first how to enable the client for Oracle Lite Symbian OS v7 and OS v7/UIQ2.1 in mobile server, to make install from the client gives me an internal error (http://serverlite:8080/webtogo/admin/console/setup/),
download the patch from the metalink and downloads from oracle downloads area (the same, Oracle Database Lite 10g Release 2 (10.2.0.1.8) Mobile Client for Symbian 9 ), I installed olite_core.sis Successfully
and there is where I do not run in phone nokiea E61, and install msync other utilities on the phone nokia E61, but is not doing as synchronization
the question is:
-exist patch for oracle lite 10.3.0.1.0 and symbian 9 s60
-how to enable client for symbian 9 s60 in oracle lite server 10.3.0.1.0
-how to sync from client nokia E61i, with msync and others tool in the oracle lite server
-where install olite_epoc.zip (in the phone or the IDE developer and SDK nokia)
my plattform:
server: Windows XP and Oracle lite 10.3.0.1.0 Server
Client1: windows xp client windows 32
Clientn: Phone Nokia E61i with symbian 9 s60
Roy Ayala Galvis
java developer - mobile developerHi Roy,
For symbian 9 you have downloaded the correct binaries,there is no other patch for symbian.You should be able to sync symbian client database with 10.3.0.1 server.
Make sure that server is in the public network otherwise GPRS based synchronize does not work.
Use the example application user as s11u1 to get the syn examples working with mobile server.
Synchronization from E61i will also work , but dialogues messages in the UI will not displayed properly
Olite_epoc.zip should be installed in IDE/SDK, not in the phone .
Please read the documents for symbian in the meta-link.
If you have any question or doubts, please contact us (oracle lite team)
Arjun kumar
email id - [email protected] -
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 -
Hi, is it possible to run olite 10g on a symbian phone?
And what are the steps to install it?
Regards ingo
Message was edited by:
ingo.olbrichOracle Database Lite 10g Release 2 will support Symbian OS, enabling interoperability of data-enabled phones with mobile networks, enterprise applications and services
http://www.oracle.com/corporate/press/2005_sep/092705_oracle_symbian_finalsite.html -
Help on UI development for Oracle Lite
Can anyone suggest me a suitable environment that i can use to develop a UI to access Oracle lite database. J2ME does not have odbc support because of which i am not able to build the UI. Hence kindly help me in this regard. REQUIRED ASAP...
You have to use carbide c++ with csql ..Download symbian sql guide . Follow the step .Edit mmp file create csql ->msync ->deploy on device .
Then install Oracle mobile server on public ip machine .Make it accessble. It is backend. You can use UI of nokia as front end.But nowhere examples isnot avaible .If you find some where let me know
Chirag -
How to create a table in Oracle Lite database?
Hi,
I have installed SOA 10.1.3 on my laptop. Now I am trying to create a table in the database to do some own examples. I have problem in installing oracle database. So I am trying to create a table in Oracle Lite database which comes with SOA suite. I am not able to do it, can some body suggest me please?
Regards
KhaleelHI James,
Thank you so much. I am able to create table and insert rows and able to select them too. However I am not able to use these tables in my BPEL process for my practice. The DB adapter is throwing some error, any idea?
--khaleel -
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
andrewThe 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. -
Password Probs - Oracle 8 Navigator & Oracle Lite Designer
I have read the thread entitled "Oracle Lite Designer -
password?", but none of the suggestions have worked.
Whether I try to run Oracle 8 Navigator or Oracle Lite Design,
at some point I get an alert box that prompts "Please provide
a database password?"
I have looked through numerous sources and find nothing on
this. Everything I try (that seems logical) for a password
fails.
Can anyone shed any light on this?
I have the following installed:
Windows 98
Oracle 8i Lite v4.0.0.1.0
Java 2 SDK, Standard Edition v1.2.2 for Windows 98/95/NT
Java HotSpot Performance Engine v1.0.1 for Window 98/95/NT
My PATH and CLASSPATH are set as follows in AUTOEXEC.BAT:
set CLASSPATH=C:\orawin95\LITE\CLASSES\OLITE40.JAR
PATH C:\jdk1.2.2\bin;C:\jdk1.2.2\jre\bin\hotspot;
C:\orawin95\bin;%PATH%
nullAndrew (guest) wrote:
: When I startup the Oracle Lite Designer app, it prompts me for
a
: password. It doesn't accept any valid user password or
encrypted
: password I supply. It works this way for both the default
polite
: database and any new one I try to create. Anybody run into
this
: issue or have a solution?
: Also what an example of the syntax for a jdbc connection in
Lite
: Designer? When I enter something in that is obviously wrong it
: doesn't give me any indication of what happened.
: -Andrew
Hello,
I ran into that problem, too. My solution was to uninstall all
Sun Java parts (JDK and JRE) and reinstall JDK1.2.2
("jdk1_2_2-win.exe")from scratch. My CLASSPATH includes only the
standard classes you can find after a normal OLite4-Installation
(see OLite4 installation notes or send my an email). And check
your environment variables for references to old Java parts.
Now Lite Designer runs with POLITE.odb and my own databases and
yes - it is slow, but it is Java, so this should explain
everything.
What I do not know is where that password dialog came from.
Sometimes it reappears, but not in my own databases.
I hope that this will help you.
Bye
Martin Hanff.
null -
I looks to me like Oracle Lite doesn't support the UTF8 character set for storing data. Is this correct?
I have an Oracle 8.1.7 database using UTF8 to store English, Thai, Chinese and Philippino data, and I want to synchronise that with Oracle Lite on Windows 2000 clients. The sync seems to work ok, but any non-english characters are lost in a characterset conversion (display as "?").
Regards
SteveI'm a bit confused by your reply. Can Oracle Lite store data in a unicode characterset such as UTF8? It looks to me like the "UTF-8 support" is limited to the drivers, so that it can load and extract utf-8 data, but not store it. From section 2.2.1 of the release notes:
"Oracle Lite Database is NOT a NLS component. In order to reduce the kernel size, it is built for each language which supports native character sets for Windows. Which means, each language has each kernel. Here are the character sets supported by this release:
- Chinese: MS936 CodePage (Simplified Chinese GBK, ZHS)
- Taiwanese: MS950 CodePage (Traditional Chinese BIG5, ZHT)
- Japanese: MS932 CodePage (Japanese Shift-JIS, JA)
- Korean: MS949 CodePage (Korean, Ko)
The database kernel for each language in this list only supports its corresponding character set. Other multibyte character sets are not supported."
Also the documentation on the DBCharEncoding parameter you mention suggests that it only affects the UTF translation for java programs. Section A.2.3:
"... Specifies the UTF translation performed by Oracle Lite. If set to NATIVE, no UTF translation is performed. If set to UTF8, UTF translation is performed. If this parameter is not specified, the default is UTF8. This applies to Java programs only."
I've tried playing with these parameters, as well as changing the NLS_LANG parameter on the client, and for the mobile server, for the Oracle Lite home, all to no avail. I'm still losing the non-english data during synchronisation and it does look like it's being lost in a character set conversion rather than just being garbled, as each Thai characters is being replaced by the correct number of "?"s. As an example the Thai string "บริษัท บราเดอร์ คอมเมอร์เชี่ยล (ประเทศไทย) จำกัด" on the 8.1.7 database sever appears as "?????? ???????? ?????????????? (?????????) ?????" on the oracle lite database.
Am I missing something here? If I can get this data syncronising correctly then Oracle Lite looks like it will support all our requirments so any assistance would be greatly appreciated. (Should I post this to the globilization forum or does that focus only on Oracle's enterprise editions?)
BTW, thanks for the info on the sorting. Obviously the characterset issue is more a fundamental problem at this stage, but if we can fix this then it's good to know about the sorting abilities. -
Running a BC4J JSP application for Oracle Lite on OC4J
Hi,
My BC4J JSP application is working with Oracle and Oracle Lite on Apache (Oracle 8i Personal Edition) and on Tomcat 3.2. The same BC4J's could be used from the BC4J Tester as well.
But if I run the application on OC4J (standalone and embedded in JDeveloper 9i RC1 and RC2) using Oracle Lite, a Fatal Internal Error (or with JDK1.2 a NullPointerException) occurs.
I think I found the reason:
1. the Java Trigger in Oracle Lite and
2. the Timestamp used in Oracle Lite instead of Date.
My problem is, that I can't find any information about configuration of OC4J so that it could work with Oracle Lite as well as Apache and Tomcat.
ClaudiaThe tell tale sign that the application is communicating with the running cache server is the membership information that is logged. In your previous running of the example you would have "members=1" embedded in the logging. From the sounds of what you are doing, you'd expect this to be different as the application would be joining a running instance. Check out section 1.3 of this doc on the system you are using.
http://download.oracle.com/docs/cd/E15357_01/coh.360/e15831/installcoh.htm#BABIHHFJ
Cheers,
Jay -
On JDBC statement, there is the method 'cancel' to instruct the database to cancel an executing statement. This works fine on Oracle server database, but not on Oracle lite database. The method call 'cancel' just blocks and the running statement is never interrupted.
The example I tried is very simple. There is a thread started which executes a long running statement. I noticed, that when moving the cursor forward by calling rs.next(), it just blocks. That would be ok, if the statement could be canceled from within the main thread by stmt.cancel. But this call blocks as well with no implact on the running statement. Why is that? Do I miss something or is it not possible to cancel a long running statements in Oracle Lite?
In the following my code snipped:
public class CancelStatement {
private static final String PATH_DB = "XX";
private static final String PATH_LIB = "XX";
private static final String CON_STRING = "jdbc:polite:whatever;DataDirectory=" + PATH_DB + ";Database=XX;IsolationLevel=Read Committed;Autocommit=Off;CursorType=Forward Only";
private static final String USER = "XX";
private static final String PASSWORD = "XX";
public static void main(String args[]) throws Exception {
System.setProperty("java.library.path", PATH_LIB);
Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
Connection con = DriverManager.getConnection(CON_STRING, USER, PASSWORD);
Statement stmt = con.createStatement();
Thread thread = new Thread(new LongStatementRunnable(con, stmt));
thread.start();
Thread.sleep(3000);
// stop long running statement
System.out.println("cancel long running statement");
stmt.cancel(); // XXX does not work, as call is blocked until out of memory
System.out.println("statement canceled");
private static class LongStatementRunnable implements Runnable {
private Connection con;
private Statement stmt;
public LongStatementRunnable(Connection con, Statement stmt) {
this.con = con;
this.stmt = stmt;
@Override
public void run() {
try {
System.out.println("start long running statement...");
// execute long running statement
ResultSet rs = stmt.executeQuery("SELECT * FROM PERSON P1, PERSON P2");
while (rs.next()) { // here the execution gets blocked
System.out.println("row"); // is never entered
rs.close();
stmt.close();
con.close();
System.out.println("long running statement finished...");
} catch (Exception e) {
e.printStackTrace();
}I would be very glad if you could help me.
Thanks a lot
Daniel
Edited by: 861793 on 26.05.2011 14:29Unfortunately Oracle Lite doesn't have this option. You can call your statement from a second thread as you have done, but you won't be able to kill or cancel this operation. The only way to get fix this is by rebooting. You can use process explorer to find the dll process that is executing the SQL, but the tables will be locked and sync would be locked as well until the process is finished running in shared memory.
-
Importing an oracle 8i database from Enterprise Version intot Oracle Lite
How do i get to import an Oracle 8i Enterprise Server database into an Oracle 8i lite server.
nullI have never done this..but it ought to be simple....
If you are only cocvern about the logical schema and the data in it..then I would simply export the database using export utility.
let say if user snawaz who owns the schema on you enterprise server ..then just make sure you have a user snawaz on the lite oracle..
also make sure user snawaz on both have enough priviledges to the database..
then simply do an export:
example:
from enterprise database:
exp snawaz/snawaz@sidname owner=snawaz
this will export all the schema owned by snawaz, then take the export file to oracle lite...
then do import
imp snawaz/snawaz@sidname
when it prompts for entire dmp file just say no and only import user and specify the user snawaz...
it should work fine..
If you need more comprehensive doc.let me kow
Good Luck
Shah -
How to access an Oracle Lite 10.2 from native VC++ 2005 mobile app
Hi,
I'm developing a MS VC++ 2005 mobile app than will run on Mobile 5 ARM devices. This app needs to connect to an Oracle Lite 10.2 Lite database that is currently installed on those devices.
I know that the MFC and ATL libraries are not "fully" supported on the mobile platform I need, so I need a way to connect to the Lite database, as those libraries don't provide that kind of functionality.
I've been looking around for ways to connect to a Lite Database using VC++ 2005 native, but nothing seems to work!
I've tried SODA but I simply couldn't connect to the database. After that, I've tried OLEDB, as I folowed articles on adapting MFC oledb.h to the mobile platform. Useless, because the articles focused only SQL Server CE.
Anyone can give me a clue how to access the lite database from VC++ 2005?
Isn't there any library like the Oracle.DataAccess.Lite_wce.dll for the CF.NET I can use?
Thanks in advance.
-- Manuel CostaMarc,
Where can I find those libraries? Are they available to download in the Oracle site?
The SODA Api has very few documentation, only an Oracle HTML document.
Do you know any links with useful tips and examples I can use?
By the way, the Soda API I tried implemented the try-catch exception handling using a special lib (not the try-catch available in the standard VC++ 2005). Has this been changed in the more recent versions you pointed out?
Thanks in advance.
-- Manuel
Maybe you are looking for
-
Spinning beach ball, OS 10.8.5 Etracheck report
Below is my EtaCheck report. Hoping to resolve the spinning beach ball issue. Any help is appreciated. Problem description: Spinning beach ball. This makes it difficult to work productively. EtreCheck version: 2.1.8 (121) Report generated March 28, 2
-
Constructing Jtree with data from Database
Hi I am new to JTree and I need some help. My problem goes like this. I have a table in the data base which has data like Folder_Nr, Folder_Name, Folder_Prev_Nr, Folder_Typ_Nr, Folder_Access. If the Folder_Nr is 1 and folder_prev_nr =0, then it is a
-
Change default namespace info?
Greetings, Just purchased DW CS3 and I'm wondering if there's a way or a place to make permanent "preferences" changes to the way DW assigns the namespace when you create a new XHTML document? I've found how to change the doctype and the encoding pre
-
VWLC WLAN creation profile issue
Hi, I`m implementing a virtual wireless LAN controller and I`m getting problem to create WLAN profile. Follow the logs: *spamReceiveTask: Jan 22 11:42:50.510: #LWAPP-3-WLAN_ERR2: spam_lrad.c:52448 The system is unable to find WLAN 1 to be deleted; AP
-
Airport express vista:help with joining a protected or unprotected network
hello, i've been trying to set up a network between my computer and the airport express, with no luck, it works if i don't tell it to join my networks, but then i don't have internet access, and when i'm connected to the internet, i can't get both of