Public method of javabean not executed when invoked with FBEAN.INVOKE_NUM

Hi,
i write a trivial javabean with public method named 'somme' that return int value and take no arguments.
i my PL/SQL trigger code, i register an instance of the bean and take a call to the public method 'somme' that return a int value that i display in display item of my form.
the java bean is well registered and i verified that the code in the constructor is well executed. But the call to the public methode dont work.
thank you for your help.

Hello,
it's a mistake for me. when i instanciate the javabean from another java classe in jdev, the execution is well and the process exited with code 0.
but when i instanciate it from pl/sql the problem occurs.
i commented all the lines of my code except the line that register the javabean
     FBean.Register_Bean(hBean, 1, 'amar.FbeanExemple');
and i have the same problem even though the code in the constructor is executed.
the error occurs after the code in the concstructor is executed.
i folllow all the information about this error:
Contenu de la console Java
JInitiator: Version 1.3.1.18
Utilisation de la version JRE 1.3.1.18-internal Java HotSpot(TM) Client VM
Répertoire d'accueil de l'utilisateur = C:\Documents and Settings\amsai1
Configuration du proxy : aucun proxy
JAR cache enabled
Location: C:\Documents and Settings\amsai1\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/banicons.jar from JAR cache
Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/bannerui71.jar from JAR cache
Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/banspecial.jar from JAR cache
Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/banorep71.jar from JAR cache
Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/bannerid71.jar from JAR cache
Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/f90all_jinit.jar from JAR cache
Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/missing.jar from JAR cache proxyHost=null proxyPort=0 connectMode=HTTP, native. La version Forms Applet est : 9.0.4.0
*** VBean null PropertyManager for id = FOREGROUND
*** VBean Got FOREGROUND = null
*** VBean null PropertyManager for id = BACKGROUND
*** VBean Got BACKGROUND = null *** VBean Setting debugMode to ALL *** VBean Setting beanName to amar.FbeanExemple
Loading http://sit-p-amsai1.sit.ulaval.ca:8889/forms90/java/fbeanexemple.jar from JAR cache
Instance hhhjhyu du bean est créée op1 = 0 op2 = 0
*** VBean Failed to instantiate class: amar.FbeanExemple java.lang.ClassCastException: amar.FbeanExemple
Ma classe Java
package amar;
public class FbeanExemple
     private int op1;
     private int op2;
public FbeanExemple()
System.out.println("Instance hhhjhyu du bean est créée");
System.out.println("op1 = " + this.op1);
System.out.println("op2 = " + this.op2);
public int additionner()
return this.op1 + this.op2;
public int soustraire()
return this.op1 - this.op2;
public int sommer(int a, int b)
return a + b;
public void faire()
System.out.println("je suis passe par ici");
public void setOp1(int a)
this.op1 = a;
public void setOp2(int a)
this.op2 = a;
public int getOp1()
return this.op1;
public int getOp2()
return this.op2;
Mon code PL/SQL
declare
     hBean ITEM := Find_Item('CTL.BEAN_AREA4');
     result INTEGER;
begin
     FBEAN.SET_LOGGING_MODE(hBean,1,FBEAN.LOG_ALL);
     FBean.Register_Bean(hBean, 1, 'amar.FbeanExemple');
     result := FBean.Invoke_Num(hBean, 1, 'additionner');
     :CTL.R := result;
end;
Thank you for your help.

