C call-out and exception handling on HP_UX

Does anyone have experiencing calling out to C++ code which uses exception
handling on HP_UX? I'm having trouble getting this to work - details
below.
I'm trying to call out of Forte to some C++ code. The exposed functions
have been specified extern "C". This C++ code makes calls to the Lotus
Notes' C++ API. This API uses exception handling, as does our C++ code.
This all works great on Window NT. It's pretty cool, in fact.
It's not so cool on HP_UX. We're running 10.20, Forte 3.0.E. Apparently,
under HP_UX you have to compile and link using the +eh option in order to
use exception handling. So I did this. My test driver (which calls out to
my user object module) works fine.
So I fired up fcompile, passing in the +eh arguments, and the location of
one of Lotus Notes' shared libraries:
fcompile -cflags eh -lflags "eh /opt/lotus/notes/latest/hppa/libnotes.sl"
It works, giving me no errors.
Then I try to call the functions from inside Forte. It gives me the "Not
enough space loading library blah-blah-blah" error message. In my
experience, this message is misleading, and there's actually something else
going on. So I looked at the log file for the node manager. I saw these
messages:
/usr/lib/dld.sl: Unresolved symbol: __eh_Cqqsh_DynScope (data) from
/tools/forte/EdgeNotes/userapp/conplus_/cl0/lnapifor.sl
/usr/lib/dld.sl: Unresolved symbol: __eh_dt_count (data) from
/tools/forte/EdgeNotes/userapp/conplus_/cl0/lnapifor.sl
/usr/lib/dld.sl: Unresolved symbol: __eh_reset_dt_count (data) from
/tools/forte/EdgeNotes/userapp/conplus_/cl0/lnapifor.sl
/usr/lib/dld.sl: Unresolved symbol: __eh_Cqqlo_Object (data) from
/tools/forte/EdgeNotes/userapp/conplus_/cl0/lnapifor.sl
/usr/lib/dld.sl: Unresolved symbol: dealloc_object__18__eh_thrown_objectFi
(code) from /tools/forte/EdgeNotes/userapp/conplus_/cl0/lnapifor.sl
I don't know what this all means. In an attempt to replicate the situation
as closely as possible, I tried linking in the shared library (created by
Forte) to my driver program, and ran my driver program. It worked,
although it gave me the following warnings:
__link_incompatibility: Warning: Shared library
/tools/forte/EdgeNotes/install/lib/libqqfo.sl was not compiled with +eh.
__link_incompatibility: Warning: Shared library
/tools/forte/EdgeNotes/install/lib/libqqrpgs.sl was not compiled with +eh.
__link_incompatibility: Warning: Shared library
/tools/forte/EdgeNotes/install/lib/libqqsm.sl was not compiled with +eh.
__link_incompatibility: Warning: Shared library
/tools/forte/EdgeNotes/install/lib/libqqdo.sl was not compiled with +eh.
__link_incompatibility: Warning: Shared library
/tools/forte/EdgeNotes/install/lib/libqqcm.sl was not compiled with +eh.
__link_incompatibility: Warning: Shared library
/tools/forte/EdgeNotes/install/lib/libqqknpthrd.sl was not compiled with
+eh.
Hmmm .... After further investigation, I found that the
"__eh_Cqqsh_DynScope", "__eh_dt_count", and
"dealloc_object__18__eh_thrown_objectFi" symbols are referenced from my
user object module, and not from any of Forte's libraries (via the nm
command).
My guess is that there's an incompatibility between the forte run-time, and
my code, and I'm further guessing that this incompatibility is related to
the fact that my code is using exception handing.
I'm in contact with Forte Tech Support, but I wanted to see if anyone on
this list has ever run across this.
Thanks,
Dan
[email protected]

