BUGS in Oracle Lite ADOCE
am doing VB programming on msacess in iPAQ device ,
there is some limitation in sql and one told me those are not exists in orale lite
so i tred it , intallation ok , running msql ok , creating odb ok ,
when it comes to programming with ADOCE it is the disaster ;
i have table ORDER ( OREDERNO NUMBER(9) , ..... )
when i use
set orders = CreateObject(oladoce.recordset)
orders.Open "ORERS", ,1,3
orders.AddNew
orders.Fields("ORDERNO").value = 21
orders.Update
the program exits on line 2 , even ON ERROR can't catch the error
the funny thing it passes for some other numbers e.g.
orders.Fields("ORDERNO").value = 1
orders.update
am i doing something wrong or
there is bugs in oracle ADOCE
here is the table ORDERS def.
Name Null? Type
ORDERNO N NUMBER(5)
ORDERTYPE Y NUMBER(5)
PRINTEDNO Y VARCHAR2(15)
INVOICENO Y VARCHAR2(15)
BRANCHNO Y VARCHAR2(8)
COMPANYNO Y VARCHAR2(8)
SALESMANNO Y VARCHAR2(15)
CSMNO Y VARCHAR2(15)
CUSTOMERNO Y VARCHAR2(15)
SALESECTORNO Y VARCHAR2(4)
ORDERDATE Y DATE
DELIVERYDATE Y DATE
DELIVERYTIME Y VARCHAR2(20)
ORDERSTATUS Y NUMBER(5)
and here is the code
Set Conn = CreateObject("oladoce.activeconnection")
Conn.Connect "retail"
Set Orders = CreateObject("oladoce.recordset")
Orders.Open "ORDERS", , 1, 3
Orders.AddNew
Orders.Fields("AREANO").Value = 17 ' here the program exits
Orders.Update ' it does not even reatch this ine !!!
you told me to try insert into statement
i did the following :
Set Conn = CreateObject("oladoce.activeconnection")
Conn.Connect "retail"
Set Orders = CreateObject("oladoce.recordset")
sqlStmt = "INSERT INTO ORDERS(ORDERNO) VALUES ( 1 ) "
Orders.Open sqlStmt, , 1, 3
Set Orders = Nothing
Conn.Disconnect
and it does not insert the record into the database
THE REALLY FUNNY THING WHEN I RUN
Set Conn = CreateObject("oladoce.activeconnection")
Conn.Connect "retail"
Set Orders = CreateObject("oladoce.recordset")
sqlStmt = "INSERT INTO ORDERS(ORDERNO) VALUES ( 1 ) "
Orders.Open sqlStmt, , 1, 3
Set Orders = Nothing
Set Orders = CreateObject("oladoce.recordset")
sqlStmt = "commit "
Orders.Open sqlStmt, , 1, 3
Set Orders = Nothing
Conn.Disconnect
i got an error message ' TABLE OR VIEW NOT FOUND '
but when i open the table ORDERS i found that the record inserted !!!!!!!
and you tell me OraLite is not BUGGY !!!!!!!!!!!!!!!!!!
Similar Messages
-
Oracle Lite with AdoCE+eVb
Please, I'm getting started with Oracle Lite and I want to know if is possible call a PROCEDURE or PACKAGE using ADOCE...
Anybody can help me ?You probably mean if you can call a Java Stored Procedure from ADOCE application. PL/SQL packages are not supported in Oracle Lite database. The answer is no. For more information see Developers' Guide for WindowsCE, Chapter 4
-
I am connecting to an Oracle lite database on NT Server 4.0 with
JDBC and trying to run an simple insert statement. If I try to
run the same statement again (which should throw an exception
since the pk already exists) I get an application error - not an
exception as expected - I get the same thing when executing a
"delete from.." stmt on an empty table. These same stmts work
fine in Oracle8i.
Also, if I use access with ODBC to view the tables access will
often freeze up on me.
Any Help would be appreciated.
Dylan
nullYou probably mean if you can call a Java Stored Procedure from ADOCE application. PL/SQL packages are not supported in Oracle Lite database. The answer is no. For more information see Developers' Guide for WindowsCE, Chapter 4
-
Olregister with oracle Lite 10.3.0.3.0
Hi,
Is anyone here using olregister.exe in command line on win32 client? This utility is to change the user registred on a client device.
I tried to use the syntax provided in the documentation but the GUI always pop-up.
Here is what they say in Oracle Lite Doc :
Alternatively, you can execute olregister.exe on the command-line. The syntax is as follows:
olregister.exe /deregister=yes
olregister.exe /register=yes /user=<username> /password=<pwd> /server=<URL>Hi,
I will raise a BUg in Oracle. We cannot use the GUI it must be an automatic process..
I will update this thread when I get an answer fro Oracle. -
Oracle Lite 5.0.2 Driver ODBC
Hi!
I'm Trying to install the driver "Oracle Lite 40 ODBC Driver" that come in Oracle Lite 5.0.2, in a PC with Windows 2000 Professional with oracle 9i,without install all the Oracle Lite Package.
The procedure is:
Copy to a folder in the "PATH" of the machine the next files:
olite40.msb
oljdbc40.dll
olobj40.dll
olod2040.dll
olsql40.dll
olad2040.dll
I give the next entry in the registry:
KEY: HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\Oracle Lite 40
ODBC Driver
VALUE: 32Bit = 1
VALUE: APILevel = 0
VALUE: ConnectFunctions = YYN
VALUE: Driver = path to olod2040.dll
VALUE: DriverODBCVer = 02.00
VALUE: SQLLevel = 0
VALUE: Setup = path to olad2040.dll
KEY: HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\ODBC DRIVERS
VALUE: Oracle Lite 40 ODBC Driver = Installed
I make the ini:
[All Databases]
NLS_LANGUAGE = ENGLISH
NLS_LOCALE = ENGLISH
DBCharEncoding = Native
DataDirectory = Directorio para crear la bd
The driver appear in the ODBC Administrator, however in the moment that i try to call the driver, an error appear, and say That the driver is not working properly, because the setup fail and i must reinstall the setup.
Somebody know if i need another dll or other step in my instalation process??You used different APIs I presume.
On WinCE/PPC, you use the ADOCE interface which offers transaction management.
On WinCE, you use Microsoft ADO I and ODBC Data Provider interface. This does not offer the same transactional semantics. -
Access Oracle Lite database on CE
Hi Eric,
Thank you for your help, but I have already tried using SLQplus
and Oracle Lite Navigator, and it works !
I have no problem accessing the POLite demo database (on my
windows CE) from my desktop. But the demo program REPSVR shipped
with Oracle Lite on CE doesn't work at all...
I've tried the 3 solutions : Disk File, HTTP, and OMA replication
but the only problem is that the program cannot access to the
database !
I'm sure that :
_HTTP, OMA and Disk File Replication work because I've tested it
fom a remote location on my network.
_the connection to the database server (an Oracle 8.0.5) works.
_The ODBC.INI is also well configured (by default with the DSN
POLite and the DSN CE pointing to the database POLite).
So the only reason possible is the connection to the local
database.
I was also unable to use the ODBINFO to test POLite...
I've carefully studied the doc, but no other procedure to test
the database is described...
It's very frustrating because I'm just one step before
succesfully validate Oracle Lite for Windows CE for my company !
If you have other ideas (other than going right into the code of
the REPSRV demo !!!), I woul greatly appreciated...
Thanks.
Hi Olivier,
There are a few things you can try. Connecting using ODBC is probably
the easiest way. You can either use sqlplus or the Oracle Lite Navigator
tool that comes with 8i Lite. Use a connect string of:
ODBC:CE
If you have more problems, you can try posting them on the Oracle 8i Lite
discussion group, located at
http://technet.oracle.com
Hope this helps,
Eric
Olivier Davant wrote:
I am not able to access my demonstration database (of Oracle
Lite) on
Windows CE.
Can anyone tell me a procedure to check where is the bug ?
Like : 1) check that all files are present
2) use an ODBC test...
Thank you.nullIf you are using OLite, you should use the OLite .NET provider:
http://download-west.oracle.com/docs/cd/B14156_01/doc/B13788/html/toc.htm
Look at Chapter 6 and 11, which cover ADO.NET data access. -
Oracle Lite + Resin + jdk1.2.2 or jdk 1.3.1 problem
Hi!
Can some one help me this the following:
I used Oracle Lite database, Resin app server and jdk1.2.2
When I try to connect my database through simple java-application, all goes fine! But, when I trying to get database communication from my application server and problem arise. First of all dll's such as
OLJDBC40.DLL, OLAD2040.DLL, OLOBJ40.DLL, OLOD2040.DLL OLSQL40.DLL are in the Path and JVM loads them at runtime. I got connection to DB. Than I try to get some DatabaseMetaData info and got EXCEPTION_ACCESS_VIOLATION (for jdk1.3) and "java.exe has generated error (for jdk1.2.2)" errors from VM.
So, any idea?
Any help apriciated...
RGS,
parasolkoHi,
I have got the similar problem when I used MS SQL server + Tomcat + JDK1.3.0 via JdbcOdbc driver. In that configuration the JVM crashs very often. It seems that JdbcOdbc's got unstable problem. Then, I tried other type 4 JDBC driver, it works fine and JVM won't crash. Try Sprinta 2000 JDBC driver, it's a type 4 driver and fast stable.
Ma -
Oracle Lite and Oracle 8i Client on Win98
I've had Olite v8i running on my Win98 machine for a while now. I just installed Oracle 8i Client on my machine. Now, my JDBC driver for Oracle Lite does NOT work. What could have happened here??
Thanks.
-Jeremy
nullHI Jeremy,
I think, Your PATH was cranked up.
The JDBC driver for OLite normally does not use any OCI DLLs, so that should not be the problem. As I said, the OLite dlls may be missing now from the PATH.
Any error messages? "Does not work" is a bit... fuzzy. -
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
nullOn 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. -
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 -
Error while trying access JSP page first time using Oracle Lite
Hi,
We are doing a proof of concept using Oracle Lite 10gR3. Installed Mobile server and published a JSP based application. Installed web-to-go setup.exe on a client machine and synchronized the application. However when we tried to open the page, it comes up with an error. We are using jdk version 1.4. Any advise will be highly appreciated. Thanks.
Error message:
Requested URL:/webtogo/18Mar1/MyIndex.jsp
Exception: oracle.classloader.util.AnnotatedClassFormatError:_MyIndex (Unsupported major.minor version 49.)
Invalid Class: _MyIndex
Loader:mobileclient.web.18Mar1.jsp22486527:0.0.0
Code-Source: /C:/MyInstallation/mobile_client_oc4j/j2ee/mobileclient/application-deployments/mobileclient/18Mar1/persistence/_pages/
Configuration: *.jsp in C:\MyInstallation\mobile_client_oc4j\j2ee\mobileclient\application-deployments\mobileclient\18Mar1\persistence\_pages
Dependent Class: oracle.jsp.runtimev2.JspPageInfo
Loader: oc4j:10.1.3
Code-Source: /C:/MyInstallation/mobile_client_oc4j/j2ee/mobileclient/lib/ojsp.jar
Configuration: <code-source> in META-INF/boot.xml in C:\MyInstallation\mobile_client_oc4j\j2ee\mobileclient\oc4j.jar
This class was compiled for a newer version of the JRE. Expected version 48.0, found 49.0(Since this is the general forum for the 'big' database, my advice would be to ask in the Oracle Lite forum. Database Mobile Server (inc. legacy Database Lite)
If this is a formal evaluation, you could also get a Sales-sponsored trial which usually comes with 30-90 days of Metalink support. You would be able to search for notes like Doc 414106.1
Bottom line is that the code is for JDK 1.5 and it's being deployed against JDK 1.4.2. Something needs to be either upgraded or downgraded. -
Unable to install Oracle Lite 10g on Windows 7 64-bit
I've tried installing Oracle Lite 10g on my Windows 7 64-bit computer but I get a message saying "JDK is not installed on machine". I even have Java installed on my computer too.
Any ideas what could be causing the issue?
Thanks
GarethOracle lite 10g is not supported on Windows 7. The core issue is you are running on an unsupported platform.
You have may have to go in the docs and figure out what JDKs were supported, i think 1.4 and 1.5. and try
installing one of those and maybe you can get uninstall to work. This is just a guess though.
thanks
mike -
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. -
Converting between tables in an Oracle Lite Database
We have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures.
Both the structures reside in the same database.
Initial thoughts were to write triggers on both structures that convert the data or to use XML / XSL and treat them as seperate apps.
However, I'm wondering if there is a different way. Do Oracle provide any tools that can help with mapping between 2 different structures that hold the same domain data?
Anyone got any better ideas?
Cheers, MattWe have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures.
Both the structures reside in the same database.
Initial thoughts were to write triggers on both structures that convert the data or to use XML / XSL and treat them as seperate apps.
However, I'm wondering if there is a different way. Do Oracle provide any tools that can help with mapping between 2 different structures that hold the same domain data?
Anyone got any better ideas?
Cheers, Matt -
Oracle Lite 10.3.0: how to find out the consumed size of a BLOB column
Hi,
we are developing an app that utilizes an Oracle Lite database and so far I have just been unable to find a reasonable way to determine the size of stored binary data.
All the "usual" ways we aware of from "main" Oracle just don't seem to work with OLIte (ie SELECT dbms_lob.getlength(file_data) from APPS.CSL_LOBS) so how does one find out the size of blob objects?
Thanks in advanceAssuming BLOBs are not stored in-line:
SQL> desc pm.print_media
Name Null? Type
PRODUCT_ID NOT NULL NUMBER(6)
AD_ID NOT NULL NUMBER(6)
AD_COMPOSITE BLOB
AD_SOURCETEXT CLOB
AD_FINALTEXT CLOB
AD_FLTEXTN NCLOB
AD_TEXTDOCS_NTAB PM.TEXTDOC_TAB
AD_PHOTO BLOB
AD_GRAPHIC BINARY FILE LOB
AD_HEADER PM.ADHEADER_TYP
SQL> select segment_name,
2 index_name
3 from dba_lobs
4 where owner = 'PM'
5 and table_name = 'PRINT_MEDIA'
6 and column_name = 'AD_COMPOSITE'
7 /
SEGMENT_NAME INDEX_NAME
SYS_LOB0000051988C00003$$ SYS_IL0000051988C00003$$
SQL> select sum(bytes)
2 from dba_segments
3 where owner = 'PM'
4 and segment_name in (
5 'SYS_LOB0000051988C00003$$',
6 'SYS_IL0000051988C00003$$'
7 )
8 /
SUM(BYTES)
262144
SQL> SY.
Maybe you are looking for
-
How can I transfer all my music even music not downloaded from iTunes to my computer
How can I transfer all my music even music not downloaded from iTunes to my computer from my iPhone
-
I uninstalled MUSE CC while doing a clean up of my PC. Now it wont re install. It keeps coming up with an error, 202 I think. How can I re install it. I need it urgently. I hit download and then when it goes to Application Installer it says that ther
-
I am unable to find the "apps" selection under device in itunes (windows) now and thus no longer have access to file sharing . I do have an app on my ipod touch 5 that requires file sharing to copy files from/to. That app is "my disk". I presume that
-
Type mismatch on CRVS2010 appl. after install Crystal Reports 2011
Hi, I've a Windows application built in VS2010 with Crystal Reports for VS2010 that exports a report to a PDF, Excel or Word file. The application runs fine, but after the installation of Crystal Reports 2011 I got the "Type mismatch" error when the
-
Open Word Doc and No Images Come Up
I am using Appleworks 6.2.9 with a G4 Tower running Panther. When I open up a MS Word document that has images in it with Appleworks only the text comes up. The images are not shown in the document. Any solutions to this other than investing in MS Of