Send commands in advance of a print job to printer?

Hello Experts,
Is there any possibility to send hardware commands in advance of a print job to printer to initiate a sequence number counter on the printer hardware.
Thanks
prabaharan

Could you be more specific? Possibly offer me an example of what you would like to see if our printers can accomplish? 
Let me know and have a great day! 

Similar Messages

  • When send the report directly to the printer from Oracle IDS 9i

    Hi.....
    I m using Oracle IDS 9i, Oracle AS 9i and Database 9i for my new project.But i m facing a problem when i m trying to show a report from oracle IDS 9i.When i send the report directly to the printer without showing it,then the printer connected to the application server is working.But the printer connected to with PC(From where a send the command) is not working but printer connected with AS is working,but not that one which one i m wanting.....Why this problem is happening?Can anyone help me?
    KSI

    Note:It is always better to have network based printers rather then PC shared printers. What that means is your printer is not connected to a PC. It has a direct connection to the network via NIC. You would then setup the printer on your AS in the printers setup. If the AS is rebooted you do not need to authenticate the printer shares again with a network based printer.
    If I understand you correctly, you have a printer connected to your AS(application server) and a printer connected to your PC. You can submit a report direct to the printer connected to the AS but cannot send a report direct to your printer connected to your PC.
    From the symptoms you described, the problem is usually associated with the AS not being able to see the printer shared on your PC. You either have the address to your printer address defined wrong or your AS is trying to direct a job to your printer but doesn't have rights to do it.
    First, Try to print a notepad job to your printer attached to your PC from the AS. This will tell you if you have access to do so or not.
    - If it can't, you need to figure out why? This has nothing to do with oracle.
    Second, thing to check is your Oracle "Report Queue Manager" on the AS. Make sure that you can submit a report manually from the Report Queue Manager. If it fails the "Report Queue Manager" will give you useful errors as to why it failed. This will help you isolate the problem.
    Third, Once you can submit a job from the reports queue manager manually to your shared printer you should be able to submit from your application direct. If it still does not work your address to the printer is incorrect. Try submitting manually through the reports queue manager again. When selecting printer you will be given a list of accessible printers from the AS. Select the one connected to your PC. Once selected the full network address will appear. Copy and use this as the printer location in your job submission through your application.
    That's it... Where using this right now and it works great. Hope this helps.
    Eric.

  • How to send a text file to a printer?

    Hi, I'm in dark on how to send a text file to a printer through Java Stored Procedure.
    Here are what I tried so far (OS: win 2000, Oracle: 817 or 9i2):
    1, Enable DOS command in Java Stored Proc. and try to send PRINT command there:
    public static String Run(String Command){
    try{
    Runtime.getRuntime().exec(Command);
    System.out.println("Command: " + Command);
    return("0");
    catch (Exception e){
    System.out.println("Error running command: " + Command +
    "\n" + e.getMessage());
    return(e.getMessage());
    public static void main(String args[]){
    if (args.length == 1)
    Run("print /D:\\\\enterprise\\john " + args[0]);
    else System.out.println("Usage: java OSCommand filename");
    PL/SQL wrapper:
    CREATE OR REPLACE FUNCTION OSCommand_Run(p1 IN VARCHAR2) RETURN VARCHAR2 AUTHID CURRENT_USER AS LANGUAGE JAVA NAME 'OSCommand.Run(java.lang.String) return java.lang.String';
    SQL command:
    //print /D:\\machine\printer test.txt
    I loaded the Java Stored Procedure into SYSDBS account, it failed silently, even though piece of code works fine in external JVM.
    2, Use filePrinter:
    public static String print(String printString) {
    try{
    String printerUNC = "\\\\machine\\printer";
    FileWriter fw = new FileWriter(printerUNC);
    PrintWriter pw = new PrintWriter(fw);
    pw.println(printString);
    fw.close();
    return "OK";
    }catch(Exception e){
    e.printStackTrace();
    return "Exception: " + e.getMessage();
    public static void main(String[] args) {
    try{
    String printerUNC = "\\\\machine\\printer";
    String printString = "Hello World";
    FileWriter fw = new FileWriter(printerUNC);
    PrintWriter pw = new PrintWriter(fw);
    pw.println(printString);
    fw.close();
    }catch(Exception e){e.printStackTrace();}
    I loaded it into SYSDBS too, and tried with this:
    SQL> select MY_PRINT.PRINT('HELLO from Oracle') from dual;
    MY_PRINT.PRINT('HELLOFROMORACLE')
    Exception: No such file or directory
    SQL> show user
    USER is "SYS"
    It works in external JVM too.
    What's wrong with this?
    Thanks for any help in advance,
    Charles

    Avi:
    Thanks for your response!
    I put the java code in SYS, 'cause I assume that account has max privilege. If the test is successful, I will move that to some user schema and then to deal with those privilege settings... But I'm unlucky.
    I checked Ask Tom, this is what I got from http://asktom.oracle.com/pls/ask/f?p=4950:8:1619723::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:38012348052,%7Bprinter%7D:
    ... Print file from PL/SQL ...
    If you are using Oracle8i, release 8.1 -- much can be done with Java. java
    would be able to print directly from the server.
    Looks like using Java to print out file is better than PL/SQL. But there's no more hint there! And, no new question can be asked there today either...
    I'm wondering whether we can create a socket to a printer and send the characters there directly... Anyone has experience on this?
    Thanks for all the help in advance,
    Charles

  • 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 Job

    As 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

  • How to send e-mail alert to the user job is successful or failed.

    Hi Experts,
    I have scheduled a job using DBMS_JOB Package; in this job I am calling a procedure.
    How can we send an e-mail(alert) to the user if the job is successful (or) job fails.
    If the job is successfully completed, then we have to send mail as “Job is completed successfully along with job name”.
    If the job fails we have to send email as “error message of the job along with job name”(why the job is failed).
    This alert should be sending automatically no manual intervention.
    Please help me.
         CREATE OR REPLACE PROCEDURE APPS_GLOBAL.arc_procedure (P_ID IN NUMBER)
         IS
         CURSOR C IS SELECT id,table_name,archive_table_name,where_condition
         FROM apps_global.control_ram
         WHERE id = p_id
         ORDER BY id, table_name;
         BEGIN
            FOR I IN C
            LOOP
               EXECUTE IMMEDIATE
                  'INSERT INTO '
               || I.ARCHIVE_TABLE_NAME
               || '
         (SELECT * FROM '
               || I.TABLE_NAME
               || ' WHERE '
               || I.WHERE_CONDITION
               || ')';
               EXECUTE IMMEDIATE
                  'DELETE FROM '
               || I.TABLE_NAME
               || ' WHERE '
               || I.WHERE_CONDITION
               || '';
               COMMIT;
            END LOOP;
         EXCEPTION
            WHEN OTHERS
            THEN
               ROLLBACK;
               DBMS_OUTPUT.PUT_LINE (
               'An error was encountered - ' || SQLCODE || ' -ERROR- ' || SQLERRM);
         END arc_procedure;
         /This is my job.
    DECLARE
      X NUMBER;
    BEGIN
      SYS.DBMS_JOB.SUBMIT
      ( job       => X
       ,what      => 'APPS.arc_procedure(1);'
       ,next_date => to_date('05/01/2013 00:00:00','dd/mm/yyyy hh24:mi:ss')
       ,interval  => 'TRUNC(SYSDATE+1)'
       ,no_parse  => FALSE
      SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    COMMIT;
    END;
    /Thanks in advance.

    Hi,
    I think you can do by creating mailing procedures and call it in the loop and outside the loop.
    There would be two procedure one in inside loop which will execute after successfull completion of the loop.
    Other would be in the exception block like i shown in the below code you have written;
    V_variable_1 you can use as a parameter for what is the error occured.
    like suppose your mailing procedure name is Status_email and Status_email_1.
    CREATE OR REPLACE PROCEDURE APPS_GLOBAL.arc_procedure (P_ID IN NUMBER)
         IS
         CURSOR C IS SELECT id,table_name,archive_table_name,where_condition
         FROM apps_global.control_ram
         WHERE id = p_id
         ORDER BY id, table_name;
    V_VARIABLE_1 NUMBER;
    V_VARIABLE_2 VARCHAR2(400);
         BEGIN
            FOR I IN C
            LOOP
               EXECUTE IMMEDIATE
                  'INSERT INTO '
               || I.ARCHIVE_TABLE_NAME
               || '
         (SELECT * FROM '
               || I.TABLE_NAME
               || ' WHERE '
               || I.WHERE_CONDITION
               || ')';
               EXECUTE IMMEDIATE
                  'DELETE FROM '
               || I.TABLE_NAME
               || ' WHERE '
               || I.WHERE_CONDITION
               || '';
               COMMIT;
                     STATUS_EMAIL;
            END LOOP;
         EXCEPTION OTHERS THEN
    V_VARIABLE_1 :=SQLCODE;
    V_VARIABLE_2 :=SQLERRM;
               ROLLBACK;
    STATUS_EMAIL_1(V_VARIABLE_1,V_VARIABLE_2);
         END arc_procedure;
         / You can refer to sample email procedure i have created for you.
    CREATE OR REPLACE PROCEDURE STATUS_EMAIL
    AS
       v_From       VARCHAR2(80) := 'EMAIL_ID';
       v_Recipient  VARCHAR2(80) := 'EMAIL_ID';
    --YOU CAN SEND EMAIL TO MORE THAT ONE USER SO YOU CAN USE LIKE BELOW VARIABLE....
       v_Recipienttt  VARCHAR2(80) := 'EMAIL_ID';
       v_Subject    VARCHAR2(80) := 'SUBJECT_FOR_THE_MAIL';
       v_Mail_Host  VARCHAR2(30) := 'MAIL_SERVERS_HOST_IP(SMTP_SERVER)';
       v_Mail_Conn  utl_smtp.Connection;
       crlf         VARCHAR2(2)  := chr(13)||chr(10);
    BEGIN
      v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host);
      utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
      utl_smtp.Mail(v_Mail_Conn, v_From);
      utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
      utl_smtp.Rcpt(v_Mail_Conn, v_Recipienttt);
    --OPEN DATA CONNNECTION
      UTL_SMTP.OPEN_DATA(v_mail_conn);
    --MAIL HEADER
      utl_smtp.write_DATA(v_Mail_Conn,'Date: '   || to_char(sysdate, 'DD-MON-YYYY hh:mi:ss AM') || crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'From: '   || v_From || crlf );
      utl_smtp.write_DATA(v_Mail_Conn,'Subject: '|| v_Subject || ||crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'To: '     || v_Recipient || crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'Cc: '       || v_Recipienttt ||','|| crlf);
    --MAIL BODY
      utl_smtp.write_DATA(v_Mail_Conn,'MIME-Version: 1.0'|| crlf );
      utl_smtp.write_DATA(v_Mail_Conn,'Content-Type: multipart/mixed;'|| crlf );
      utl_smtp.write_DATA(v_Mail_Conn,' boundary="-----SECBOUND"'|| crlf ||crlf );
      utl_smtp.write_DATA(v_Mail_Conn,'-------SECBOUND'|| crlf );
      utl_smtp.write_DATA(v_Mail_Conn,'Content-Type: text/plain;'|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'Content-Transfer_Encoding: 7bit'|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'Procedure is successfully complited without error'|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
    utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'Dear All, '|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'Procedure is successfully complited without error'||'.' ||crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'Regards, '|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'any_name '|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_data(v_Mail_Conn, utl_tcp.CRLF ||'This mail is auto generated.');
      --CLOSE CONNECTION
      UTL_SMTP.CLOSE_DATA(v_mail_conn);
      utl_smtp.Quit(v_mail_conn);
    EXCEPTION
      WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
        raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;
    /cheers..

  • Help on K700i- OK/Send Command Problem...

    Hi guys,
    I need your help with SE K700i I developed a midlet that can send SMS.
    It works well with other phones but in SE K700i when i execute the SEND Command it doesn't do anything and sometimes when I used the BACK command and returned to SEND Command it will send/response...
    I tried a lot to solve this problem but I don't know if it's a bug or maybe the code is wrong...By the way this is some parts of the codes.
    static final Command sendMsgCommand = new Command("SEND",Command.OK,2);
    public void commandAction(Command c, Displayable d) {
              // TODO Auto-generated method stub
              if(c==exitCommand){
                   notifyDestroyed();
                   started=false;
              }else if(c==sendMsgCommand){
                   new Thread(this).start();
                    } else if(c==backCommand){
                  display.setCurrent(itemMenu);
              }Thanks in advance...
    Regards,
    Psyeu

    Yes i have tested it on real K700i and also on other devices like nokia 6101, P910i the midlet works fine with that devices...
    When I implemented alert for the OK command it seems no problem...and for SEND command to send message it works fine...
    I think the problem is the defaulted OK command after selecting contacts in the local phone book when implemented like SEND command it didn't respond and also the SEND command is also affected- it didn't response sometimes.

  • Canon image runner advanced C2030/C20 ,printing labels problems

    Question is for Canon image runner advanced C2030/C20 ,printing labels from Filemaker pro 10
    1)how & where do you  turn off the double sided printing?
    2it )will only print the first 30 pages in a range,how do I increase this 

    goldn:
    Welcome to the Apple Discussions. Just ran a test and I got a perfect card. Here's what I did.
    1 - create the card and type Command-P.
    2 - select Stylus Photo R200 under Printer
    3 - click on the Advanced button
    4 - in the bottom drop down menu select Paper Handling
    5 - select the radio button "Use documents paper size: 7.00 in x 10.00 in
    6 - now select Print Settings in the 3rd drop down menu
    7 - select the type of paper you're using and the print quality you want. I used Photo and High Speed. (also used plain paper for my test)
    9 - put a piece of 7 x 10 paper in the printer (yes, you'll have to trip the paper beforehand or use card stock designed for this)
    10 - click on Print
    11 - when the paper exits the printer quickly put it back in the printer
    That will do it. Now there is a caveat. Putting it back into the printer before drying tended to get my leading edge nipped. If you use heaver card stock I don't think that will happen but just be aware. If you wait a moment to put the page, turned over, back into the printer to let the ink dry a bit, all you'll have to do is press the middle button which will be blinking red and that will feed the other side thru when you're ready.

  • Unable to send command to smart card reader

    i am writing code for reading/writing to a smart card through a smart card reader which support RS232 serial communication.
    Problem is that the reader is not responding to the commands i send to it.
    My Smart CArd reader (HID 6055 Mifare Smart CArd reader) sends some ack when it is switched on. That data i am able to receive though the following code.
    So i think i am unable to write (send command ) to the reader.
    Also how do i debug my code to see whether the command is actually being sent or not. I tried hyper terminal but if i use hyper terminal then the java prog is not able to open an OtputStream for writing to the smart card.
    I appreciate your kind help...
    My prog is
    *The
    import javax.comm.*;
    import java.io.*;
    import java.util.Enumeration;
    import java.util.TooManyListenersException;
    public class SmartCard
         public static void main(String args[])
              CardReader cs=new CardReader();
              cs.setConnectionParameters();
              if(cs.scanForCard())
                   System.out.println("Successfully sent Scan command to the reader");
    class CardReader implements SerialPortEventListener //,CommPortOwnershipListener
         CommPortIdentifier portId;
         Enumeration portList;
         InputStream inputStream;
         OutputStream outputStream;
         SerialPort serialPort;
         String outputString="";
         String inputSting="";
         public CardReader()
              portList = CommPortIdentifier.getPortIdentifiers();
               while (portList.hasMoreElements())
                portId = (CommPortIdentifier) portList.nextElement();
                if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL)
                     if (portId.getName().equals("COM1"))
                             System.out.println("Port Found");
                             break;
         public void setConnectionParameters()
              System.out.println("Setting Parameters for "+portId.getName());
              try
                serialPort = (SerialPort) portId.open("SimpleReadApp", 2000);
            catch (PortInUseException e)
                 System.out.println("PortInUseException in CardReader.setConnectionParameters :"+e);
             try
                  serialPort.addEventListener(this);
              catch (TooManyListenersException e)
                   System.out.println("Error in adding EventListener to serial Port: "+e);
            try
                inputStream = serialPort.getInputStream();
            catch (IOException e)
                 System.out.println("IoException in CardReader.setConnectionParameters while setting inputStream :"+e);
            try
                outputStream = serialPort.getOutputStream();
            catch (IOException e)
                 System.out.println("IoException in CardReader.setConnectionParameters while setting outputStream :"+e);
              serialPort.notifyOnDataAvailable(true); //We will check for
              try
                serialPort.setSerialPortParams(9600,SerialPort.DATABITS_8,SerialPort.STOPBITS_1,SerialPort.PARITY_NONE);
            catch (UnsupportedCommOperationException e)
                 System.out.println("Exception in setting the Baud Rate: "+e);
         public boolean scanForCard()
              boolean result=false;
              outputString="AA521D26000A";//Command for Scanning a Card
              // outputString="AA4C280810201C";
              // byte[] cmd=new byte[]{'A','A','5','2','1','D','2','6','0','0','0','A'};
              byte[] cmd=new byte[]{'8','0','4','C','2','8','0','8','1','0','2','0','1','C'};
              try
                 //outputStream.write(outputString.getBytes());
                 outputStream.write(cmd);
                 result=true;
            catch (IOException e)
                 System.out.println("Error in writing scan command to smart card: "+ e);
                 result=false;
              return result;
         public void serialEvent(SerialPortEvent event)
              System.out.println("\nSome Event Occured");
              switch(event.getEventType())
                 case SerialPortEvent.BI: System.out.println("event no 1");
                 case SerialPortEvent.OE: System.out.println("event no 2");
                 case SerialPortEvent.FE: System.out.println("event no 3");
                 case SerialPortEvent.PE: System.out.println("event no 4");
                 case SerialPortEvent.CD: System.out.println("event no 5");
                 case SerialPortEvent.CTS: System.out.println("event no 6");
                 case SerialPortEvent.DSR: System.out.println("event no 7");
                 case SerialPortEvent.RI: System.out.println("event no 8");
                 case SerialPortEvent.OUTPUT_BUFFER_EMPTY: {System.out.println("event no 9");
                      break;}
                 case SerialPortEvent.DATA_AVAILABLE:{System.out.println("event no 10");
                      readDataFromReader();}
                      break;
         public void readDataFromReader()
              System.out.print("Some data Sent by the Smart Card");
              byte[] readBuffer = new byte[20];
            try
                 while (inputStream.available() > 0)
                     int numBytes = inputStream.read(readBuffer);
             System.out.print(new String(readBuffer));
             catch (IOException e)
                  System.out.println("Some Error Occured in reading the data sent by Reader: "+e);

    hi all..
    Im new to this technology and wanna learn and try to program some simple applications using Smart Card...
    Reading thru all the topics above, Im wonderring is the Card Reader able write codes to the Smart Card, or maybe jux simply able to update the info inside the card??
    I also heard about Card Decoder as well, I mean if the Card Reader can do the task.. why do we need Card Decoder ?!
    Sorry if I stated something wrong... Im new and hope that someone could share some valuable knowledges here...
    Thanks much much !!

  • Cannot Add Server to Pool: OVMAPI_4010E Attempt to send command: dispatch..

    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.

  • Send command from my own application

    Hi,
    I have some problem to send commands to �Instrument�, which connect to computer via GPIB card.
    I use my own application with advanced script language and 16-bit GPIB ISA card, OS � Windows 2000. I have send to �Instrument� command as string.
    Here is fragment of code :

    LoadLib(�gpib-32.dll�) <-- Loading DLL
    RunLibFunc(handler, , ) <-- Running function from DLL

    - the name of function from DLL � should be something like �Send�
    - array of arguments for the function : GPIB card ID, GPIB address of �Instrument�, my string, and something else �
    Please Help me to find exactly commands syntax and the way to use it.
    Thanks in advance

    Dennis is correct, you can find information about the functions in the help file.
    You can also find a list of functions in the "NI 488.2 Function Reference":
    http://digital.ni.com/manuals.nsf/websearch/35cd6168125e0ebd86256789006e84d4
    The 488.2 user's manual may also be helpful:
    http://digital.ni.com/manuals.nsf/websearch/2c9c18cf53d69f678625678d005075e9
    Salvador Santolucito
    Applications Engineering
    National Instruments

  • LaserJet Pro M1536dnf trouble sending fax...just says fax job added but does not send out

    LaserJet Pro M1536dnf trouble sending fax...just says fax job added but does not send out.  How do I repair?
    Thanks!

    Hi @LWest322 ,
    I see that you are having issues with the fax not sending the fax. I can help you.
    The settings would be under the Fax Menu button, Send Options, Send Fax Later.
    I don't believe there is a option though to turn it off or on, just to set the date and time.
    I can send you the reset for the printer in a private message, which resolve this issue.
    In the forum beside your handle name just click on the envelope to view it.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Alicat send command

    Hi,
    I am using a simple Alicat send command vi to control an Alicat mass flow controller using Labview.
    I downloaded the driver directly from the Alicat website. link:
    http://www.alicat.com/support/download-device-drivers/
    The problem is that I keep getting garbage responses from Alicat no matter what command I enter.
    The response is in terms of characters that cant even be copied and pasted.
    I have included a print screen image of the vi in this post. I would really appreciate it someone
    could let me know what commands I should enter or if these errors are to be expected. I am pretty new to
    the labview environment and have been stuck on this issue for weeks. Thanks.
    Solved!
    Go to Solution.
    Attachments:
    AlicatSendCommandGarbage.png ‏308 KB

    I have looked at the device manual and it doesnt contain the characters that are being displayed.
    I tried to simplify it a bit and am now using just a read serial buffer vi.
    I have attached the results that I am getting to this post.
    The results are also somewhat different than the ones I was getting before as they actually have ascii characters.
    Any input would be appreciated as I have no idea how to proceed. There cant be a problem with the code because it is pretty straight forward
    the flow controllers are also working well as I used them just yesterday. 
    Attachments:
    Read_Serial_Buffer.png ‏78 KB

  • Sending command apdu with a byte array as CDATA

    Hi,
    I am learning java card as part of my final year project. So far I think I can do most of the basic things but I have got stuck at one particular point.
    I know that there are different constructors for creating a command apdu object and a number of these constructors take an array of bytes as CDATA values.
    My problem is, how to access this array of data in the card side because apdu.getBuffer() returns an array of integers (bytes)? And what is actually on apdu.getBuffer()[ISO7816.OFFSET_CDATA)] location when you send command apdu object using such a constuctor?
    regards
    Edited by: 992194 on 06-Mar-2013 06:12

    992194 wrote:
    (..) I should have mentioned earlier that my card use jc 2.2.1 version, and i have read from different places that this version does not support ExtendedLength facility.Indeed.
    Also I understand the semantics of apdu.getBuffer()[ISO7816.OFFSET_CDATA] that is the first byte of the command data. My question is, this command data was initially supplied as an array of bytes. Something like this:
    +new CommandAPDU(CLA, INS, P1, P2, DATA_ARRAY, Le)+
    So when you call:
    byte [] buffer = apdu.getBuffer()
    So does this mean that the byte values inside DATA_ARRAY automatically occupy locations +buffer[ISO7816.OFFSET_CDATA]+ onwards inside the buffer?Yes. The length would be<tt> (short)(buffer[ISO7816.OFFSET_LC]&0xFF) </tt>. Notice the<tt> &0xFF </tt> is a must above 127 bytes.
    Or their is a mechanism of extracting the DATA_ARRAY array itself?No.
    In fact, in the interest of performance and portability in environments with little memory, the usual coding style is to pass<tt> buffer </tt>, an offset within that, and the length; rather than making an object, which would require a copy. Welcome to the real world of Java Card.

  • Can't send command to SMTP host

    Hi,
    I am using Jdev11.1.1.2.0 and web logic servere10.3.I am using mail scheduling in weblogic.Actually in window server 2003 I am getting exception is
    get message method--->Can't send command to SMTP host
    javax.mail.MessagingException: Can't send command to SMTP host;
    nested exception is:
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    But same application windows7 Its working.
    So can u give me the idea ? or any configuration webloigc in windows server 2003 ?
    Plz help me.
    Thanks
    Anup

    I put environment variable (path) weblogic.jar but still same issue
    get message method--->Can't send command to SMTP host
    javax.mail.MessagingException: Can't send command to SMTP host;
    nested exception is:
         javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
         at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1564)
    Plz give me the solution..
    Thanks
    Anup

  • 'Send Print Request' button can send paystub output to R/3 print spool:

    Hi
    Portal Experts
    Current state of the SAP environment  on ECC 5.0 and EP 6  SP17
    'Send Print Request' button can send paystub output to R/3 print spool:
    When I clicked on ‘send print request’, I expected a printout to my default printer but didn’t get one.   If the dialog user has the 'print immediate' option turned off, their paystub will spool up in R/3. When a user clicks on the printer ICON within Adobe, they get to choose their printer and know that it will go straight to the printer.  This could be confusing to R/3 dialog users.
    Any solution,How to change the option from spool to print immediate.
    Thanks
    Vanteru

    Facing the same problem.
    Please let me know if you have found a solution.

Maybe you are looking for