Link problem 9011 Solaris 8

I installed 9011 EE on Solaris 8, using silent repsonse file mode.
The result showed problems in all link targets and trying to relink all
I got:
"ld: fatal: dlopen() of support library (libmakestate.so.1) failed with error: ld.so.1: /usr/ccs/bin/sparcv9/ld: fatal: /lib/libmakestate.so.1: wrong ELF class: ELFCLASS32"

I may be mistaken, but I thought 9.0.1.1 was a patch release only. In other words, I thought you had to have the base
version (9.0.1.0) installed first, and then you could patch to 9.0.1.1. I just went throught that process on my Sun Solaris platform
and all went smoothly.

Similar Messages

  • Link problem with Solaris 9

    hello,
    i habe a problem in linking my application under the Solaris 9 os using the forte cc environment. Linking on an older machine under Solaris 8 is ok.
    I get this error:
    ld: fatal: file fz_df_db_anmelden.o: wrong ELF class: ELFCLASS64
    ld: fatal: File processing errors. No output written to FZDFNO
    There must be a conflict with 32 and 64 bit libraries. How can i link either in 32 or 64 bit. I need both, because the application shall also run on an 32 bit system.
    best regards
    Stefan

    What about the bios settings ? The sony laptop that I have as an install guinea pig had a host of problems as long as plug and play was turned on in the bios then I turned off IrDa and the box seemed a bit quicker. Once I turned PnP off the USB ports started working as well as an external hp 3button mouse. Still no luck with the PCMCIA NIC's though...

  • OCCI linking problems on Solaris

    Hi All,
    I'm writing my first occi application on Solaris and am having trouble linking to the Oracle libraries. Below is the code; I'm using Solaris 2.8, gcc 2.95.3.
    ----------------- test.cpp -----------------------------
    include "occi.h"
    #include <stdio.h>
    using namespace oracle::occi;
    int main()
    Environment *env;
    Connection *conn;
    Statement *stmt;
    try
    env = Environment::createEnvironment(Environment::DEFAULT);
    conn = env->createConnection("SCOTT", "TIGER", "");
    catch(SQLException &e)
    // handle exception
    return 0;
    ----------------- Make file --------------------------
    CC= g++
    LDFLAGS= -L$(LIBDIR)
    LIBDIR= $(ORACLE_HOME)/lib
    LIBS= -lclntsh
    OBJS=test.o
    all: test.exe
    test.exe: test.o
    $(CC) -o test.exe $(OBJS) $(CPPFLAGS) $(LDFLAGS) $(LIBS)
    clean:
    rm -f $(OBJS) test.exe
    ------------------ ERRORS ----------------------------
    test.o: In function `main':
    test.o(.text+0x18): undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void *, void *(*)(void *, unsigned int), void *(*)(void *, void *, unsigned int), void (*)(void *, void *))'
    test.o(.text+0x1a4): undefined reference to `oracle::occi::SQLException type_info function'
    test.o(.text+0x1a8): undefined reference to `oracle::occi::SQLException type_info function'
    collect2: ld returned 1 exit status
    ===================================================
    I tried also linking libocci.so, but resulted in even more tedious errors.
    Any suggestions would be greatly appreciated. Thanks!!

    Thanks for your reply. I installed the Sun Forte Compiler 7 and tried again. The errors I got this time are:
    ----------------- ERRORS ---------------------
    Undefined first referenced
    symbol in file
    __builtin_delete test.o
    __length_error(const char*) test.o
    __ls__7ostreamPFR7ostream_R7ostream test.o
    terminate(void) test.o
    createEnvironment__Q36oracle4occi11EnvironmentQ46oracle4occi11Environment4ModePvPFPvUi_PvPFPvPvUi_PvPFPvPv_v test.o
    endl(ostream&) test.o
    cerr test.o
    __ls__7ostreamPCc test.o
    __cp_pop_exception test.o
    __tfQ36oracle4occi12SQLException test.o
    copy__t18string_char_traits1ZcPcPCcUi test.o
    __eh_rtime_match test.o
    __throw test.o
    length__t18string_char_traits1ZcPCc test.o
    __start_cp_handler test.o
    move__t18string_char_traits1ZcPcPCcUi test.o
    __out_of_range(const char*) test.o
    ld: fatal: Symbol referencing errors. No output written to test.exe
    ====================================================
    Do you have any other suggestions? Though Linux sounds good, I have no choice but to develop on Solaris.
    Thanks very much!

  • Metainit/striping problem on Solaris 9

    We are trying to deploy the Apple XServe RAIDS to customers running Solaris 9. The issue is that Solaris 9 will not recognize a device/LUN that is > 2TB. (No problem with Solaris 10) In trying to solve this problem, we sliced a 7 disk (4.09 TB) RAID into 3 slices. This presents three 1.36TB disks to the Solaris system. Basically, we have 6 disks being presented across both controllers to Solaris. They are direct connected from the XServe to a dual port QLogic HBA. The problem comes in when you try to create a stripe/concatenation across the logical devices being presented. (The disks are being presented on C4 and C5)
    Results from a format AFTER I split both 7 disk RAID5s into 3 slices.
    AVAILABLE DISK SELECTIONS:
    0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
    /pci@1c,600000/scsi@2/sd@0,0
    1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
    /pci@1c,600000/scsi@2/sd@1,0
    2. c1t2d0 <SEAGATE-ST373307LSUN72G-0507 cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@2/sd@2,0
    3. c1t3d0 <SEAGATE-ST373307LSUN72G-0507 cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@2/sd@3,0
    4. c4t600039300001F461d0 <APPLE Xserve RAID 1.51 aea84000>
    /pci@1e,600000/SUNW,qlc@3/fp@0,0/ssd@w600039300001f461,0
    5. c4t600039300001F461d1 <APPLE Xserve RAID 1.51 aea84000>
    /pci@1e,600000/SUNW,qlc@3/fp@0,0/ssd@w600039300001f461,1
    6. c4t600039300001F461d2 <APPLE Xserve RAID 1.51 aea84000>
    /pci@1e,600000/SUNW,qlc@3/fp@0,0/ssd@w600039300001f461,2
    7. c5t600039300001F2ECd0 <APPLE Xserve RAID 1.51 aea84000>
    /pci@1e,600000/SUNW,qlc@3,1/fp@0,0/ssd@w600039300001f2ec,0
    8. c5t600039300001F2ECd1 <APPLE Xserve RAID 1.51 aea84000>
    /pci@1e,600000/SUNW,qlc@3,1/fp@0,0/ssd@w600039300001f2ec,1
    9. c5t600039300001F2ECd2 <APPLE Xserve RAID 1.51 aea84000>
    /pci@1e,600000/SUNW,qlc@3,1/fp@0,0/ssd@w600039300001f2ec,2
    Specify disk (enter its number):
    Results of the cfgadm command. You will see there three logical devices presented to each controller. Six disks.
    cfgadm -al -o showFCPdev
    Ap_Id Type Receptacle Occupant Condition
    c4 fc-private connected configured unknown
    c4::600039300001f461,0 disk connected configured unknown
    c4::600039300001f461,1 disk connected configured unknown
    c4::600039300001f461,2 disk connected configured unknown
    c5 fc-private connected configured unknown
    c5::600039300001f2ec,0 disk connected configured unknown
    c5::600039300001f2ec,1 disk connected configured unknown
    c5::600039300001f2ec,2 disk connected configured unknown
    Trying to initialize a 6 device stripe via Solaris Volume Manager (AKA disksuite)
    metainit -f d77 6 1 c4t600039300001F461d0s0 1 c4t600039300001F461d1s0 1 c4t600039300001F461d2s0 1 c5t600039300001F2ECd0s0 1 c5t600039300001F2ECd1s0 1 c5t600039300001F2ECd2s0
    I receive the following error:
    metainit: hostname: c4t600039300001F461d1s0: overlaps with device in d77
    I tried to do a work around where I create three striped devices then concatenate them:
    Creating the first 2 device stripe across controllers c4 and c5 (1 device each)
    metainit -f d77 2 1 c4t600039300001F461d0s0 1 c5t600039300001F2ECd0s0
    I was able to create the first metadevice d77 using one logical LUN from each controller.
    When I tried to create a second metadevice across the controllers: (Using d1 from each controller)
    metainit -f d78 2 1 c4t600039300001F461d1s0 1 c5t600039300001F2ECd1s0
    metainit: hostneme: c4t600039300001F461d1s0: overlaps with device in d77
    I received the same error.
    In doing some reaearch, it seems the problem is due to a problem with the disk duplication process, disk device IDs stored on the disks are not unique. I was curious if this is the problem that Apple presents the split disks with the SAME diskid? Has anybody else successfully created stripes (due to a LUN size limit) across the disk successfully on a Solaris system?

    I contacted Sun and here is an explination from them. I also noticed when I queried the Xserver RAIDS, there were no serial numbers.
    Solaris 9 can support a 16Tb filesystem, but there is a scsi limitation on the device of 2Tb. So you are stuck with striping together several smaller devices if you want a single filesystem above 2Tb.
    The problem you are having when metainit reports an overlap comes from the way Solaris Volume Manager identifies devices. The portion of the scsi inquiry that is returned is always unique when Sun firmware is involved, but in your case is not unique.
    You may be able to make use of the appended infodoc to avoid this problem. I see no evidence of our having tested this with your particular scenario, but it has been successful in similar cases.
    You might also inquire of whoever supports your storage device whether a mode is supported whereby the device's inquiry strings can be made unique.
    Here is the steps he wanted me to take and the results. I still can not get the Xserve RAIDS to generate a unique device id:
    Step 1
    Determine the vendor and product strings. You can run these commands:
    # netstat -k | grep -i vendor
    # netstat -k | grep -i product
    netstat -k | grep -i vendor
    Soft Errors 2 Hard Errors 0 Transport Errors 0 Vendor APPLE
    Soft Errors 2 Hard Errors 0 Transport Errors 0 Vendor APPLE
    Soft Errors 2 Hard Errors 0 Transport Errors 0 Vendor APPLE
    Soft Errors 2 Hard Errors 0 Transport Errors 0 Vendor APPLE
    Soft Errors 2 Hard Errors 0 Transport Errors 0 Vendor APPLE
    grep -i product
    Product Xserve RAID Revision Revision 1.51 Serial No Size 1500294152192 Media Error 0 Device Not Ready 0
    Product Xserve RAID Revision Revision 1.51 Serial No Size 1500294152192 Media Error 0 Device Not Ready 0
    Product Xserve RAID Revision Revision 1.51 Serial No Size 1500294152192 Media Error 0 Device Not Ready 0
    Product Xserve RAID Revision Revision 1.51 Serial No Size 1500294152192 Media Error 0 Device Not Ready 0
    Product Xserve RAID Revision Revision 1.51 Serial No Size 1500294152192 Media Error 0 Device Not Ready 0
    or you can run
    # format -e
    then select scsi, then inquiry.
    scsi> inq
    Inquiry:
    00 00 05 12 5b 00 00 02 41 50 50 4c 45 20 20 20 ....[...APPLE
    58 73 65 72 76 65 20 52 41 49 44 20 20 20 20 20 Xserve RAID
    31 2e 35 31 63 00 00 00 00 00 00 00 00 00 00 00 1.51c...........
    00 00 00 00 00 00 00 00 00 00 0d 40 0d a0 0e 20 ...........@...
    0d 80 09 00 0a 00 00 20 00 00 00 20 20 20 20 20 ....... ...
    20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
    Vendor: APPLE
    Product: Xserve RAID
    Revision: 1.51
    Removable media: no
    Device type: 0
    ISO version: 0
    ECMA version: 0
    ANSI version: 5
    Async event notification: no
    Terminate i/o process msg: no
    Response data format: 2
    Additional length: 91
    Relative addressing: no
    32 bit transfers: no
    16 bit transfers: no
    Synchronous transfers: no
    Linked commands: no
    Command queueing: yes
    Soft reset option: no
    Step 2
    Add an entry in the file '/kernel/drv/sd.conf'.
    sd-config-list=
    "APPLE Xserve RAID ", "AppleRAID";
    AppleRAID=1,0x8,0,0,0,0,0;
    Step 3 Reboot.
    Step 4 Check with SUNWexplo.
    [email protected]:[/opt/SUNWexplo/bin] (8)# ./diskinfo.sparc
    /dev/rdsk/c0t0d0s2: Device busy
    AVAILABLE SCSI DEVICES:
    Location Vendor Product Rev Serial #
    c1t0d0 COMPAQ BD036863AC HPB5 B2FT4HMM
    c1t1d0 SEAGATE ST336607LSUN36G 0507 0349A66VKQ
    c1t2d0 SEAGATE ST373307LSUN72G 0507 0417B7C9ZC
    c1t3d0 SEAGATE ST373307LSUN72G 0507 0425B7LV5Q
    c4t600039300001F461d0 APPLE Xserve RAID 151 c
    c4t600039300001F461d1 APPLE Xserve RAID 151 c
    c4t600039300001F461d2 APPLE Xserve RAID 151 c
    c5t600039300001F2ECd0 APPLE Xserve RAID 151 c
    c5t600039300001F2ECd1 APPLE Xserve RAID 151 c
    As you will notice, there are no serial numbers in this command or netstat -k | grep -i product commands.

  • Content Server 6.0  Installation problem on Solaris

    When I installed Content_Server_6.0_SP1_solaris_oracle on Solaris 10 ,I get the following error in log file.
    dbg Bundled JRE is not binary compatible with host OS/Arch or it is corrupt. Testing bundled JRE failed.
    How can I resolve it
    please help me.
    Regards
    Sandeep

    If I installed any installer for sparc Machine on x86.is there any problem.My Solaris machine is x86.
    thanx.
    Regards
    Sandeep.

  • Focus Problem on Solaris with jdk 1.3.1

    Hi all,
    We are having a focus problem on Solaris. The same code works fine on Windows without any problem.
    I am sending the test code and run steps below which you can compile and repeat the problem.
    NOTE: When we put a comment on the line "f1.requestFocus();" in TestFocus.java it works OK.
    Run Steps :
    1. Run TestFocus.class
    2. A JFrame appears with 2 text field and a button
    3. Try to write something on the text fields. It works OK.
    4. Click the button to open a new JFrame
    5. A new JFrame opens with a single text field and a button.
    6. Click the button to close the second frame
    7. You are now on the main JFrame
    8. Try to write something on the text fields. It works OK.
    9. Repeat the steps 4-7
    10. Try to write something on the text fields. You are able to focus and write on the first field. BUT you cannot select or write the second Field!
    JAVA SOURCE FILES :
    PenHesapListener.java :
    public interface PenHesapListener extends java.util.EventListener {
    void tamam_actionPerformed(java.util.EventObject newEvent);
    void iptal_actionPerformed(java.util.EventObject newEvent);
    ------PenHesapLisEventMulticaster.java----------------------------------
    public class PenHesapLisEventMulticaster extends java.awt.AWTEventMulticaster implements PenHesapListener {
    * Constructor to support multicast events.
    * @param a java.util.EventListener
    * @param b java.util.EventListener
    protected PenHesapLisEventMulticaster(java.util.EventListener a, java.util.EventListener b) {
         super(a, b);
    * Add new listener to support multicast events.
    * @return muhasebe.HesappenListener
    * @param a muhasebe.HesappenListener
    * @param b muhasebe.HesappenListener
    public static PenHesapListener add(PenHesapListener a, PenHesapListener b) {
         return (PenHesapListener)addInternal(a, b);
    * Add new listener to support multicast events.
    * @return java.util.EventListener
    * @param a java.util.EventListener
    * @param b java.util.EventListener
    protected static java.util.EventListener addInternal(java.util.EventListener a, java.util.EventListener b) {
         if (a == null) return b;
         if (b == null) return a;
         return new PenHesapLisEventMulticaster(a, b);
    * @return java.util.EventListener
    * @param oldl muhasebe.HesappenListener
    protected java.util.EventListener remove(PenHesapListener oldl) {
         if (oldl == a) return b;
         if (oldl == b) return a;
         java.util.EventListener a2 = removeInternal(a, oldl);
         java.util.EventListener b2 = removeInternal(b, oldl);
         if (a2 == a && b2 == b)
              return this;
         return addInternal(a2, b2);
    * Remove listener to support multicast events.
    * @return muhasebe.HesappenListener
    * @param l muhasebe.HesappenListener
    * @param oldl muhasebe.HesappenListener
    public static PenHesapListener remove(PenHesapListener l, PenHesapListener oldl) {
         if (l == oldl || l == null)
              return null;
         if(l instanceof PenHesapLisEventMulticaster)
              return (PenHesapListener)((PenHesapLisEventMulticaster) l).remove(oldl);
         return l;
    public void tamam_actionPerformed(java.util.EventObject newEvent) {
         ((PenHesapListener)a).tamam_actionPerformed(newEvent);
         ((PenHesapListener)b).tamam_actionPerformed(newEvent);
    public void iptal_actionPerformed(java.util.EventObject newEvent) {
         ((PenHesapListener)a).iptal_actionPerformed(newEvent);
         ((PenHesapListener)b).iptal_actionPerformed(newEvent);
    ---------TestFocus2.java-----------------------------------------
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.awt.event.WindowAdapter;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.text.SimpleDateFormat;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.Color;
    import java.util.Locale;
    import java.util.ResourceBundle;
    public class TestFocus2 extends JFrame implements ActionListener
         protected transient PenHesapListener PenhListener = null ;
         JTextField f10 = null;
         JButton b10= null ;
         JTextField f1 = new JTextField() ;
         JButton b1 = new JButton() ;
         JFrame f20 = null;
         public TestFocus2()
              getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
              getContentPane().add(f1);
              getContentPane().add(b1);
              pack();
              setVisible(true);
              b1.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == b1)
                   fireTamam_actionPerformed(e);
         public void addPenHesapListener(PenHesapListener newListener)
              PenhListener = PenHesapLisEventMulticaster.add(PenhListener, newListener);
              return;
         protected void fireTamam_actionPerformed(java.util.EventObject newEvent) {
              PenhListener.tamam_actionPerformed(newEvent);
              this.setVisible(false);
         protected void fireiptal_actionPerformed(java.util.EventObject newEvent) {
              PenhListener.iptal_actionPerformed(newEvent);
         public static void main(String x[])
              TestFocus2 gen01 = new TestFocus2();
    --------TestFocus.java-----------------------------------
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.awt.event.WindowAdapter;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.text.SimpleDateFormat;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.Color;
    import java.util.Locale;
    import java.util.ResourceBundle;
    import java.awt.Container;
    public class TestFocus extends JFrame implements ActionListener
         PenKreKart aPenKreKart = null ;      
         Container ctn = null;
         JTextField f10 = null;
         JButton b10= null ;
         JTextField f1 = new JTextField() ;
         JTextField f2 = new JTextField() ;
         JButton b1 = new JButton() ;
         JFrame f20 = null;
         public TestFocus()
              //aPenKreKart = new PenKreKart(true);
              //aPenKreKart.aTemelPencere.setVisible(false);
              getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
              getContentPane().add(f1);
              getContentPane().add(f2);
              getContentPane().add(b1);
              pack();
              setVisible(true);
              b1.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == b1)
                   pencere_islemi();
         // pencere koyma k?sm? .. begin                               
         public void pencere_islemi() {     
              ctn = this;
              ctn.setEnabled(false);
              TestFocus2 fpen = new TestFocus2();
              //aPenKreKart.aTemelPencere.setVisible(true); //buras?          
              //aPenKreKart.aTemelPencere.addPenHesapListener(new PenHesapListener() {
              fpen.addPenHesapListener(new PenHesapListener() {
                        // metod      tamam_actionPerformed begin...          
                        public void tamam_actionPerformed(java.util.EventObject newEvent) {
                             ctn.setEnabled(true);
                             ctn.requestFocus();
                             // Problem is when we comment the below line it works .....
                             f1.requestFocus();
                             System.out.println("tamam");
                        // metod      tamam_actionPerformed end...          
                        // metod      iptal_actionPerformed begin...          
                        public void iptal_actionPerformed(java.util.EventObject newEvent) {
                             ctn.setEnabled(true);
                             ctn.requestFocus();
                             System.out.println("iptal");
                        // metod      iptal_actionPerformed begin...          
         // pencere koyma k?sm? .. end                               
         public static void main(String x[])
              TestFocus gen01 = new TestFocus();

    Hi all,
    We are having a focus problem on Solaris. The same code works fine on Windows without any problem.
    I am sending the test code and run steps below which you can compile and repeat the problem.
    NOTE: When we put a comment on the line "f1.requestFocus();" in TestFocus.java it works OK.
    Run Steps :
    1. Run TestFocus.class
    2. A JFrame appears with 2 text field and a button
    3. Try to write something on the text fields. It works OK.
    4. Click the button to open a new JFrame
    5. A new JFrame opens with a single text field and a button.
    6. Click the button to close the second frame
    7. You are now on the main JFrame
    8. Try to write something on the text fields. It works OK.
    9. Repeat the steps 4-7
    10. Try to write something on the text fields. You are able to focus and write on the first field. BUT you cannot select or write the second Field!
    JAVA SOURCE FILES :
    PenHesapListener.java :
    public interface PenHesapListener extends java.util.EventListener {
    void tamam_actionPerformed(java.util.EventObject newEvent);
    void iptal_actionPerformed(java.util.EventObject newEvent);
    ------PenHesapLisEventMulticaster.java----------------------------------
    public class PenHesapLisEventMulticaster extends java.awt.AWTEventMulticaster implements PenHesapListener {
    * Constructor to support multicast events.
    * @param a java.util.EventListener
    * @param b java.util.EventListener
    protected PenHesapLisEventMulticaster(java.util.EventListener a, java.util.EventListener b) {
         super(a, b);
    * Add new listener to support multicast events.
    * @return muhasebe.HesappenListener
    * @param a muhasebe.HesappenListener
    * @param b muhasebe.HesappenListener
    public static PenHesapListener add(PenHesapListener a, PenHesapListener b) {
         return (PenHesapListener)addInternal(a, b);
    * Add new listener to support multicast events.
    * @return java.util.EventListener
    * @param a java.util.EventListener
    * @param b java.util.EventListener
    protected static java.util.EventListener addInternal(java.util.EventListener a, java.util.EventListener b) {
         if (a == null) return b;
         if (b == null) return a;
         return new PenHesapLisEventMulticaster(a, b);
    * @return java.util.EventListener
    * @param oldl muhasebe.HesappenListener
    protected java.util.EventListener remove(PenHesapListener oldl) {
         if (oldl == a) return b;
         if (oldl == b) return a;
         java.util.EventListener a2 = removeInternal(a, oldl);
         java.util.EventListener b2 = removeInternal(b, oldl);
         if (a2 == a && b2 == b)
              return this;
         return addInternal(a2, b2);
    * Remove listener to support multicast events.
    * @return muhasebe.HesappenListener
    * @param l muhasebe.HesappenListener
    * @param oldl muhasebe.HesappenListener
    public static PenHesapListener remove(PenHesapListener l, PenHesapListener oldl) {
         if (l == oldl || l == null)
              return null;
         if(l instanceof PenHesapLisEventMulticaster)
              return (PenHesapListener)((PenHesapLisEventMulticaster) l).remove(oldl);
         return l;
    public void tamam_actionPerformed(java.util.EventObject newEvent) {
         ((PenHesapListener)a).tamam_actionPerformed(newEvent);
         ((PenHesapListener)b).tamam_actionPerformed(newEvent);
    public void iptal_actionPerformed(java.util.EventObject newEvent) {
         ((PenHesapListener)a).iptal_actionPerformed(newEvent);
         ((PenHesapListener)b).iptal_actionPerformed(newEvent);
    ---------TestFocus2.java-----------------------------------------
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.awt.event.WindowAdapter;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.text.SimpleDateFormat;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.Color;
    import java.util.Locale;
    import java.util.ResourceBundle;
    public class TestFocus2 extends JFrame implements ActionListener
         protected transient PenHesapListener PenhListener = null ;
         JTextField f10 = null;
         JButton b10= null ;
         JTextField f1 = new JTextField() ;
         JButton b1 = new JButton() ;
         JFrame f20 = null;
         public TestFocus2()
              getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
              getContentPane().add(f1);
              getContentPane().add(b1);
              pack();
              setVisible(true);
              b1.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == b1)
                   fireTamam_actionPerformed(e);
         public void addPenHesapListener(PenHesapListener newListener)
              PenhListener = PenHesapLisEventMulticaster.add(PenhListener, newListener);
              return;
         protected void fireTamam_actionPerformed(java.util.EventObject newEvent) {
              PenhListener.tamam_actionPerformed(newEvent);
              this.setVisible(false);
         protected void fireiptal_actionPerformed(java.util.EventObject newEvent) {
              PenhListener.iptal_actionPerformed(newEvent);
         public static void main(String x[])
              TestFocus2 gen01 = new TestFocus2();
    --------TestFocus.java-----------------------------------
    import javax.swing.*;
    import javax.swing.JOptionPane;
    import java.awt.event.WindowAdapter;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowEvent;
    import java.awt.event.ActionListener;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import java.text.SimpleDateFormat;
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.Color;
    import java.util.Locale;
    import java.util.ResourceBundle;
    import java.awt.Container;
    public class TestFocus extends JFrame implements ActionListener
         PenKreKart aPenKreKart = null ;      
         Container ctn = null;
         JTextField f10 = null;
         JButton b10= null ;
         JTextField f1 = new JTextField() ;
         JTextField f2 = new JTextField() ;
         JButton b1 = new JButton() ;
         JFrame f20 = null;
         public TestFocus()
              //aPenKreKart = new PenKreKart(true);
              //aPenKreKart.aTemelPencere.setVisible(false);
              getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
              getContentPane().add(f1);
              getContentPane().add(f2);
              getContentPane().add(b1);
              pack();
              setVisible(true);
              b1.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              if(e.getSource() == b1)
                   pencere_islemi();
         // pencere koyma k?sm? .. begin                               
         public void pencere_islemi() {     
              ctn = this;
              ctn.setEnabled(false);
              TestFocus2 fpen = new TestFocus2();
              //aPenKreKart.aTemelPencere.setVisible(true); //buras?          
              //aPenKreKart.aTemelPencere.addPenHesapListener(new PenHesapListener() {
              fpen.addPenHesapListener(new PenHesapListener() {
                        // metod      tamam_actionPerformed begin...          
                        public void tamam_actionPerformed(java.util.EventObject newEvent) {
                             ctn.setEnabled(true);
                             ctn.requestFocus();
                             // Problem is when we comment the below line it works .....
                             f1.requestFocus();
                             System.out.println("tamam");
                        // metod      tamam_actionPerformed end...          
                        // metod      iptal_actionPerformed begin...          
                        public void iptal_actionPerformed(java.util.EventObject newEvent) {
                             ctn.setEnabled(true);
                             ctn.requestFocus();
                             System.out.println("iptal");
                        // metod      iptal_actionPerformed begin...          
         // pencere koyma k?sm? .. end                               
         public static void main(String x[])
              TestFocus gen01 = new TestFocus();

  • "Link Problem" in Incident Form does not seem to work right? How do I do it correctly?

    1. The Link Problem tool in the task pane on our Incidents, do not seem to actually link the Incident to the Problem.
    2. I can link the two by going to the Problem and adding it on the related items tab, but this is very time consuming in a call center environment, especially during an outage where we are relying a lot more on Problem and root cause analysis.
    3. I have tried creating the incident and applying, then doing the Link Problem tool and selecting the problem, then applying again and selecting OK to close the incident. Again it doesn't work for me.
    What am I doing wrong, number one?
    Can we do this without manually opening the problem for every incident and attaching from there?
    3. Can I build an incident template that will automate the Attachment to the problem at creation? (Tried this today to and it wouldn't work, but then again, the Link Problem might again be the culprit) This would be great for real time  saving during
    an outage. Once outage is found, I could create the template with all the necessary items filled out, and would like to have it automatically attach to the specific problem I choose at template creation, and that way analysts can simply apply template, and
    click OK when they get a call related to the outage.

    Thanks  for the response Thomas!
    The functionality seems to work just fine. I use the LINK PROBLEM and it pops up the problem search box, I search for and select a Problem, I then select it and click ok, and I get no error saying the relationship was not created.
    The problem is, when I open the problem after that, there is never any relationship showing in related items there, as it says there should be.
    Also, to point out, I am talking about newly created Incidents. I tried even using APPLY prior to doing the LINK PROBLEM but it still did not work. I suspect it may be a workflow problem, where the workflow to create the incident has not completed, there
    for the relationship is not completed.... and I get no error.
    In my work environment, we have analysts during outages taking a call every 30 seconds, and I need a more efficient way for this system to work. As of now, they spend 1-2 minutes doing the ticket, and that is too long.
    I have decided to try a newb way, where I created an Incident (GENERIC OUTAGE) that folks can use, and every 15-30 minutes during an outage, I can open the problem and search for open incidents with that title, and attach all that I find from the problem
    side. This is assuming that once attached they will not show up in the search to attach the next time lol. Also this assumes that if attached from the problem, they will auto resolve when the problem is resolved.
    I am rusty on my programming, and am currently trying to get refreshed. I am sure that would come in handy for this :)
    Oh and lastly, one additional tidbit that will make this clearer, with regard to work flow, we re also running our Service Manager in our help desk, virtualized, as they have not upgraded to Win 7 yet :(. So that compiles my time to add ticket issue :(.

  • InDesign to Adobe Acrobat to Adobe Reader Link problem

    Hi - I'm responsible for a long conversation about link problems in creating file links in InDesign that did not work in Acrobat. At the end of that long discussion, I thought I solved the problem, but didn't. Since then, I've been MUCH more observant.
    The problem appears to take place in Adobe Reader.
    My home computer on Win7 is different than my work Computer (XP), but I have the same software on both.
    At work, I discovered that when I clicked on a PDF, it worked fine, that its links opened a new PDF window, but when I clicked on links on the second document, the links failed and Microsoft returned an error message telling me that I was screwed. Because I was screwed, I couldn't see what was in the path of that error.
    It turns out that for some unknown reason (which you might clarify for me), my Adobe Readers are attempting to open my documents in Internet Explorer and that just won't work.
    What I observed at home is that I made 5 test documents in ID, and ported them to Acrobat. As it turns out, my default for opening PDFs is Adobe Reader, which I saw on the chrome of the first document I opened. When I clicked a link, and I got the error message, I noticed my browser was up.
    When I set my default for opening in Acrobat, everything worked like a charm! How about that!
    Now then, what that says to me is that Adobe Reader is to be used exclusively with a browser, so if the people who are going to read your internal PDF files with Reader without those files being on a web server of some type, you are totally screwed. The only way you can use Reader is if you click on the file and bring it up directly. Don't rely on linking to other documents.
    I mean, that is what it seems to me.
    Now, I am creating a big project for an environment without a webserver and obviously my sense of panic is palpable. That said, I believe that all my users can read my files using Acrobat (to be tested tomorrow), which I hope means I can breathe a bit easier.
    Do any of you have any thoughts on this subject? If you are really curious, I can make a packet of test files available.

    Karen_Little wrote:
    The files and the PDFs are all in the same directory.
    The tests are on local drives. All indesign files and their related PDFs were in the same directory.
    The same for Word and its related PDFs. Note that the PDFs created by Word then read by Adobe Reader worked correctly. They all opened in Adobe Reader.
    If the default program for opening PDFs is Acrobat, everything works correctly, with the added benefit of everything opening in a different window, which is what I want (yet to be tested at work). If the default program is Adobe Reader, the second generation of links do NOT work because Reader opens in Internet Explorer.
    When I open a Word-created PDF with Acrobat, view the link, and click to the Actions menu, the action is "Open a file"
    When I open an InDesign PDF with Acrobat and do the same, the action says "Open a web link"
    Big BIG BIG bug.
    Are you seeing the link commands by editing them in Acrobat? If not, try, so you can see the exact command and file or URL instruction. It still may be a bug, but you'll have better evidence when you report it here:
    Adobe - Feature Request/Bug Report Form
    And, you might want to try correcting a link command in Acrobat, to see if can work for both Acrobat and Reader.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Re: Fwd: Link Problems With Borland C++ 4.52

    I have seen this problem before in another context, and I'll offer the
    cause and solution in the hope that they will apply to the Crystal problem.
    Many Windows based applications rely on PASCAL calling conventions, which
    change the way parameters are handled in function/method calls. They
    indicate this by placing one of the following immediately before the
    function name in the prototype declarations:
    - pascal_far (or something like that)
    - WINAPI
    - some other typedef of either of the above
    For example:
    int WINAPI AddTotal(int valueA, int valueB);
    Unfortunately, v2.0 of Forte does not provide any mechanisms for changing
    the calling conventions of the prototypes in the generated C++ wrapper
    library, so when you compile that code, the linker fails. I think that the
    compiler may generate different symbols depending on calling conventions,
    so that's why it fails.
    To fix this, don't autocompile your code, but generate the distribution, go
    into the generated C++ files and look for the function prototypes (I think
    you can search for FORTE_NO_PROTOTYPES), add WINAPI to the appropriate
    places in the prototype definitions (see above) and use fcompile to build
    the library. Instructions for fcompile are in the Interfacing With
    External Systems manual.
    Hope this helps,
    James
    At 11:05 AM 5/29/97 PDT, you wrote:
    >
    We are trying to wrapper Crystal Reports from Forte. I know that there
    are a number of other people in this same boat, as I've seen messages
    posted here at various points during the past few weeks. We are having
    a particular problem with getting the compile to go through, which we
    have sent in to Forte Tech Support. I'm forwarding the message I sent
    Tech Support to this group in the hopes that someone here may have
    already seen and resolved a similar problem.
    Thanks in advance for any help you can offer!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    >
    Date: Wed, 28 May 97 13:47:20 PDT
    From: dg7077a
    To: Forte Technical Support
    Cc: Gardner, Steve
    Subject: Link Problems With Borland C++ 4.52
    Name of requestor: [Dale V. Georg / Alaiah Chandrashekar]
    Company: [Indus Consultancy Services]
    Phone for callback: [(610) 709-3956]
    Customer Site: [Mack Trucks, Inc.]
    Product: [Forte]
    Version of Forte: [2.0.H.1]
    Server OS: [SunOS 5.5.1]
    Client OS: [Windows 3.1]
    DBMS: [Oracle 7.2.3]
    Reproducible?: [Yes]
    Brief description: [Link Problems With Borland C++ 4.52]
    Complete description of problem or question:
    We are attempting to write a C-wrapper interface from Forte to Crystal
    Reports' Report Engine. We are using Borland C++ version 4.52.
    Unfortunately, we have been unable to get a clean compile after a day
    and half of effort. We get as far as the link stage of the
    compilation, and
    the compiler aborts with an "Unknown symbol" error message for each
    of the functions we are trying to wrapper. We have tried a number of
    ideas to fix this problem, and are continuing to try to solve it on
    our own,
    but any help would be greatly appreciated. Please have someone call
    Alaiah Chandrashekar at the number above as soon as possible.
    Thanks!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    James Urquhart [email protected]
    Product Manager phone: (510) 986-3513
    Forte Software, Inc. fax: (510) 869-2092

    James,
    Thanks for your quick response. Yesterday we had been running down
    the path of examining the calling conventions and trying to change them
    to PASCAL, but without much success. After receiving your note, we
    went back over it again, and this time we were able to finally to piece it
    together. In addition to editing the Forte-generated .cc file to declare
    the functions as PASCAL, we also had to turn off the compiler's case
    sensitivity. (The Crystal .lib file had the function names in mixed case,
    but the Borland compiler was generating all uppercase for the names.)
    Now I had actually tried this yesterday and it didn't work (in fact it
    generated a whole bunch of new errors) - because until we took a
    second look at it today, I didn't realize that Borland's linker actually has
    TWO flags that control case sensitivity. If you only turn one or the
    other off, things can get pretty ugly looking. As soon as we turned
    both of them off, the compile and link went beautifully. Again, thanks
    for your help; hopefully we are over the worst of it now!
    Dale
    I have seen this problem before in another context, and I'll offer the
    cause and solution in the hope that they will apply to the Crystalproblem.
    >
    Many Windows based applications rely on PASCAL callingconventions, which
    change the way parameters are handled in function/method calls.They
    indicate this by placing one of the following immediately before the
    function name in the prototype declarations:
    - pascal_far (or something like that)
    - WINAPI
    - some other typedef of either of the above
    For example:
    int WINAPI AddTotal(int valueA, int valueB);
    Unfortunately, v2.0 of Forte does not provide any mechanisms forchanging
    the calling conventions of the prototypes in the generated C++wrapper
    library, so when you compile that code, the linker fails. I think thatthe
    compiler may generate different symbols depending on callingconventions,
    so that's why it fails.
    To fix this, don't autocompile your code, but generate thedistribution, go
    into the generated C++ files and look for the function prototypes (I think
    you can search for FORTE_NO_PROTOTYPES), add WINAPI tothe appropriate
    places in the prototype definitions (see above) and use fcompile tobuild
    the library. Instructions for fcompile are in the Interfacing With
    External Systems manual.
    Hope this helps,
    James
    At 11:05 AM 5/29/97 PDT, you wrote:
    We are trying to wrapper Crystal Reports from Forte. I know that
    there
    are a number of other people in this same boat, as I've seenmessages
    posted here at various points during the past few weeks. We arehaving
    a particular problem with getting the compile to go through, whichwe
    have sent in to Forte Tech Support. I'm forwarding the message Isent
    Tech Support to this group in the hopes that someone here mayhave
    already seen and resolved a similar problem.
    Thanks in advance for any help you can offer!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc.
    [email protected]
    >
    >>
    Date: Wed, 28 May 97 13:47:20 PDT
    From: dg7077a
    To: Forte Technical Support
    Cc: Gardner, Steve
    Subject: Link Problems With Borland C++ 4.52
    Name of requestor: [Dale V. Georg / AlaiahChandrashekar
    Company: [Indus Consultancy Services]
    Phone for callback: [(610) 709-3956]
    Customer Site: [Mack Trucks, Inc.]
    Product: [Forte]
    Version of Forte: [2.0.H.1]
    Server OS: [SunOS 5.5.1]
    Client OS: [Windows 3.1]
    DBMS: [Oracle 7.2.3]
    Reproducible?: [Yes]
    Brief description: [Link Problems With Borland C++ 4.52]
    Complete description of problem or question:
    We are attempting to write a C-wrapper interface from Forte to
    Crystal
    >>
    Reports' Report Engine. We are using Borland C++ version 4.52.
    Unfortunately, we have been unable to get a clean compile after aday
    and half of effort. We get as far as the link stage of the
    compilation, and
    the compiler aborts with an "Unknown symbol" error message foreach
    of the functions we are trying to wrapper. We have tried a numberof
    ideas to fix this problem, and are continuing to try to solve it on
    our own,
    but any help would be greatly appreciated. Please have someonecall
    Alaiah Chandrashekar at the number above as soon as possible.
    Thanks!
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, [email protected]
    James Urquhart [email protected]
    Product Manager phone: (510) 986-3513
    Forte Software, Inc. fax: (510) 869-2092-----------------------------------------------------------------------------------
    Dale V. Georg
    Indus Consultancy Services [email protected]
    Mack Trucks, Inc. [email protected]
    [email protected]------------------

  • Oracle 9.2.0.1.0 installation link problems.....HELP !!!!!!

    Hi All
    During installation of Oracle 9.2.0.1.0 on Linux, I received the following error:
    Error:
    Error in invoking target install of makefile
    /opt/oracle/product/9.2.0.1.0/network/lib/ins_oemagent.mk
    I did some research and found that it is executing the "relink" script. So I tried to debug it it. Here is the output:
    [oracle@redash oracle]$ cd /opt/oracle/product/9.2.0.1.0/bin/
    [oracle@redash bin]$ relink oemagent
    chmod 755 /opt/oracle/product/9.2.0.1.0/bin
    if [ linux = aix ]; then \
    gcc -L/opt/oracle/product/9.2.0.1.0/lib/ -L/opt/oracle/product/9.2.0.1.0/rdbms/lib -L/opt/oracle/product/9.2.0.1.0/network/lib -L/opt/oracle/product/9.2.0.1.0/lib/ -L/opt/oracle/product/9.2.0.1.0/rdbms/lib -L/opt/oracle/product/9.2.0.1.0/network/lib -o dbsnmp /opt/oracle/product/9.2.0.1.0/network/lib/s0nmi.o -lvppdc /opt/oracle/product/9.2.0.1.0/network/lib/libvps.a \
    /opt/oracle/product/9.2.0.1.0/network/lib/libnmi.a \
    /opt/oracle/product/9.2.0.1.0/network/lib/libnmd.a /opt/oracle/product/9.2.0.1.0/network/lib/libnms.a /opt/oracle/product/9.2.0.1.0/network/lib/libnmt.a /opt/oracle/product/9.2.0.1.0/network/lib/libnml.a \
    /opt/oracle/product/9.2.0.1.0/network/lib/libnmi.a /opt/oracle/product/9.2.0.1.0/net[i]Long postings are being truncated to ~1 kB at this time.

    Before installing Oracle 9.2 on linux (i'm using redhat 7.2), there are some steps you have to issue.
    Those link problems are related to the wrong version of binutils, you need binutils-2.10.0.18-1.i386.rpm
    You need also JDK,to set some kernel parameters and so on..
    However follow the steps of this link http://www.puschitz.com/OracleOnLinux.shtml
    For me it worked.
    Hope this helps
    Tarek

  • Pro*C linker problems

    System is Linux Mandrake 6.0 with Oracle 8i, with the 8i patch
    applied.
    What a nightmare that install was! Lots of permission problems,
    unreadable directories, programs with no execute permission on
    them and so on.
    I now have a database up and running, and am trying to get Pro*C
    working. The code was written on RedHat 5.2 with Oracle 8.0.5,
    and worked fine there, so I know it is not a fundamental code
    problem!
    I have patched the pcscfg.cfg file as detailed in the patch FAQ
    (with modifications for the slightly different paths under
    Mandrake Linux).
    When I compile the Pro*c file, I get many "undefined reference
    to 'dbcon'" and "undefined reference to 'ctx'" errors from the
    linker. This occurs whether I use a pre-defined list of specific
    libraries in my own Makefile, or if I use the standard
    demo_proc.mk makefile. I have used nm(1) on every place I can
    think of, to try to find the required library/object, but to no
    avail.
    I appreciate that Oracle have so far only certified Oracle for
    Linux against Redhat 6.0, but surely Mandrake can't be THAT
    different ;-)
    Does anybody have any ideas, known problems etc? I REALLY HOPE
    that I don't have to switch to Redhat as the only solution - no
    problem with Redhat, it would just require a tedious and
    complicated system rebuild, which I don't have the time to do :-(
    TIA
    Mike Holden
    null

    Robert B     gin (self) (guest) wrote:
    : Robert B     gin (guest) wrote:
    : : Since I've last posted, I've installed RedHat 5.2 and
    ditched
    : : Slackware!
    : : (btw, what a breeze - Hat's off to RH! very nice install!).
    : : I've then installed oracle, have managed to setup
    tnsnames.ora
    : : so I can connect via sqlplus to my remote database (on
    : VAX/VMS).
    : : But now I have Pro*C linker problems with:
    : : make -f demo_proc.mk build OBJS=test.o exe=test
    : : (blah,blah,blah)
    : : /usr/lib/crt1.o(.text+0x36): undefined reference to `main'
    : : make: *** [build] Error 1
    : : Does anybody out there have a similar problem?
    : : Rob
    : Duh! forget it... (EXE has to be caps... RTFM)
    : (cryptic error message though?)
    : works great!!!
    Could you please tell me where I can get demo_proc.mk file
    for Linux (RedHat)?
    Thanks
    null

  • Statically linking libstdc++  on Solaris 10 x86 platform

    hi,
    Using g++, how do i statically link libstdc++ on Solaris 10 x86 platform?
    What are the necessary linker options?
    -Thanks and Regards,
    Ameya

    Questions about using g++ are more likely to get a helpful answer in a g++ forum.
    Try http://gcc.gnu.org/

  • Rsh disconnect problems in Solaris 10

    My company uses rsh to transmit data to proprietary cards, from Ultra 25's running Solaris 10. We're experiencing random timeouts. The error is rsh connection timeout.
    We never had this problem on Solaris 8 or Solaris 7.
    Has anyone run across this before? It's to random to run snoop on. Thanks Mark

    type passwd mgcusr as root. then you'll need to type new password for that user.

  • OCCI Link Problem

    Hi,
    I am using Oracle 9.2.0.1.0, Redhat 9, gcc 2.96, glibc 2.3.2-11.9. I continually receive the following link problem:
    /usr/bin/ld: warning: libclntsh.so, needed by /opt/ora9/product/9.2//lib/libvdc.so, not found (try using -rpath or -rpath-link)
    /opt/ora9/product/9.2//lib/libocci9.a(occiUtil.o)(.text+0x99f): In function `oracle::occi::toUpperCase(basic_string&lt;char, string_char_traits&lt;char&gt;, __default_alloc_template&lt;true, 0&gt; &gt; const &)':
    : undefined reference to `__ctype_toupper'
    collect2: ld returned 1 exit status
    Can anyone assist in resolving this issue?
    Thanks
    JD

    Removed libocci9 and it compiled.
    JD

  • Html link problem...

    Hey!
    Just wanned to say to those who answered my post on html link problems, that the problems I had were actualy because of the jdk version! I had jdk1.2 and now I have 1.3 and it works just fine.
    thanx a lot to everyone who tried to help!!!

    hehe i saw the topic "html link problem" posted by amidala and i thought " oh my god is she still struggling!" ;P
    Kewl 'twas not a problem!

Maybe you are looking for