JRockit on Solaris, linking with JNI

Hi,
I have a C++ JNI application for Solaris that uses pthreads. What is the proper compile and link command line to build this so that it works properly with BEA JRockit(R) R27.3.1-1_CR344434-89345-1.5.0_11-20070925-1628-solaris-sparcv9.
thanks
Mike

Hi Mike,
JRockit is compiled using the v9 (64-bit) SPARC instruction set. Using GCC and Sun Studio 12 you have to use the -m64 flag. On older Sun Studio compilers use the -xarch=v9 flag when compiling.
Note that you need to specify these flags when linking too. What compiler are you using? Do you have an error message to share?
/Henrik JRockit Engineering

Similar Messages

  • Problem with JNI in a Solaris shared library

    Hi,
    I have a problem.
    I have used JNI in my .dll on Windows & .so on Solaris . I have also used the same JNI code in a .exe on Windows & an executable on Solaris. 3 out of the above 4 combinations work & 1 doesen't. When I use JNI from a .so on Solaris 8(with/without the J2SE recommended patch), the JVM seems to have some exception & dumps core when I invoke CreateJavaVM(). See Below - I've included the output on the screen & the output from 'pstack core' :
    Unexpected Signal : 11 occurred at PC=0xFED29D44
    Function=[Unknown. Nearest: JVM_GetMethodIxExceptionIndexes+0x1994]
    Library=/usr/java/jre/lib/sparc/libjvm.so
    Current Java thread:
    Dynamic libraries:
    0x10000 SblSim
    0xff280000 /usr/lib/libnsl.so.1
    0xfec00000 /usr/java/jre/lib/sparc/libjvm.so
    0xff370000 /usr/lib/libpthread.so.1
    0xff350000 /usr/lib/librt.so.1
    0xff260000 /usr/lib/libsocket.so.1
    0xff390000 /usr/lib/libdl.so.1
    0xff230000 /usr/lib/libCrun.so.1
    0xff200000 /usr/lib/libm.so.1
    0xff340000 /usr/lib/libw.so.1
    0xff1b0000 /usr/lib/libthread.so.1
    0xff080000 /usr/lib/libc.so.1
    0xff180000 /usr/lib/libmp.so.2
    0xff160000 /usr/lib/libaio.so.1
    0xff1f0000 /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1
    0xfebd0000 /usr/j2se/jre/lib/sparc/native_threads/libhpi.so
    0xfeba0000 /usr/j2se/jre/lib/sparc/libverify.so
    0xfeb60000 /usr/j2se/jre/lib/sparc/libjava.so
    0xfeb40000 /usr/j2se/jre/lib/sparc/libzip.so
    0xfe920000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2
    0xf1400000 ./libaicd.so
    0xfc480000 ./libmttoolkit.so
    0xfdfe0000 ./libmttlogger.so
    0xfdfb0000 /usr/j2se/jre/lib/sparc/libnet.so
    Local Time = Tue Nov 12 09:51:37 2002
    Elapsed Time = 29
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002D5 01
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.0_01-b03 mixed mode)
    # An error report file has been saved as hs_err_pid3120.log.
    # Please refer to the file for further information.
    Abort(coredump)
    Below is the output of 'pstack core'
    $ pstack core
    core 'core' of 3120: SblSim libaicd.so 127.0.0.1 9999
    ----------------- lwp# 1 / thread# 1 --------------------
    ff1c9764 __sigprocmask (ff1cbf60, 0, 0, 565f8, ff1de000, 0) + 8
    ff1be110 _sigon   (565f8, ff1e5930, 6, ffbedba4, 565f8, 6) + d0
    ff1c1150 thrpkill (0, 1, 6, ff1de000, 1, ff140450) + f8
    ff0cb900 raise (6, 0, 0, ffffffff, ff1403bc, 4) + 40
    ff0b58ec abort (ff13c000, ffbedcf8, 0, fffffff8, 4, ffbedd19) + 100
    feee2700 ???????? (1, fef98e50, ffbedd98, 0, feffc130, feee1258)
    feee12c8 ???????? (60650, b, fed29d44, ffbeeab8, b, 0)
    fede77c0 ???????? (fed29d44, ffbeeab8, ffbee800, fed29d44, fed03744, 0)
    ff1cb824 __sighndlr (b, ffbeeab8, ffbee800, fede6f38, 5669c, 5668c) + c
    ff1c84d8 sigacthandler (b, 565f8, 0, 0, 0, ff1de000) + 708
    --- called from signal handler with signal 11 (SIGSEGV) ---
    fed29d44 ???????? (0, 60650, 0, 0, 0, 0)
    fed2d7d4 ???????? (606e4, 0, 0, ffbeed00, 0, 0)
    f172e818 __1cHJNIEnv_JNewObject6MpnH_jclass_pnK_jmethodID_E_pnI_jobject__ (606e4, 0, 0, ffbeed70, 39, 107f90) + 70
    f172dbf8 __1cGJEvent2t5B6M_v_ (107f60, f1a877f4, db088, ff0c1c44, 107f48, 0) + 80
    f16f2864 __1cGCEvent2t6Mii_v_ (107f60, 0, 1, ff13c000, 107f48, 0) + 7c
    f16e62e8 __1cVCISCHelperThreadMutex2t6M_v_ (107f50, 0, 560ac, 30f68, fefe4000, 0) + c0
    f16ddc34 __1cLinitGlobals6F_v_ (0, 1, 19a, f1a198ec, f1a198ec, 0) + 5c
    f16de4e4 CreateISCDriverInstance (0, 5cc40, 0, 57608, 565e8, 0) + 554
    00034f08 __1cJRunSblSim6F_v_ (1, ffbef322, ffbef32c, ff13fc70, 100d4, 0) + 320
    00035588 main (4, ffbef1dc, ffbef1f0, 55c00, 0, 0) + 1a8
    00018460 _start   (0, 0, 0, 0, 0, 0) + 108
    ----------------- lwp# 2 / thread# 2 --------------------
    ff11e958 _signotifywait (ff1de000, 59, 0, 0, 0, 0) + 8
    ff1c2030 thr_yield (0, 0, 0, 0, 0, 0) + 8c
    ----------------- lwp# 3 --------------------------------
    ff1c9774 private___lwp_cond_wait (ff075d70, ff1ded9c, ff1de000, 0, 0, 4) + 8
    ff11c554 doorreturn (ff075cb0, ff1ba740, 0, 0, 0, 0) + 68
    ----------------- lwp# 4 / thread# 4 --------------------
    ff11efbc ___lwp_cond_wait (60048, 60030, fe901ad0, 0, 0, fe901ac8) + 8
    ff116610 lwpcond_timedwait (1cb8c88, 3dd1157a, fe901ba4, 60030, 60048, 1) + 98
    fecfc7d8 ???????? (0, 1, 0, 581b8, feffa26c, 0)
    fecfcfd4 ???????? (ff00a15c, feffa4b8, feffa4b4, 0, 0, 0)
    fecfccc0 ???????? (d3980, 0, 0, 0, 0, 0)
    fecfcbd0 ???????? (d3980, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (d3980, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 5 --------------------------------
    ff11c4fc doorreturn (4, ff1df688, ff1df6a0, 3, ff1de000, 1) + 10
    ff1ba740 lwpstart (fea95d70, 0, 6000, ff075b74, 0, 0) + 18
    ff1c2030 thr_yield (0, 0, 0, 0, 0, 0) + 8c
    ----------------- lwp# 6 / thread# 5 --------------------
    ff11efbc ___lwp_cond_wait (d5720, d5708, 0, fed10a40, 0, 0) + 8
    fed110d4 ???????? (d56c8, 0, 5000, 5210, d4d38, 4d24)
    fed10824 ???????? (fdf8172c, 0, 0, d4d38, d4d38, 30dec8)
    fed103b0 ???????? (d4dcc, fdf81824, 0, 0, 0, 0)
    fa40cc94 ???????? (f2000380, b6, fdf818a4, ffffffff, 0, fdf817c0)
    fa405da0 ???????? (f2000380, b6, fdf818a8, fa415444, 0, fdf81840)
    fa405da0 ???????? (fdf81938, 0, 0, fa4157a4, 2f4210, fdf818d8)
    fa400438 ???????? (fdf819c0, fdf81c08, a, f6050b68, fa40bc8c, fdf81b50)
    fecfe2f8 ???????? (fdf81c00, fdf81a88, fdf81b48, d4d38, d4d38, fdf81a9c)
    fed0ff90 ???????? (fefe4000, d5298, fdf81b3c, fdf81b38, fdf81b48, d4d38)
    fed0fdf0 ???????? (fdf81c00, fdf81bfc, fdf81bf0, fdf81be8, fdf81be0, d4d38)
    fed0fd78 ???????? (d4d38, d4d38, ac9a0, d5298, 2d4488, fed0fa60)
    fed0fa88 ???????? (d4d38, 0, 0, 0, 0, 0)
    fecfcbd0 ???????? (d4d38, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (d4d38, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 7 / thread# 6 --------------------
    ff11efbc ___lwp_cond_wait (d7040, d7028, 0, 1, 0, 0) + 8
    fed110d4 ???????? (d6fe8, 0, 5000, 5210, d6658, 4d24)
    fed10824 ???????? (fa38169c, 0, 0, d6658, d6658, 30dec8)
    fed103b0 ???????? (d66ec, fa38179c, 0, 0, 0, 0)
    fa40cc94 ???????? (f2000490, b6, fa3817a0, fa414050, 0, fa381730)
    fa405da0 ???????? (f2000478, b6, fa3818b4, fa415444, 0, fa3817d8)
    fa405c4c ???????? (f2000478, b6, fa381934, fa415444, d6658, fa381858)
    fa405c4c ???????? (fa381938, 0, 0, fa38197c, 2f4210, fa3818d8)
    fa400438 ???????? (fa3819c0, fa381c08, a, f60520b8, fa40bc8c, fa381b50)
    fecfe2f8 ???????? (fa381c00, fa381a88, fa381b48, d6658, d6658, fa381a9c)
    fed0ff90 ???????? (fefe4000, d6bb8, fa381b3c, fa381b38, fa381b48, d6658)
    fed0fdf0 ???????? (fa381c00, fa381bfc, fa381bf0, fa381be8, fa381be0, d6658)
    fed0fd78 ???????? (d6658, d6658, ac9e0, d6bb8, 2d4488, fed0fa60)
    fed0fa88 ???????? (d6658, 0, 0, 0, 0, 0)
    fecfcbd0 ???????? (d6658, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (d6658, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 8 / thread# 7 --------------------
    ff11d194 _poll    (0, 0, 0, fa281a28, ff13f1b4, fa281a28) + 8
    ff1cb134 select (0, a, 0, ff1de000, fa281e14, 0) + 34
    fed32afc ???????? (d8040, 0, a, 0, 0, 0)
    fed328b4 ???????? (d8040, 0, 0, 0, 0, 0)
    fecfcbd0 ???????? (d8040, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (d8040, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 9 / thread# 8 --------------------
    ff11efbc ___lwp_cond_wait (5f998, 5f980, 2e7aa0, ff1de000, fa181e14, 0) + 8
    fecfc634 ???????? (5f950, 0, 0, 0, feffa26c, 0)
    fed3371c ???????? (3c00, 3f44, 0, 0, 0, 0)
    fecfcbd0 ???????? (d81a8, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (d81a8, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 10 / thread# 9 --------------------
    ff11f008 lwpsema_wait (f1f81e30, ff1de000, 0, f1f81d70, ff3e2628, 0) + c
    ff1b94c0 _swtch   (f1f81d70, ffffffff, ff1de000, 5, 1000, 0) + 158
    ff1bcc64 sema_wait (ff020fe0, ff1e98e4, 5000, 10000, 534d, 1) + bc
    fed345c8 ???????? (0, 6, b, a, 1, 0)
    fed34254 ???????? (ff002ae4, ff00a5a0, ff00a5d4, dab90, 2d4488, fed0fa60)
    fed0fa88 ???????? (da630, 0, 0, 0, 0, 0)
    fecfcbd0 ???????? (da630, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (da630, 0, 0, 0, 0, 0) + 40
    ----------------- lwp# 11 / thread# 10 --------------------
    ff11efbc ___lwp_cond_wait (604e8, 604d0, 2e7aa0, feffa26c, 106c40, 0) + 8
    fecfc88c ???????? (604a0, 0, 0, dbbd0, feffa26c, 0)
    fed349ac ???????? (db670, db670, dbfd0, dbbd0, 2d4488, fed0fa60)
    fed0fa88 ???????? (db670, 0, 0, 0, 0, 0)
    fecfcbd0 ???????? (db670, ff1df688, 1, 1, ff1de000, 0)
    ff1cb728 threadstart (db670, 0, 0, 0, 0, 0) + 40
    -------------------------- thread# 3 --------------------
    ff1bddbc reapwait (ff1e29e0, 20520, 0, ff1de000, 0, 0) + 38
    ff1bdb14 _reaper  (ff1dee30, ff1e4740, ff1e29e0, ff1dee08, 1, fe400000) + 38
    ff1cb728 threadstart (0, 0, 0, 0, 0, 0) + 40

    This is an update to the original message -
    I have tried both HotSpot & Server JVMs but still see the
    same behavior. I'm using 1.4 .
    I'd like to provide more information to those who can help
    me. I have a feeling there might be something wrong in my
    CC options. Thus you will find below what my CC statement
    looks like for one of the files in my project & for the
    linking of the final shared library. I also have
    provided the output of ldd on my shared library libaicd.so
    & for comparison the output of ldd on libjvm.so as that
    might provide some usefull information just incase
    something looks suspecious & might ring a bell.
    /opt/SUNWspro.cc6/bin/CC -c -KPIC -g -DDEBUG=DEBUG -
    D_DEBUG -mt -DSOLARIS -DSTD_STREAM -
    I/vob1/qwsrc/fw/include -I.-I/vob4/source/idl -
    I/vob4/source/mttoolkit -I/vob4/source/mttoolkit/tools -
    I/vob4/source/integrations/siebel/aicd -
    I/vob4/source/include -I/vob1/qwsrc/fw/include -
    I/vob4/source/source -I/vob4/source/mttoolkit -
    I/vob1/external/platform_neutral/siebel/scapi/include -
    I/external/sparc/Sun/jdk/1.3.1/include -
    I/external/sparc/Sun/jdk/1.3.1/include/solaris -
    I/vob4/source/idl -I/vob4/source/mttoolkit -
    I/vob4/source/mttoolkit/tools -
    I/vob4/source/mttoolkit/vnet -
    I/vob4/source/mttoolkit/bool -DUNIX -
    D_USE_MTTServerToolkit -D_JAVA_ WIAcceptTimeOut.cpp -
    o /space/users/janak/buildoutput/sparc/debug/obj/integratio s/siebel/aicd/WIAcceptTimeOut.o
    /opt/SUNWspro.cc6/bin/CC -G -
    o /space/users/janak/buildoutput/sparc/debug/lib/fw/libaicd.so
    /space/us
    ers/janak/buildoutput/sparc/debug/obj/integrations/siebel/ai
    cd/AgentService.o /space/users/janak/buildoutput/sparc/debug
    /obj/integrations/siebel/aicd/AgentServiceCmds.o /space/user
    s/janak/buildoutput/sparc/debug/obj/integrations/siebel/aicd
    /AgentServiceEvents.o /space/users/janak/buildoutput/sparc/d
    ebug/obj/integrations/siebel/aicd/AgentServiceICAReq.o /spac
    e/users/janak/buildoutput/sparc/debug/obj/integrations/siebe
    l/aicd/AgentServiceICEvents.o /space/users/janak/buildoutput
    /sparc/debug/obj/integrations/siebel/aicd/AgentServiceUtilit
    ies.o /space/users/janak/buildoutput/sparc/debug/obj/integra
    tions/siebel/aicd/AvMc.o /space/users/janak/buildoutput/spar
    c/debug/obj/integrations/siebel/aicd/InternationalStrings.o
    /space/users/janak/buildoutput/sparc/debug/obj/integrations/
    siebel/aicd/JEvent.o /space/users/janak/buildoutput/sparc/de
    bug/obj/integrations/siebel/aicd/JMultipleEvents.o /space/us
    ers/janak/buildoutput/sparc/debug/obj/integrations/siebel/ai
    cd/JNIObject.o /space/users/janak/buildoutput/sparc/debug/ob
    j/integrations/siebel/aicd/JObject.o /space/users/janak/buil
    doutput/sparc/debug/obj/integrations/siebel/aicd/JSemaphore.
    o /space/users/janak/buildoutput/sparc/debug/obj/integration
    s/siebel/aicd/JWorkerThread.o /space/users/janak/buildoutput
    /sparc/debug/obj/integrations/siebel/aicd/MultipleEvents.o /
    space/users/janak/buildoutput/sparc/debug/obj/integrations/s
    iebel/aicd/Param.o /space/users/janak/buildoutput/sparc/debu
    g/obj/integrations/siebel/aicd/ParamQueue.o /space/users/jan
    ak/buildoutput/sparc/debug/obj/integrations/siebel/aicd/RefC
    ount.o /space/users/janak/buildoutput/sparc/debug/obj/integr
    ations/siebel/aicd/SiebelDriver.o /space/users/janak/buildou
    tput/sparc/debug/obj/integrations/siebel/aicd/SiebelEvent.o
    /space/users/janak/buildoutput/sparc/debug/obj/integrations/
    siebel/aicd/SiebelWorkItem.o /space/users/janak/buildoutput/
    sparc/debug/obj/integrations/siebel/aicd/SingleEvent.o /spac
    e/users/janak/buildoutput/sparc/debug/obj/integrations/siebe
    l/aicd/SmartPtr.o /space/users/janak/buildoutput/sparc/debug
    /obj/integrations/siebel/aicd/StdAfx.o /space/users/janak/bu
    ildoutput/sparc/debug/obj/integrations/siebel/aicd/ThreadPoo
    l.o /space/users/janak/buildoutput/sparc/debug/obj/integrati
    ons/siebel/aicd/Utilities.o /space/users/janak/buildoutput/s
    parc/debug/obj/integrations/siebel/aicd/WIAcceptTimeOut.o -
    lnsl -lc -lCstd -
    L/space/users/janak/buildoutput/sparc/debug/lib/cti -
    lmttoolkit -
    L/space/users/janak/buildoutput/sparc/debug/lib/fw -
    lmttlogger -
    L/space/users/janak/buildoutput/sparc/debug/lib/fw -
    lqwlicmtt -
    L/external/sparc/Sun/jdk/1.3.1/jre/lib/sparc/server -
    Bdynamic -ljvm -mt -lpthread -lposix4
    $ ldd /usr/j2se/jre/lib/sparc/libjvm.so
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libw.so.1 => /usr/lib/libw.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1
    $ ldd libaicd.so
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libmttoolkit.so => ./libmttoolkit.so
    libmttlogger.so => ./libmttlogger.so
    libjvm.so => /usr/java/jre/lib/sparc/libjvm.so
    libpthread.so.1 => /usr/lib/libpthread.so.1
    librt.so.1 => /usr/lib/librt.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    libCrun.so.1 => /usr/lib/libCrun.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libaio.so.1 => /usr/lib/libaio.so.1
    libw.so.1 => /usr/lib/libw.so.1
    /usr/platform/SUNW,Sun-Blade-1000/lib/libc_psr.so.1

  • On Sun fire v490 - Solaris 10 with Oracle 8.1.7.4 & Sybase 12.0

    Hi,
    We are going to upgrade our server with this configuration -
    Sun Fire V490     2 x 1.05 GHz UltraSPARC IV CPU
    8096MB RAM     2 x73GB local disk
    2x FC 2GB Sun/QLogic HBAs
    DAT72
    On one machine we will have Sun Solaris v10 with
    Oracle DB v8.1.7.4 & Second one will be Sun Solaris v10 with Sybase DB v12.0.0.6.
    Now our question is - Sun fire have Hyper-thread CPUs ��� will the O/S and databases (Oracle and Sybase) view the proposed system as a true 4 CPU platform? Will parameters used to tune the database such as Sybase max online engines still operate in the same manner as before?
    Our old machine configuration was - Sun E450     4x400MHz CPU     1024MB RAM     2 x18; 8x36GB disks

    Questions on Oracle and Sybase should be directed to a database forum, this forum is for Sun hardware support.
    Here is a link to a DB forum I look at from time to time:
    http://www.dbforums.com/index.php
    The topic of tuning Oracle or Solaris is way beyond the scope of this forum, I have attempted to go into it before but didn't get any feedback and I would only like to spend lots of time on it if I was being paid!!! On the memory side, keep in mind that Oracle 9i 64-bit can address a maximum of 2 ^ 64 ( 16777216 TB ) memory, prior to that the DBA had to define memory parameters in init.ora. To be honest the last time I worked with a Oracle 8 database I shut a HP K class server down permanently that had been migrated to Oracle 9i on Solaris by an Oracle consultant and I can't remember all the tuning trick etc.

  • Linking with Sunperformance library

    Hi
    I trying to link with static version of libsunperf. So I link with
    libsunperf.a
    from Studio 12.2 but get the errors
    ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.500
    Undefined first referenced
    symbol in file
    __mt_ibarrier_rtc_ /home/eda/mosekprj/dev/bld/newbury/devel/default/sunc-12.2.0/dll/libmoseknoomp64.so
    __mt_static_for_loop /home/eda/mosekprj/dev/bld/newbury/devel/default/sunc-12.2.0/dll/libmoseknoomp64.so
    __mt_get_next_chunk_invoke_mfunc_once_ll_ /home/eda/mosekprj/dev/bld/newbury/devel/default/sunc-12.2.0/dll/libmoseknoomp64.so
    __omp_in_parallel_ /home/eda/mosekprj/dev/bld/newbury/devel/default/sunc-12.2.0/dll/libmoseknoomp64.so
    __f90_allocate2 /home/eda/mosekprj/dev/bld/newbury/devel/default/sunc-12.2.0/dll/libmoseknoomp64.so
    __omp_get_max_threads_ /home/eda/mosekprj/dev/bld/newbury/devel/default/sunc-12.2.0/dll/libmoseknoomp64.so
    __mt_MasterFunction_cxt_ /home/eda/mosekprj/dev/bld/newbury/devel/default/sunc-12.2.0/dll/libmoseknoomp64.so
    __f90_deallocate /home/eda/mosekprj/dev/bld/newbury/devel/default/sunc-12.2.0/dll/libmoseknoomp64.so
    ld: fatal: Symbol referencing errors. No output written to bld/newbury/devel/default/sunc-12.2.0/bin/mosek
    How can I resolve that? Note I would prefer to use sunperf in sequential mode.
    Thanks.
    Erling

    Sorry and thanks. It still have a problem.
    eda@newbury:~/mosekdbg$ cc -# testblas.c -o testblas -library=sunperf -staticlib=sunperf -lc -lm
    ### cc: Note: NLSPATH = /remote/public/solaris/x86/S12.2/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/remote/public/solaris/x86/S12.2/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
    ### command line files and options (expanded):
    ### -# testblas.c -otestblas -library=sunperf -staticlib=sunperf -lc -lm
    /remote/public/solaris/x86/S12.2/prod/bin/acomp -Qy -Xa -xc99=%all,no%lib -i testblas.c -D__SunOS_5_10 -D__SUNPRO_C=0x5110 -D__unix -D__SVR4 -D__sun -D__SunOS -D__i386 -D__BUILTIN_VA_ARG_INCR -D__C99FEATURES__ -D__PRAGMA_REDEFINE_EXTNAME -Dunix -Dsun -Di386 -D__RESTRICT -D__FLT_EVAL_METHOD__=-1 -D__SUN_PREFETCH -I-xbuiltin -I/remote/public/solaris/x86/S12.2/prod/include/cc -fsimple=0 -m32 -fparam_ir -xF=%none -xdbggen=no%stabs+dwarf2+usedonly -xdbggen=incl -xldscope=global "-g/remote/public/solaris/x86/S12.2/prod/bin/cc -library=sunperf -staticlib=sunperf -lc -lm " -destination_ir=yabe -y-fbe -y/remote/public/solaris/x86/S12.2/prod/bin/fbe -y-verbose -y-comdat -y-xarch=generic -y-comdat -y-xthreadvar=no%dynamic -y-o -ytestblas.o -y-s
    /remote/public/solaris/x86/S12.2/prod/bin/fbe -s -o testblas.o -warn=%none -Qy /tmp/yabeAAAMFaOGL
    rm /tmp/yabeAAAMFaOGL
    ### cc: Note: LD_LIBRARY_PATH = (null)
    ### cc: Note: LD_RUN_PATH = (null)
    ### cc: Note: LD_OPTIONS = (null)
    ln -s /remote/public/solaris/x86/S12.2/prod/lib /tmp/lib_link.1340957116.19204.01
    /usr/ccs/bin/ld -zld32=-S/tmp/lib_link.1340957116.19204.01/libldstab_ws.so -zld64=-S/tmp/lib_link.1340957116.19204.01/amd64/libldstab_ws.so -zld32=-S/tmp/lib_link.1340957116.19204.01/libld_annotate.so -zld64=-S/tmp/lib_link.1340957116.19204.01/amd64/libld_annotate.so /remote/public/solaris/x86/S12.2/prod/lib/crti.o /remote/public/solaris/x86/S12.2/prod/lib/crt1.o /remote/public/solaris/x86/S12.2/prod/lib/values-xa.o testblas.o -lc -lm -o testblas -Y "P,/remote/public/solaris/x86/S12.2/lib:/remote/public/solaris/x86/S12.2/prod/lib:/usr/ccs/lib:/lib:/usr/lib" -Qy -R/remote/public/solaris/x86/S12.2/lib -Bstatic -lsunperf -Bdynamic -lfui -lfsu -lsunmath -lmtsk -lpicl -lm -lc /remote/public/solaris/x86/S12.2/prod/lib/crtn.o
    Undefined first referenced
    symbol in file
    __mt_static_for_loop /remote/public/solaris/x86/S12.2/prod/lib/libsunperf.a(dtrsm_x86g.o)
    ld: fatal: Symbol referencing errors. No output written to testblas

  • How to use VS2005 dlls with jni?

    Hello,
    I have a java application using jni and some dlls.
    Previously this dlls were created using VS2003. Now I want to use VS2005 and I
    encountered some problems.
    Everything is working on my station were I have installed VS2005 but when I try to run the
    application on other station (a test station) is not working.
    I get the following error:
    java.lang.UnsatisfiedLinkError: C:\App\Test.dll: This application has failed to start because
    the application configuration is incorrect. Reinstalling the application may fix this problem
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(Unknown Source)
         ......First I tried to search all the dependences and copied all missing dlls from my work station to the test
    station in the application directory. Still not working.
    when dlls were made with VS2003 I had only 3 dependences: mfc71d, msvcp71d, msvcr71d. With this dlls in
    the application directory everything was fine.
    Second I tried to install .Net framework(2.0) and vcredist (VS2005_sp1) but still nothing.
    What I'm doing wrong? Is somebody which is using dlls made in VS2005 with jni?
    Thank you
    ,Dragos

    IIRC, that message means the manifest file in the DLL points to assembly that your computer doesn't have, or it has no manifest file.
    You either need to:
    -recompile using static linking so that it has no dependencies
    -stick the correct manifest in
    -include the entire SxS (site by side) assembly folders with your application (only the ones you're dependent on). These are found in something similar to:
    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\redist\x86

  • How can I debug leaks caused by ODBC calls in app linked with libtt.so?

    Hi,
    we are using TimesTen Release 7.0.5.0.0 on Solaris 10.
    and we are using libtt.so to link our application and connect using ODBC calls.
    The problem is that we have made some serious changes to our large code base and now we see a leak.
    Here is what I know:
    1) Although it is easy to reproduce it doesn't seem to follow a clear pattern. ie. the amount leaked isn't a direct function of the number of request or time spent.
    2) When our application is linked with libttclient.so there is no leak at all.
    3) prstat shows increments of 4 MBytes each time it leaks.
    So I suspect it is because the memory isn't freed but how can I tell which ODBC calls are causing it?
    Is there a debug option I could turn on to help with this?
    Perhaps something in ttTraceMon?
    Thanks

    Hello Serge,
    Just a note that we often times get this type of alarm about memory leaks in TimesTen when using the libtt.so library when using tools such as top or prstat to gage memory consumption. The reality is that these commands are not a good way to look for memory leaks / memory utilization when using TimesTen in direct connect mode. The TimesTen database resides in shared memory and so the fact that prstat shows big or increasing numbers should not be alarming.
    The only reliable way to check for memory leaks is to use a tool designed exactly for that such as Purify, which the TimesTen development team uses extensively and so it's unlikely that you'll find memory leaks in TimesTen.
    Have you found that memory is being exhausted after a period of application runtime and transaction iterations?
    You could use ttTraceMon and work with TimesTen support/engineering to extrapolate and answer from the trace it gaves, but unfortunately, there's rarely an easy way to answer queries on what is going on in either the Permament or Temporary partition.
    I'd first make sure that there is indeed a problem but running your application workload for some time. My suspicion is that the prstat command results are being misleading once more.
    Regards,
    Henri

  • How to update Solaris Link Editors: (ld) in Solaris 10

    Hi,
    How do I update Solaris Link Editors: from 5.10-1.500 to 5.10-1.1505 ?
    This is wat I get:
    bash-3.00# /usr/ccs/bin/ld -V
    ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.490
    gcc version is 3.4.3
    bash-3.00# /usr/sfw/bin/gcc -v
    Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
    Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure prefix=/usr/sfw with-as=/usr/sfw/bin/gas with-gnu-as with-ld=/usr/ccs/bin/ld without-gnu-ld enable-languages=c,c++ --enable-shared
    Thread model: posix
    gcc version 3.4.3

    Try and check if there is any patch which contains /usr/ccs/bin/ld, that should do the trick..
    .7/M.

  • Help needed with JNI -  java.lang.UnsatisfiedLinkError

    I need some help with JNI. I am running on Sun Solaris 7 using their CC compiler. I wrote a simple java program that calls a native method to get a pid. Everything work until I use cout or cerr. Can anyone help? Below is what I am working with.
    Note: The application works. The problem is when the C++ code tries to display text output.
    My error log is as follows:
    java Pid
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/dew/test/libPid.so: ld.so.1: /usr/j2se/bin/../bin/sparc/native_threads/java: fatal: relocation error: file /home/dew/test/libPid.so: symbol __1cDstdEcerr_: referenced symbol not found
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at Pid.<clinit>(Pid.java:5)
    Pid.java
    ========
    * Pid: Obtains the pid from the jvm.
    class Pid {
    static { System.loadLibrary("Pid"); }
    public native int getPid();
    public static void main(String args[])
    System.out.println("Before construction of Pid");
    Pid z = new Pid();
    System.out.println(z.getPid());
    z = null;
    Pid.cpp
    =========
    * Native method that obtains and returns the processid.
    #include "Pid.h"
    #include "unistd.h"
    #include <iostream.h>
    JNIEXPORT jint JNICALL Java_Pid_getPid(JNIEnv *env, jobject obj) {
    /* cout << "Getting pid\n"; */
    cerr << "Getting pid\n";
    /* printf("Getting pid\n"); */
    return getpid();

    I forgot to include my build information.
    JAVA_HOME = /usr/j2se/
    LD_LIBRARY_PATH = ./:/opt/readline/lib:/opt/termcap/lib:/usr/bxpro/xcessory/lib:/${JAVA_HOME}/lib:/usr/RogueWave/workspaces/SOLARIS7/SUNPRO50/0d/lib:/usr/RogueWave/workspaces/SOLARIS7/SUNPRO50/3d/lib:/usr/sybase/lib
    javac Pid.java
    javah Pid
    CC -G -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris Pid.cpp -o libPid.so
    Thanks again,
    Don

  • Problems linking with log4cpp..

    Hi all,
    working on a T200 with solaris 10 and sunstudio 11,
    I have a program that I have to compile with -library=stlport4 since it's being ported from gcc where it was using <hash_map>.
    I succeeded building log4cpp-0.3.5-rc3 with SUN compiler both with standard STL and with stlport, but now it seems I cannot use neither one of these two version of liblog4cpp.so with my program, because when it comes to linking in sunstudio, it fails with a lot of messages like
    undefined symbol first referenced in file
    std::ostream &std::operator<<(...) liblog4cpp.so
    std::ios::operator void *() const liblog4cpp.so
    The test application included in the log4cpp source distribution has been built and runs with no problems...
    So I have no clue of what this could be, it seems like liblog4cpp.so itself is missing some external library when it comes to linking with my app...
    If I remove -library=stlport4 everything is ok, but then I cannot use hash_map in my program....
    Any idea? Am I missing something particularly stupid?...
    Thanks in advance.
    Andrea.

    Yes,
    I've checked that liblog4cpp.so has been built with -library=stlport4 both on the compile and on the linker command line.
    And here I'm showing you the full output during the compile and linking stage:
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/cmd.o source/cmd.cpp
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/dbmgr.o source/dbmgr.cpp
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/Feeder.o source/Feeder.cpp
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/IndexedMap.o source/IndexedMap.cpp
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/main.o source/main.cpp
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/Monitor.o source/Monitor.cpp
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/mspp_config.o source/mspp_config.cpp
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/mspp_utils.o source/mspp_utils.cpp
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/NSMapper.o source/NSMapper.cpp
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/patterns.o source/patterns.cpp
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/PDUSequencer.o source/PDUSequencer.cpp
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/processor.o source/processor.cpp
    CC -g   -c  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/Status.o source/Status.cpp
    CC -g   -filt=%none  -library=stlport4  -I./include  -I/usr/sfw/include/mysql  -I/usr/local/include  -I../rps/mc_receive/source  -I../rps/common/include  -I../common/include  -L.  -Lbuild/solaris  -L/usr/local/mysql/lib  -L/usr/local/lib -o build/solaris/mspp build/solaris/cmd.o  build/solaris/dbmgr.o  build/solaris/Feeder.o  build/solaris/IndexedMap.o  build/solaris/main.o  build/solaris/Monitor.o  build/solaris/mspp_config.o  build/solaris/mspp_utils.o  build/solaris/NSMapper.o  build/solaris/patterns.o  build/solaris/PDUSequencer.o  build/solaris/processor.o  build/solaris/Status.o -lmc_receive -llog4cpp_stlport -lmysqlclient_r -lsocket
    Undefined                       first referenced
    symbol                             in file
    __1cDstdGsmanip4Ci_2t6MpFrn0AIios_base_i_3i_v_ ./liblog4cpp_stlport.so
    __1cDstdJbasic_ios4Ccn0ALchar_traits4Cc___2C6kM_b_ ./liblog4cpp_stlport.so
    __1cDstdHgetline4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___6Frn0ANbasic_istream3CTACTB__rn0AMbasic_string3C1C2CTC__1_4_ ./liblog4cpp_stlport.so
    __1cDstdJbasic_ios4Ccn0ALchar_traits4Cc___2v6kM_pv_ ./liblog4cpp_stlport.so
    __1cDstdLsmanip_fill4Ccn0ALchar_traits4Cc___2t6MpFrn0AJbasic_ios4Ccn0B___c_3c_v_ ./liblog4cpp_stlport.so
    __1cDstdLchar_traits4Cc_Deof6F_i_   ./liblog4cpp_stlport.so
    __1cDstdCws4Ccn0ALchar_traits4Cc___6Frn0ANbasic_istream3CTACTB___4_ ./liblog4cpp_stlport.so
    __1cDstdM__initialize4CI_6FrTA1_v_  ./liblog4cpp_stlport.so
    __1cDstd2l6Frn0ANbasic_ostream4Ccn0ALchar_traits4Cc____pkc_2_ ./liblog4cpp_stlport.so
    __1cDstd2E4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___6Frkn0AMbasic_string3CTACTBCTC__pk1_b_ ./liblog4cpp_stlport.so
    __1cDstdLchar_traits4Cc_Emove6FpcpkcI_2_ ./liblog4cpp_stlport.so
    __1cDstdJuse_facet4n0AFctype4Cc___6Frkn0AGlocale_pTA_rk4_ ./liblog4cpp_stlport.so
    __1cDstdNbasic_istream4Ccn0ALchar_traits4Cc___Hgetline6Mpcl_r1_ ./liblog4cpp_stlport.so
    __1cDstd2s4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___6Frkn0AMbasic_string3CTACTBCTC__1_4_ ./liblog4cpp_stlport.so
    __1cDstdLlogic_error2t5B6Mrkn0AMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc_____v_ ./liblog4cpp_stlport.so
    __1cDstd2l6Frn0ANbasic_ostream4Ccn0ALchar_traits4Cc____c_2_ ./liblog4cpp_stlport.so
    __1cDstdLchar_traits4Cc_Leq_int_type6Frkir2_b_ ./liblog4cpp_stlport.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___M__sun_concat6kMrk1_1_ ./liblog4cpp_stlport.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___M__sun_concat6kMpkc_1_ ./liblog4cpp_stlport.so
    __1cDstdJbasic_ios4Ccn0ALchar_traits4Cc___Egood6kM_b_ ./liblog4cpp_stlport.so
    __1cDstdNbasic_istream4Ccn0ALchar_traits4Cc___Gsentry2v6M_b_ ./liblog4cpp_stlport.so
    ld: fatal: Symbol referencing errors. No output written to build/solaris/mspp
    *** Error code 1
    dmake: Fatal error: Command failed for target `build/solaris/mspp'I wonder how I'm going to bring all my code base (actually built with gcc) under sunstudio 11, if I can't even get my feet out of this first project, that is the simplest I have to deal with...
    In any case, even if I have to give up, I'd really like at least to understand what's really going on under the hood and why does liblog4cpp_stlport cause all of this...
    Andrea.

  • Problem initializing libsapsecu.so on Solaris 10 with SAP NW2004s.

    We have developed a Java application that we intend to serve with SAP NetWeaver 7.0 (NW2004s). Our NetWeaver system is running on Solaris 10 with an Oracle DB. We want our application to be able to extract usernames from SAP Login Tickets and to do these we need the external libraries <b>libsapsecu.so</b> and <b>libsapssoext.so</b>. However, when our application tries to initialize these libraries an exception is thrown:
    Mysapinitialize failed. rc=14
    However, we are using Windows versions of these libraries on another server and they work.
    Does anybody have experience using these libraries on Solaris, and if so, has anybody had similar problems.
    Any help would be greatly appreciated.

    Standard C++ defines two versions of qsort (and also bsearch): one that takes a pointer to a C function, and one that takes a pointer to a C++ function.
    Recall that in standard C++, a pointer to a C function has a different type than a pointer to a C++ function. This issue is discussed at length in the C++ Migration Guide that comes with the compiler.
    The version of qsort that takes a pointer to a C function is the C version of qsort, and is in libc.so (the basic Solaris runtime library that all programs use).
    The version of qsort that takes a pointer to a C++ function is in the C++ runtime library libCrun.so that all C++ programs use.
    But because it took a while for Solaris headers to be updated to the C++ requirement, early versions of libCrun did not have the C++ version of qsort (or bsearch). If you get the latest C++ runtime library patch (SUNWlibC) for your system, your program should link. You can get patches here:
    http://developers.sun.com/prodtech/cc/downloads/patches/index.html
    Not only the system where you build the program needs updating, but every system that runs the program you build.
    Alternatively, you can declare the comparison function extern "C" so that the C version of qsort will be used.
    extern "C"
    int comp(const void pv1, const void pv2)
    But if the comparison function is in a namespace or is a class member function, you cannot usefully declare it extern "C".

  • Networking Solaris OS With Windows

    Hi guys, I am currently developing a java web application using the Solaris 10 OS. It is a Chat application so in other words, people using windows OS must be able to use my Chat application.
    My question is how do i network Solaris 10 with Windows so that people using windows OS can use my application which is developed on the Solaris.

    Part of the issue may be how often you log onto Virtual XP.  Since both W7 and XP are separate and independent operating environments, the both need to be updated with all Microsoft and other software updates.  The also operate with separate security applications (e.g., anti-virus).  Depending on your automatic system update settings, when you log into XP, you may automatically install and run the latest version of Microsoft Security Essentials, or AVG Antivirus, or some other such applications.  Or, you may be overdue for a scheduled system scan, so the scan is launched as soon as you start Virtual XP.  Systems such as these consume extremely large amounts of CPU time when they launch and do a system scan.  However, when they finish, CPU utilization drops to normal.
    If you don't constantly go back and forth between W7 and XP every day, you should expect that you will probably find very large CPU utilization from such scans if you have not logged into XP for some time.  In my experience, it will all go away.
    Also, remember that you should separately defrag both environments.  The W7 defrag may take hours, as Virtual XP actually exists as three very large files on your basic HDD, and defragging W7 does nothing to defrag all of the tens of thousands of individual Virtual XP files that are embedded in the huge system files (such as .vhd) which hold the XP environment.
    You might also want to check out the Auslogics Disk Defrag package.  It is freeware, and in my experience does a better job than Microsoft's systems.  Again, you would need to install separate copies of this package in each of the W7 and XP environments.
    T410 2522-K4U QuadCore Intel i7 Processor 8GB RAM 320GB SATA HDD
    64-bit Windows7 Pro, with Windows Virtual XP (as included under W7 license)
    D-Link 655 Wireless Network WEP encryption MAC Filtering
    -- Both 802.11b and g adapters on various network components

  • Linking with package when creating jvm

    Hi,
    I use jni to access java method wich parse xml documents with jdom. Everything works fine when I use only java. But with jni, when I create the jvm, and try accessing my java methods, there's some errors. Typically, the jvm created cannot recognize my imports ("import org.jdom.*").
    Does anyone know how to link with different package when I create the jvm in c side.
    Thanks for help,
    javaFriendly

    Onlu the compiler takes any notice of import statements. Are you taking about the compiler or the jvm.(Used to run the program)
    In either case it sounds like you classpath is not being set correctly if you cannot find other packages.

  • How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    You've probably found an answer to this by now, but I think this has been addressed in another forum -- The link below suggested using a button and adding the tooltip to the button. 
    https://forums.adobe.com/thread/304974?start=0&tstart=0
    Sounds like it would work but I haven't actually tried it. 
    Good luck~!

  • How to I get a link with a "Mail to" address to open up a Compose window in my Yahoo mail, rather than in the Mail progrom on my Mac. I do not use the Mac Mail program.

    How to I get a link with a "Mail to" address to open up a Compose window in my Yahoo mail, rather than in the Mail progrom on my Mac. I do not use the Mac Mail program.
    == This happened ==
    Not sure how often
    == always

    Thank you, "the-edmeister" -- You render a great service, one that lifts my spirits.
    Your answer also taught me to be a little more persistent, as I had started looking at Preferences, and just didn't notice the icons (including Applications) at the top of that window that would have led me to my answer.
    Dave

  • PO Service not link with AP invoice service

    Currently usiing SBO 2007A, SP-00, PL 49.
    I have 1 PO service. Base on this PO service, I create AP Invoice service.
    The account no. use in PO service is different from account no. use in AP Invoice service. Since account no. have been overwrite in AP Invoice.
    PO service is missing link with AP Invoice.
    When we open again the PO we couldn't find target document.
    Also same when we open AP Invoice, we couldn't find base document, which is actually the PO.
    Only in AP Invoice's remark we can find the PO no.
    Also in the database, in AP Invoice table base document no. is blank.
    Also it cause the PO not automatically close.
    Previous PL, this error not exist.
    Any one can help.
    Thanks in advance,
    Surya

    Hi,
    Please check Note No. : [ 1334491|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1334491] which explains the reported issue.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

Maybe you are looking for