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");
Similar Messages
-
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 -
Oracle Database Lite API Specification JDBC
Hello.
I would like to create a schema with Oracle Database Lite API Specification.
I have done a script to create an application in the Mobile Server in this way:
"Platform p = new Platform("WINCE_ARMV4_US_OLITE_STD42");"
"Application app = new Application(nombre_app, ruta_virtual_app, p);"
And using ConsolidatorManager for the conection:
"ConsolidatorManager cm = new ConsolidatorManager();"
"cm.openConnection(user, password, dir_repository);"
But after that, I can't get the application. Could you help me, please?
Thank you.
With best regards.Is this subscription parameter causing a problem?
unless the subscription parameter name is referenced in the select statements for any of the publication item definitions, it will be ignored by the processing as the subsetting parameters are just used to supply values for bind variables at query time
If you have other valid subsetting parameters for the user, then try (if all your set up is done via APIs and you do not have an APPLICATION, only a PUBLICATION, this may not work)
1) go into the mobile manager > users
2) search for user name, and click on the link under the user name
3) go to subsetting parameters and pick a valid one
4) select the data and do cntrl C cntrl V (cut and paste)
5) press the save button
The above has the effect of resetting the user account, and refreshes sequence values, c$all_client_items etc.
If you can do the above steps, but this does not remove the subsetting variable, you should be able to go to it and set the value to NULL
I do not think that there is a delete function due to the dependancy to the select statements which would be complex to validate -
Oracle Lite Loading Utility API
Hello,
I'm trying to make use of the "Oracle Lite Loading Utility API" with C ++.
When i try to link the program i receive this error:
"Unresolved external '__stdcall olDisconnect(int *)'"
in the documentation of this api it's said:
"E.2.8 Linking
Linking use the file olloader40.dll and the library file olloader40.lib. Include these files in your project settings. "
i have the file olloader40.lib in my project settings, but i can't find the dll
olloader40.dll in the installation directories.
?what can i do?
ThanksHello,
I'm trying to make use of the "Oracle Lite Loading Utility API" with C ++.
When i try to link the program i receive this error:
"Unresolved external '__stdcall olDisconnect(int *)'"
in the documentation of this api it's said:
"E.2.8 Linking
Linking use the file olloader40.dll and the library file olloader40.lib. Include these files in your project settings. "
i have the file olloader40.lib in my project settings, but i can't find the dll
olloader40.dll in the installation directories.
?what can i do?
Thanks -
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
Simonis 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. -
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 -
Cannot start Virtual Machine - OVMAPI_4010E Attempt to send command: dispat
1. Instaleed Virtualbox on Windows 7
2. Installed OracleVM-Manager-3.1.1-build365.ova and OracleVM-Server-3.1.1-build365.ova
3. Completed repository and server pool. They are all runing fine.
4. Crated a Virtual Machine for Linux and tried to start the Virtual Machine and got the following error.
Any comments or help would be appreciated.
Thank you...
ob Construction Phase
begin()
Appended operation 'Virtual Machine Start' to object '0004fb00000600009526838f3d4be255 (first vm)'.
Appended operation 'Bridge Configure Operation' to object '0004fb0000200000b137e9cddcdd09b8 (network.BondPort (1) in myserver1.example.com)'.
commit()
Completed Step: COMMIT
Objects and Operations
Object (IN_USE): [VmDiskMapping] 0004fb00001300008e359279b91c2804
Object (IN_USE): [Vnic] 0004fb0000070000cca7bba64be932d0 (00:21:f6:00:00:09)
Object (IN_USE): [VirtualMachine] 0004fb00000600009526838f3d4be255 (first vm)
Operation: Virtual Machine Start
Object (IN_USE): [BondPort] 0004fb0000200000b137e9cddcdd09b8 (network.BondPort (1) in myserver1.example.com)
Operation: Bridge Configure Operation
Object (IN_USE): [VmDiskMapping] 0004fb0000130000d15838ce48a895f1
Object (IN_USE): [VirtualCdrom] EMPTY_CDROM
Object (IN_USE): [VirtualDisk] 0004fb0000120000efbd814b4b7c0e8d.img
Job Running Phase at 14:57 on Sun, Jul 29, 2012
Job Participants: [c7:c1:6e:69:b9:a7:41:d6:8d:8e:bc:d5:fd:c3:c4:7d (myserver1.example.com)]
Actioner
Starting operation 'Virtual Machine Start' on object '0004fb00000600009526838f3d4be255 (first vm)'
Completed operation 'Virtual Machine Start' completed with direction ==> LATER
Starting operation 'Bridge Configure Operation' on object '0004fb0000200000b137e9cddcdd09b8 (network.BondPort (1) in myserver1.example.com)'
Bridge [192.168.1.0] already exists (and should exist) on interface [bond0] on server [myserver1.example.com]; skipping bridge creation
Completed operation 'Bridge Configure Operation' completed with direction ==> DONE
Starting operation 'Virtual Machine Start' on object '0004fb00000600009526838f3d4be255 (first vm)'
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: myserver1.example.com failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/2 start_vm 0004fb00000300003907f6fd90ef0e08 0004fb00000600009526838f3d4be255, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?
stdout: Using config file "/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg".
Sun Jul 29 14:57:14 PDT 2012
Sun Jul 29 14:57:14 PDT 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:507)
at com.oracle.ovm.mgr.action.ActionEngine.sendDispatchedServerCommand(ActionEngine.java:444)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:378)
at com.oracle.ovm.mgr.action.VirtualMachineAction.sendStartVmCommand(VirtualMachineAction.java:121)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.asyncAction(VirtualMachineStart.java:65)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAsyncAction(ManagedObjectDbImpl.java:1002)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:826)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineProxy.executeCurrentJobOperationAsyncAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:596)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.action(VirtualMachineStart.java:52)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1012)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:826)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/2 start_vm 0004fb00000300003907f6fd90ef0e08 0004fb00000600009526838f3d4be255, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?
stdout: Using config file "/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg".
Sun Jul 29 14:57:14 PDT 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:798)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:503)
... 41 more
FailedOperationCleanup
Starting failed operation 'Virtual Machine Start' cleanup on object 'first vm'
Complete rollback operation 'Virtual Machine Start' completed with direction=first vm
Rollbacker
Executing rollback operation 'Virtual Machine Start' on object '0004fb00000600009526838f3d4be255 (first vm)'
Complete rollback operation 'Virtual Machine Start' completed with direction=DONE
Executing rollback operation 'Bridge Configure Operation' on object '0004fb0000200000b137e9cddcdd09b8 (network.BondPort (1) in myserver1.example.com)'
Complete rollback operation 'Bridge Configure Operation' completed with direction=DONE
Objects To Be Rolled Back
Object (IN_USE): [VmDiskMapping] 0004fb00001300008e359279b91c2804
Object (IN_USE): [Vnic] 0004fb0000070000cca7bba64be932d0 (00:21:f6:00:00:09)
Object (IN_USE): [VirtualMachine] 0004fb00000600009526838f3d4be255 (first vm)
Object (IN_USE): [BondPort] 0004fb0000200000b137e9cddcdd09b8 (network.BondPort (1) in myserver1.example.com)
Object (IN_USE): [VmDiskMapping] 0004fb0000130000d15838ce48a895f1
Object (IN_USE): [VirtualCdrom] EMPTY_CDROM
Object (IN_USE): [VirtualDisk] 0004fb0000120000efbd814b4b7c0e8d.img
Write Methods Invoked
Class=InternalJobDbImpl vessel_id=1342 method=addTransactionIdentifier accessLevel=6
Class=VirtualMachineDbImpl vessel_id=1085 method=start accessLevel=6
Class=VnicDbImpl vessel_id=958 method=lock accessLevel=6
Class=VirtualCdromDbImpl vessel_id=209 method=lock accessLevel=6
Class=VirtualDiskDbImpl vessel_id=1107 method=lock accessLevel=6
Class=VnicDbImpl vessel_id=958 method=lock accessLevel=6
Class=VmDiskMappingDbImpl vessel_id=1116 method=lock accessLevel=6
Class=VmDiskMappingDbImpl vessel_id=1122 method=lock accessLevel=6
Class=VirtualCdromDbImpl vessel_id=209 method=lock accessLevel=6
Class=VirtualDiskDbImpl vessel_id=1107 method=lock accessLevel=6
Class=VirtualMachineStartingEventDbImpl vessel_id=1351 method=notify accessLevel=6
Class=VirtualMachineStartingEventDbImpl vessel_id=1351 method=setDescription accessLevel=6
Class=BondPortDbImpl vessel_id=554 method=addJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=1342 method=setCompletedStep accessLevel=6
Class=InternalJobDbImpl vessel_id=1342 method=setAssociatedHandles accessLevel=6
Class=InternalJobDbImpl vessel_id=1342 method=setTuringMachineFlag accessLevel=6
Class=VirtualMachineDbImpl vessel_id=1085 method=setCurrentOperationToLater accessLevel=6
Class=InternalJobDbImpl vessel_id=1342 method=setTuringMachineFlag accessLevel=6
Class=BondPortDbImpl vessel_id=554 method=setCurrentJobOperationComplete accessLevel=6
Class=BondPortDbImpl vessel_id=554 method=nextJobOperation accessLevel=6
Class=VirtualMachineDbImpl vessel_id=1085 method=nextJobOperation accessLevel=6
Class=InternalJobDbImpl vessel_id=1342 method=setFailedOperation accessLevel=6
Class=VmDiskMappingDbImpl vessel_id=1116 method=nextJobOperation accessLevel=6
Class=VnicDbImpl vessel_id=958 method=nextJobOperation accessLevel=6
Class=VirtualMachineDbImpl vessel_id=1085 method=nextJobOperation accessLevel=6
Class=BondPortDbImpl vessel_id=554 method=nextJobOperation accessLevel=6
Class=VmDiskMappingDbImpl vessel_id=1122 method=nextJobOperation accessLevel=6
Class=VirtualCdromDbImpl vessel_id=209 method=nextJobOperation accessLevel=6
Class=VirtualDiskDbImpl vessel_id=1107 method=nextJobOperation accessLevel=6
Class=VirtualMachineDbImpl vessel_id=1085 method=nextJobOperation accessLevel=6
Class=BondPortDbImpl vessel_id=554 method=nextJobOperation accessLevel=6
Completed Step: ROLLBACK
Job failed commit (internal) due to OVMAPI_4010E Attempt to send command: dispatch to server: myserver1.example.com failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/2 start_vm 0004fb00000300003907f6fd90ef0e08 0004fb00000600009526838f3d4be255, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?
stdout: Using config file "/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg".
Sun Jul 29 14:57:14 PDT 2012
Sun Jul 29 14:57:14 PDT 2012
com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: myserver1.example.com failed. OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/2 start_vm 0004fb00000300003907f6fd90ef0e08 0004fb00000600009526838f3d4be255, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?
stdout: Using config file "/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg".
Sun Jul 29 14:57:14 PDT 2012
Sun Jul 29 14:57:14 PDT 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:507)
at com.oracle.ovm.mgr.action.ActionEngine.sendDispatchedServerCommand(ActionEngine.java:444)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:378)
at com.oracle.ovm.mgr.action.VirtualMachineAction.sendStartVmCommand(VirtualMachineAction.java:121)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.asyncAction(VirtualMachineStart.java:65)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAsyncAction(ManagedObjectDbImpl.java:1002)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:826)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineProxy.executeCurrentJobOperationAsyncAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.objectAsyncStart(JobEngine.java:596)
at com.oracle.ovm.mgr.op.virtual.VirtualMachineStart.action(VirtualMachineStart.java:52)
at com.oracle.ovm.mgr.api.collectable.ManagedObjectDbImpl.executeCurrentJobOperationAction(ManagedObjectDbImpl.java:1012)
at sun.reflect.GeneratedMethodAccessor683.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
at com.oracle.odof.core.storage.Transaction.invokeMethod(Transaction.java:826)
at com.oracle.odof.core.Exchange.invokeMethod(Exchange.java:245)
at com.oracle.ovm.mgr.api.virtual.VirtualMachineProxy.executeCurrentJobOperationAction(Unknown Source)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:218)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:309)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1140)
at sun.reflect.GeneratedMethodAccessor1084.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:329)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:289)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:773)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:401)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:459)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: dispatch https://?uname?:[email protected]:8899/api/2 start_vm 0004fb00000300003907f6fd90ef0e08 0004fb00000600009526838f3d4be255, Status: org.apache.xmlrpc.XmlRpcException: exceptions.RuntimeError:Command: ['xm', 'create', '/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg'] failed (1): stderr: Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?
stdout: Using config file "/OVS/Repositories/0004fb00000300003907f6fd90ef0e08/VirtualMachines/0004fb00000600009526838f3d4be255/vm.cfg".
Sun Jul 29 14:57:14 PDT 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:798)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:503)
... 41 more
End of JobAs far you are using VirtualBox, your processor capabilities shouldn't counted (min from my own experience while setting up the virtual machine. Change the Domain Type under configuation node to XEN PVM and try again. Most probably the virtual machine will start running.
One more thing, enable promiscuous mode -> Allow allow with your network configuration (if bridged network is in use) for the VM Server prior you try to SSH into the virtual machine (your guest on VM Server)
All the best and post your test results
regards,
raj -
Definitely I can't make it to work.
I get allways this error : ORA-12537 (TNS Connection closed) with SQL Plus.
I use Login "system", password "system", host "webtogo.world"
I tried also login "system", password nothing; or password "master", or "change_on_install"
When I start webtogo at I get this info :
H:\Ora9i\Mobile\Server\bin>webtogo
log1: Translated JDK:'Cp1252' to IANA: 'WINDOWS-1252'
log1: desktop 1521
And hangs, doesn't go to the command prompt
What's wrong ? I don't understand nothing about Oracle Administration, I'm just a developer, help me
my configuration is this :
My computer IP : 192.168.0.104
My computer name : desktop
Oracle Home : H:\Ora9i
TNSNAMES.ORA
WEBTOGO.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp)
(PROTOCOL = TCP)
(Host = 192.168.0.104)
(Port = 1521)
(CONNECT_DATA = (SID = WEBTOGO)
LISTENER.ORA
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = desktop)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = webtogo.world)
(ORACLE_HOME = H:\Ora9i)
(SID_NAME = webtogo)
SQLNET.ORA
NAMES.DEFAULT_DOMAIN = 192.168.0.104
USE_DEDICATED_SERVER = on
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
WEBTOGO.ORA
[WEBTOGO]
USE_SYSTEM_CLASSPATH = YES
MODE = SERVER
PORT = 1521
#IAS_MODE=NO
ORACLE_HOME=H:\Ora9i
BASE_URL=/webtogo
ADMIN_TNS_NAME=WEBTOGO.WORLD
ADMIN_JDBC_URL=jdbc:oracle:oci8:@WEBTOGO.WORLD
APPLET_USE_THIN_JDBC = YES
THIN_JDBC_URL=jdbc:oracle:thin:@::
SITE_OFFLINE_PERIOD=0
CUSTOM_WORKSPACE=no
CUSTOM_DIRECTORY=myworkspace
DEFAULT_PAGE=myfirstpage.html
ROWS_PER_PAGE_IN_ADMIN_TOOL = 25
[EXTERNAL_AUTHENTICATION]
#CLASS=com.acme.SampleAuthenticator
# Web-to-go workspace's font
FONT_NAME=Arial
[FILESYSTEM]
TYPE=OS
ROOT_DIR=H:\Ora9i\mobile\server\repository
#TYPE=O8
#TYPE=OL
#TYPE=OS
# Cache size in MBs
#CACHE_SIZE=10
MAX_CONNECTIONS=4
[DEBUG]
TRACE_ENABLE=Yes
# There are 3 trace levels: basic (1), sql (2), java method (4)
# The TRACE_LEVEL value will be used to do "Bitwise AND" against these
# 3 levels to decide if trace of any particular level should be printed.
# For example, 1 for only basic level, 7 for all levels, 3 for basic and sql
# but not java methods.
TRACE_LEVEL=1
# This is comma seperated list of valid user names. Empty string indicates
# tracing all users, "TRACE_NO_USER" indicates tracing no user.
TRACE_USERS=
# The trace output can be FILE, CONSOLE, or REMOTE.
TRACE_DESTINATION=CONSOLE
# Value to be used if trace destination is FILE.
# The base name for the trace file
TRACE_FILE_NAME=trace.log
# Maximum file size in MB
TRACE_FILE_SIZE=10
# Maximum number of trace file to be used.
TRACE_FILE_POOL_SIZE=5
# Does every user have her own file pool?
TRACE_FILE_PER_USER=No
# Value to be used if trace destination is REMOTE.
# Machine name and port where wsh.exe -m is running. Web-to-go
# will send debug output to that machine.
#TRACE_REMOTE_MACHINE=
TRACE_REMOTE_PORT=2000
[APPLICATIONS]
XMLFILE = ws1.xml
PACK_HELP=H:\Ora9i\mobile\doc\wtg\html\wtgdep.htm
[PUBLIC]
oracle.lite.sync.ConsolidatorServlet=/Consolidator
[CONSOLIDATOR]
# Installer will change these values
SERVER_VERSION=8.1.7
# 8.1.7
# Installer won't change these values
MAX_THREADS=3
JDBC_DRIVER=oracle.jdbc.driver.OracleDriver
CREATE_USER_OPTIONS_O8I=PROFILE CONSOLIDATOR_CLIENT_P DEFAULT TABLESPACE USERS QUOTA UNLIMITED ON USERS TEMPORARY TABLESPACE INDX QUOTA UNLIMITED ON INDX
CREATE_USER_OPTIONS_O8=PROFILE CONSOLIDATOR_CLIENT_P DEFAULT TABLESPACE USR QUOTA UNLIMITED ON USR
TEMPORARY TABLESPACE TEMPORARY QUOTA UNLIMITED ON TEMPORARY
TEMP=H:\Ora9i\mobile\server\bin
WTG_PROXY_PORT=80
TRACE_ENABLE=Yes
# There are 3 trace levels: basic (1), sql (2), java method (4)
# The TRACE_LEVEL value will be used to do "Bitwise AND" against these
# 3 levels to decide if trace of any particular level should be printed.
# For example, 1 for only basic level, 7 for all levels, 3 for basic and sql
# but not java methods.
TRACE_LEVEL=1
# This is comma seperated list of valid user names. Empty string indicates
# tracing all users, "TRACE_NO_USER" indicates tracing no user.
TRACE_USERS=
# The trace output can be FILE, CONSOLE. Note REMOTE is not valid.
TRACE_DESTINATION=CONSOLE
# Value to be used if trace destination is FILE.
# The base name for the trace file
TRACE_FILE_NAME=mgptrace.log
# Maximum file size in MB
TRACE_FILE_SIZE=10
# Maximum number of trace file to be used.
TRACE_FILE_POOL_SIZE=5
# Does every user have her own file pool?
TRACE_FILE_PER_USER=NoHi
There could be two reasons.
1) You may be having classesXX.zip where XX can be 111 or 12 in the classpath.
Remove this from your system classpath
2) Check the symjit.dll and rename it to some other name in your system. This file belongs to XP and has some problems in running Java programs in P4.
regards
Yugandhar -
Environment:
Oracle VM Manager
Version: 3.0.2.73
Build: 20110926_73
OVM Server
Version: 3.0.2-11
Description:
I have discovered and setup an OVM Server. I successfully created an empty pool names "Pool1". Once I tried to add the server (esx-4170-01) to "Pool1" I receive the error below.
Communication appears to be working as the server was discovered. Also, pinging the hostname (esx-4170-01) returns with success from esx-4170-01.lab.xxx.com (the FQDN).
<error start>
Job Construction Phase
begin()
Appended operation 'Server Role Update' to object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)'.
Appended operation 'Server Join Server Pool' to object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)'.
Appended operation 'Server Pool Construct' to object '0004fb0000020000b2f39adb42b33486 (Pool1)'.
Appended operation 'Server Pool Virtual IP Configure' to object '0004fb0000020000b2f39adb42b33486 (Pool1)'.
Appended operation 'Server Pool Member Update' to object '0004fb0000020000b2f39adb42b33486 (Pool1)'.
Appended operation 'Server Cluster Configure' to object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)'.
Appended operation 'Server Cluster Construct' to object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)'.
commit()
Completed Step: COMMIT
Objects and Operations
Object (IN_USE): [Cluster] b2f39adb42b33486
Object (IN_USE): [Server] 08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)
Operation: Server Role Update
Operation: Server Join Server Pool
Operation: Server Cluster Configure
Operation: Server Cluster Construct
Object (IN_USE): [ServerPool] 0004fb0000020000b2f39adb42b33486 (Pool1)
Operation: Server Pool Construct
Operation: Server Pool Virtual IP Configure
Operation: Server Pool Member Update
Job Running Phase at 12:39 on Fri, Feb 24, 2012
Job Participants: []
Actioner
Starting operation 'Server Role Update' on object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)'
Completed operation 'Server Role Update' completed with direction ==> DONE
Starting operation 'Server Join Server Pool' on object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)'
Completed operation 'Server Join Server Pool' completed with direction ==> LATER
Starting operation 'Server Pool Construct' on object '0004fb0000020000b2f39adb42b33486 (Pool1)'
Completed operation 'Server Pool Construct' completed with direction ==> DONE
Starting operation 'Server Pool Virtual IP Configure' on object '0004fb0000020000b2f39adb42b33486 (Pool1)'
Completed operation 'Server Pool Virtual IP Configure' completed with direction ==> DONE
Starting operation 'Server Pool Member Update' on object '0004fb0000020000b2f39adb42b33486 (Pool1)'
Completed operation 'Server Pool Member Update' completed with direction ==> DONE
Starting operation 'Server Cluster Configure' on object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)'
Completed operation 'Server Cluster Configure' completed with direction ==> LATER
Starting operation 'Server Cluster Construct' on object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)'
Completed operation 'Server Cluster Construct' completed with direction ==> LATER
Starting operation 'Server Join Server Pool' on object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)'
Completed operation 'Server Join Server Pool' completed with direction ==> DONE
Starting operation 'Server Cluster Configure' on object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)'
Job Internal Error (Operation)com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: esx-x4170-01 failed. OVMAPI_4004E Server Failed Command: dispatch, Status: https://?uname?:[email protected]:8899/api/1 configure_server_for_cluster cluster:
name = b2f39adb42b33486
heartbeat_mode = global
node_count = 1
node:
cluster = b2f39adb42b33486
name = esx-x4170-01
number = 0
ip_address = 198.169.174.44
ip_port = 7777
heartbeat:
cluster = b2f39adb42b33486
region = 0004FB000005000087E6A8BD25A4B829
nfs 198.169.174.80:/vol/ovm2_pool 0004fb000005000087e6a8bd25a4b829 6529cbf7-e48b-4d06-be71-97d9792f5ab7
Fri Feb 24 12:39:22 MST 2012
Fri Feb 24 12:39:22 MST 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:474)
at com.oracle.ovm.mgr.action.ActionEngine.sendDispatchedServerCommand(ActionEngine.java:414)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:361)
at com.oracle.ovm.mgr.action.ClusterAction.configureServerForCluster(ClusterAction.java:82)
at com.oracle.ovm.mgr.op.physical.ServerClusterConfigure.configureCluster(ServerClusterConfigure.java:137)
at com.oracle.ovm.mgr.op.physical.ServerClusterConfigure.action(ServerClusterConfigure.java:56)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:191)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:216)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:257)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1019)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:223)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:395)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:453)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: dispatch, Status: https://?uname?:[email protected]:8899/api/1 configure_server_for_cluster cluster:
name = b2f39adb42b33486
heartbeat_mode = global
node_count = 1
node:
cluster = b2f39adb42b33486
name = esx-x4170-01
number = 0
ip_address = 198.169.174.44
ip_port = 7777
heartbeat:
cluster = b2f39adb42b33486
region = 0004FB000005000087E6A8BD25A4B829
nfs 198.169.174.80:/vol/ovm2_pool 0004fb000005000087e6a8bd25a4b829 6529cbf7-e48b-4d06-be71-97d9792f5ab7
Fri Feb 24 12:39:22 MST 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:752)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:470)
... 21 more
FailedOperationCleanup
Starting failed operation 'Server Cluster Configure' cleanup on object 'esx-x4170-01'
Complete rollback operation 'Server Cluster Configure' completed with direction=esx-x4170-01
Rollbacker
Executing rollback operation 'Server Join Server Pool' on object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)'
Complete rollback operation 'Server Join Server Pool' completed with direction=DONE
Executing rollback operation 'Server Role Update' on object '08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)'
Complete rollback operation 'Server Role Update' completed with direction=DONE
Executing rollback operation 'Server Pool Member Update' on object '0004fb0000020000b2f39adb42b33486 (Pool1)'
Complete rollback operation 'Server Pool Member Update' completed with direction=DONE
Executing rollback operation 'Server Pool Virtual IP Configure' on object '0004fb0000020000b2f39adb42b33486 (Pool1)'
Complete rollback operation 'Server Pool Virtual IP Configure' completed with direction=DONE
Executing rollback operation 'Server Pool Construct' on object '0004fb0000020000b2f39adb42b33486 (Pool1)'
Complete rollback operation 'Server Pool Construct' completed with direction=DONE
Objects To Be Rolled Back
Object (IN_USE): [Cluster] b2f39adb42b33486
Object (IN_USE): [Server] 08:00:20:ff:ff:ff:ff:ff:ff:ff:00:14:4f:cb:20:c2 (esx-x4170-01)
Object (IN_USE): [ServerPool] 0004fb0000020000b2f39adb42b33486 (Pool1)
Completed Step: ROLLBACK
Job failed commit (internal) due to OVMAPI_4010E Attempt to send command: dispatch to server: esx-x4170-01 failed. OVMAPI_4004E Server Failed Command: dispatch, Status: https://?uname?:[email protected]:8899/api/1 configure_server_for_cluster cluster:
name = b2f39adb42b33486
heartbeat_mode = global
node_count = 1
node:
cluster = b2f39adb42b33486
name = esx-x4170-01
number = 0
ip_address = 198.169.174.44
ip_port = 7777
heartbeat:
cluster = b2f39adb42b33486
region = 0004FB000005000087E6A8BD25A4B829
nfs 198.169.174.80:/vol/ovm2_pool 0004fb000005000087e6a8bd25a4b829 6529cbf7-e48b-4d06-be71-97d9792f5ab7
Fri Feb 24 12:39:22 MST 2012
Fri Feb 24 12:39:22 MST 2012
com.oracle.ovm.mgr.api.exception.FailedOperationException: OVMAPI_4010E Attempt to send command: dispatch to server: esx-x4170-01 failed. OVMAPI_4004E Server Failed Command: dispatch, Status: https://?uname?:[email protected]:8899/api/1 configure_server_for_cluster cluster:
name = b2f39adb42b33486
heartbeat_mode = global
node_count = 1
node:
cluster = b2f39adb42b33486
name = esx-x4170-01
number = 0
ip_address = 198.169.174.44
ip_port = 7777
heartbeat:
cluster = b2f39adb42b33486
region = 0004FB000005000087E6A8BD25A4B829
nfs 198.169.174.80:/vol/ovm2_pool 0004fb000005000087e6a8bd25a4b829 6529cbf7-e48b-4d06-be71-97d9792f5ab7
Fri Feb 24 12:39:22 MST 2012
Fri Feb 24 12:39:22 MST 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:474)
at com.oracle.ovm.mgr.action.ActionEngine.sendDispatchedServerCommand(ActionEngine.java:414)
at com.oracle.ovm.mgr.action.ActionEngine.sendServerCommand(ActionEngine.java:361)
at com.oracle.ovm.mgr.action.ClusterAction.configureServerForCluster(ClusterAction.java:82)
at com.oracle.ovm.mgr.op.physical.ServerClusterConfigure.configureCluster(ServerClusterConfigure.java:137)
at com.oracle.ovm.mgr.op.physical.ServerClusterConfigure.action(ServerClusterConfigure.java:56)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:191)
at com.oracle.ovm.mgr.api.job.JobEngine.operationActioner(JobEngine.java:216)
at com.oracle.ovm.mgr.api.job.JobEngine.objectActioner(JobEngine.java:257)
at com.oracle.ovm.mgr.api.job.InternalJobDbImpl.objectCommitter(InternalJobDbImpl.java:1019)
at sun.reflect.GeneratedMethodAccessor1327.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.odof.core.AbstractVessel.invokeMethod(AbstractVessel.java:223)
at com.oracle.odof.core.BasicWork.invokeMethod(BasicWork.java:136)
at com.oracle.odof.command.InvokeMethodCommand.process(InvokeMethodCommand.java:100)
at com.oracle.odof.core.BasicWork.processCommand(BasicWork.java:81)
at com.oracle.odof.core.TransactionManager.processCommand(TransactionManager.java:751)
at com.oracle.odof.core.WorkflowManager.processCommand(WorkflowManager.java:395)
at com.oracle.odof.core.WorkflowManager.processWork(WorkflowManager.java:453)
at com.oracle.odof.io.AbstractClient.run(AbstractClient.java:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.oracle.ovm.mgr.api.exception.IllegalOperationException: OVMAPI_4004E Server Failed Command: dispatch, Status: https://?uname?:[email protected]:8899/api/1 configure_server_for_cluster cluster:
name = b2f39adb42b33486
heartbeat_mode = global
node_count = 1
node:
cluster = b2f39adb42b33486
name = esx-x4170-01
number = 0
ip_address = 198.169.174.44
ip_port = 7777
heartbeat:
cluster = b2f39adb42b33486
region = 0004FB000005000087E6A8BD25A4B829
nfs 198.169.174.80:/vol/ovm2_pool 0004fb000005000087e6a8bd25a4b829 6529cbf7-e48b-4d06-be71-97d9792f5ab7
Fri Feb 24 12:39:22 MST 2012
at com.oracle.ovm.mgr.action.ActionEngine.sendAction(ActionEngine.java:752)
at com.oracle.ovm.mgr.action.ActionEngine.sendCommandToServer(ActionEngine.java:470)
... 21 more
End of Job
<error end>905243 wrote:
I have discovered and setup an OVM Server. I successfully created an empty pool names "Pool1". Once I tried to add the server (esx-4170-01) to "Pool1" I receive the error below.
Communication appears to be working as the server was discovered. Also, pinging the hostname (esx-4170-01) returns with success from esx-4170-01.lab.xxx.com (the FQDN).Looks like the hostname of the machine is only set to the first part, not the FQDN, which is being returned by DNS. Ensure that what you get from the "hostname" command matches exactly what you get from DNS for that IP address. -
Creme 4.0 and Oracle Lite 10G
Hello Everybody,
i´ve developed an Oracle Lite app that works fine on my Laptop, but now i want to deploy it on my pocket PC running windows mobile 2003 (XCale processor) with CrEme 4.0 JVM.
What do i need to do to put it to work?
Can anyone send me a .lnk file so that i can use as an example??
Regards,
Paulo48#\Windows\CrEme\bin\CrEme.exe -Of -classpath '\pp_app\simpleapp.jar' SimpleApp
in the Oracle lite manual you can read:
When using the CrE-ME 4.0 JVM, use the DriverManager class to connect to an
Oracle Lite Database.
For example, use the following:
politeConnection = DriverManager.getConnection(DSN,UserName,Password);
To run a sample class ExampleClass, part of ExamplePackage.jar, use the
following command at the CrE-ME command prompt:
48#\Windows\CrEme\bin\CrEme.exe -Of -classpath \orace\olitejdbc40.jar;\orace\msync.jar;\ExamplePackage.jar
ExampleClass -
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. -
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 -
Views in Oracle Lite on Win32 Client
Hi,
I've created an Oracle Forms application to work with Oracle Lite on the Win32 Client. When creating the application using wtgpack on the Mobile Server, I successfully created snapshots for the 7 tables in the database. After synchronization (msync), all 7 tables are created in the client's Lite database and all data are available. The Oracle Forms application works perfectly.
BUT: I have to add a view now, a very simple one, joining 2 of the 7 tables. I created this view in the Server database, and tried to use wtgpack to force the view creation on the client's Lite database. When selecting Web-to-Go in wtgpack's "Available Platform" window, a "DDL" tab appears. But my application isn't Web-to-Go platform, but Win32 only. The "DLL" tab is not available when selecting Win32 as platform. How can I force wtgpack to add my view to the application?
I tried to add the view definition to the "dlls.sql" file in the \repository\app\sql directory .. but the client doesn't get it.
I tried to create a snapshot in wtgpack (because when using "import" it only shows tables, not views) and type the view definition there .. but the client doesn't get it too.
Any ideas how the view can be created on the client's Lite database?
Thanks in advance!
DirkDirk
You dont need to do anything on the lite database.
Here are the steps for pulling the data from enterprise database.
1. Install the client -win32 sdk on the client machine. This is used to access lite database because it installs msql, lite drivers etc.
2. Create snapshots using wtgpack. You can create all the Enterprise database snapshots, views, sequences etc.
3. Generate the Jar file using wtgpack
4. Publish the jar file in the mobile server.
5. Create some users and give access to this application.
6. Access the server from ur machine: http://[mobileserveripaddress]/setup
7. Download the Mobile Client for Web-to-Go
8. Run the setup.exe
9. Enter using the username, password given to access this application.
10. Click sync on the menu
It automatically creates the database and pulls all the data.
You dont need to do anything.
Access the database from msql like this:
msql system/[password]@polite:[urdatabase]
or
msql system/[password]@polite:[DSN]
DSN gets created automatically. check ur ODBC settings.(enter odbcad32 on ur command prompt to see these settings)
Refer the documentation..sometimes its hazy but its easy once we do it...
happy weekend....
Yugandhar -
Oracle lite application not showing blob images in BI reports
Hi,
We have an application running in Oracle lite, we integrated the BI publisher reports (PDF reports are generated Using Data template and RTF file with Java API for BI publisher) with the application. Its been working fine for a long time.
Now we are showing some images on the pdf report, the images are stored in the Oracle lite database as blobs. My application fails when translating the Data template to xml data. I am not getting any exception other than out of memory error after a while.
anybody had the same problem? Let me know if you need more information on this problem.
Any help will be great!!
Regards,
Parthiban Kumar
Edited by: Parthiban Kumar on Nov 12, 2009 10:45 AMHi Carsten
That was exactly* I was looking for. Maybe I should Google more in German ;-)
The main problem was that I defined my image outside the first repeating group (that doesn't repeat, it's always just one object) - the first group is followed by 7 more.
Just like the "Name" (that's positioned outside the group in the document header), I positioned the image above the table representing the group.
Doing that, the "Name" is filled correctly, the Image only when the Output Format is Excel or HTML - not Word or PDF ... makes no sense but that's tje way it is.
After moving the image inside the group....it works great!
(One more thing...the image size is fixed to the image you use as "dummy". Is there any way to make that more flexible, because now some scaling happens...)???
@Trent: That was the way we initially did it, but when the size of the row exceeds 32K...you know what happens.. And even with a small image the 32K limit is hit easily
The way I use it now (very similar to Carsten's description) there is no limit....
Thank you all!
Roel
Maybe you are looking for
-
Photoshop CC: Changing colour - "Could not complete your request because of a program error"
Hi, Started a while back but lived with it but now its beyond anoyying. Happens if I do anything that changes the colour (ie colour picker, exchanging colours - anything). Any suggestions? Thanks.
-
L_TO_CONFIRM returning error message
I am using function module L_TO_CONFIRM to confirm a TO. Function call is something like. CALL FUNCTION 'L_TO_CONFIRM' EXPORTING I_LGNUM = 'xxx' I_TANUM = 'xxxxx' I_KOMIM
-
Standalone JRC - RAS serverNotFound
Hi, I'm trying to setup an application using JRC in stanalone mode. Evreything seems ok but when I run my program I get the following error: com.crystaldecisions12.sdk.occa.report.lib.ReportSDKServerException: Aucun nom de serveur n'est précisé.----
-
Scjp training institutes in Hyderabad
hi I 'm planning to take scjp 1.5 next month , I would like to know which institutes are good for scjp training in Hyderabad. One of my freind told me that Durga Tech. S.R Nagar. is good one. Are there any other training institutes apart frm that?
-
I got a bill for £30 of additional broadband usage which seemed execessive - I was expecting maybe 5 or 10 - but as my daughter uses her Ipad for youtube I wasn't too concerned. Howver I recently took out another year contract and have been monitorin