Blocking DataFactory.INSTANCE.create(Class)

Hello,
we are using SOA suite 11g 1.1.2 and have some issues with SDO objects. Our EJB web service returns a SDO object and calls commonj.sdo.helper.DataFactory.INSTANCE.create(Class) to construct it. This call however blocks and jrockit mission control revealed
that all cpu is consumed within org.eclipse.persistence.sdo.helper.delegates.SDODataFactoryDelegate. In a debugging session we found
that the following loop never exits:
(in org.eclipse.persistence.sdo.helper.delegates.SDODataFactoryDelegate)
public DataObject create(Class interfaceClass) {
ClassLoader contextLoader = xmlHelper.getLoader();
ClassLoader interfaceLoader = interfaceClass.getClassLoader();
ClassLoader parentLoader = contextLoader;
boolean loadersAreRelated = false;
*while ((parentLoader != null) && (!(loadersAreRelated))) {*
if (parentLoader == interfaceLoader)
loadersAreRelated = true;
parentLoader = contextLoader.getParent();
It seems there's a mixup with the classloaders here and the exit condition is never satisfied.
The flow of events is as such: BPEL process ---(ejb binding)---> stateless session bean ----> DataFactory.INSTANCE.create(Class)
Inside the SCA-INF/lib folder of the BPEL we include a jar that contains the .class files of the EJB's remote interface.
The problem can be resolved by calling SDOHelper.INSTANCE.defineSchema() right before every DataFactory.INSTANCE.create(Class) invocation but this is a very expensive call...
Can anyone suggest why this happens and/or some solution?
Thanks

Were you able to fix this ? I am getting same exception
Edited by: Sam on Apr 12, 2012 10:33 AM

Similar Messages

  • Problem referencing a newly created class instance - I don't understand why

    Hi,
    I am completely new to actionscript although I do come from a OOP background. I have been asked to trial Flash and Actionscript 3 in particular - so I do come with a few preconceptions on how I expect actionscript to behave.
    I have a problem I donot understand. I have created a new class and to test it I use a simple test harness in the form of a .fla file.
    The issue I have is when I create a new instance of the class and assign it to a variable, subsequent background changes to that instance of the class are not 'picked-up' when referenced through the variable. I would expect that given instance of class could be assigned to many different variables and any updates using one variable would  accessible using any of the other variables.
    My test class, XMLDataLoader, is coded as follows:
    package  {   
        public class XMLDataLoader {
            import flash.events.*;
            import flash.net.*;
            import flash.utils.*
            private var _xmlData:XML;
            private var _xmlLoaded:Boolean;
            public function XMLDataLoader(pFileName:String){
                init(pFileName);
            public function getXMLData():XML {
                return this._xmlData;
            public function XMLLoaded():Boolean {
                return this._xmlLoaded;
            private function init(pFileName:String):void
                // Create the URLLoader instance to be able to load data
                  var loader:URLLoader = new URLLoader( );
                var urlRequest:URLRequest = new URLRequest(pFileName);
                this._xmlLoaded = false;
                // Define the event handlers to listen for success and failure
                   loader.addEventListener ( Event.COMPLETE, handleComplete );
                loader.load(urlRequest);
                function handleComplete ( e:Event ):void
                    trace ( "The data has successfully loaded" );
                    this.xmlData = new XML(e.currentTarget.data);
                    this._xmlLoaded = true;
    The class simply reads a text file and assigns its contents to the class variable _xmlData. The class variable _xmlLoaded identifies when the load is complete.
    The test harness is a simple flash app consisting if a single timeline with 1 frame, 1 symbol on the stage and the following actionscript code:
    import flash.events.TimerEvent;
    var t:XMLDataLoader = new XMLDataLoader("Test Article.xml");
    var xmlData:XML;
    var waits:uint = 0;
    wait(1);
    function wait(ct:uint):void
        var TimerInstance:Timer = new Timer(500, 1);
        TimerInstance.addEventListener(TimerEvent.TIMER, TimerHandler);
        TimerInstance.start();
        function TimerHandler(event:TimerEvent):void
           if(t.XMLLoaded()){
                xmlData = t.getXMLData();  
                trace(xmlData.toXMLString);
            } else {
                trace(ct + " - Waiting....");
                if (ct <= 10) {
                    wait(++ct);
    The script defines a variable and assigns it a new instance of the XMLDataLoader. Originally, I immediately followed this with a trace statement but  insuffient time had elapsed to allow the load to complete, so I had to introduce a wait function to force a delay. This wait function is recursive. It checks to see if the load is complete. If it is, a trace statement will outoput the xml. If not the function will call itself again (upto 10 times)
    The resultant output is as follows:
    The data has successfully loaded
    1 - Waiting....
    2 - Waiting....
    3 - Waiting....
    4 - Waiting....
    5 - Waiting....
    6 - Waiting....
    7 - Waiting....
    8 - Waiting....
    9 - Waiting....
    10 - Waiting....
    According to this output, the XML has been loaded before the end of the first timer cycle but this is not detected in the test harness. I have stepped through the code in debug mode and I have confirmed that the XML was loaded, and the class variables where correctly set, including _xmlLoaded = true. However, in the test harness the instance both class variables  are null. I don't believe this should be the case but obviously I must be wrong - can anyone explain where my logic is flawed. I did think scoping might be the problem but having tried a couple of modifications, I concluded that it wasn't.
    Thanks in advance.

    never nest named functions.  unnest TimerHandler and retest.
    (and, you should be using listener to determine when loading is complete.)

  • How to reference the class-instance, created in parent class.

    Hi, I have following scenario. During compilation I am gettting error message -- "cannot resolve symbol - symbol : Variable myZ"
    CODE :
    under package A.1;
         ClassZ
         Servlet1
              ClassZ myZ = new ClassZ;
    under package A.2;
         Servlet2 extends Servlet1
              myZ.printHi();
    How to reference the class-instance created in the parent class?

    some corrections ...
    under package A.1;
         ClassZ
         Servlet1
              init()
                   ClassZ myZ = new ClassZ;
    under package A.2;
         Servlet2 extends Servlet1
              myZ.printHi();

  • Create instance of class

    Hi all,
    I have problem with creating static fields in class. I have separate packages in my project and I need to have instances for all classes in this packages. I create instance of class using next code:
    public class Digest
       private static Digest digest = null;
       protected Digest ()
      public static Digest getInstance()
             if(digest == null)
              digest = new Digest();
            return digest;
      public static void clearInstacePool()
             digest = null;
    }But I have problem with deleting my packages and applet after I call Digest.getInstance(). I need to implement clearInstacePool() method to set reference of digest to null in unistall() method of my applet. Question is: how to create instance of class without implementing clearInstacePool()?

    Question is: how to create instance of class without implementing clearInstacePool()?That question doesn't make sense,or at least it is ambiguous. 'Create instance' usually involves the 'new' operator, which has nothing to do with what methods are implemented. Do you mean how to code the class without implementing clearInstancePool()?

  • How to get instance of Class with its type parameters

    Hi,
    Have any of you folks been dealing with generics long enough to show me how this should be written? Or point me to the answer (I have searched as well as I could).
    I boiled down my situation to the included sample code, which is long only because of the inserted comments. And while boiling I accidentally came across a surprise solution (a bug?), but would obviously prefer a smoother solution.
    My Questions (referred to in the code comments):
    #1. Is there a way to get my parameterized type (classarg) without resorting to using the bogus (proto) object?
    #2. Can anyone understand why the "C" and "D" attempts are different? (All I did was use an intermediate variable????) Is this a bug?
    Thanks so much for any input.
    /Mel
    class GenericWeird
       /* a generic class -- just an example */
       static class CompoundObject<T1,T2>
          CompoundObject(T1 primaryObject, T2 secondaryObject)
       /* another generic class -- its main point is that its constr requires its type class */
       static class TypedThing<ValueType>
          TypedThing(Class<ValueType> valuetypeclass)
       // here I just try to create a couple of TypedThings
       public static void main(String[] args)
          // take it for granted that I need to instantiate these two objects:
          TypedThing<String>                        stringTypedThing = null;
          TypedThing<CompoundObject<String,String>> stringstringTypedThing = null;
          // To instantiate stringTypedThing is easy...
          stringTypedThing = new TypedThing<String>(String.class);
          // ...but to instantiate stringstringTypedThing is more difficult to call the constructor
          Class<CompoundObject<String,String>> classarg = null;
          // classarg has got to be declared to this type
          //    otherwise there will rightfully be compiler error about the constructor call below
          // This method body illustrates my questions
          classarg = exploringHowToGetTheArg();
          // the constructor call
          stringstringTypedThing = new TypedThing<CompoundObject<String,String>>(classarg);
       } // end main method
       // try compiling this method with only one of A,B,C,D sections uncommented at a time
       private static Class<CompoundObject<String,String>> exploringHowToGetTheArg()
          Class<CompoundObject<String,String>> classarg = null;
          /* Exhibit A: */
      ////     classarg = CompoundObject.class;
             results in compiler error "incompatible types"
             found   : java.lang.Class<GenericWeird.CompoundObject>
             required: java.lang.Class<GenericWeird.CompoundObject<java.lang.String,java.lang.String>>
                   classarg = CompoundObject.class;
                                            ^
             I understand this.  But how to get the type information?
          /* It's obnoxious, but it looks like I will have to construct a temporary
              prototype instance of type
                 CompoundObject<String,String>
              in order to get an instance of
                 Class<CompoundObject<String,String>>
              (see my Question #1) */
          CompoundObject<String,String> proto = new CompoundObject<String,String>("foo", "fum");
          /* Exhibit B: */
      ////     classarg = proto.getClass();
             results in compiler error: "incompatible types"
             found   : java.lang.Class<capture of ? extends GenericWeird.CompoundObject>
             required: java.lang.Class<GenericWeird.CompoundObject<java.lang.String,java.lang.String>>
                   classarg = proto.getClass();
                                            ^
          /* Exhibit C: */
      ////     classarg = proto.getClass().asSubclass(proto.getClass());
             results in compiler error: "incompatible types"
             found   : java.lang.Class<capture of ? extends capture of ? extends GenericWeird.CompoundObject>
             required: java.lang.Class<GenericWeird.CompoundObject<java.lang.String,java.lang.String>>
                   classarg = proto.getClass().asSubclass(proto.getClass());
                                                         ^
          /* Exhibit D: (notice the similarity to C!): */
      ////     Class tmp1 = proto.getClass();
      ////     classarg = tmp1.asSubclass(tmp1);
          /* It compiles (see my Question #2) */
          return classarg;
       } // end method exploringHowToGetTheArg()
    } // end class GenericWeird

    Thanks so much, Bruce. (Oh my goodness, how would I have ever come up with that on my own?)
    So in summary
    This doesn't compile:
          classarg = (Class<CompoundObject<String,String>>)CompoundObject.class;but these do compile:
          classarg = (Class<CompoundObject<String,String>>)(Class)CompoundObject.class;or
          Class coclass = (Class)CompoundObject.class;
          classarg = (Class<CompoundObject<String,String>>)coclass;And this doesn't compile:
           classarg = proto.getClass().asSubclass(proto.getClass());but this does:
           Class tmp1 = proto.getClass();
           classarg = tmp1.asSubclass(tmp1);

  • Instancing a class whose classname is a variable

    I'm currently working on building a rudimentary 2D game engine and development kit program for building objects and I've run into an interesting problem. Here's what I want to do
    1. User creates new object which extends one of my other types of objects with user-defined name
    2. User defines constructor parameters and can alter the code of the object
    3. User hits save button, program writes new file with <user-defined name>.java as it's name
    4. Program compiles the objects
    (This is where I am right now)
    5. Program instances new object whose class is the newly created user defined class
    6. Program saves newly instanced object (easy since they'll be serializable eventually)
    7. Separate program opens the instanced object and uses it
    Now then this poses 2 questions. 1, is there a better way to do this sort of thing? By this sort of thing I mean created a new java class, saving it, instancing it, and using it in a separate program. 2, the main question is, is this even possible? Is it possible to instance a class whose name is determined at runtime? Something tells me it's not possible, simply because that would make it really easy to write dynamic code that changes at runtime and since that's often talked about as a difficult thing I doubt there's any other why to do it. I have another possibility, but it would make loading these objects insanely difficult and since I want them to be editable that means I'd much rather use a different method. Also the other method has some other problems that are hard to explain without getting into what the program does.
    I also would like to throw another question in.
    What's the best (easiest to write) way to detect (at runtime) if one of your programs is performing an infinite recursion? I've been working on a very stupid recursion based pathfinding AI for the same program, it was originally loop based but I realized recursion would cut the code down by a lot and make it smarter. However recursion also introduced an infinite loop problem because the AI works by picking two paths when it hits an object, right and left, then examining those recursively. So when I hit an object, go right, and hit another object the AI tests going back the way it came and gets stuck. Any suggestions would be most appreciated, my current method is to pass each recursive call a list of the points already visited and check if the destination for that call is the same as any of those points then simply cancel going that way however that's not working too well.
    Thanks for any help.

    Jverd - I know right now what constructor I'm calling and what arguments it takes...right now. That's subject to change and I would rather not dig through my code to find where I hard-coded it if another option is available.
    Here's what I have right now, it's giving me an error that newInstance() cannot be applied to newInstance(Object[]). If I try to do newInstance(params[0], params[1]) etc based on the length of params it gives me the same error except it changes newInstance(Object[]) to newInstance(Object, Object) etc
    Object[] params = new Object[textFields.size()];
    for (int i=0; i<textFields.size(); i++)
         if (parameters.get(i) == "int")
              params[i] = Integer.parseInt(textFields.get(i).getText());
         else if (parameters.get(i) == "String")
                 params[i] = textFields.get(i).getText();
         else
              params[i] = null;
    obj = obj.newInstance(params);I know I'm making a stupid mistake but I've never worked with that varargs thing before and so I don't know what stupid mistake I'm making. And in case it helps the constructor I'm trying to call at the moment is for my Item class which looks like this
    public RoNItem(boolean isGrenade, boolean isMedpac, boolean isObjective, int weight, int numberOfItems, String pictureLocation, String name, String description, String soundClipLocation)
    it takes 2 booleans (which I just noticed, so I guess my constructors take ints, Strings and booleans), 2 ints, and 4 strings right now. One of those strings was added yesterday, which is why I'd like to write some code that can adapt. The parameters the user is typing in are already loading from the file so the user will always enter the proper number and type of parameters, I just need to worry about how to pass those.

  • Creating classes and coding style

    Friends I am little confused in how to go about creating classes.I have ideas but not sure which will be better.
    I have say 3 oracle tables and I am developing three classes for each table.All the classes will be doing is do the SELECT,DELETE,INSERT,UPDATE operation with the oracle tables.Say for example I have two tables.
    DEPT_TABLE
    dept_key
    dept_desc
    tot_emp
    EMPLOYEE_TABLE
    emp_key
    emp_name
    dept_key
    emp_sal
    So I will be developing 2 classes for the 2 table
    public class Dept {
    private int deptKey = -1;
    private int totEmp = -1;
    private String deptDesc = "";
    public void select(){
    //select dept records
    public void insert(){
    //insert dept records
    public void update(){
    //update records
    public void delete(){
    //delete records
    similarly a Employee class will be developed.
    Now my confusion is does it make sense.
    Also is it a nice idea to have dept object as one of field in the employee class instead of the depKey ,because dept key is one of the field in employee table.I mean
    public class Employee {
    private int empKey = -1;
    private int empSal = -1;
    private String empName = "";
    private Dept dept = null;
    public void select(){
    //select emp records
    public void insert(){
    //insert emp records
    public void update(){
    //update emp records
    public void delete(){
    //delete records

    well, I wouldn't bother if you're on a small project, but, if you find yourself needing to do some thing like this a lot, there are programs that can generate a java class where each property corresponds to a column on some DB table, e.g.:
    public class Employee {
      Integer id;
      String name;
    }corresponds to table 'Employee' with int column 'id' and varchar column 'name'. They can be handy because you don't have to do pure SQL any more and nearly all of the JDBC logic is handled by the framework (e.g. I would find an employee with a given ID by creating an instance of the Employee class and invoking setId(4)). But, I wouldn't bother with the over-head involved with setting it up for a small project. However, if you find yourself doing this often, it might be some thing worth considering... take care.

  • Kill an instance created...Is it possible?

    Hello,
    I have created an instance of a class and
    then after its job is done,I would like it garbage collected
    or I would like to implement the finalize method.
    How do I get rid of an instance created specifically?
    Is it possible to kill the instance of a class just created?
    Please can any one guide.
    ajay

    get rid all of references to it.
    if you have to run some clean-up code in your class when you want then you could do this implement yourself in another method. if you would like you could also have a finalize() method that calls your other destroying method.

  • Error while creating class

    Error while creating class java/util/LinkedHashMap$EntryIterator
    ORA-29545: badly formed class: User has attempted to load a class (java.util
    .LinkedHashMap$EntryIterator) into a restricted package. Permission can be grant
    ed using dbms_java.grant_permission(<user>, LoadClassInPackage...
    -----Any Suggestion?
    regards,
    Anjan

    Anjan,
    Pardon me for stating the obvious, but did you do what the error message suggested? In other words, did you grant the required permission?
    Good Luck,
    Avi.

  • I dont understand creating classes they seem a waste of time and efficiency

    I dont understand why we would want to create classes with constructors and get and set statements... I know that VB and Java did not create these just to have us writing extra code so I am missing something in my thinking.
    I read about data hiding and that I understand I guess...but everytime my professors want me to create a class then create an object from that class to access it I dont really get it. I know how to do the basics of it but I can do all of it in my main or the primary class whats the benefit of creating a whole entire class such as the following?
    Everytime I get an assignment and they are like create a class and I try to rack my head for a good idea but the nearest analogy I can come up with is this... creating your own class seems like one of those old straws you drink out of with all the loops, yes you can make it go around in a big loop but why waste time? you want to get to point A to point B so create the most efficient way to get there if possible.
    I am sure the problem is I am not seeing something and there is some logic missing but I just am getting irritated as I am not seeing it and I am finding it, its like I add an extra obstacle course to my code for no other reason than to run through a bunch of extra tasks that I could perform in my main class or main.
    input is welcome to help me arrive at some type of enlightenment thanks
    Class may not be the correct wording for this as I know we have to have a class but what I mean is a non application class. The class I have below goes with another class that actually does a lot of stuff but I am forced to push data through this class that basically does nothing but run water through some different pipes if you will. To me thats a waste when I can do everything in my original class which was called menu that I am messing with and that creates an array for a user who wants to keep a list of his items and prices of those items in inventory.
    public class Item
    private String itemName;
    private double itemPrice;
              public Item()
    public Item (String item, double price)
    setName(item);
    setPrice(price);
    public String getName()
         return itemName;
    public void setName(String item)
         itemName = item;
    public double getPrice()
         return itemPrice;
    public void setPrice(double price)
         itemPrice= price;
    Edited by: Bricatw on Oct 30, 2009 10:33 PM

    What I was plugging into it and please forgive the code as its not finished... (I am still messing with it) its just for learning and I am required to have certain parts in the Item Class and Certain parts in the Menu class..... But you it pushes through the input to the java bean.... in a case like this I just dont see the need for doing it not that I can think of anyway.
    import java.util.Scanner;//my imports for scanner so can read from the screen
    import java.util.*;//imports for my array I used astrix to just import it all as the book said it does not have any negative affects.
    public class Menu //My application class Menu that contains my main
         public static void main(String[] args)//Main method
              final int NUMBER_Of_Elements = 30; //created a symbolic constant so that I only have to change the constant
              //to edit the size of the array if I should want to change it.
              Item[]inventory = new Item[NUMBER_Of_Elements];//I create a new array object with the constant as the number of elements.
              Scanner sc = new Scanner (System.in);//created object from the scanner class used to get input from the console screen.
              System.out.println("Please enter Item on first line and price on second line.");//outputted text to prompt user and give instructions.
              System.out.println("Enter STOP to exit");//instructions on how to exit the program. I would have rather used a different
              //word than stop here. If my choice I would have used "exit" as its more widely used and to promote uniformity.
              int count;//count variable used to count my loops very important as we use it to control our arrays and loops here.
              double price;//our variable that we plug in values from the user via the console.
              String item;//same as previously mentioned for the "price"
                        System.out.println("Wings Coffee Shop Menu");
              System.out.println("");
              System.out.println("Menu Item Price");
              for (count=0; count<inventory.length; ++count)//This is our for loop it uses the length method to control how many times
              //it runs. In this case inventory.length = 30 elements so would run 30 times unless it stopped early.
                   item = sc.nextLine();//reads the input from console into the item variable.
                   if(item.equalsIgnoreCase("STOP"))//if statement that states if = stop (ignores case sensitivity) then it will break out of the loop.
                   break;//the break command which is executed if the if statement is true.
                   price = Double.parseDouble(sc.nextLine());//
                   inventory[count]= new Item(item, price);
                   Item Call = new Item(item, price);
                   System.out.printf("%-13s %.2f\n", Call.getName(), Call.getPrice());
              System.out.println("Wings Coffee Shop Menu");
              System.out.println("");
              System.out.println("Menu Item Price");
    //           for(int x = 0; x < count; ++x)
    //           System.out.printf("%15s\n",inventory[x].toString());
    //                System.out.printf("%-13s %.2f\n", Call.getName(), Call.getPrice());
    //           String[] namesOfItems = {"Coffee", "Milk", "Soda", "Bagel", "Croissant", "Donut"};
    //           double[] prices = {3.99, 2.99, 2.49, 2.99, 2.49, 1.99};
    //           for(int x = 0; x < prices.length; ++x)
    //           System.out.printf("%-13s %.2f\n", namesOfItems[x], prices[x]);
    //           Item arrayPrice = new Item(); HOW COME I CANNOT CREATE THIS OBJECT?
    //           Item call = new Item ();
    //           Item Call = new Item("item", 4.9);
    Edited by: Bricatw on Oct 30, 2009 11:22 PM

  • BPEL Console doesn't show any instances created

    Hi,
    We are using file protocol to read the files from trading partner into B2B. File is successfully processes by B2B. I can see that in reports.
    Then I have defined a BPEL process to Dequeue the messages from B2B using AQ Adapter, transforms and places the files in the local file system.
    The BPEL process is simple flow with one receive , transform and invoke activity.
    I have configured AQ adapter using WSIF browser. I can see the deployed document definition in browser.
    I have the TP agreement deployed, BPEL process deployed, but I don't see the 850 file processed. BPEL Console doesn't show any instances created. How would I know where what went wrong?
    Please help.

    Try using java oracle.tip.adapter.b2b.data.IPDequeue to dequeue the message and see if you can dequeue
    Then you'l be able to pin point if the issue is with your BPEL or with B2B Queue's
    Kalyan

  • File deleted but no instance created

    Hi,
    I have created a process using a file adpter to read files and a FTP adapter to put the file. File adpeter is configured to delete the files after reading.
    The process deletes the files after reading. However, there is no instance created for the process and there is no file put to the FTP location.
    This phenomenon is happening only when the FTP information in the oc4j-ra.xml is:
    <connector-factory location="eis/FtpAdapter" connector-name="FTP Adapter">
    <config-property name="host" value="xxx.xxx.xxx.xxx"/>
    <config-property name="port" value="21"/>
    <config-property name="username" value="xxxxxxx"/>
    <config-property name="password" value="xxxxxxx"/>
    <config-property name="serverLineSeparator" value="\n"/>
    <config-property name="serverLocaleLanguage" value=""/>
    <config-property name="serverLocaleCountry" value=""/>
    <config-property name="serverLocaleVariant" value=""/>
    <config-property name="serverEncoding" value=""/>
    <config-property name="useFtps" value="true"/>
    <config-property name="walletLocation" value=""/>
    <config-property name="walletPassword" value=""/>
    <config-property name="channelMask" value="both"/>
    <config-property name="securePort" value="990"/>
    </connector-factory>
    The above configuration is wrong. However, if the files are getting deleted from the source location, then we should as well get the instance created with the an errored state.
    Message was edited by:
    user486065
    Message was edited by:
    user486065

    Without seeing logs I can't help you. But I bet there was an exception which rollbacked the whole transaction, even the audit trail. Therefore you don't see instance in BPEL console (and because file and ftp are non transactional adapters you ended in inconsistent state).
    this can be caused by fact that your BPEL process is synchronous and you defined probably inMemoryOptimization to true. Which is valid just for synchronous (or transient) processes and basicaly it improves performance, because process is not dehydrated (it depends on completionPersistPolicy parameter). If inMemoryOptimization is false then this is good candidate for further investigation.
    completionPersistPolicy says in which cases it should save audit trail.
    and completionPersistLevel says how much data should be saved.
    Have a look into BPEL admin guide for further explanations, because this was very-very lighweight explanation. http://www.oracle.com/technology/products/ias/bpel/documents/bpel_admin_10.1.3.1.0.pdf
    But don't forget to check logs (you may check log4j logging level for your BPEL engine).

  • Blocking of document created by cheque reversal

    Hi Experts,
    I am using transaction fch8 and reversing a cheque.
    The old document is also reversed and amount is reset.
    a new document is generated
    I now want to block the newly created document.
    When i go to FB02 the block field is greyed out and i can only make changes in assignment and text field.
    Can you let me know how to get the block field in edit mode and how i can block the newly created document
    Regards,
    Rishikesh

    The code lines:
    System.out.println( a );
    System.out.println( b );
    had the purpose to check if these two parameters were passed by another procedure. These two parameters, however, represent the content to be filled in the tag of XML document created by DOM.
    About the other question on "what parser do you use", I'm using Apache's Xerces. However that's the "import" that I include in this procedure:
    import org.apache.xerces.dom.DocumentImpl;
    import org.apache.xerces.dom.NodeIteratorImpl;
    import org.apache.xml.serialize.*;
    import org.w3c.dom.*;
    import org.w3c.dom.traversal.*;
    import java.io.*;

  • How to create class interface

    Hi all,
    How shud i create class interface.
    Does this have an impact with the activation of program in sicf txn.
    basically my problem is i did not create a class interface or implement it.
    when i go into sicf txn i cant my program.
    please help me out.
    Regards,
    varun

    Vadnala,
    Go to SE24 to create your class interface and take a look at the tutorials we have spread in the SAP help and SDN. Take a quick look at BSP aplications SBSPEXT_*.
    Regards,
    Alexandre

  • Cannot create class in system package

    Hello,
    I wrote a J2ME game for nokia S40 phones. It compiles without any errors, but when I'm trying to run in on the Nokia 7210 phone emulator I receive the following message:
    Cannot create class in system package.
    Howerver running on the Nokia 6230 phone emulator is ok.
    I have obfuscated my applet as I read in previous topics, but still it does not work.
    Can anyone help me?
    Thanks,
    Alexander.

    You get that error when you try to reference a class that is part of the MIDP framework but isn't installed on the phone.
    The 7210 doesn't support MMAPI or WMA or MIDP 2.0, while the 6230 does, so check that you don't have any references (even an import statement), to classes from those packages (like the javax.microedition.media.*, javax.microedition.lcdui.game.*,javax.wireless.messaging.*, etc. packages hierarchies).
    shmoove

Maybe you are looking for

  • Selection Screen Bug :: Drop Down List.

    Hi I have created the following ABAP Report. I am new at this and I have just hit an issue. I have two drop down boxes linked to transactions. Now when I select a report from Drop Down 1 and click it it goes to the transaction. Now if I also have a s

  • Need to add Run time Validation in Advanced table column

    Hi Friends, I've an requirement to add the validation in Advanced table. issue is, In eAM Work Order, currently we have ability to add Operation Seq Number as 0, but we need to add one validation to avoid 0 value. Oracle gave us the patch but we cann

  • Database mail configuration is not working with office365

    Hi there! I' looking for some help debugging a blocking error in our DEV environment. We're currently using Windows 2008 R2 Standard, with IIS 7.5 and MS SQL Server 2012 Standard. We're experiencing troubles while trying to use database mail in conju

  • Retriving the data from the database

    HI Hello Experts                        I have to retreve the data from atleast 10 different tables which are co-releated to each other by DocEntry field ,i have designed the query accordingly i need a single output but i am getting multiple rows in

  • How to set the default settment rule for the same kind project.

    hi experts:    the project of the same kind of the project profile have the same settment rule to one account (G/L). how to set the default settment rule for the project of  this kind of the project profile. regards