The instance is using interface 'eth0' of type 'Unknown'.

Hello,
I've installed an oracle cluster 10.2.0.1.0 with two computer successfully.
The two computer are SUSE linux ; "uname -a" display
Linux dbprod1 2.6.13-15.8-smp #1 SMP Tue Feb 7 11:07:24 UTC 2006 x86_64
x86_64 x86_64 GNU/Linux
After a month I was obliged to change the subnet of eth0. So i must change the
addresses of the 2 machines and the 2 VIP address.
With the utility oifcfg I correct the information about the interface eth0. (I
execute also vipca)
oifcfg iflist
eth0 10.23.11.0
eth1 10.25.13.0
oifcfg getif
eth0 10.23.11.0 global public
eth1 10.25.13.0 global cluster_interconnect
Now in the EM I obtain this two warnings (one for each instance):
mbprod_mbprod2: Interconnect; Interface Type;The instance is using interface
'eth0' of type 'Unknown'.
mbprod_mbprod1:Interconnect; Interface Type; The instance is using interface
'eth0' of type 'Unknown'.
How can I correct the problem?
Thank you very much.

Manorama wrote:
Suppose we are using interface, to use the method declared in the interface, which is implemented in another class. Now what is the difference between using the interface instead of directly instantiating the implemented class to use the method. Can anyone explain me in detail.To use an interface an implementing class must be instantiated somewhere (though not necessarilly in your own code). The object in question is accessed through the interface, but in reality every Object is an instance of a concrete class. For example say you connect to a database. DriverManager gives you an object which implements java.sql.Connection. The object you get will actulay be of a class defined inside the database provider's libraries and which you may well not be allowed to instanciate yourself, all you need to know is that it implements Connection. And because you handle it as a reference to Connection, you don't need to care what the actual class is, you can change the database URL and switch to a completely different database driver without changing your code.