Similar Messages

  • Down pmnts with taxes are not permitted when processing with jur.code (Message no. FS206)

    Hi Guys,
    I am facing very critical issue on down Payment request, to process with saperate Tax Value.
    We are supporting on Roll-out for Germany. We have implemented all standard SAP processes in the Project. We have also implemented many interfaces and one of the Interface is Sabrix Tax Engine (Tax Jurisdiction Code).
    As per the Germany legal requirement, the Tax has to get calculated whenever the funds gets transfered from one Bank Account to Another Bank Account.
    Coming to the issue: In the Customer Down Payment scenario, we are creating the Down payment request for Customer and as per Germany local requirement the Tax of 19% has to get calculated on Down payment.
    For an Example: We have the Sales Order Contract Value of 100,000.00 EUR and we are creating the Down Payment reqeust of 10% which is 10000 EUR + Tax 19% 1900 EUR.
    We are trying to post the Down Payment request in F-37 and we get the issue "Down pmnts with taxes are not permitted when processing with jur.code". This error is appearing due to Sabrix Tax engine (Tax Jurisdiction Code) has implemented in our System.
    We have gone through the SAP notes 97288 and 213567 and understood that the Standard SAP does not support us to post the Down Payment request with Separate Tax Value, when the External Tax Engine has implemented.
    I request you to suggest me, if you have already seen this issue in any of your Projects and fixed through the work-around solution. We have been working on work-around since 2 weeks, however no result.
    Below is the error message:
    Down pmnts with taxes are not permitted when processing with jur.code
    Message no. FS206

    HI Preeti,
    Thanks for your response. We have already seen the similar SAP notes and the SAP notes explains that the "Down pmnts with taxes cannot be done along with with jur.code". The only solution is to post the DP without Tax.
    However there might be some workaround which can be done in SAP, to process the Down Payment/Advance Payments with Tax Value along with Jurisdiction Code. I would like to know this.
    Did any one seen this case in your experiece, if yes, what is the work-around solution?.
    Need your help guys!,...
    Regards,
    Damodar Naidu

  • Error FS206 Down pmnts w/ taxes not permitted when processing with jur.code

    Issue:   I am encountering a problem entering Taxes when applying  down payments received from customers since we are using a jurisdiction code taxation procedure.  This process works as desired in Europe for our firm.  I found OSS 97288 which is not valid for version ECC 6.0.  Please assist due to US go-live in 2 weeks.Process:  Create Down Payment Request for cash in advance.  Required to tax at this point.  Billing document creates a noted item in the G/L (Special G/L).  I apply customer's payment via transaction F-29 and receive error "FS206 Down pmnts with taxes are not permitted when processing with jur.code."
    Settings:  1) Alternative Recon account for Special GL posting has The tax category on the GL account = B "Output tax - down payments managed gross."  2) Transaction OBXB specifies tax clearing account for transaction key MVA.  This G/Laccount has same tax category setting (B). My settings work perfectly for Europe since they are not taxed via juridicition codes.
    Thank you in advance!

    Check the GL master of the alternative recon account. Ideally there should be no setting in the tax fields as there is no tax calculated on down payment but only on the final amount. Leave the tax fiel blank and do not check mark posting without tax allowed.

  • CS3 Postscript fonts not visible when Installed with Suitcase 11.0 Vista Ult64

    CS3 Postscript fonts not visible when Installed with Suitcase 11.0 on Vista Ultimate 64bit.
    Truetype and Opentype work fine. I have searched through all the forums here multiple times, but not found a solution. The only workaround I found was to manually put the font files in c:/ProgramFiles(x86)/CommonFiles/Adobe/Fonts.
    When I put any font files in that folder, they show up in CS3 for use, but not in windows apps. I thought I would make a permanent work around by placing all of my uninstalled font files in that folder, then use suitcase to install them from there. That didn't work because EVERY font in that folder is available to CS3 and turned on. Do they get installed when you put them in there?? It didn't seem like they were installed, and windows apps didn't see them.
    These are workarounds anyway. My main goal is to have suitcase work so I can organize my fonts efficiently. Extensis blames the font and CS3. I have read that there are adobe issues with other font management software as well as suitcase. Any help would be appreciated.

    Got mine FIXED here is what i did:
    Windows 7 64bit SP1, CS 5
    Postscript fonts (comprising of *.pfb + *.pfm files) did not show up in any CS5 app, but showed OK in Word, Excel, Notepad etc.
    Tried  activating through Suitcase Fusion 2 and also through FontExpert 2009 -  but neither of them made the fonts visible in CS5 apps
    1) open Start Menu/Control Panel/Fonts
    2) on the sidebar there is "Font settings" item
    3) set the settings as i did
    [    ]  Hide fonts based on language settings
    [ x ]  Allow fonts to be installed using a shortcut (advanced)
    FIXED mine,
    now i can use Suitcase Fusion 2 to install any PFB/PFM fonts without any problems...
    PLEASE IF THIS WORKED FOR YOU TOO, LEAVE A MESSAGE HERE SO OTHERS KNOW IF THIS FIX IS 100% WORKING

  • QBE style(Find-Execute) Query not executing when VO has bind parameter

    I have an Entity Based ViewObject that is composed of 3 Entities so the entities are related through an Assoc. Then the ViewObject also has a bind paremeter defined and used in the WHERE clause.
    In my page everything is fine until when I use/click on the Find operation on the JSF page. When the Find operation is executed the page/form goes blank so I can enter by QBE query. Now when I Execute my search by executing the ExecuteWith params operation. Nothing is happening to the screen, it seems that query was not executed. Although there was no errors or exceptions displayed.
    However if I remove the bind parameter, and execute the Execute operation instead after going to Find mode, the query is executed properly and I get expected results.
    My problem is a bit general, but are there anyone who had a similar problem like this? Im still in the process of creating a test case.
    regards,
    Anton

    Hi Frank,
    But the "ExecuteWithParams" operation provides the bind variable right? (i had the value hardcoded on the pagedef). So it must have supplied a value. I also noticed that this is happening only when if the VIewObject contains two or more Entities. If the Viewobject has only 1 entity, the ViewObject queries properly.
    Anyway Frank, I had found a fix for this. I set an InvokeAction on the pagedef that binds to the ExecuteWithParams that is invoked during page load only(!postback condition). and then I just use the Find-Execute operations instead of the Find-ExecuteWithParams operations that I used previously.
    I will try to replicate the issue again to investigate what's really going on. I just want to know if its a bug or just an expected behavior or i just made a mistake.
    regards,
    Anton

  • Rmi interface not loading when invoked from class in package

    Hi, It would be a great help if you could help me out with the following problem:
    The RMIClient fails to detect the remote object interface in the current directory when i place it within a package.
    1) I tried placing the remote object interface in the same package - this didn't change the error output.
    2) I tried to import the remote object by placing the parent's parent directory in the classpath - a new error popped up saying the file did not contain any class! Since its an RMI interface extending remote, it dosen't involve a class directly.
    The following is my client code:
    package java.util.logging;  // Without this line, this client works fine.
    import java.rmi.*;
    import java.rmi.server.*;
    import java.io.*;
    import java.util.logging.*;
    import logTest.RMIChannel;
    public class RMIChannelClient
       public static void main(String[] args)
          System.setProperty("java.security.policy", "client.policy");
          System.setSecurityManager(new RMISecurityManager());
          String url = "rmi://acrux.cis.ksu.edu/";
          LogRecord record= new LogRecord(Level.ALL,"");
          try
             RMIChannel rc = (RMIChannel)Naming.lookup(url + "RMI_Channel");
          rc.sendRecord(record);
          catch(Exception e)
             e.printStackTrace();
    }The following is my interface extending remote:
    //package java.util.logging;  // I tried adding and removing this line but to no avail
    import java.rmi.*;
    import java.util.logging.LogRecord;
    public interface RMIChannel extends Remote
      String getDescription() throws RemoteException;
      void sendRecord(LogRecord record) throws RemoteException;
    }Could anyone suggest a solution to this issue?
    Thanks.

    ok. i was hoping to write my own logging class (extending upon sun's classes). while doing this, i found that LogManager.getStringProperty() is not a public method and cannot be accessed outside the java.util.logging package and the compiler complained. So i tried placing my file in java.util.logging package and it compiled fine. Is there a way i can use a method thats not declared public without importing its package?

  • Preuut and postuut sequences are not executing when run using UI. They run when using the sequence editor.

    I am using TestStand 3.5 and LabVIEW 8 in a Windows XP environment.
    I have a sequence that runs properly when run from the sequence editor.  I have made a few minor mods to the simple Operator Interface that ships with TestStand.  When I run my sequence using the modified Operator Interface, the PreUUT and PostUUT sequences do not execute.  Only the main sequence executes.  This also happens when I run the demo sequences that ship with TestStand.
    What am I missing?

    Hi,
    It sound like you are executing the sequences without the process model, do you get a report at the end of the execution?
    What are these minor mods you have done?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Business Rules Do Not Execute When Saving a Form

    When saving a form the attached business rules are not executing. Sometimes we are unable to validate business rules via AAS. When this happens we do a security refresh from Planning to Essbase and Essbase to Shared Services. At other times, we bounce planning and even Essbase and this seems to fix the problem. Today we have tried every combination (bounce planning, Essbase, AAS) and we are able to at least validate biz rules in AAS but we (i.e., users) are uanble to execute the biz rule when they save via the planning form. There are no issues running the biz rules when saving the form using an administration account. Can someone explain what's going on or provide direction as to why this problem happens and how to fix this issue?

    Hi,
    Well is your version 9.3.0.1? If yes then you have my sympathies :). We too have this version and face similar problems with Business Rules. Usually things come back to normal after following the steps mentioned above. However what I would want to know is the following:
    1) From where are you running the Business rules? I am asking this because if you are trying to run from Smartview then I would suggest you look at the time it takes for the Business Rules to execute. If it excedes the timeout settings then it will exit out. However the BR might still be running in the back ground. This you can confirm by looking at the data.
    2) Have you checked if you have installed all the patches?
    Hope it helps.
    Regards,
    Amol

  • Method in WF not executing..

    Hi, Can anyone tell me whether to include Delegated Object (ZDISCON) or Standard Object(DISCONNECT)  in the  activity step type of my Workflow (WS9000009).
    The issue is:
    The reciever is being called while trying to create a event in SWUE. But the Function module inside the ZDISCON is not executing.
    BEGIN_METHOD CREATE CHANGING CONTAINER.
    DATA:
       DISCONNECTIONREASON LIKE EDISCDOC-DISCREASON,
       REFERENCEOBJECT TYPE SWC_OBJECT,
       REFOBJTYPE      LIKE EDISCDOC-REFOBJTYPE,
       REFOBJKEY       LIKE EDISCDOC-REFOBJKEY,
       ETYPE           LIKE REGEN-EXIT_TYPE,
       WEDISCDOC       LIKE EDISCDOC,
       setexitreturn   LIKE regen-kennzx.
       SWC_GET_ELEMENT CONTAINER 'DisconnectionReason' DISCONNECTIONR
       IF SY-SUBRC <> 0.
         EXIT_RETURN '0002' 'DisconnectionReason' SPACE SPACE SPACE.
       ENDIF.
       SWC_GET_ELEMENT CONTAINER 'ReferenceObject' REFERENCEOBJECT.
    CALL FUNCTION 'ISU_S_DISCDOC_CREATE'
         EXPORTING
               X_DISCREASON   = DISCONNECTIONREASON
              X_REFOBJTYPE   = REFOBJTYPE
              X_REFOBJKEY    = REFOBJKEY
              X_UPD_ONLINE   = 'X'
         IMPORTING
             Y_EXIT_TYPE    = ETYPE
              Y_NEW_EDISCDOC = WEDISCDOC.
    CALL FUNCTION 'Z_SEND_MAIL'
       EXPORTING
         DISCNO        =  WEDISCDOC-DISCNO.
    ENDMETHOD.

    Hi,
    If you Delegate the Custom BO to Std. BO, you can use the std. BO then custom BO methods will automatically come.
    The reciever is being called while trying to create a event in SWUE. But the
    Function module inside the ZDISCON is not executing.
    This happen because Delegation is not correct.
    Refer this [Link1|https://wiki.sdn.sap.com/wiki/x/JQD1Aw ] & [Link2|https://wiki.sdn.sap.com/wiki/x/8YBVAw ] for delegation.
    Regards,
    Surjith

  • Selected file is not executable when loading core file

    Hello all
    im using sunstudio 12 on sun4u sparc using compiler version Sun C++ 5.9 SunOS_sparc Patch 124863-04 2008/04/16
    when i try to load core dump that is created from one of the executables with sunstudio 12 im getting this message
    "The Select file is not executable "
    and when i open the core file with command like dbx every thing is working fine

    here is all the output:
    Running "/opt/SUNWspro12/SUNWspro/bin/dmake  -f Makefile CONF=Debug" in /home/meiry/SunStudioProjects/Quote_1
    dmake: defaulting to parallel mode.
    See the man page dmake(1) for more information on setting up the .dmakerc file.
    sun8 --> 1 job
    /opt/SUNWspro12/SUNWspro/bin/dmake -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
    sun8 --> 1 job
    mkdir -p build/Debug/Sun9-Solaris-Sparc
    CC    -c -g +w -o build/Debug/Sun9-Solaris-Sparc/disk.o disk.cc
    sun8 --> 2 jobs
    mkdir -p build/Debug/Sun9-Solaris-Sparc
    CC    -c -g +w -o build/Debug/Sun9-Solaris-Sparc/cpu.o cpu.cc
    sun8 --> Job output
    mkdir -p build/Debug/Sun9-Solaris-Sparc
    CC    -c -g +w -o build/Debug/Sun9-Solaris-Sparc/cpu.o cpu.cc
    (/home/meiry/SunStudioProjects/Quote_1)cpu.cc:
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 4: Error: istream is not a member of std.
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 5: Error: cin is not a member of std.
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 6: Error: ws is not a member of std.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 64: Error: Type name expected instead of "locale".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 65: Error: Type name expected instead of "locale".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 68: Error: streamsize is not defined.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 145: Error: Type name expected instead of "streamsize".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 146: Error: Type name expected instead of "streamsize".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 152: Error: Type name expected instead of "streamsize".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 167: Error: Type name expected instead of "locale".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 170: Error: Type name expected instead of "_RWSTDGuard".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 236: Error: Templates can only declare classes or functions.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 239: Error: Use ";" to terminate statements.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 239: Error: A declaration was expected instead of "return".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 239: Error: s is not defined.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 248: Error: basic_streambuf is not defined.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 248: Error: int_type is not defined.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 249: Error: Templates can only declare classes or functions.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 251: Error: Use ";" to terminate statements.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 251: Error: A declaration was expected instead of "if".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 251: Error: ")" expected instead of ">".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 251: Error: Unexpected ")" -- Check for matching parenthesis.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 251: Error: Operand expected instead of ")".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 253: Error: The function "gbump" must have a prototype.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 254: Error: traits is not defined.
    Compilation aborted, too many Error messages.
    :(/home/meiry/SunStudioProjects/Quote_1)cpu.cc
    *** Error code 1
    dmake: Fatal error: Command failed for target `build/Debug/Sun9-Solaris-Sparc/cpu.o'
    Current working directory /home/meiry/SunStudioProjects/Quote_1
    Waiting for 1 job to finish
    sun8 --> Job output
    mkdir -p build/Debug/Sun9-Solaris-Sparc
    CC    -c -g +w -o build/Debug/Sun9-Solaris-Sparc/disk.o disk.cc
    (/home/meiry/SunStudioProjects/Quote_1)disk.cc:
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 4: Error: istream is not a member of std.
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 5: Error: cin is not a member of std.
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 6: Error: ws is not a member of std.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 64: Error: Type name expected instead of "locale".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 65: Error: Type name expected instead of "locale".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 68: Error: streamsize is not defined.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 145: Error: Type name expected instead of "streamsize".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 146: Error: Type name expected instead of "streamsize".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 152: Error: Type name expected instead of "streamsize".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 167: Error: Type name expected instead of "locale".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 170: Error: Type name expected instead of "_RWSTDGuard".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: While specializing "std::basic_streambuf<std::charT, std::traits>".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 185:     Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 236: Error: Templates can only declare classes or functions.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 239: Error: Use ";" to terminate statements.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 239: Error: A declaration was expected instead of "return".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 239: Error: s is not defined.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 248: Error: basic_streambuf is not defined.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 248: Error: int_type is not defined.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 249: Error: Templates can only declare classes or functions.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 251: Error: Use ";" to terminate statements.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 251: Error: A declaration was expected instead of "if".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 251: Error: ")" expected instead of ">".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 251: Error: Unexpected ")" -- Check for matching parenthesis.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 251: Error: Operand expected instead of ")".
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 253: Error: The function "gbump" must have a prototype.
    "/opt/SUNWspro/prod/include/CC/Cstd/./streambuf", line 254: Error: traits is not defined.
    Compilation aborted, too many Error messages.
    :(/home/meiry/SunStudioProjects/Quote_1)disk.cc
    *** Error code 1
    dmake: Warning: Command failed for target `build/Debug/Sun9-Solaris-Sparc/disk.o'
    Current working directory /home/meiry/SunStudioProjects/Quote_1
    *** Error code 1
    dmake: Fatal error: Command failed for target `.build-impl'
    Build failed. Exit value 1.

  • SelectInputText With AutoSubmit, does not submit when used with LOV.

    Hi,
    I am using ADF with ADFBC (Jdeveloper 10.1.3.3). I have a selectinputText (With AutoSubmit = true and immediate = true) component that links to a LOV dialog. When I enter values by hand and navigate out of SelectInputText, it submits the form and everything works well. But When I choose to use LOV, although its value is changed, it does not submit the form. I tried on Return Listener to set its value with no avail. I tried field.setSubmittedValue(null) and field.setValue, field.resetValue, But I couldn't get the same behaviour when I enter values by hand. So my problem is When return from LOV selectinputText does not submit the form. How can I have the form submitted when returned from LOV? Any help is appreciated.
    Best Regards,
    Salim

    Well I was a bit to impatient to create a test case and wait what might come out. So I investigated a bit and found out:
    The code in my managed bean for the value change listener is executed, when I change the field content directly. There is code placed like this:
    public void invoiceAddressPartnerNrChange(ValueChangeEvent valueChangeEvent) {
    int no = (Integer)this.getEditInvoiceAddressPartnerNo().getValue();
    //valueChangeEvent.getNewValue() maybe use this in future...
    this.getEditInvoiceAddressPartnerId().resetValue();
    AttributeBinding ab =
    (AttributeBinding)getBindings().getControlBinding("AllPartnersInvoiceAddressId");
    int id;
    // 1. Access the FacesContext
    FacesContext fc = FacesContext.getCurrentInstance();
    // 2. Create value binding for the #{data} EL expression
    ValueBinding vb = fc.getApplication().createValueBinding("#{data}");
    // 3. Evaluate the value binding, casting the result to BindingContext
    BindingContext bc = (BindingContext)vb.getValue(fc);
    // 4. Find the data control by name from the binding context
    DCDataControl dc = bc.findDataControl("HdsServiceDataControl");
    // 5. Access the application module data provider
    ApplicationModule am = (ApplicationModule)dc.getDataProvider();
    // 6. Cast the ApplicationModule to its client interface
    HdsServiceImpl service = (HdsServiceImpl)am;
    // 7. Call a method on the client interface
    id = service.getPartnerId(no);
    //return "SomeNavigationRule";
    ab.setInputValue(id);
    this.getEditInvoiceAddressPartnerId().setValue(id);
    But this method will NOT be executed when the field content is changed by the LOV's returning value.
    So I searched for another method and found the return listener of the field to be adequate. There I placed similar code by use of the return value:
    public void test(ReturnEvent returnEvent) {
    Object o = returnEvent.getReturnValue();
    int no = Integer.parseInt(o.toString());
    this.getEditInvoiceAddressPartnerId().resetValue();
    this.getEditInvoiceAddressPartnerNo().resetValue();
    AttributeBinding ab = (AttributeBinding)getBindings().getControlBinding("AllPartnersInvoiceAddressId");
    int id;
    // 1. Access the FacesContext
    FacesContext fc = FacesContext.getCurrentInstance();
    // 2. Create value binding for the #{data} EL expression
    ValueBinding vb = fc.getApplication().createValueBinding("#{data}");
    // 3. Evaluate the value binding, casting the result to BindingContext
    BindingContext bc = (BindingContext)vb.getValue(fc);
    // 4. Find the data control by name from the binding context
    DCDataControl dc = bc.findDataControl("HdsServiceDataControl");
    // 5. Access the application module data provider
    ApplicationModule am = (ApplicationModule)dc.getDataProvider();
    // 6. Cast the ApplicationModule to its client interface
    HdsServiceImpl service = (HdsServiceImpl)am;
    // 7. Call a method on the client interface
    id = service.getPartnerId(no);
    //return "SomeNavigationRule";
    ab.setInputValue(id);
    this.getEditInvoiceAddressPartnerId().setValue(id);
    Since this method is executed, my calulation works both ways: Directly entered values and values coming back from the LOV.
    Maybe this is kind of trivial and my code is a bit crappy, but it is a solution.
    What I don't like is the redundance in the code I needed to implement twice..

  • Function module not working when used with 'In Background Task'

    hi,
    this is my code
    call function 'Z_IBD_FILL_ZINETACT'
                  in background task
                  destination  'SAPD220125'
                  tables
                      it_net1 = it_net1
                      it_net2 = it_net2
                      it_net3 = it_net3  .
    when this code is executed i am not getting any data in my internal tables i.e it_net1, it_net2, and it_net3
    but i changed this code see the below code
          call function 'Z_IBD_FILL_ZINETACT'
                 in background task (THIS IS COMMENTED)
                  destination  'SAPD220125'
                  tables
                      it_net1 = it_net1
                      it_net2 = it_net2
                      it_net3 = it_net3  .
    now i am getting data into my internal tables
    can any one tell me what can be the problem and how to solve it in my case
    its very urgent

    Hi,
    Pls. go through the  docu..
    CALL FUNCTION
    Variant 5
    CALL FUNCTION func IN BACKGROUND TASK.
    Additions:
    1. ... AS SEPARATE UNIT
    2. ... DESTINATION dest
    3. ... EXPORTING  p1 = f1    ... pn = fn
    4. ... TABLES     p1 = itab1 ... pn = itabn
    Effect
    Flags the function module func to be run asynchronously. It is not executed at once, but the data passed with EXPORTING or TABLES is placed in a database table and the next COMMIT WORK executes it in another work process.
    Note
    This variant applies only as of Release 3.0, so both the client system and the server system must be Release 3.0 or higher.
    Note
    qRFC with Outbound Queue
    This is an extension of tRFC. The tRFC is serialized using queues, ensuring that the sequence of LUWs required by the application is observed when the calls are sent.
    For further information about qRFC, refer to the Serialized RFC: qRFC With Outbound Queue section of the SAP Library.
    Addition 1
    ... AS SEPARATE UNIT
    Effect
    Executes the function module in a separate LUW under a new transaction ID.
    Addition 2
    ... DESTINATION dest
    Effect
    Executes the function module externally as a Remote Function Call (RFC); dest can be a literal or a variable.
    Depending on the specified destination, the function module is executed either in another R/3 System or as a C-implemented function module. Externally callable function modules must be flagged as such in the Function Builder (of the target system).
    Since each destination defines its own program context, further calls to the same or different function modules with the same destination can access the local memory (global data) of these function modules.
    Note
    Note that a database commit occurs at each Remote Function Call (RFC). Consequently, you may not use Remote Function Calls between pairs of statements that open and close a database cursor (such as SELECT ... ENDSELECT).
    Addition 3
    ... EXPORTING p1 = f1 ... pn = fn
    Effect
    EXPORTING passes values of fields and field strings from the calling program to the function module. In the function module, formal parameters are defined as import parameters. Default values must be assigned to all import parameters of the function module in the interface definition.
    Addition 4
    ... TABLES p1 = itab1 ... pn = itabn
    Effect
    TABLES passes references to internal tables. All table parameters of the function module must contain values.
    Notes
    If several function module calls with the same destination are specified before COMMIT WORK, these normally form an LUW in the target system. Calls with the addition 1 are an exception to this rule - they each have their own LUW.
    You cannot specify type 2 destinations (R/3 - R/2 connections).
    (See Technical details and Administration transaction.)
    Example
    REPORT  RS41503F.
    /* This program performs a transactional RFC.
    TABLES: SCUSTOM.
    SELECT-OPTIONS: CUSTID FOR SCUSTOM-ID DEFAULT 1 TO 2.
    PARAMETERS: DEST LIKE RFCDES-RFCDEST DEFAULT 'NONE',
                MODE DEFAULT 'N',
                TIME LIKE SY-UZEIT DEFAULT SY-UZEIT.
    DATA: CUSTITAB TYPE TABLE OF CUST415,
          TAMESS   TYPE TABLE OF T100,
          WA_CUSTITAB TYPE CUST415.
    SELECT ID NAME TELEPHONE INTO CORRESPONDING FIELDS OF TABLE CUSTITAB
                   FROM SCUSTOM WHERE ID IN CUSTID ORDER BY ID.
    PERFORM READ_CUSTITAB.
    EDITOR-CALL FOR CUSTITAB TITLE 'Editor for table CUSTITAB'.
    PERFORM READ_CUSTITAB.
    CALL FUNCTION 'TRAIN415_RFC_CALLTRANSACTION'
         IN BACKGROUND TASK
         DESTINATION DEST
         EXPORTING
              TAMODE    = MODE
         TABLES
              CUSTTAB   = CUSTITAB.
    CALL FUNCTION 'START_OF_BACKGROUNDTASK'
         EXPORTING
              STARTDATE = SY-DATUM
              STARTTIME = TIME
         EXCEPTIONS
              OTHERS    = 1.
    IF SY-SUBRC = 1.
      EXIT.
    ENDIF.
    COMMIT WORK.
    CALL TRANSACTION 'SM58'.
          FORM READ_CUSTITAB                                   *
    FORM READ_CUSTITAB.
      WRITE: / 'System ID:', SY-SYSID.
      SKIP.
      LOOP AT CUSTITAB into WA_CUSTITAB
        WRITE: / WA_CUSTITAB-ID, WA_CUSTITAB-NAME,
                 WA_CUSTITAB-TELEPHONE.
      ENDLOOP.
      ULINE.
    ENDFORM.
    Pls. reward if useful....

  • Tinymce declarative component not working when added with PPR

    I have a declarative component that i exposed in a resource catalog.
    This component uses <af:resource> to inject javascript in the page.
    the problem that i have is when in editing mode, and you add the component. the components <af:resource> is not yet injected and i have to manually refresh my browser to see the effect.
    I am trying to integrate TinyMCE as a component.
    This problem occurs because when you click the add button it does a PPR.
    If i load a page where my component was already on, I don't have this problem.
    I also tried a refresh commandButton, but because forcePPR is configured in the web.xml and I may not change this, it is not executed correctly.
    Any ideas to solve this, or a workaround would be helpful?
    thanks in advance
    <af:group id="dc_g1">
          <af:commandButton text="refresh"
                            actionListener="#{backingBeanScope.tinymceBean.addScripts}"/>
          <af:resource type="javascript" source="/tiny_mce/tiny_mce.js" />
          <af:resource type="javascript" source="/tiny_mce/config.js" />
          <af:inputText simple="true" value="#{attrs.value}" styleClass="AFStretchWidth"
                        id="dc_it1" rows="2" />
          <af:resource type="javascript" text="initTiny();" />
        </af:group>

    Try collecting a Process Monitor trace https://technet.microsoft.com/en-us/sysinternals/bb896645 to check what is the Access is being Denied on.
    Windows Store Developer Solutions, follow us on Twitter:
    @WSDevSol|| Want more solutions? See our blog

  • My thunderbolt screen is not sharp when connected with my airbook, my thunderbolt screen is not sharp when connected with my air book

    the resolution of my thunderbolt screen is not ok / sharp when connected with my air book. Who can help me out?

    If running 10.7 or later hold down Command-R at Startup.
    This should invoke recovery Mode.
    Choose Disk Utility.
    Select your Hard drive. Inspect the SMART Status in the lower right of the window for "Verified".
    Select the Mac OS X Volume (originally Macintosh HD) click (Repair Disk)
    If errors, run again until it comes clean or gets stuck.
    Report any error messages.

  • ORA-01034: ORACLE not available when connect with connect string

    Hi,
    Database version is- 10.1.0.5.0 on Veritas Cluster, We are able to connect without giving connect string. but when we provide connect string as orcl it gives
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    when we do tnsping it works
    $ tnsping orcl
    TNS Ping Utility for Linux: Version 10.1.0.5.0 - Production on 08-MAY-2013 15:00:40
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    /D01/OIDTEST/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = cluster_hostname)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl.test.com)))
    OK (0 msec)
    tnsnames.ora entry :-
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cluster_hostname)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.test.com)
    listener.ora entry:-
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = orcl.test.com)
    (ORACLE_HOME = /D01/OID)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = cluster_hostname)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    listener log contains
    08-MAY-2013 14:47:03 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl.test.com)(CID=(PROGRAM=sqlplus)(HOST=physical_hostname)(USER=oraprod))) * (ADDRESS=(PROTOCOL=tcp)(HOST=xx.yy.zz.xx)(PORT=63969)) * establish * orcl.test.com * 0
    08-MAY-2013 14:50:49 * ping * 0
    08-MAY-2013 14:51:21 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    WARNING: Subscription for node down event still pending
    08-MAY-2013 14:51:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=physical_hostname)(USER=oraprod))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168822016)) * status * 0
    can you please advice.
    Thanks
    Edited by: user10702579 on May 8, 2013 11:09 AM

    Hi,
    lsnrctl services
    LSNRCTL for Linux: Version 10.1.0.5.0 - Production on 09-MAY-2013 08:26:47
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cluster_hostname.test.com)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service "orcl" has 1 instance(s).
    Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    $
    Thanks

Maybe you are looking for

  • Itunes 5: crashes my system when i import cd; install prob.

    I installed itunes 5 and it completed installation but at the end a windows error saying it crashed came up, but itunes still installed and could open when i rebooted. i don't have the driver related to virus protection mentioned in another post. the

  • Suggest a way to raise error message.

    Hi Gurus, i am developing an enhancement for transaction QA10, QA11, QA12, QA16 , QA17, QA40, QA41. above transactions are to perform UD or Change UD (Usage Decision ) in foreground or background mode. Our requirement is to raise a error message if a

  • Can iPad be switched to a different cellular carrier?

    We are considering switching from Verizon to Consumer Cellular.  Can my iPad, currently configured for Verizon, be used on by other cellular networks if I switch sim cards?

  • Failure during database recovery on Homogeneous System Copy

    Dear all, i am trying to do system copy, and it fails after the execution step:  database recovery MaxDB: 7.6.5.15 SAP Netweaver 7 Ehp 1 apparantly this is something to do with LOAD_SYSTAB. I could run load_systab [-u <sysdba_user>,<sysdba_user_passw

  • QTSS Publisher Doesn't Like Symbolic Link

    I wanted to store my music files on another drive, so I created a symbolic link for the Libraries folder to another directory. The QTSS Publisher app now crashes consistently. Anyone else have success with this?