I did not know that the 9.2 Oracle ODBC driver was not certified for Oracle 7
In fact, when I read the help in the Oracle Net Manager that I installed from the same package (OraWin9204.exe), I can see that there is a normal conncection possible between the packed software and Oracle 7. Downward compatibility is something we should expect from astate-of-the-art RDBMS like Oracle.
I do not have the Oracle 7 ODBC driver installed, I was since two years using the Oracle 8 ODBC driver wich worked fine with both Oracle 7 and 8 but due to upgrading of one of our production databases to Oracle 9 I had to install the Oracle 9 software.
As I stated in my original mail, when testing the Oracle 9 driver in the Data source (ODBC) off my WinXP, it gives a perfect result while connectiing to the System DSN I configured for the Oracle 7 database.
But when opening Access2003 and linking tables, the ODBC call always fails
BR,
Theo

Similar Messages

  • Pls help..Constructor,setter, getter and Exception Handling Problem

    halo, im new in java who learning basic thing and java.awt basic...i face some problem about constructor, setter, and getter.
    1. I created a constructor, setter and getter in a file, and create another test file which would like to get the value from the constructor file.
    The problem is: when i compile the test file, it come out error msg:cannot find symbol.As i know that is because i miss declare something but i dont know what i miss.I post my code here and help me to solve this problem...thanks
    my constructor file...i dont know whether is correct, pls tell me if i miss something...
    public class Employee{
         private int empNum;
         private String empName;
         private double empSalary;
         Employee(){
              empNum=0;
              empName="";
              empSalary=0;
         public int getEmpNum(){
              return empNum;
         public String getName(){
              return empName;
         public double getSalary(){
              return empSalary;
         public void setEmpNum(int e){
              empNum = e;
         public void setName(String n){
              empName = n;
         public void setSalary(double sal){
              empSalary = sal;
    my test file....
    public class TestEmployeeClass{
         public static void main(String args[]){
              Employee e = new Employee();
                   e.setEmpNum(100);
                   e.setName("abc");
                   e.setSalary(1000.00);
                   System.out.println(e.getEmpNum());
                   System.out.println(e.getName());
                   System.out.println(e.getSalary());
    }**the program is work if i combine this 2 files coding inside one file(something like the last part of my coding of problem 2)...but i would like to separate them....*
    2. Another problem is i am writing one simple program which is using java.awt interface....i would like to add a validation for user input (something like show error msg when user input character and negative number) inside public void actionPerformed(ActionEvent e) ...but i dont have any idea to solve this problem.here is my code and pls help me for some suggestion or coding about exception. thank a lots...
    import java.awt.*;
    import java.awt.event.*;
    public class SnailTravel extends Frame implements ActionListener, WindowListener{
       private Frame frame;
       private Label lblDistance, lblSpeed, lblSpeed2, lblTime, lblTime2, lblComment, lblComment2 ;
       private TextField tfDistance;
       private Button btnCalculate, btnClear;
       public void viewInterface(){
          frame = new Frame("Snail Travel");
          lblDistance = new Label("Distance");
          lblSpeed = new Label("Speed");
          lblSpeed2 = new Label("0.0099km/h");
          lblTime = new Label("Time");
          lblTime2 = new Label("");
          lblComment = new Label("Comment");
          lblComment2 = new Label("");
          tfDistance = new TextField(20);
          btnCalculate = new Button("Calculate");
          btnClear = new Button("Clear");
          frame.setLayout(new GridLayout(5,2));
          frame.add(lblDistance);
          frame.add(tfDistance);
          frame.add(lblSpeed);
          frame.add(lblSpeed2);
          frame.add(lblTime);
          frame.add(lblTime2);
          frame.add(lblComment);
          frame.add(lblComment2);
          frame.add(btnCalculate);
          frame.add(btnClear);
          btnCalculate.addActionListener(this);
          btnClear.addActionListener(this);
          frame.addWindowListener(this);
          frame.setSize(100,100);
          frame.setVisible(true);
          frame.pack();     
        public static void main(String [] args) {
            SnailTravel st = new SnailTravel();
            st.viewInterface();
        public void actionPerformed(ActionEvent e) {
           if (e.getSource() == btnCalculate){
              SnailData sd = new SnailData();
           double distance = Double.parseDouble(tfDistance.getText());
           sd.setDistance(distance);
                  sd.setSpeed(0.0099);
              sd.setTime(distance/sd.getSpeed());
              String answer = Double.toString(sd.getTime());
              lblTime2.setText(answer);
              lblComment2.setText("But No Exception!!!");
           else
           if(e.getSource() == btnClear){
              tfDistance.setText("");
              lblTime2.setText("");
       public void windowClosing(WindowEvent e){
                   System.exit(1);
        public void windowClosed (WindowEvent e) { };
        public void windowDeiconified (WindowEvent e) { };
        public void windowIconified (WindowEvent e) { };
        public void windowActivated (WindowEvent e) { };
        public void windowDeactivated (WindowEvent e) { };
        public void windowOpened(WindowEvent e) { };
    class SnailData{
       private double distance;
       private double speed;
       private double time;
       public SnailData(){
          distance = 0;
          speed = 0;
          time = 0;
       public double getDistance(){
          return distance;
       public double getSpeed(){
          return speed;
       public double getTime(){
          return time;
       public void setDistance(double d){
          distance = d;
       public void setSpeed(double s){
          speed = s;
       public void setTime(double t){
          time = t;
    }Pls and thanks again for helps....

    What i actually want to do is SnailTravel, but i facing some problems, which is the
    - Constructor,setter, getter, and
    - Exception Handling.
    So i create another simple contructor files which name Employee and TestEmployeeClass, to try find out the problem but i failed, it come out error msg "cannot find symbol".
    What i want to say that is if i cut below code (SnailTravel) to its own file(SnailData), SnailTravel come out error msg "cannot find symbol".So i force to put them in a same file(SnailTravel) to run properly.
    I need help to separate them. (I think i miss some syntax but i dont know what)
    And can somebody help me about Exception handling too pls.
    class SnailData{
       private double distance;
       private double speed;
       private double time;
       public SnailData(){
          distance = 0;
          speed = 0;
          time = 0;
       public double getDistance(){
          return distance;
       public double getSpeed(){
          return speed;
       public double getTime(){
          return time;
       public void setDistance(double d){
          distance = d;
       public void setSpeed(double s){
          speed = s;
       public void setTime(double t){
          time = t;

  • Why my new 4s call out and my friends can not hear me?

    why my new 4s call out and my friends can not hear me?

    Sounds like your microphone might be busted.  Test it by doing a voice memo. If this is the case you should take it to your service provider/carrier/nearest apple store to have it looked at.
    Alternatively, try using headphones or a bluetooth headset. These are all steps to make sure it's not the mic that's damaged.

  • What is the idea behind Render Response and Exception Handling in TF?

    Dear All,
    While searching for answer for my question, I find it hard to decipher this line.
    task flow exception handling doesn't handle any exception that is in Render Response phase
    I found this several times in many post like this.
    Re: ADF Exception handling (including RENDER RESPNSE PHASE)
    and this
    Re: Exception Handling in TaskFlow
    What's the idea behind exception handling in task flow that is related to JSF/ADF life cycle?
    I can't find a resource on why I should know what phase an exception has been thrown?
    Sorry if my question might be vague/ignorant to others, but I just would like to know the idea from experts around here. :)
    Thanks.
    JDEV 11G PS4

    Hi,
    Render Response is the last lifecycle phase processed during JSF request. The ADF controller has no chance of handling exceptions that occur during this time (example, exception thrown in managed bean) and therefore in its default exception handling implementation ignores this lifecycle phase. As an application developer you don't need to know when an exception is raised. However, if you find that an exception occurs during Render Response and it is not handled by the ADFc declarative exception handler, then you know. You can try and override the framework exception handler as explained here:
    https://blogs.oracle.com/jdevotnharvest/entry/extending_the_adf_controller_exception_handler
    However, better practice is to use try/catch blocks surrounding e.g. calls in a managed bean that could cause exceptions
    Frank

  • Skype Number, Calling out and in

    Hi Skype Community
    I wan't a Skype Number for my webshop and need to know. If I have a Skype number. Can I call to others? and can my customer call me?

    Hi, MaxXGaming, and welcome to the Community,
    Please remember this: a Skype Number provides a fixed or land line number for people to use to call you, and you answer the call on Skype.  In other words, incoming calls only.
    You will need credit or a subscription to cover the cost of calls you make from Skype to fixed or land lines and mobile numbers.
    Maybe the product names should not have been changed?!
    Skype Number = Skype In
    Calls to fixed lines and mobile numbers = Skype Out - credit or subscription needed.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Residential phone: we can call out, and we can also receive calls, but the phones don't ring...

    this just started today, sometime after 9am. working fine before then, and we didn't touch anything re: the system today.
    behavior:
    - we can call out fine
    - people calling in say it just rings & rings
    - we have no idea that someone is calling unless we happen to be looking at the CID of a plugged in phone
    - we can pick up the phone and have a conversation if we happen to catch it at just the right time
    - same behavior at the NIC or whatever it's called (the box in the garage).
    tried: 
    - i've unplugged our main wireless phone and tried it w/a wired phone, no change 
    - i've unplugged our verizon broadband modem, no change
    we have a tivo that uses the phone line; i'm about to give that a shot. 
    this is really bizarre...
    thanks for any ideas,
    scott.

    Sounds very strange! I hope your house isn't haunted. =P
    Message Edited by CharlesH on 12-18-2008 09:52 AM

  • MC.9 and MCY1 and Exception Handling in (Logistics Inf. Sys)LIS

    Hi,
    I want the 'Valuated Stock Value" greater then or equal to zero (>=) appear in the MC.9 report. I can create 'Exception' in MCY1 but am unable to do so. Once I am in MCY1; I choose 'Requirements' then Key Figure 'Valuated Stock Value' then  'Type of condition' is 'Threshold Val. Anal.' is set to '> 0'. However, the report still displays zero values in MC.9. I don't want to display 'Valuated Stock Value' zero to be displayed on the report. Please help.
    Thanks
    Naved

    Hey Chris,
    I got the point for exception handling in weblogic 9.2. We ae using 9.2. It comes up with the concept of shared page flows which means all my unhandled exceptions are thrown to the shared page flow controller. There based on the type of exception, i can forward the request to appropraite page.
    Thanks anywyas,
    Saurabh

  • HT4623 my iPhone can call out and receive text messages and emails but is not receiving any incoming calls

    my Iphone can call ut and receive text/email messages but is not receiving incoming calls.  What is your thought?

    Hi Baileyfour,
    Welcome to the Support Communities!
    The articles below may be able to help you with this issue.
    Click on the link to see more details and screenshots. 
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    There are two places where vibrations can be set.
    One is the Settings > Sounds
    The other area is Settings > Notifications
    If you have an app set to Alert, it may have a vibration set for it.
    iOS: Understanding Notifications
    http://support.apple.com/kb/ht3576
    Information about Notifications settings can also be found in the iPhone User Guide (pages 131, 132)
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
    I hope this information helps ....
    Have a great day!
    - Judy

  • Can't call out and no dial tone

    I was told that there is a problem with a cable in the Brooklyn, NY area, but I can not find any other person in my neighborhood who has the problem.
    The phone was working fine Sunday night and then Monday morning no dial tone and I am dead in the water.
    I use my phone for my business and contacts, now nothing works properly.
    I called Verizon and was told that they would have it resolved by the 4th of July (2012) and that this problem is affecting about 1200 customers in my area.
    I called a couple of hours later and was then told that the service would not be repaired until July 10th 2012, which is totally unacceptable.
    Is there anyone in the Brooklyn area having the same problem. Why can't Verizon just bypass the bad lines, just to keep the service up and running.
    Where can you go to complain about this.  It seems my only option now is to move my number to another carrier, which I don't want to do.
    Please let me know, if anyone has any ideas.
    Thanks

    Sorry for the troubles you have had with the service. Did you still need assistance? Reply back if so that way we can take a look.
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • TS3406 magic jack is not working properly. I can call out and hear the person i have called, but they can't hear me.

    My Magic Jack is not working properly. I can make a call and the person I have called can hear me but I can't hear them. What can I do to fix this?

    if it play not sound at all then it's likely the hardware issue where the headset detector gets stuck
    like this the detector just is stuck in the opposite way
    https://discussions.apple.com/thread/1343532?start=315&tstart=0
    more
    iphone stuck in headphone mode

  • Embedded Java in BPEL and exception handling

    Hello everybody,
    i want to use some embedded java code in my BPEL process (bpelx:exec). This code would sometimes throw exceptions. How can i deal with these exceptions to control my BPEL process? I would like, in a sense, to do some catching of java exceptions but at the BPEL level... for example, my java code would throw an exception, that my BPEL process would "catch" and react the way i want. Is it possible to do that?
    Thanks for your help!
    Nicolas

    you need to throw a com.oracle.bpel.client.BPELFault ..
    from the code
    * This class represents a standard fault that may be thrown by the server
    * during run-time. A BPEL fault has defined, minimally, a QName that
    * corresponds to the fault name (there are several standard faults that
    * are supported, please refer to Appendix A - Standard Faults in the BPEL
    * 1.1 specification for a complete list).
    * <p>
    * This class can only be used from within a <code>bpelx:exec</code> activity;
    * the <code>throw</code> activity can be used from BPEL code.
    * <p>
    * Additional information (such as a fault variable) can be passed through
    * as a part. Currently, internal system errors populate error codes and
    * summary messages via parts.
    hth clemens

  • Line due to go active 24/07/15 but can now call out and in today

    Hey guys, why can i now use my phone line. I have moved from talktalk and sky gave me a new phone number as it was the only way thy could process the order. Today i have tried to dial the new house number they gave me and it works, does tha mean my line is acive?

    Got my hopes up then that the fibre would be all active and up and running, thanks

  • Calling EJBs from Global Exception Handler

    Hi, I'm using Weblogic Workshop 8.1.4.
    I have a JPF which calls a EJB to set a lock flag (to prevent the JPF being executed twice at the same time.)
    I want to reset the lock flag in the global exception handler, however, if I call an EJB (Entity or Session) in a perform node in the exception handler, I get a NullPointerException.
    Is this because it's being called in the exception handler? Is there any way to work around this (without building a POJO which does all the persistance logic and SQL calling manually?)
    Thanks.

    You can redirect stdout to wherever you want by using
    System.setOut(PrintStream out). Also, you can give
    printStackTrace a PrintStream.
    hth,
    mI think to solve this problem you should call System.setErr(PrintStream err);

  • Will Service call out return an exception with an object embedded in it

    Hi,
    I have a service callout in a request pipeline.Service will throw an exception with a custom object embedded inside the exception.When i see the response $fault in the service error handler, i dont see the object.Is this something which can be done or not?if yes then guide me through it.

    Hi,
    If you invoke the service call out, and it returns a soap fault (make sure that it returns http 500), so you should be able to access the custom fault element inside $fault/con:details/con1:ReceivedFaultDetail/con1:detail
    Are you sure that your webservice is returning the fault properly?
    Are you not raising a new error after getting the response in the error handler, right?
    Regards,
    Fabio Douek.

  • Exception Handling in Message Mapping and Alert

    Hello,
    1. Pls let me know the concept of Exception Handling and Alerts.
    2. Pls provide some blogs for Exception Handling in Message Mapping.
    3.What are Alerts and how it help us in XI. Pls provide some blogs for Alert
    4.How are Alerts and Exception Handling can be related say for some scenario
    Regards

    Hi,
    Plz check out these blogs of Sravya on Error Handling:
    /people/sravya.talanki2/blog/2006/11/22/error-handling-framework-xiout-of-the-box-episode-1
    /people/sravya.talanki2/blog/2006/11/23/error-handling-framework-xiout-of-the-box-episode-2
    Also check this SAP Presentation:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9418d690-0201-0010-85bb-e9b2c1af895b
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    Error Handling :
    http://help.sap.com/saphelp_nw04/helpdata/en/56/b46c3c8bb3d73ee10000000a114084/frameset.htm
    Alerts:
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    http://help.sap.com/saphelp_nw04/helpdata/en/56/d5b54020c6792ae10000000a155106/content.htm
    BPM:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Working with acknowledgements
    regards

Maybe you are looking for