Similar Messages

  • What is the purpose of using rush order  doc type?

    what is the purpose of using rush order  doc type?

    hi,
    In a rush order transaction, the customer picks up the goods or you deliver the goods on the same day as the order is placed. In the standard system, when you save this sales document type, a delivery is automatically created and billing is related to the delivery.
    In the standard system, sales document type SO is saved for rush orders with immediate delivery type LF. Once the goods have been removed from storage, the goods are picked, and goods issue is posted.
    Once the billing documents are created (for example, in collective processing), invoice papers are printed and sent to the customer.
    CHAN

  • What is the purpose of using cash sales doc type?

    what is the purpose of using cash sales doc type?

    You can go through the link
    http://help.sap.com/saphelp_46c/helpdata/en/70/a7853478616434e10000009b38f83b/frameset.htm
    Update from help.sap.com
    Cash sales is an order type for when the customer orders, picks up and pays for the goods immediately. The delivery is processed as soon as the order has been entered. A cash invoice can be printed immediately from the order and billing is related to the order. Receivables do not occur for the customer as they do for rush or standard orders, because the invoice amount is posted directly to a cash account.
    Process Flow
    In the standard system, sales document type BV is saved for cash sales with immediate delivery type BV.
    When the sales employee creates a cash sale, the system automatically proposes the current date as the date for delivery and billing. Once the order has been posted, a delivery with type BV is created immediately in the background and the system prints a document that is used as an invoice for the customer.
    The invoice papers are controlled with output type RD03, contained in the output determination procedure for order type BV.
    If the customer has already received the goods, this delivery should not be relevant for picking. If the customer is to pick the goods up from a warehouse, the delivery should be relevant for picking. If the goods are to be sent, this can be processed by maintaining the delivery in the usual way.
    The system automatically creates a resource-related billing index which updates the billing due list. Billing document BV is created as the system processes the billing due list, but an invoice is not printed.
    Once the customer has received the goods and is satisfied with them, the transaction is considered to be complete. We recommend that you post goods issue in the background using a program designed specifically for this purpose. You can then bill the transaction.
    The cash sale can only be billed if the order quantity is the same as the goods issue quantity. If this is not the case, you need to adjust the cash sale document so that the delivered quantity and the quantity to be billed match.
    You use an order-related collective billing process to bill the cash sale, but an invoice is not printed. The sales order number is used as the reference for the accounting document, created in Financial Accounting.
    Dealing with Problems and Complaints
    If the transaction does not run smoothly, manual intervention is necessary. For example, if the required quantity of goods is not found in the warehouse, you need to adjust the delivery quantity. Equally, if the customer is not prepared to pay the agreed price, because, for example, the goods are scratched, you can change the price in the cash sale document.
    In extreme cases, you can delete the entire transaction, starting with the delivery.
    If the delivery is damaged before it is picked up but after it is paid for and there is no replacement stock, you can initiate a subsequent delivery.
    If you make changes to the cash sale, you can issue a new cash sale invoice using the repeat printout function.
    Creating a Cash Sale
    In the initial screen, choose Logistics ® Sales and distribution ® Sales.
    Choose Order ® Create.
    Enter the order type for cash sales (BV in the standard system) and, if necessary, the organizational data.
    The values for sales organization, distribution channel and the division are usually proposed from user-defined parameters. Entries for the sales office and the sales group are optional.
    Choose Enter.
    Enter the following data:
    – Customer number of the sold-to party
    – Material numbers
    – Order quantities for the materials
    Choose Enter.
    If the system carries out an availability check and finds that there is insufficient stock for an order item to be delivered on the requested date, it displays a screen on which you can choose between several delivery proposals. Normally, in a cash sale, you only sell the quantity you can deliver on the spot.
    Save your document.
    The system automatically processes the delivery in the background and prints out a cash sale invoice. The amount of the sale is processed later in an order-related billing transaction. The amount is posted to financial accounting, using the order number as reference. Because this is a cash sale, no invoice is produced during the billing run.

  • What is the advantages of using Interface?

    Hi,
    I still don't get what's the advantages of using interface. Reusability? is it the main advantage? thanks in advance.

    What is GOF?
    Interface is a good program practice when working with RMI (Remote Method Invocation) application. Imagine your anti-virus. When you connect to internet your software invoke a method into your software vendor site and download the new definitions. Now every anti-virus Subscription is different. The method you invoke, will depends on your Subscription. If you hard code the method abstractly, you will not achieve this functionality.
    Another concept is that because Java does not practice multile inheritance interface is a goog way to interface into another class.
    Example
    I want to extends to multiple class which java do not support. I will write an interface i.e I want to extends to FileOutputStream, OutputStream, Object, Integer, String, ActionEvent, Window etc.
    I will write an interface like this
    interface MyClass {
    pulic void setFileOutputStream ( FileOutputStream file );
    public void setOutputStream ( OutputStream );
    public Object getObject ( );
    public Seriable getInterget ( )
    ------------------- //You get the gist
    With this interface you can implement they behaviours
    You could say, why don't we just import them. When yo import them you have already hard coded there behaviour. But this way you can apply diferent behaviour throughout you application development. And any class that implement them must provide ways of using it.

  • How to delete rows in the target table using interface

    hi guys,
    I have an Interface with source as src and target as tgt both has company_code column.In the Interface i need like if a record with company_code already exists we need to delete it and insert the new one from the src and if it is not availble we need to insert it.
    plz tell me how to achieve this?
    Regards,
    sai.

    gatha wrote:
    For this do we need to apply CDC?
    I am not clear on how to delete rows under target, Can you please share the steps to be followed.If you are able to track the deletes in your source data then you dont need CDC. If however you cant - then it might be an option.
    I'll give you an example from what im working on currently.
    We have an ODS, some 400+ tables. Some are needed 'Real-Time' so we are using CDC. Some are OK to be batch loaded overnight.
    CDC captures the Deletes no problem so the standard knowledge modules with a little tweaking for performance are doing the job fine, it handles deletes.
    The overnight batch process however cannot track a delete as its phyiscally gone by the time we run the scenarios, so we load all the insert/updates using a last modified date before we pull all the PK's from the source and delete them using a NOT EXISTS looking back at the collection (staging) table. We had to write our own KM for that.
    All im saying to the OP is that whilst you have Insert / Update flags to set on the target datastore to influence the API code, there is nothing stopping you extending this logic with the UD flags if you wish and writing your own routines with what to do with the deletes - It all depends on how efficient you can identify rows that have been deleted.

  • Problem with 2 receive activities-cnt see the instance even using wait acti

    Hi all,
    I have an MQ adapter in my asynchronous BPEL (10.1.3.4) flow.
    I first invoke the MQ Adapter partner link and then listen to the message using a recieve activity.
    But when i try to invoke it, i am nt able to see the instances.
    However, when i implement the same logic using empty BPEL process template it works fine.
    But the problem is that i need to make it work in the asynchronous mode.
    I tried to dehydrate it with the wait activity of 1 sec at the beginning of the flow. But that too is not helping me.
    ( Asynchronous activity has 2 recieve activities - one for the client and other for the MQ adapter partner links.
    But the empty process has just one invoke and one recieve activity. )
    Could any one tell me what is the problem? It is very urgent. I have demo tomorrow.
    Any help is greatly welcome.
    thanks and regards
    Vishal

    People i have somehow managed to see the instances. I am using the third option of the ones i mentioned earlier for MQ Adapter.
    I am able to invoke but the flow is stuck at the recieve activity.
    Do we have to do anything with the correlation set?
    The MQ adapter gives an option to use default ciorrelation set, i am going with that for now.
    Log says-
    Not fatal connection error ... not retrying: class com.collaxa.cube.engine.delivery.DeliveryCorrelationException: Failed to evaluate correlation query.
    Failed to evaluate the correlationAlias query "/ns2:change_en_res/ns2:dn" on the element "oracle.xml.parser.v2.XMLElement@1eafc05"
    Please check your BPEL/WSDL source to make sure that property alias is defined correctly.
    Guys plz help
    thanks and regards,
    Vishal
    Edited by: vishal vashista on Mar 24, 2010 10:11 AM

  • Error while starting the instance while using ASM

    I used the following steps to work with ASM concept.
    1)To create an ASM instance first create a file called "init+ASM.ora" in the "/tmp" directory containing the following information.
    INSTANCE_TYPE=ASM
    2)Next, using SQL*Plus connect to the ide instance.
    export ORACLE_SID=+ASM
    sqlplus / as sysdba
    3)Create an spfile using the contents of the "init+ASM.ora" file.
    SQL> CREATE SPFILE FROM PFILE='/tmp/init+ASM.ora';
    File created.
    Finally, start the instance with the NOMOUNT option.
    SQL> startup nomount
    SQL>
    ORA-29701: unable to Connect to Cluster Manager
    Please help me in this regard

    Ya I have done that
    and i tried to create diskgroups as follows
    CREATE DISKGROUP disk_group_1 NORMAL REDUNDANCY
    FAILGROUP failure_group_1 DISK
    '/disk1/diska1' NAME diska1,
    '/disk1/diska2' NAME diska2
    FAILGROUP failure_group_2 DISK
    '/disk2/diskb1' NAME diskb1,
    '/disk2/diskb2' NAME diskb2;
    ORA 15018:diskgroup cannot be created
    ORA 15031:disk specification '/disk1/diska1' matches no disks
    ORA 15031:disk specification '/disk1/diska2' matches no disks
    ORA 15031:disk specification '/disk2/diskb1' matches no disks
    ORA 15031:disk specification '/disk2/diskb2' matches no disks
    How can I proceed further

  • How to reference the Instance name using Substitution string or SQL

    All:
    We have an Application that will be replicated in multiple Apex instances and would like to display the current Oracle Apex Instance name ( Similar to the &APP_USER. on the Welcome portion of the page ) .
    Is there a substitution string for this ?
    We plan on using a Show/Hide region on the splash page titled [About], that when clicked displays an HTML region with the subsitution strings.
    If no substitution strings, can someone help with an SQL that returns the Instance name ?
    Thanks for all the help.
    Aubrey Fernandes

    Aubrey Fernandes wrote:
    I currently have 3 URLs to get to my Development, QA and Production servers & will have many more production servers with different Application Ids.
    Development = http://canqa101:7777/pls/ngcrmd01/apex
    QA = http://canqa101:7777/pls/ngcrmq01/f?p=100:1
    Production = http://cancs105:7777/pls/ngcrmp01/f?p=100:1
    What I need are the portions before the final forward slash ( canqa101:7777/pls/ngcrmd01 ) which I assumed is the Oracle Apex instance.That information is determined by the web server configuration (e.g. the DADs when using OHS) rather than through APEX itself. There are no built-in substitution strings for this. Create an application item and an On New Instance (new session) computation to set the value using the function<tt>owa_util.get_cgi_env</tt> function to get the CGI environment variables <tt> HTTP_HOST</tt> and <tt>SCRIPT_NAME</tt>. You can then reference the value in the region using substitution string syntax.

  • What is the impact of using a variant data type on performance, speed memory demands etc?

    This is another one of my "lets get this settled once and for all" threads.
    I have avoided variant data types whenever possible to keep the performance of my apps up. From some observatsions i have made over the years, I am of the opinion that;
    1) In-place operations can not be carried out on variants.
    2) Passing a variant to a sub-VI (regardless of the terminal on the icon connector) are always copied.
    I would like confirmation or correction of the above so we know more about this animal we call LabVIEW.
    Thank you,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Solved!
    Go to Solution.

    A couple notes:
    1. You can use the To/From Variant nodes for the Inplace Element Structure to operate inplace on the contained variant data. This should work just fine even if you have a big 2D array contained.
    2. Variants are incredibly useful when you use them for Variant Attributes, rather than just storing data. The Variant Attribute implementation uses a binary tree to store the key value pairs, which provides quick insertion and lookup.
    3. I don't work on the internals of LV, but I see no reason whatsoever that passing a variant into a subVI would always necessitate a copy. I could be wrong, but that sounds very odd to me.
    However, I have generally started trending towards using flattened strings. Flattened strings are generally more efficient memory-wise, because they don't contain all the type descriptor information, just the raw data. (I think there's some exception when flattening LV Classes.) Variants always store the type descriptor, so even an empty variant can take up a bit of memory.
    Variants received a big performance boost from 7.x to 8.x. They used to have a bad reputation, but I wouldn't be afraid to use them where applicable. I personally don't see a lot of benefits over flattened strings, though, except in the case of tools like the OpenG Variant INI files, which can dynamically parse out and construct variant types.
    Jarrod S.
    National Instruments

  • How to instantiate a control in code instead of using Interface Builder ?

    I really appreciate the combination of the interface builder and Xcode altogether.
    However when I am learning QT, I realize I had been pampered by Apple's Design to a certain extend as I only need to create say a NSLabel instance and use Interface Builder to do the linking and never have to worry about instantiating the Object myself.
    But I'm curious, what is the way to instantiate a new hmmm say...NSLabel in the code ?
    NSLabel* label = new NSLabel();
    Then what ?
    What you are seeing here is how QT did it, could anyone create an equivalent in ObjC ? No fancy code please, just bare minimum.
    #include <QApplication>
    #include <QWidget>
    #include <QLabel>
    int main (int argc, char * argv [ ])
    QApplication app(argc, argv); //NSApplication in ObjC
    //These two lines merely created a window and set the title bar text.
    QWidget* window = new QWidget();
    window->setWindowTitle("Hello World");
    QLabel* label = new QLabel(window);//Create a label and inform the it belongs to window.
    label->setText("Hello World");
    window->show();
    return app.exec();
    Message was edited by: Bracer Jack

    Hi Jack -
    I think my best answer will be something of a disappointment, because I don't know how to show a one-to-one correspondence between the code you're working with and a Cocoa program. The main function of a Cocoa GUI program for OS X will look something like this:
    #import <Cocoa/Cocoa.h>
    int main(int argc, char *argv[])
    return NSApplicationMain(argc, (const char **) argv);
    As you commented, we could draw a correspondence between the first statements, but after that the functionality of the Cocoa program is going to be spread out in a way that makes for a rather tedious comparison. The only way I know to answer your question in less than 5000 words, is to skip ahead to one of several points in the startup sequence where the programmer can intervene with custom code.
    For example, a common way to get control would be to program a custom controller class and add an object of that class to the main nib file which is loaded during the startup sequence. By making a connection to the Application object in that nib file, the custom object could be made the delegate of the Application object, and if we then added a method named applicationDidFinishLaunching, our code would run as soon as the application's run loop was started.
    Now I finally have enough context to directly answer your question, so here is the code to create a label and add it to the key window at launch time:
    // MyAppController.m
    #import "AppController.h"
    @implementation AppController
    - (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    NSLog(@"applicationDidFinishLaunching");
    NSRect frameRect = NSMakeRect(150, 300, 150, 30);
    NSTextField *label = [[NSTextField alloc] initWithFrame:frameRect];
    [label setEditable:NO];
    [label setStringValue:@"Hello World!"];
    [label setFont:[NSFont labelFontOfSize:20]];
    [label setAlignment:NSCenterTextAlignment];
    NSView *contentView = [self.window contentView];
    [contentView addSubview:label];
    @end
    If I needed to develop a worst case scenario for this thread, the next question would be, "Ok sure, but your code still needs a nib to start up. I want to see a Cocoa GUI program that doesn't require any nib".
    It turns out that it's quite easy to build a simple iPhone app without any nib, but it's considerably more difficult for an OS X app. If anyone wants to see my nib-less iPhone code, I'll be happy to post it (I think I did post it here once before, and the response was underwhelming). But I've never attempted the much more difficult nib-less OS X app. Just in case you really want to go there, here's a blog that goes into the details: [http://lapcatsoftware.com/blog/2007/07/10/working-without-a-nib-part-5-open-re cent-menu>.
    Hope some of the above is helpful!
    - Ray

  • Why to use Interface if methods are not implemented??

    Hello,
    I am having a problem to clearify as, why to use the interfaces which defines only methods and no implementation??
    When a class implements an interface the methods are implemented by the class itself, don't you think that the same functionality can be achieved if the class defined the method itself...
    The why to use interfaces, just that the same method name can be used by many classes or some other reasons..

    did you google on that? There is lots of information I am sure explaining why you code to an interface defined type rather than a class defined type.
    However, fundamentally you are correct, classes define their own type. The idea is that you use an interface because it allows you to have more than one implementation. Plus you can more easily change the structure of your program if you later wish if you did not use the class type directly.
    You get better answers if you ask in the Patterns forum below.

  • Creation of Excise Invoice in J1IS Transaction - using DLFC ref. doc. type

    Hi,
    I tried to create the excise Invoice using Ref. Doc Type DLFC in J1IS by giving the material document. But it is not allowing me to process further.
    The business process requirment is to create a Supplementary Excise Invoice(Customer is Billed for a lesser value earlier)
    we tried the following:
    1. Credit memo request
    2. Credit Memo
    3. Excise Invoice in J1IS using sub.Tran Type(to map the Sales exc Inv Accounts). The reson why we used J1IS is to meet the requiremnt of generating the Outgoing Excise Invoice Number which is not possible in J1IH.
    Now the issue is, the excise invoice created in J1IS is not available for Utilizaton in J2IUN
    Please Suggest what process to be followed to address the issue.
    regards,
    Girish

    In normal circumstances, it is not possible to generate an excise invoice for credit / debit notes in SAP.  Moreover, DLFC excise invoice type can be generated only if delivery is involved.  So in order to achieve the requirement (and fool the system :-|), you can try by creating a delivery with an item category as TAX so that it will not check for stock, do PGI and invoice (credit memo) can be generated  referencing credit memo request.  Finally, try to generate an excise invoice via J1IIN
    I have never tried this option and hence, its only a guess that this should work.  Update after testing.
    thanks
    G. Lakshmipathi
    Edited by: Lakshmipathi on Jul 26, 2011 2:07 PM

  • Idoc type used for an output type

    Hi experts,
    How do I find the Idoc structure used by an output type.
    When i look in nace it only shows the program name as RSNASTED and form routine as EDI_PROCESSING.
    Thanks,
    Raghu.

    I guess i have to explain the whole problem.
    We are trying to eliminate a couple of items from going down to 4 output types of which 3 of them are using EDI.
    So I think we should eliminate them from being populated in the line items of each IDOC.
    i.e) each basic type/ extension whichever it uses.
    Does it make sense?
    if not please advice, I am new to EDI.
    Thanks and regards,
    Raghu

  • Why we use interfaces ?

    hi all!
    i m confused that what is the advantage of using interfaces for classes if it is for security,data hiding pupose then we can use private modifiers,then y is this think built in java and which r the cases in which we must use interfaces and y?
    plz give me any simple example to understand ur point
    thanx in advance.
    sajjad ahmad

    Hmm... First, I'm sorry about my English... but i will try.
    In C++ we can use multi-inheritance that let the developer "extends" one or more classes.
    eg.
    class Hello extends A,B,C,D
    This case can be happened in C++.
    But If both class A and B have a method call "void sayMyName()"
    How can we refer which method was called when we call "Hello.sayMyName()"
    A.sayMyName() or B.sayMyName()
    So java don't allow this thing happen.
    Java allow developers to extend "only one class"
    but to enable multi-inheritance ability Java allow developer to implement more than one class.
    That is "interface" which was implemented.
    Now lets talk about it's benefits.
    Interface is not for security or data hiding purpose.
    But interface is used for "make a template".
    When I created one class called Hello.
    But I have created another class too.
    Now I want to make sure that my classed have a method "void say()"
    What can I do ?
    1. Make some class that have a method "void say()" and let my classes extend it.
    2. Make an interface and implement it.
    Choise number one is quite good ... but !!!
    If I have to extend some another class that is more important such as "Applet"
    Now I can't extend another class.
    I need only method "void say()". But I don't care what it does.
    So I make an interface that force the implementing class to create a method "void say()"
    and I implement it.
    Question: Why I have to implement this interface ? If I only define a method "void say()"
    The problems is gone ....
    Answer: That may be true if I want them to have a method. But how can I refer to them.
    Lets see this code.
    class A extends Applet {
    void say() {System.out.println("My name is A");}
    ... go on ...
    class B extends Applet {
    void say() {System.out.println("My name is B")}
    ... go on ...
    class GO {
    public void letMeSay(............. o) {
    o.say();
    What can I fill in the argument of method "letMeSay()"?
    Object ? Object doesn't have a method "void say()"
    Applet ? With the same reason.
    Now lets see another code.
    interface Sayable {
    abstract void say();
    class A extends Applet implements Sayable {
    void say() {System.out.println("My name is A");}
    ... go on ...
    class B extends Applet implements Sayable {
    void say() {System.out.println("My name is B")}
    ... go on ...
    public void letMeSay(Sayable o) {
    o.say();
    It's ok right ... I can refer to interface "Sayable" that can "say"
    Next benefit of interface ... "define Constants field"
    We can define constants in an interface and implements it to everywhere we want to use those constants. When we change a value in this interface ... Constants in another place will be changed too .... that is very useful ....(But this may have change in J2SE 1.5 ... see more info)
    "I HOPE THIS REPLY MAY GIVE YOU SOME KNOWLEDGE ... GOOD LUCK WITH PROGRAMMING"

  • Retrieved the instance(s) of scheduled reports

    Hello
    I am writing a Java command-line program in order to schedule reports (in "right now" mode) in BO XI R2 running on a Windows Server 2003 server.
    This program will be launched from an third part scheduler which needs to know the final status of the scheduled report.
    My idea is to code an active loop (with sleep) that checks uppon instance status until it is COMPLETED or FAILED.
    First, is there another, more elegant way to do it? (maybe using some kind of listener mecanism or something)
    Otherwise, how can I retrieve a reference of the instance scheduled using the Schedulable.schedule() method?
    I was thinking about using the Schedulable.getLatestInstance() method but there is no garantee that this is REALLY the one that this program has just scheduled, is there?
    Thanks
    Guillaume

    Very usefull answer, thanks.
    I experienced a difference between scheduling a report from the InfoView and from the SDK:
    When a report is scheduled from InfoView, it goes to the 'RUNNING' status right away but when scheduled from the Java SDK, it stays in the 'PENDING' status for a minute or so before going to the 'RUNNING' status.
    Any idea why?
    Here is a snippet of code I am using (just in case):
                   ISchedulable reportSchedulable = (ISchedulable) infoObject;
                   IInfoObject reportObj = infoObject;
                   ISchedulingInfo reportScheduleInfo = reportSchedulable.getSchedulingInfo();
                   reportScheduleInfo.setType(CeScheduleType.ONCE);
                   reportScheduleInfo.setRightNow(true);
                   infoObjects = infoStore.query("select top 1 * from CI_SYSTEMOBJECTS where SI_NAME = 'CrystalEnterprise.Managed'");
                   IManaged managed = (IManaged) infoObjects.get(0);
                   IManagedOptions managedOptions = (IManagedOptions) managed.getScheduleOptions();
                   managedOptions.setDestinationOption(IManagedOptions.CeDestinationOption.ceInbox);
                   managedOptions.setSendOption(IManagedOptions.CeManagedSendOption.ceCopy);
                   Set destinations = managedOptions.getDestinations();
                   for(int i = 0; i < recipients.length; i++) {
                        infoObjects = infoStore.query("select top 1 * from CI_SYSTEMOBJECTS where SI_KIND = '"+ recipients<i>[0] +"' and SI_NAME = '"+ recipients<i>[1] +"'");
                        IInfoObject userOrGroup = (IInfoObject) infoObjects.get(0);
                        destinations.add(new Integer(userOrGroup.getID()));
                   IDestination managedDestination = reportScheduleInfo.getDestinations().add(managed.getProgID());
                   managedDestination.setFromPlugin(managed);
                   infoStore.schedule(reports);
                   Object newJobId = reportObj.properties().getProperty("SI_NEW_JOB_ID").getValue();
                   int newJobStatus;
                   String query = "select top 1 * from CI_INFOOBJECTS where SI_ID = '"+ newJobId +"'";
                   boolean loop = true;
                   while(loop) {
                        infoObjects = infoStore.query(query);
                        newJobStatus = ((IInfoObject) infoObjects.get(0)).getSchedulingInfo().getStatus();
                        loop = newJobStatus != ScheduleStatus.COMPLETE && newJobStatus != ScheduleStatus.FAILURE;
                        String statusStr;
                        switch(newJobStatus) {
                        case ScheduleStatus.COMPLETE:
                             statusStr = "COMPLETE";
                             break;
                        case ScheduleStatus.FAILURE:
                             statusStr = "FAILURE";
                             break;
                        case ScheduleStatus.PAUSED:
                             statusStr = "PAUSED";
                             break;
                        case ScheduleStatus.PENDING:
                             statusStr = "PENDING";
                             break;
                        case ScheduleStatus.RUNNING:
                             statusStr = "RUNNING";
                             break;
                        default:
                             statusStr = "UNKOWN";
                        ToolBox.log("La plannification est au statut '"+ statusStr +"'.");
                        if(loop) {
                             Thread.sleep(1000);
                   session.logoff();

Maybe you are looking for

  • How can I setup a web server with 200 web site

    Dear all, I am going to get a PowerMac X 10.5.8 and I would like to use it to setup a web server to host 200 account. However it is a chalenge because I never did a such work with mac and I would like to have some advice from us and particularely abo

  • CUSTOMER SERVICE NIGHTMARE!!!!!!Solutions?

    I have been all around the mulberry bush with C.S. My issue: ever since getting my e-mac I periodically lose the connection between my .mac e-mail and the mail icon. I can log onto the website for e-mail, however nothing offline. I have called 3 time

  • Apple Wireless Keyboard

    I cannot get my apple wireless keyboard to work. I changed the batteries and now I can't get it to pair. When I go into set up bluetooth device I click on find keyboard and it shows nothing found. When I click other device it recognizes it but when I

  • Runtime cache updating

    Hi I have installed XI server (installation,post installation,configuration)accrording to the guide given by SAP. I have done a simple file to file to scenario. Sender comm channel and Sender agrmnt is not updated in Runtime cache , all other ID obje

  • HT1926 itunes installation rolls back in windows 7

    I had iTunes on my PC and I was using it until it failed to read my iphone, so I tried to reinstall it.  The installation of itunes 10.6 for 64 bit starts, but rolls back and aborts after the step labeled "copying files".  This happens again and agai