Problem in creating Rule Class

I am trying to build a Rules Application..I am totally a novice in this..Following the examples given in documentation i am trying to do it..
These are the steps i have donr till now..
CREATE or REPLACE TYPE Account_History AS OBJECT (
Account_Id VARCHAR2(20),
Transaction_Month DATE,
AvgCash_NonCashTxnRatio FLOAT);
CREATE or REPLACE TYPE Account_Current AS OBJECT (
Account_Id VARCHAR2(20),
Transaction_Month DATE,
Cash_oNonCashTxnRatioCur_Mnth FLOAT);
BEGIN
DBMS_RLMGR.CREATE_EVENT_STRUCT (EVENT_STRUCT => 'AccntCompEvent');
DBMS_RLMGR.ADD_ELEMENTARY_ATTRIBUTE (
                       EVENT_STRUCT => 'AccntCompEvent',
                       ATTR_NAME => 'Acnt_Hist',
                       TAB_ALIAS => RLM$TABLE_ALIAS('STATISTICS_MV'));
DBMS_RLMGR.ADD_ELEMENTARY_ATTRIBUTE (
                       EVENT_STRUCT => 'AccntCompEvent',
                       ATTR_NAME => 'Acnt_Curr',
                       TAB_ALIAS => RLM$TABLE_ALIAS('CURRENT_RATIO'));
END;
BEGIN
   dbms_rlmgr.create_rule_class (
               rule_class    => 'Account_Rules',
               event_struct  => 'AccntCompEvent',
               action_cbk    => 'RuleExecute',
               rslt_viewnm   => 'RuleExecuteView',
               actprf_spec   => 'Action1  VARCHAR2(20),
                                 Action2  VARCHAR2(20)',
               rlcls_prop    => '<composite equal="Acnt_Hist.Account_Id, Acnt_Curr.Account_Id"/>');
END;But when i am trying to create the Rule Class, i get error saying that
Error report:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "EXFSYS.DBMS_RLMGR", line 686
ORA-06512: at line 2
06502. 00000 -  "PL/SQL: numeric or value error%s"
*Cause:   
*Action:What is the problem in the code..Can anyone help me fix it..Please..
I want to form a rule which checks if the Cash_oNonCashTxnRatioCur_Mnth is greater than 5 times the value in AvgCash_NonCashTxnRatio..how do i form a rule for this...Please give me some suggestions..
Can anyone suggest me some good links where i can get more about Oracle Rules Manager..

Please tell me, if i am creating the rules correctly ot not.. As u suggested to use &lt; instead of '<'.. When i execute the following, it asks me to enter a value for LT.. When i enter <, it throws me a XML Parser error..as follows:
INSERT INTO ACCOUNT_RULES (rlm$ruleid, RLM$RULEDESC, rlm$rulecond)
VALUES ('Rule1', 'DepositFollowedbyATMWithdrawalatODDTime',
'<condition>
     <and join="Acnt_Stats_Hist.AvgCash_NonCashTxnRatio * 5 &lt; Acnt_Stats_Curr.CASH_TO_NONCASH_RATIO_CURR">
        <object name="Acnt_Stats_Hist"/>
        <object name="Acnt_Stats_Curr"/>
     </and>
  </condition>
');Error is
Error starting at line 1 in command:
INSERT INTO ACCOUNT_RULES (rlm$ruleid, RLM$RULEDESC, rlm$rulecond)
VALUES ('Rule1', 'DepositFollowedbyATMWithdrawalatODDTime',
'<condition>
     <and join="Acnt_Stats_Hist.AvgCash_NonCashTxnRatio * 5 &lt; Acnt_Stats_Curr.CASH_TO_NONCASH_RATIO_CURR">
        <object name="Acnt_Stats_Hist"/>
        <object name="Acnt_Stats_Curr"/>
     </and>
  </condition>
Error report:
SQL Error: ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00244: invalid use of less-than ('<') character (use &lt;)
Error at line 2
ORA-06512: at "RULES_MANAGER.RLM$VALIDATE_RULE_107363", line 92
ORA-04088: error during execution of trigger 'RULES_MANAGER.RLM$VALIDATE_RULE_107363'
31011. 00000 -  "XML parsing failed"
*Cause:    XML parser returned an error while trying to parse the document.
*Action:   Check if the document to be parsed is valid.This is the code that i am using to create the rules application:
--STEP 1
create or replace
TYPE Account_Details_Curr AS OBJECT (
ACCOUNT_ID VARCHAR2(20),
CURRENT_TRANSACTION_DATE DATE,
TransactionType_CURR VARCHAR2(10),
TRANSACTION_CHANNEL_CURR VARCHAR2(10),
TRANSACTION_MODE_CURR VARCHAR2(10),
ABNORMALITY_REASON VARCHAR2(15),
SUSPICIOUS_FUND_FLOW_SCORE FLOAT,
ACCOUNT_AGE FLOAT,
INACTIVITY_WEIGHT FLOAT,
CREDIT_AMT_BURST_SCORE FLOAT,
DEBIT_AMT_BURST_SCORE FLOAT,
TRANSACTION_AMOUNT_CURR FLOAT,
Cumm_CshAmnt_RltdAccnt_Day FLOAT,
ACCOUNT_TURNOVER FLOAT);
create or replace
TYPE Account_Stats_Curr AS OBJECT (
ACCOUNT_ID VARCHAR2(20),
CUMM_DEPOSITTXN_CNT_CURR FLOAT,
CUMM_DEPOSITTXN_AMNT_CURR FLOAT,
CUMM_WITHDRAWALTXN_CNT_CURR FLOAT,
CUMM_WITHDRAWALTXN_AMNT_CURR FLOAT,
CUMM_ATM_DEPOSITTXN_CNT_CURR FLOAT,
CUMM_ATM_DEPOSITTXN_AMNT_CURR FLOAT,
CUMM_ATM_WITH_TXN_CNT_CURR FLOAT,
CUMM_ATM_WITH_TXN_AMNT_CURR FLOAT,
CUMM_CASH_DEPOSITTXN_CNT_CURR FLOAT,
CUMM_CASH_DEPOSITTXN_AMNT_CURR FLOAT,
CUMM_CASH_WITH_TXN_CNT_CURR FLOAT,
CUMM_CASH_WITH_TXN_AMNT_CURR FLOAT,
CUMM_CLR_DEPOSITTXN_CNT_CURR FLOAT,
CUMM_CLR_DEPOSITTXN_AMNT_CURR FLOAT,
CUMM_CLR_WITH_TXN_CNT_CURR FLOAT,
CUMM_CLR_WITH_TXN_AMNT_CURR FLOAT,
CUMM_TRS_DEPOSITTXN_CNT_CURR FLOAT,
CUMM_TRS_DEPOSITTXN_AMNT_CURR FLOAT,
CUMM_TRS_WITH_TXN_CNT_CURR FLOAT,
CUMM_TRS_WITH_TXN_AMNT_CURR FLOAT,
CUMM_TXN_CNT_CURR FLOAT,
CUMM_TXN_AMNT_CURR FLOAT,
CUMM_TRANSFER_TXN_CNT_CURR FLOAT,
CUMM_TRANSFER_TXN_AMNT_CURR FLOAT,
CUMM_CLEARING_TXN_CNT_CURR FLOAT,
CUMM_CLEARING_TXN_AMNT_CURR FLOAT,
CUMM_ATM_TXN_CNT_CURR FLOAT,
CUMM_ATM_TXN_AMNT_CURR FLOAT,
CUMM_ATMCASH_DEP_TXN_CNT_CURR FLOAT,
CUMM_ATMCASH_DEP_TXN_AMNT_CURR FLOAT,
CUMM_ATMCASH_WITH_TXN_CNT_CURR FLOAT,
CUMM_ATMCSH_WITH_TXN_AMNT_CURR FLOAT,
CUMM_ATM_CSH_TOT_TXN_CNT_CURR FLOAT,
CUMM_ATM_CSH_TOT_TXN_AMNT_CURR FLOAT,
CUMM_CASH_TXN_CNT_CURR FLOAT,
CUMM_CASH_TXN_AMNT_CURR FLOAT,
CREDIT_TO_DEBIT_RATIO_CURR FLOAT,
DEBIT_TO_CREDIT_RATIO_CURR FLOAT,
CASHCR_TO_NONCASHCR_RATIO_CURR FLOAT,
CASH_TO_NONCASH_RATIO_CURR FLOAT);
create or replace
TYPE Account_Stats_Hist AS OBJECT (
ACCOUNT_ID VARCHAR2(20),
AVG_DEPOSITTXN_COUNT FLOAT,
AVG_DEPOSITTXN_AMOUNT FLOAT,
AVG_WITHDRAWALTXN_COUNT FLOAT,
AVG_WITHDRAWALTXN_AMOUNT FLOAT,
AVG_ATM_DEPOSITTXN_COUNT FLOAT,
AVG_ATM_DEPOSITTXN_AMOUNT FLOAT,
AVG_ATM_WITHDRAWALTXN_COUNT FLOAT,
AVG_ATM_WITHDRAWALTXN_AMOUNT FLOAT,
AVG_CASH_DEPOSITTXN_COUNT FLOAT,
AVG_CASH_DEPOSITTXN_AMOUNT FLOAT,
AVG_CASH_WITHDRAWALTXN_COUNT FLOAT,
AVG_CASH_WITHDRAWALTXN_AMOUNT FLOAT,
AVG_CLR_DEPOSITTXN_COUNT FLOAT,
AVG_CLR_DEPOSITTXN_AMOUNT FLOAT,
AVG_CLR_WITHDRAWALTXN_COUNT FLOAT,
AVG_CLR_WITHDRAWALTXN_AMOUNT FLOAT,
AVG_TRS_DEPOSITTXN_COUNT FLOAT,
AVG_TRS_DEPOSITTXN_AMOUNT FLOAT,
AVG_TRS_WITHDRAWALTXN_COUNT FLOAT,
AVG_TRS_WITHDRAWALTXN_AMOUNT FLOAT,
AVG_TXN_COUNT FLOAT,
AVG_TXN_AMOUNT FLOAT,
AVG_TRANSFER_TXN_COUNT FLOAT,
AVG_TRANSFER_TXN_AMOUNT FLOAT,
AVG_CLEARING_TXN_COUNT FLOAT,
AVG_CLEARING_TXN_AMOUNT FLOAT,
AVG_ATM_TXN_COUNT FLOAT,
AVG_ATM_TXN_AMOUNT FLOAT,
AVG_ATMCASH_DEP_TXN_COUNT FLOAT,
AVG_ATMCASH_DEP_TXN_AMOUNT FLOAT,
AVG_ATMCASH_WITH_TXN_COUNT FLOAT,
AVG_ATMCASH_WITH_TXN_AMOUNT FLOAT,
AVG_ATM_CSH_TOT_TXN_COUNT FLOAT,
AVG_ATM_CSH_TOT_TXN_AMOUNT FLOAT,
AVG_CASH_TXN_COUNT FLOAT,
AVG_CASH_TXN_AMOUNT FLOAT,
AVG_CREDIT_TO_DEBIT_RATIO FLOAT,
AVG_DEBIT_TO_CREDIT_RATIO FLOAT,
AVG_CASHCR_TO_NONCASHCR_RATIO FLOAT,
AVG_CASH_TO_NONCASH_RATIO FLOAT);
CREATE or REPLACE TYPE AccntsCompEvent AS OBJECT (Acnt_Details Account_Details_Curr,
                                                  Acnt_Stats_Curr Account_Stats_Curr,
                                                  Acnt_Stats_Hist Account_Stats_Hist);
BEGIN
dbms_rlmgr.create_rule_class (
rule_class => 'Account_Rules',
event_struct => 'AccntsCompEvent',
action_cbk => 'Rules_Execution',
rlcls_prop => '<composite equal="Acnt_Details.ACCOUNT_ID, Acnt_Stats_Curr.ACCOUNT_ID,Acnt_Stats_Hist.ACCOUNT_ID"/>');
END;
--STEP 3
INSERT INTO ACCOUNT_RULES (rlm$ruleid, RLM$RULEDESC, rlm$rulecond)
VALUES ('Rule1', 'DepositFollowedbyATMWithdrawalatODDTime',
'<condition>
     <and join="Acnt_Stats_Hist.AvgCash_NonCashTxnRatio * 5 &lt; Acnt_Stats_Curr.CASH_TO_NONCASH_RATIO_CURR">
        <object name="Acnt_Stats_Hist"/>
        <object name="Acnt_Stats_Curr"/>
     </and>
  </condition>
');I am getting this error and i am not able to proceed further.. Please help me...

Similar Messages

  • Having problems in creating a class with name File.

    I want to compile a new class with class name as File, i have made it part of a new package also but still i am getting this error
    "File.java:2: CustomFile.File is already defined in this compilation unit
    import java.io.File;
    ^
    File.java:6: cannot resolve symbol
    symbol : constructor File ()
    location: class java.io.File
    inFile = new java.io.File();
    ^
    2 errors"
    Here is the source code of the file:
    package CustomFile;
    import java.io.File;
    public class File {
    private java.io.File inFile;
    public File(){
         inFile = new java.io.File();
         System.out.println("hi file");
    }

    Any help is appreciated.
    I want to compile a new class with class name as File,
    i have made it part of a new package also but still i
    am getting this error
    "File.java:2: CustomFile.File is already defined in
    this compilation unit
    import java.io.File;
    ^
    File.java:6: cannot resolve symbol
    symbol : constructor File ()
    location: class java.io.File
    inFile = new java.io.File();
    ^
    2 errors"
    Here is the source code of the file:
    package CustomFile;
    import java.io.File;
    public class File {
    private java.io.File inFile;
    public File(){
         inFile = new java.io.File();
         System.out.println("hi file");

  • Create a class

    I have been having problems with creating a class with actionscript project in flashbuilder.
    Here is a simple class but how do I use this with the skeleton code here?
    How do I arrange these files to make this work?
    Here I instatiate the class
    var p1 : Person2 = new Person( 1, "Xavi", "Beumala", "address1");
    Here is the Skeleton code
    package
          import flash.display.Sprite;
          public class atest2 extends Sprite
                public function atest2()
    public class Person2 {
              private var _id : int;
              public var name : String;
              public var surname : String
              public var street : String;
              public function Person2( id : int, name : String = "", surname:String = "", streetString="") {
                   this._id = id;
                   this.name = name;
                   this.surname = surname;
                   this.street = street;
              public function get id() : int {
                   return _id;

    Perhaps I am a bit confused because of the way you display your code here.  Are you creating the second class within the same file as the first?  If so that second class will only be accessable from within the first one and not to any code outside the primary class.  I.E. each class needs to be in their own seperate files.  If the Person class is in a different package you will also need to import it into the calling class.  (I assume you already know this but am just making sure.)
    Here is your person class slightly modified so that you can retrieve each vars data using a function and keep them private.  I would also suggest setting the data on each field using a setter function so that you can scrub the incomming data but that's up to you.
    package {
    public class Person{
      private var _ID:int;
      private var _name:String = "";
      private var _surname:String = "";
      private var _street:String = "";
      public function Person(id:int, name:String, surname:String, street:String){
           this._ID = id;
           this._name = name;
           this._surname = surname;
           this._street = street;
      public function get id():int{
       return this._ID;
      public function get name():String{
       return this._name;
      public function get surname():String{
       return this._surname;
      public function get street():String{
       return this._street;
    And to test it you can trace out the function call or (my preference) import Alert and ObjectUtil to pop up the object data in an alert box.  These are part of the Flex MX libraries though so you may not want to use them if your writing pure actionscript code.  Of course you would want to run this code out of another class.
    // import the libraries needed to use Alert boxes and convert the object to a string.  If your Person class was in another package you would want
    // to remember to import it also.
    import mx.controls.Alert;
    import mx.utils.ObjectUtil;
    //Create your Person variable to use locally.
    private var myPerson:Person;
    //A function to build a person and test what is returned by showing the details in an alert box.
    public function testPerson():void{
        this.myPerson = new Person(1,"John", "Doe", "1234 Anywhere Street");
        Alert.show(this.myPerson.id + " " + this.myPerson.name  + " " + this.myPerson.surname + " " + this.myPerson.street);
    Hope that helps.  Let me know if that does not make sense or if perhaps I missunderstood your question.
    -Joe

  • Problem in creating a Persistent Class

    Hi All,
    I am working on Persistent Classes for the first time. I have tried to gain some info by going through some related threads and of course Thomas' Blog on Persistent Classes.
    My Problem:
    I have been trying to create a Persistent Class that takes fields from multiple database tables (KNA1 and KNVV).
    I wasn't able to generate mapping successfully.
    So, the solution was to create 2 Persistent Classes and create a data model class for these two (It was mentioned in one of the threads)
    I have been trying to create a Persistent Class for the fields from table KNA1 (I need only some 11 fields)
    When I activate, I again get a warning 'No mapping exists for the fields' as a result of which the main class is not activated.
    I read somewhere that all fields from a table needs to be included in the 'Inclusion area', otherwise, the class doesn't activate.
    So I tried creating a view, but I get another warning message saying 'Database operations with view are not allowed' and the main class remains unactivated.
    Please suggest.
    Also, if there are any related materials on how to deal with multiple tables, I would be more than glad.
    Thanks for all your time.

    If you are creating a persistent class for SAP tables, then effectively you are attempting to update the tables directly.  And that is a really bad idea.
    See [here|regarding updation of database table...; and [here |Important points to be cautios of when updating a standard table; for more discussion on that topic.
    Only create persistent classes for database operations on your own tables.
    I guess your classes are failing because you haven't done the mapping.  Did you click on the button marked "persistence" on the SE24 view of your ZCL class?
    matt
    One more thing - it's against the forum rules to ask for material and links...

  • A simple problem? - cannot grant create rule set

    Hi,
    Can anyone spot the stupid mistake i'm obviously making when trying to grant create rule set to my streams admin user? The script was working last week?!
    BEGIN
    DBMS_RULE_ADM.GRANT_SYSTEM_PRIVILEGE(
    privilege => DBMS_RULE_ADM.CREATE_RULE_SET_OBJ,
    grantee => 'strmadmin',
    grant_option => FALSE);
    END;
    ERROR at line 1:
    ORA-00931: missing identifier
    ORA-24000: invalid value , USER/ROLE should be of the form [SCHEMA.]NAME
    ORA-06512: at "SYS.DBMS_RULE_ADM", line 167
    ORA-06512: at line 2
    Many thanks,
    Warren

    Yes, catpatch.sql is necessary only for existing 9.2.0.1 databases upgraded to 9.2.0.2.
    I am assuming that when you created the database under 9.2.0.2 that catalog.sql and
    catproc.sql were run. The next step, I guess, is to turn on sql tracing to see
    which sql statement actually fails when you run the command. Turn on sql tracing
    with the following command, and then execute the procedure again.
    alter session set sql_trace=true;

  • Problem in Business Rule Framework (BRF).

    Hi,
    Problem in Business Rule Framework (BRF).
    Facing problem while assining the 'Expression and Actions' to the Events in BRF giving the error 'Class ID is missing'.
    Created an event called 'Z_My_Event_01' of implementation class '0E001', object (Event) is created succesfully but while assining the Expression and Action to that Event it shows the error 'Class ID is missing'.
    Thanks
    Rajiv Garg

    Hi Rajiv,
    this might help u.
    Business Rule Framework Transactions:
    BRFEVT01 - BRF: Create Event
    BRFEVT02 - BRF: Change Event
    BRFEVT03 - BRF: Display Event
    BRF - Business Rule Framework
    BRFACS01 - BRF: Create Abstract Action
    BRFACS02 - BRF: Amend Abstract Action
    BRFACS03 - BRF: Display Abstract Action
    BRFACT01 - BRF: Create Actions
    BRFACT02 - BRF: Change Actions
    BRFACT03 - BRF: Display Actions
    BRFAPC01 - BRF: Create Features for Appl.Class
    BRFAPC02 - BRF: Change Features for Appl. Class
    BRFAPC03 - BRF: Display Features for Appl.Class
    BRFAPL01 - BRF: Create Application Class
    BRFAPL02 - BRF: Change Application Class
    BRFAPL03 - BRF: Display Application Class
    BRFEXP01 - BRF: Create Expression
    BRFEXP02 - BRF: Change Expression
    BRFEXP03 - BRF: Display Expression
    BRFIMC01 - BRF: Create Impl. Class
    BRFIMC02 - BRF: Change Impl. Class
    BRFIMC03 - BRF: Display Impl. Class
    BRFRLS01 - BRF: Create Rule Set
    BRFRLS02 - BRF: Change Rule Set
    BRFRLS03 - BRF: Display Rule Set
    BRFRUL01 - BRF: Create Rule for Event
    BRFRUL02 - BRF: Change Rule for Event
    BRFRUL03 - BRF: Change Rule for Event
    BRFU01 - BRF: Compare SAPscript Texts
    BRF_FILL_TBRF185 - Automatic Filling for TBRF185
    BRF_OVERVIEW - Overview of BRF Objects
    Visit following link:
    http://www.sap.com/industries/insurance/pdf/FSCM_BRF.pdf
    pls reward if useful.
    cheers,
    hema.

  • How to create proxy class for a Siebel WS which has many Workflows in it?

    Hi,
    I am facing a strange problem. I have a Web Service for which there are many workflows associated with this. When I generate WSDL for this Web Service and later on generate proxy class in .NET, it creates mutilple classes for each workflow. From UI, I can invoke a perticular method for the class for which I am interested in. But when I am building the same in JDeveloper, using Web Service proxy, I get only one class and I am not interested in invoking method in this class but interested in some other class for which the proxy was not generated. Is there some way to generate multiple classes in JDeveloper proxy?
    Thanks,
    Sudha.

    I have figured this out. Actually Generate proxy creates package and it includes all the class in it. Now i am able to invoke web service method call.

  • Problem in creating a WebService

    hi ... i am having a problem in creating a web service using netbeans .. i am using net beans 6 and glass fish v2 ... when i run the clinet appllication an exception comes that is
    javax.xml.ws.WebServiceException: Provider com.sun.xml.ws.spi.ProviderImpl not found
    but i have followed right steps ... why this exception is coming ..? plz help.....

    Hi
    please try recreating the EJB , just check whether the home and remote interfaces and the business methods in the home and bean classes are defined properly  .Also check whether the ejb editor is showing all the business methods
    hope this helps ,please do ot forget to reward points
    regards
    rajeshkr

  • Problem in creating a build.xml for weblogic portal application

    Team ,
    I am facing problem in creating the build.xml using weblogic.BuildXMLGEN tool .
    a) Below is the structure of my portal application
    SrcCode
    --- .metadata (eclipse plugins folder)
    --- B2BApp ( Ear Content)
    --- b2bPortal ( portal related file(controllers,jsp)
    --- b2bsrc     (java src)
    b) Now I executed below utility to generate the build.xml "
    java weblogic.BuildXMLGen -projectName B2BApp -username weblogic -file build.xml -password welcome1 F:\srcCode"
    c) Based on the above step , build.xml got generated .
    d) when I execute "ant compile" target from the command prompt , I see the below exception
    ant compile
    Buildfile: build.xml
    compile:
    +[wlcompile] [JAM] Warning: failed to resolve class AbstractJspBacking+
    +[wlcompile] [JAM] Error: unexpected exception thrown:+
    +[wlcompile] com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\b2b\dmr\Picker\PickerController.java at line 58.+
    e) I suspect , the problem is bcoz of classpath issues , as I generated build.xml donot have the references to dependent lib's.As build.xml looks like below :
    +<target name="compile" description="Only compiles B2BApp application, no appc">+
    +<wlcompile srcdir="${src.dir}" destdir="${dest.dir}">+
    +<!-- These referenced libraries were not found -->+
    +<!-- <library file="p13n-core-web-lib" /> -->+
    +<!-- <library file="jersey-web-lib" /> -->+
    +.....+
    +....+
    Please help me to reslove these issues .
    PS: I able to deploy the application using 10.3.2 weblogic workshop ( i.e inbuilt eclipse )

    i JaySen ,
    thanks for your response. As mentioned we added all the necessary library within the -librarydir but still we see the same error :
    +[JAM] Error: unexpected exception thrown:+
    com.bea.util.jam.internal.javadoc.JavadocParsingException: Parsing failure in F:\b2bNew\b2bPortal\src\portlets\typeAhead\TypeAheadController.java at line 70.  Most likely, an annotation is declared whose type has not been imported.
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.getAnnotationTypeFor(JavadocTigerDelegateImpl_150.java:410)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:176)
    at com.bea.util.jam.internal.javadoc.JavadocTigerDelegateImpl_150.extractAnnotations(JavadocTigerDelegateImpl_150.java:152)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.addAnnotations(JavadocClassBuilder.java:404)
    at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.populate(JavadocClassBuilder.java:359)
    ===================
    a) this is a upgrade project [ upgrading from wlp 8.1.4 to 10.3.2 ]
    i.e we are using weblogic portal 10.3.2 version.
    b) Searched some sites/forums regarding the above error, and it says something related to "jwsc" ant task [ i.e while compiling a webservice(JWS) ], but we see this error while compiling a normal controller(jpf) class :(
    c) we are using "ant compile" target which internally calls wlcompile task , while executing wlcompile this error is thrown .
    Help Appreciated
    Thx,
    Sarat

  • Problem in Creating WebService Client using 9.0.3 JD...

    Hi All,
    Thru JDev 9.0.3 webservice,
    1. I try to create proxy class and a sample client to access ASP.NET webservice also i get the following error.
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server
    Error</H1><PRE>Servlet
    Then i created a Java Webservice and hosted in the embedded oc4j server. Then i created a sample client. Then also i get same error as
    follows.
    I user, w2k server, 9i JD 9.0.3, j2sdk 1.4.1.
    Whats the probs. 9.0.3 dont support 1.4.1.
    2. Also one more thing. When i tried to create proxy for asp.net webservice, (Its a webservice to send email which has 6 methods overloaded),
    i get the Proxy Class for ONLY THE LAST METHOD. Rest of the 1st 5 methods are not found. Im able to access this webservice thru axis and thru
    .net also. Only when i created proxy thru 9.0.3, i get like this. So, no probs in my webservice. Some probs in 9.0.3 version. It seems that
    it does't properly create proxy if Method Overloading is done in the webservice.
    3. Also, why the proxy class created in 9.0.3 pass params and returns params as Integer eventhough i used only int in the asp.net webservice
    and in my java webservice created thru JDev 9.0.3
    Yours,
    Sankar.B
    India
    Errror:
    D:\j2sdk140\bin\javaw.exe -client -classpath
    C:\9iJDeveloper903-J2SDK-141\jdev\mywork\XMethodsWebService\CurrencyExchange\classes;C:\9iJDeveloper903-J2SDK-141\jdev\lib\jdev-rt.jar;C:\9iJ
    Developer903-J2SDK-141\jdev\lib\jdev-rt.jar;C:\9iJDeveloper903-J2SDK-141\soap\lib\soap.jar;C:\9iJDeveloper903-J2SDK-141\lib\xmlparserv2.jar;C
    :\9iJDeveloper903-J2SDK-141\jlib\javax-ssl-1_2.jar;C:\9iJDeveloper903-J2SDK-141\jlib\jssl-1_2.jar;C:\9iJDeveloper903-J2SDK-141\j2ee\home\lib\
    activation.jar;C:\9iJDeveloper903-J2SDK-141\j2ee\home\lib\mail.jar;C:\9iJDeveloper903-J2SDK-141\j2ee\home\lib\http_client.jar;C:\9iJDeveloper
    903-J2SDK-141\lib\xmlparserv2.jar;C:\9iJDeveloper903-J2SDK-141\lib\xmlcomp.jar -Dhttp.proxyHost=172.17.56.1 -Dhttp.proxyPort=80
    -Dhttp.nonProxyHosts= id.ws.EmbeddedMathWSStub
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml".
    Response was:
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server
    Error</H1><PRE>Servlet error: Cannot generate Class:
    C:\9iJDeveloper903-J2SDK-141\jdev\system9.0.3.1035\oc4j-config\application-deployments\current-workspace-app\XMethodsWebService-CurrencyExcha
    nge-webapp\temp\__java_statefull_rpc\id\ws\__MathWSStatefullWrapper.java:10: cannot access java.lang.Objectbad class file:
    D:\j2sdk140\jre\lib\rt.jar(java/lang/Object.class)class file has wrong version 48.0, should be 47.0Please remove or make sure it appears in
    the correct subdirectory of the classpath.import java.lang.Object;                 ^1 error</PRE></BODY></HTML>]     at
    org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)     at org.apache.soap.rpc.Call.invoke(Call.java:268)     at
    id.ws.EmbeddedMathWSStub.Add(EmbeddedMathWSStub.java:66)     at id.ws.EmbeddedMathWSStub.main(EmbeddedMathWSStub.java:34)Process exited
    with exit code 0.

    You are correct, there is a bug logged with JDeveloper 9.0.3 that with JDK 1.4, Web services are not working. See:
    http://otn.oracle.com/products/jdev/htdocs/readme_903.html#ws0
    (while not exactly your situation, I suspect it is related). We are close to releasing JDeveloper 9.0.4 preview which will support JDK 1.4 and should resolve your problem.
    In terms of your second problem, there is a similar bug logged but could I ask you to try again with JDK 1.3.1 to see if a similar issue occurs?
    As for your third question, this is the default behaviour for Oracle9iAS Web Services - int gets mapped as Integer. See:
    http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/b10004/javaservices.htm#1033406
    Hope this helps.
    Mike.

  • Problem in creating text file from report file

    Hello Everybody...
    I have problem in creating text file.
    I had set System Parameter as below
    DESTYPE : File
    MODE : Character
    DESNAME : gayu.txt
    And ruler setting
    Units : Character Cells
    Character Cell Size : Horiziontal = 7
    Vertiacle =12
    GridSpacing : 1
    no of snap points per grid spacing : 1
    but when i run report it will give error
    "REP_1219 M_2 or R_2 has no size -- length or width zero"
    so is there any solution of that
    or another way to convert report into text file?....

    Hi Folks,
    Please don't go after that Error as its a very deceptive one. Please don't go for altering your design Or changing the size of items in your layout.
    Similar errors I have come across in reports. I think its due to file transfer type. You might have transferred the file in Binary and your File Mode I am seeing it as CHAR.
    This normally happens while making the Report Format as "Text". Either you change that format which I think is possible in your case as your basic requirement is making a report output of CHAR type.
    Please check for this error in Metalink and proceed accordingly. I could fix similar errors when I changed Format type to PDF(from text).
    Regards
    Shibu

  • Can I create private class in ABAP?

    Hi all,
    Can I create private class in ABAP? Please reply me its interview question.
    Thanks ,
    Vishal
    Moderator message : Interview type questions not allowed, read Forum Rules Of Engagement before posting.  Thread locked.
    Edited by: Vinod Kumar on Jan 16, 2012 12:20 PM

    Vishal , please read the rules of this forum.

  • Problem in creating new field using AET

    Hi ,
    We are facing a problem while creating a new field using AET.
    [http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID0190611650DB01471683520393954021End?blog=/pub/wlg/12716]
    Im following this blog while creating the new field using AET.
    After filling all the field details and trying to create a Transport request its going for a runtime error.
    The error is happening in class  CL_CRM_GENIL_AXT_API
    method get_editable_properties.
      data lr_field_ext type ref to cl_genil_field_extension.
      field-symbols <axt_field_extension> type gtype_field_extension.
      data lr_fieldext_ref type ref to if_axt_field_ext_access.
      read table axt_field_extension_tab assigning <axt_field_extension> with key ext_bo       = is_key-ext_bo
                                                                              ext_bo_part  = is_key-ext_bo_part
                                                                              extension_id = is_key-extension_id.
      lr_field_ext = <axt_field_extension>-axt_extension.
      if sy-subrc = 0.
    While Debugging we can see that the table axt_field_extension_tab  is having zero values during the last execution.
    But the Zfield is getting generated and the status is in green.
    Any suggestions will be highly appreciated.
    Regards,
    Sijo.
    Edited by: sijokjohn85 on Sep 9, 2009 1:00 PM
    Edited by: sijokjohn85 on Sep 10, 2009 12:49 PM

    Hi,
    you posted the same question again in a later post.
    Here is my answer:
    Hi,
    the reason that AET does not work is because there is/are missing entries in one of DB table.
    Namely the enhance BO assignment to the UI Object Type.
    Could you please tell me, what is the UI Object Type in you current IC application.
    In order to figure this out, you can put mouse cursor in one of the field in the UI and then press F2.
    Then you can go to SM30 in SAP GUI open the View BSPDLCV_OBJ_TYPE and search for the UI object type.
    Select the UI object type and see whether any enhanced BO is defined.
    In your case it should be empty, otherwise you can use AET in IC.
    And if it is empty we need to figure out which enhanced BO is relevant for the given UI Object Type.
    Regards,
    Steve
    P.S. But still you can raise a CSN message.
    The "Create New Field" should be in active mode.

  • Problem to create jar with images

    Hello
    I have a project, it's a frame with a panel that contains a image, I want to create a Jar, but I have to problems, if create a Jar and execute out the project folder, I can't see the images, if I use getClass().getResource, I have other problems, I can't add panels.
    How it's difficult to say, I going to put a link from the project make with eclipse [My project|http://www.megaupload.com/?d=HBPHUWE9] , if someone wants have a look I would be grateful.
    http://www.megaupload.com/?d=HBPHUWE9
    Just look at the package com.constructor.interfaz
    To make the jar use the class InterfazFactoriaPaneles
    Thanks in advance !
    Edited by: Dav1d on Jul 10, 2009 6:11 AM
    Edited by: Dav1d on Jul 10, 2009 6:12 AM

    I explain better:
    I have a Class -> InterfazFactoriaPaneles, with this main
    public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        InterfazFactoriaPaneles application = new InterfazFactoriaPaneles();
                        application.getJFrame().setVisible(true);
    in the Frame I add a JPanel with an image, to load the image I override this method, where com.constructor.imagenes, it's the path where I've got my images :
    public void paintComponent(Graphics g){
              Dimension tamanio = getSize();                    
              ImageIcon     imagenFondo = new ImageIcon("./src/com/constructor/imagenes/patronConstructor.jpg");     
              g.drawImage(imagenFondo.getImage(),0,0,tamanio.width,tamanio.height,null);
              setOpaque(false);
              super.paintComponent(g);
    the with a menu, I remove the panel with the image I load other panel with components (JTextField, JTable, JLabel,...).
    If run the program from eclipse, everything it's ok, if I export into jar file, it works if the jar it's inside the project folder, but if I put the jar in other location, doens't load images, I google from answer and I read to put images path like that: new ImageIcon(getClass().getResource("/com/constructor/imagenes/patronConstructor.jpg")); , but if I do that, and run in eclipse, everything it's ok, but If I export into a Jar, I load the image, but when I try to change to other panel it doesn't work.
    So I do not what's the answer, if someone check my code, and try to make a jar, and the move the jar file into other location, will be able to see images doesn't appears.

  • Can I create a Class object without the VM?

    Using byte-code engineering, is it possible to create a class object?
    What about if I serialize a Class object to a file, can I byte-code engineer that and then reinstantiate it?

    Thanks I'll check it out. Basically I want to try it
    for fixing a problem of running two apps in the same
    VM.There's a world of problems when you try to run two programs within the same JVM. I wouldn't suggest even trying it unless it's a last resort. Why do you want to do that?

Maybe you are looking for

  • Unable to import from tape under Win2000

    A DBA running Oracle on Solaris used export to create a tape for me to import into my Win2000 Oracle DB. I have not been able to figure out what to set the import filename to in order to have imp read off the tape drive. The other DBA suggested setti

  • Date format in OBIEE 11g is changed.

    Hi, we have installed 11.1.1.5 on linux x86-64bit machine. after that we upgraded the OBIEE 10.1.3.4.1 rpd and catalog to OBIEE 11.1.1.5. everything was working fine at this stage. After that we did some development in 10g ... and again upgraded the

  • Cannot and have never been able to connect to a testing server

    Hello I am using Dreamweaver and am trying to set up a testing site using IIS.  I can’t get it set up.  It says I don’t have administrative privileges.  I am the administrator.  This is a home computer and I am the only user  of the computer. I am ju

  • Receiver dtermination condition ...????

    Hi..friends... its IDoc - to -file.. based on the idoc ,one of the segments filed value...i need to plave the file on related FTP server.. earlier i discussed in thread...FILE to ABAP Proxy in the receiver determination..in condition .. i given like

  • Envelope sizes

    I use various card programs such as Hallmark.  Want to  print  half fold  card envelope size (8 5/8W x 5 5/8H). My HP 2540 does not give me any print envelope size choice that is near this.  How can I do this? Can I custom size envelopes?  How?  I bo