SAP JVM 5.1 / SAP JVM 6.1 - versus SUN

With WAS 7.1 / 7.2, per PAM the only supported JVM's are SAP JVM 5.1 / SAP JVM 6.1.  Specifically that means, SUN, IBM and HP are no longer supported.   Question: Where can I find details on SAP JVM 5.1 / SAP JVM 6.1?  I assume those are essentially SUN SDK 1.5/1.6 with SAP's own implementation around; is that correct?

Hi,
use this: https://cw.sdn.sap.com/cw/docs/DOC-106773
as your start for exploring the SAP JVM.
To my knowledge, the SAP JVM is 100% Java standard compliant but offers a better (long-term) support compared to other vendors. After all, the SUN Java entered end of maintenance from SUN some years ago and the version for SAP is now the -b, business version of the JDK 1.4.
Should be interessting to know if the SAP JVM is the same for all OS supported (like: AIX, HPUX, Linux, Windows, etc), in terms of performance, bugs (?) and parameters.
br,
Tobias

Similar Messages

  • Sun JVM Performance Issue in Sun Solaris 10 (SPARC)

    Hi,
    Issue : Performance issue after the migration of a Java application from IBM-AIX 5 to Sun Solaris 10 (SPARC)
    I am facing performance issue after the migration of a Java application from IBM-AIX 5.3 to Sun Solaris 10 (SPARC).
     Normally the application takes less than 1 hour to complete the process in AIX, but after migration in Solaris the application is taking 4+ hours.
    The Java version of IBM AIX is ,
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20051104)
    IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20051103 (JIT enabled)
    The Java version of Solaris 10 is,
    Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)
    Description of Application
    The application merges 2 XML files of size 300 MB each using DOM Parser and generates flat file according to certain business logic.No remote files are using for the file generation. There are two folders and around 200 XML file in each folders of similar names. The application loads 2 similar XML file at a time from each folder and Processes. Same way, the application processes all the 200 XML file pairs using loop.
    The JVM Parameters are given below.
    /usr/java5/bin/java -cp $CLASSPATH -Xms3072m -Xmx3072M com.db.mcc.creditderiv.GCDXMLTransProc
    Here the extended swap memory in AIX is 3072 (3GB). After copying the same tode to Solaris, the
    application started throwing java.lang.OutofMemoryError. So that we have increased the swap memory up to 12 GB.
    Since 32bit Java allows maximum 4 GB extended memory we started using 64 Bit Java in Solaris using -d64 argument.
    The Current JVM Parameter in Solaris is given below.
    java -d64 -cp $CLASSPATH -Xms8192m -Xmx12288m com.db.mcc.creditderiv.GCDXMLTransProc ( 64 GB Swap Memory is available in the System)
    We have tried the following options
    1.       Extended heap size up to 12 GB using -xms and -xmx parameters and tried multiple -XX options. Earlier the application was working fine in AIX with 3.5 GB extended heap size. ( 64 GB Swap Memory is available in the System)
    2.       Downloaded and installed the Solaris SPARC Patches from the website,
         http://java.sun.com/javase/downloads/index_jdk5.jsp
    4.   Downloaded and installed XML and XSLT patch from sun website
    5.       Tried to run the Java in server mode using -server option.

    A 64 bit VM is not necessarily faster than a 32 bit one. I remember at least on suggestion that it could be slower.
    Make sure you use the -server option.
    As a guess IBM isn't necessarily a slouch when it comes to Java. It might simply be that their VM was faster. Could have used a different dom library as well.
    Could be an environment problem of course.
    Profiling the application and the machine as well might provide information.

  • Native SAP EP Portals Connector versus Microsoft VB 6.0

    Nowadays I possess some components development in VB 6.0 that connect to other applications. If I want to connect SAP Enterprise Portals with these components which is the best technology for this?. Bearing in mind that the developments in Portals I’m doing in Java. That is to say, the technology of connection of Portals to Components VB 6.0 (No .NET) must be native of portals or of Microsoft.
    <b>Note</b>: Already I have investigated of DCOM Connector, but I think that the responsibility of the connection it must support the Portal and not the components in VB 6.0. Thank you!..if u can help me!!!

    Hi Luis,
    I suppose you want to transfer data between your portal application and your .net application. Is that correct? If yes, what about building a Web Service in .net and call it from the portal application?
    regards,
    Martin

  • Launching JVM from C++ side (Sun/gcc)

    Hello,
    (excuse me for the language, i'm french...)
    I try to write a simple C++ program which launch the JVM on Sun Solaris with gcc 2.95.3, but i have many problems when i compile it. Can any one could give me a good Makefile. Mine is something like :
    gcc -I/usr/java/include -I/usr/java/include/solaris -L/usr/java/jre/lib/sparc -c invoke.cpp
    gcc -I/usr/java/include -I/usr/java/include/solaris -L/usr/java/jre/lib/sparc -ljava -ljvm -o invoke invoke.o
    and gcc tell me :
    Undefined               first referenced
    symbol                in file
    ostream::operator<<(ostream &(*)(ostream &))invoke.o
    endl(ostream &) invoke.o
    cerr invoke.o
    ostream::operator<<(char const *) invoke.o
    ld: fatal: Symbol referencing errors. No output written to invoke
    collect2: ld returned 1 exit status
    thanks !

    How stupid I was ! I was looking at my posts and I found this one...
    I used 'gcc' to compile C++ sources: yeah! I think it would be better to use g++ or CC! (shame on me)

  • Error in Installation of SAP NW2004 : DB Oracle on Sun - Unicode

    Hi Experts,
    I am doing a installation of BW with DB platform as Oracle and OS SUN. I am getting an error in the installation at step 35 of the Database Installation. I am doing a unicode installation.
    Details of the error message:
    The Error Message is at the step DBstats update.
    The exact message in the error is :
    Could not update Database statistics Diagnosis Command : brconnect -u /c -f crsyn -o SAPTBW returned 3 which is not a success code. Solution : See brconnect.log for details.
    The brconnect log gives the description as below
    root@tsapngn # cat brconnect.log
    BR0801I BRCONNECT 6.40 (15)
    BR0280I BRCONNECT time stamp: 2006-08-08 16.08.20
    BR0301E SQL error -12705 at location db_connect-2
    ORA-12705: invalid or unknown NLS parameter value specified
    BR0310E Connect to database instance TBW failed
    BR0280I BRCONNECT time stamp: 2006-08-08 16.08.20
    BR0804I BRCONNECT terminated with errors
    Primary Investigation: I have done some primary investigations and have gone through the sapnotes mentioned below. Still The Problem is not resolved.
    592657 - ORA-12701/ORA-12705/ORA-12907
    706132 - Composite note Problems with Oracle 9i
    602843- Environment settings for R/3 Oracle
    393620 - problem through incorrect ORA_NLS33
    Please Help.
    Cheers
    Sundeep

    Hi There,
    I got the similar issue when I install the R3 470 EXT2.00 SR1 ON LINUX/ORACLE 9207.
    The difference is, the kernel cd I download comes with brconnect 7.0, so I have to downgrade to brconnect 6.40 to fix the problem.
    Before you do the next try, you can logon as ora<sid> and run the 'brconnect -u /c -f crsyn -o SAPTBW' manually. It maybe prompt you need to set some environment variable such as ORACLE_SID. And also, make sure you set the correct LD_LIBRARY_PATH to as the installation guide mention, you can try to set ORA_NLS33 too. In my case, I can run the cmd above manually with ora<sid> or <sid>adm, but when I run it under root, I got another error (not 12705). so, I have do the next step, downgrade the brtools.
    From your log, you have the correct version of brconnect but I will still suggest you download the new DBATOOLS FOR KERNEL 640 from OSS and restart the SAPINST, I think the new brconnect 640 (higher patch level) could be help.
    Good luck

  • Sap-nw:3300 not reached error in gateway

    Dear experts,
    I am facing a strange problem after a successful installation of netweaver Java+abap.
    when i start the server i found this error
    **** ERROR file opened at 20100131 114242 Arab Standard T, SAP-REL 700,0,113 RFC-VER 3 911150 MT-SL
    T:2844 Error in program 'igsmux': ======> CPIC-CALL: 'SAP_CMNOREGTP'
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       partner 'sap-nw:3300' not reached
    TIME        Sun Jan 31 11:42:42 2010
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -10
    MODULE      nixxi.cpp
    LINE        2770
    DETAIL      NiPConnect2
    SYSTEM CALL connect
    ERRNO       10061
    ERRNO TEXT  WSAECONNREFUSED: Connection refused
    COUNTER     1
    i ignore the error and i tried to login
    after successful login to the portal server when i access the user administration tab. the explorer show
    SAP WebAS Engine is starting...
    If this state does not change within a few minutes,
    please contact your system administrator.
    Check the recommendations in SAP Notes: 943498, 764417
    Message: Dispatcher running but no server connected!
    and the server turns to yellow again when it turns to green again
    i checked dev_rd
    Sun Jan 31 13:11:15 2010
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    *** ERROR => NiIRead: SiRecv failed for hdl 9 / sock 268
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1205) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    *** ERROR => NiIRead: SiRecv failed for hdl 6 / sock 304
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1148) [nixxi.cpp    4424]
    ***LOG S23=> GwIDisconnectClient, client disconnected (006) [gwxxrd.c     11592]
    ***LOG S74=> GwIDisconnectClient, client disconnected ( sap-nw) [gwxxrd.c     11603]
    ***LOG S0R=> GwIDisconnectClient, client disconnected () [gwxxrd.c     11638]
    ***LOG S0I=> GwIDisconnectClient, client disconnected ( jlaunch) [gwxxrd.c     11651]
    *  LOCATION    SAP-Gateway on host sap-nw / sapgw00
    *  ERROR       connection to partner 'sap-nw:1148' broken
    *  TIME        Sun Jan 31 13:11:15 2010
    *  RELEASE     700
    *  COMPONENT   NI (network interface)
    *  VERSION     38
    *  RC          -6
    *  MODULE      nixxi.cpp
    *  LINE        4424
    *  DETAIL      NiIRead
    *  SYSTEM CALL recv
    *  ERRNO       10054
    *  ERRNO TEXT  WSAECONNRESET: Connection reset by peer
    *  COUNTER     232
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    *** ERROR => NiIRead: SiRecv failed for hdl 10 / sock 256
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1206) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    *** ERROR => NiIRead: SiRecv failed for hdl 11 / sock 244
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1208) [nixxi.cpp    4424]
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    *** ERROR => NiIRead: SiRecv failed for hdl 12 / sock 232
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1207) [nixxi.cpp    4424]
    then i try to login again with the browser it give me
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 01:27_31/01/10_6192950
    See the details for the exception ID in the log file.
    any help would be appreciated
    <br>
    i also wanted to add that telnet 3300 works fine ping to host name is ok
    my os win2003 sap 2004s sr3
    Edited by: ebrahime on Jan 31, 2010 11:37 AM

    thanks for your reply. i wanted to add 2 thing after the installation the password i entered in installation was not working  for all the super users that is why i had to delete SAP* from database and change the j2ee_Admin password.
    you mentioned that the java stack is unable to communicate with abap stack but i can login to portal by j2ee_admin user. but when i go to identity management then it give the error i gave you earlier.
    any way the dev_w0 file contents is bellow
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Tue Feb 02 10:23:01 2010
    B  create_con (con_name=R/3)
    B  Loading DB library 'F:\usr\sap\ENP\DVEBMGS00\exe\dbdb6slib.dll' ...
    B  Library 'F:\usr\sap\ENP\DVEBMGS00\exe\dbdb6slib.dll' loaded
    B  Version of 'F:\usr\sap\ENP\DVEBMGS00\exe\dbdb6slib.dll' is "700.08", patchlevel (0.144)
    C  DbSl trace SM50: switch request to level 1
    B  New connection 0 created
    M sysno      00
    M sid        ENP
    M systemid   562 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    144
    M intno      20050900
    M make:      multithreaded, Unicode, 64 bit, optimized
    M pid        1604
    M
    M  kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 1604) [dpxxdisp.c   1305]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          25168     (1480)
    M  DpShMCreate: sizeof(tm_adm)          5652128     (28120)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    M  DpShMCreate: sizeof(comm_adm)          552080     (1088)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (104)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1864)
    M  DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 0000000010E70050, size: 6348592)
    M  DpShMCreate: allocated sys_adm at 0000000010E70050
    M  DpShMCreate: allocated wp_adm at 0000000010E72150
    M  DpShMCreate: allocated tm_adm_list at 0000000010E783A0
    M  DpShMCreate: allocated tm_adm at 0000000010E78400
    M  DpShMCreate: allocated wp_ca_adm at 00000000113DC2A0
    M  DpShMCreate: allocated appc_ca_adm at 00000000113E2060
    M  DpShMCreate: allocated comm_adm at 00000000113E3FA0
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 000000001146AC30
    M  DpShMCreate: allocated gw_adm at 000000001146ACB0
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 000000001146ACE0
    M  DpShMCreate: allocated wall_adm at 000000001146ACF0
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Tue Feb 02 10:23:02 2010
    M  ThInit: running on host ENP

    M Tue Feb 02 10:23:03 2010
    M  calling db_connect ...
    C  Registering callback for dynamic profile parameters
    C  DB2 library successfully loaded DB2 library 'F:\usr\sap\ENP\DVEBMGS00\exe/db6_clidriver\bin\db2app64.dll' successfully loaded

    C  DB6 (DB2 UDB) UNICODE database interface 700.08 [opt]

    C  DB6 shared library (dbdb6slib) patchlevels
    C    (0.8) DB6: V8.2.2 optguidelines in OPEN SQL (note 150037)
    C    (0.8) Support of SDBUPDEXCL (note 847616)
    C    (0.9) DB6: use export file for dbdb6slib (note 835135)
    C    (0.9) DB6: Core in getAndBindSQLDA (note 833183)
    C    (0.10) DB6: link dbdb6slib.dll on windows with libdb6.obj (note 761159)
    C    (0.10) DB6: DUPLICATE_KEY on MERGE -> repeat (note 851474)
    C    (0.15) DB6: wrong CAST for short string ABAP type (note 861905)
    C    (0.17) DB6: special characters in sidadm passwd (note 865839)
    C    (0.21) DB6: no SAP_INFO comments (note 873889)
    C    (0.22) DB6: hints: get correlation names from view texts (note 868888)
    C    (0.23) DB6: hints: get correlation names from view texts (note 868888)
    C    (0.26) DB6: DB6_DBSL_CLP_COMMAND STRING_BAD_REF (note 883402)
    C    (0.27) DB6: activate value compression (note 886231)
    C    (0.28) DB6: optimization guidelines on views part 2 (note 868888)
    C    (0.30) DB6: no SQL trace for SQLCancel (note 892111)
    C    (0.33) DB6: append SAP_TA comment (note 873889)
    C    (0.34) DB6: activate value compression with quoted names (note 886231)
    C    (0.36) DB6: Repeat isolated DDL statements after SQL0911 (note 901338)
    C    (0.41) DB6: add V9 to list of supported DB2 releases (note 912386)
    C    (0.50) DB6: reread passwords for secondary connections (note 931742)
    C    (0.52) DB6: double quote table names in optguidelines (note 868888)
    C    (0.54) DB6: error handling in DBSL CLP (note 940260)
    C    (0.69) DB6: technical support of DB2 CLI driver (note 962892)
    C    (0.73) DB6: log table name on TRUNCATE failure (note 970743)
    C    (0.79) DB6: column type XML in index size calculation (note 982993)
    C    (0.82) DB6: CAST for SSTRING data types (note 989568)
    C    (0.86) DB6: long runtimes for R3szchk (note 1000847)
    C    (0.88) DB6: patch collection Dec 06 (note 1005574)
    C    (0.96) DB6: patch collection Jan 07 (note 1017852)
    C    (0.97) DB6: CLP commands with DB2 CLI Driver (note 1024102)
    C    (0.99) DB6: SUBSTITUTE VALUES with FAE statements (note 1028779)
    C    (0.107) DB6: patch collection Apr 07 (note 1047194)
    C    (0.110) DB6: SAP user names ending with non-ASCII char (note 1054555)
    C    (0.113) DB6: work process type in application snapshot (note 1059905)
    C    (0.114) DB6: connect using SAPDBHOST and DB2DB6_SVCENAME (note 1062049)
    C    (0.117) DB6: patch for execution of long DDL statements (note 1069658)
    C    (0.122) DB6: SNAPSHOT_TBS_CFG table function is deprecated (note 1077963)
    C    (0.123) DB6: CLP commands on Windows with V9.1 (note 1080149)
    C    (0.124) DB6: Set DB2CODEPAGE=819 for non-Unicode (note 1084400)
    C    (0.126) DB6: reuse optguidelines on FAE statements (note 1087375)
    C    (0.126) DB6: Enforce DB2CODEPAGE=819 for non-Unicode environments (note 1084400)
    C    (0.128) DB6: db6_free on invalid memory area (note 1092030)
    C    (0.133) DB6: statement cache enhancements (note 1101031)
    C    (0.136) DB6: change for enhancement pack installer (note 1111536)
    C    (0.138) DB6: improoved table size estimate for DB8 V8 (note 1119934)
    C    (0.144) I5/OS ldappasswd support for 5250 terminal. (note 1129573)
    C    (0.144) MSSQL: ODBC fastload on separate connection (note 1131805)

    C  Supported features:

    C  ..retrieving configuration parameters
    C  ..done
    C  Running with UTF-8 Unicode

    C Tue Feb 02 10:23:04 2010
    C  Running with CLI driver
    C  DB2 client driver version '09.01.0007'
    C  Connected to DB2 server type 'DB2/NT64'
    C  Connected to DB2 version '09.01.0007'
    C  Connect to 'ENP' as 'SAPENP' schema 'SAPENP' o.k.; con_hdl=0
    C  Database code page is ok.
    C  Database collating sequence is ok.
    C  DB2_WORKLOAD=SAP is set in DB2 registry as required.
    C  CLI Insert Buffering is disabled on single partition databases.
    C  DbSl trace SM50: switch request to level 1
    C  DbSlControl: returning SAPDBHOST='ENP'
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20100202 102303 ENP            
    C  DbSlControl: returning SAPDBHOST='ENP'
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif

    I Tue Feb 02 10:23:05 2010
    I  MtxInit: 0 0 0
    M  SHM_PRES_BUF               (addr: 0000000015400050, size: 4400000)
    M  SHM_ROLL_AREA          (addr: 000007FFDDA80050, size: 268435456)
    M  SHM_PAGING_AREA          (addr: 0000000015840050, size: 134217728)
    M  SHM_ROLL_ADM               (addr: 000000001D850050, size: 2678942)
    M  SHM_PAGING_ADM          (addr: 000000001DAE0050, size: 525344)
    M  ThCreateNoBuffer          allocated 544152 bytes for 1000 entries at 000000001DB70050
    M  ThCreateNoBuffer          index size: 3000 elems
    M  ThCreateVBAdm          allocated 12176 bytes (50 server) at 000000000AE50050
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  ES initialized.
    B  db_con_shm_ini:  WP_ID = 0, WP_CNT = 17, CON_ID = -1
    B  dbtbxbuf: Buffer TABL  (addr: 0000000021540160, size: 30000000, end: 00000000231DC4E0)
    B  dbtbxbuf: Buffer TABLP (addr: 00000000231E0160, size: 10240000, end: 0000000023BA4160)
    B  dbexpbuf: Buffer EIBUF (addr: 0000000023BC0170, size: 4194304, end: 0000000023FC0170)
    B  dbexpbuf: Buffer ESM   (addr: 0000000023FD0170, size: 4194304, end: 00000000243D0170)
    B  dbexpbuf: Buffer CUA   (addr: 00000000243E0170, size: 3072000, end: 00000000246CE170)
    B  dbexpbuf: Buffer OTR   (addr: 00000000246D0170, size: 4194304, end: 0000000024AD0170)
    M  CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    S  *** init spool environment
    S  initialize debug system
    T  Stack direction is downwards.
    T  debug control: prepare exclude for printer trace
    T  new memory block 00000000128BEA10
    S  spool kernel/ddic check: Ok
    S  using table TSP02FX for frontend printing
    S  1 spool work process(es) found
    S  frontend print via spool service enabled
    S  printer list size is 150
    S  printer type list size is 50
    S  queue size (profile)   = 300
    S  hostspool list size = 3000
    S  option list size is 30
    S      found processing queue enabled
    S  found spool memory service RSPO-RCLOCKS at 000000002DDF00D0
    S  doing lock recovery
    S  setting server cache root
    S  found spool memory service RSPO-SERVERCACHE at 000000002DDF0610
    S    using messages for server info
    S  size of spec char cache entry: 297032 bytes (timeout 100 sec)
    S  size of open spool request entry: 2272 bytes
    S  immediate print option for implicitely closed spool requests is disabled

    A  -PXA--
    A  PXA INITIALIZATION
    A  PXA: Locked PXA-Semaphore.
    A  System page size: 4kb, total admin_size: 11460kb, dir_size: 11392kb.
    A  Attached to PXA (address 000007FFEDAB0050, size 300000K)
    A  abap/pxa = shared protect gen_remote
    A  PXA INITIALIZATION FINISHED
    A  -PXA--

    A  ABAP ShmAdm attached (addr=000007FF35ED5000 leng=20955136 end=000007FF372D1000)
    A  >> Shm MMADM area (addr=000007FF363AEF10 leng=244096 end=000007FF363EA890)
    A  >> Shm MMDAT area (addr=000007FF363EB000 leng=15622144 end=000007FF372D1000)
    A  RFC Destination> destination ENP_ENP_00 host ENP system ENP systnr 0 (ENP_ENP_00)
    A  RFC Options> H=ENP,S=00,d=2,
    A  RFC FRFC> fallback activ but this is not a central instance.
    A   
    A  RFC rfc/signon_error_log = -1
    A  RFC rfc/dump_connection_info = 0
    A  RFC rfc/dump_client_info = 0
    A  RFC rfc/cp_convert/ignore_error = 1
    A  RFC rfc/cp_convert/conversion_char = 23
    A  RFC rfc/wan_compress/threshold = 251
    A  RFC rfc/recorder_pcs not set, use defaule value: 2
    A  RFC rfc/delta_trc_level not set, use default value: 0
    A  RFC rfc/no_uuid_check not set, use default value: 0
    A  RFC rfc/bc_ignore_thcmaccp_retcode not set, use default value: 0
    A  RFC Method> initialize RemObjDriver for ABAP Objects
    M  ThrCreateShObjects          allocated 35354 bytes at 000000002DF60050
    N  SsfSapSecin: putenv(SECUDIR=F:\usr\sap\ENP\DVEBMGS00\sec): ok

    N  =================================================
    N  === SSF INITIALIZATION:
    N  ===...SSF Security Toolkit name SAPSECULIB .
    N  ===...SSF trace level is 0 .
    N  ===...SSF library is F:\usr\sap\ENP\DVEBMGS00\exe\sapsecu.dll .
    N  ===...SSF hash algorithm is SHA1 .
    N  ===...SSF symmetric encryption algorithm is DES-CBC .
    N  ===...completed with return code 5.
    N  =================================================
    N  MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory.
    N  MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.
    M  JrfcVmcRegisterNativesDriver o.k.
    W  =================================================
    W  === ipl_Init() called
    B    dbtran INFO (init_connection '<DEFAULT>' [DB6:700.08]):
    B     max_blocking_factor =  30,  max_in_blocking_factor      =  60,
    B     min_blocking_factor =   1,  min_in_blocking_factor      =   1,
    B     prefer_union_all    =   1,  prefer_join                 =   1,
    B     prefer_fix_blocking =   0,  prefer_in_itab_opt          =   0,
    B     convert AVG         =   1,  alias table FUPD            =   0,
    B     escape_as_literal   =   0,  opt GE LE to BETWEEN        =   0,
    B     select *            =0x0f,  character encoding          = STD / <none>:-,
    B     use_hints           = abap->1, dbif->0x3, upto->2147483647, rule_in->0,
    B                           rule_fae->0, concat_fae->0, concat_fae_or->0
    W    ITS Plugin: Path dw_gui
    W    ITS Plugin: Description ITS Plugin - ITS rendering DLL
    W    ITS Plugin: sizeof(SAP_UC) 2
    W    ITS Plugin: Release: 700, [7000.0.144.20050900]
    W    ITS Plugin: Int.version, [33]
    W    ITS Plugin: Feature set: [16]
    W    ===... Calling itsp_Init in external dll ===>
    W  === ipl_Init() returns 0, ITSPE_OK: OK
    W  =================================================
    N  VSI: WP init in ABAP VM completed with rc=0
    E  Enqueue Info: rdisp/wp_no_enq=1, rdisp/enqname=<empty>, assume ENP_ENP_00
    E  Replication is disabled
    E  EnqCcInitialize: local lock table initialization o.k.
    E  EnqId_SuppressIpc: local EnqId initialization o.k.
    E  EnqCcInitialize: local enqueue client init o.k.

    M Tue Feb 02 10:23:06 2010
    M  SecAudit(RsauShmInit): WP attached to existing shared memory.
    M  SecAudit(RsauShmInit): addr of SCSA........... = 000000000A960050
    M  SecAudit(RsauShmInit): addr of RSAUSHM........ = 000000000A9607C0
    M  SecAudit(RsauShmInit): addr of RSAUSLOTINFO... = 000000000A960800
    M  SecAudit(RsauShmInit): addr of RSAUSLOTS...... = 000000000A96080C

    M Tue Feb 02 10:23:28 2010
    M  rdisp/rb_cleaned_rfc = 0

    A Tue Feb 02 10:23:34 2010
    A  RFC FRFC> fallback on the central gateway ENP sapgw00 activ

  • Calling Webservice from Netweaver Portal to SAP XMII 12.0 using SSO

    Hello,
    we have a Netweaver 2004s based Portal and a Netweaver-based SAP XMII (v12.0) System providing Webservices.
    What we try to do is to call a webservice out of the Portal EAR Application using SSO.
    SSO-Konfiguration between Portal and XMII is done and works fine. I tested this using an URL-iView, which calls a https-URL on XMII and SSO-Authentification is done in the background.
    Now I want to call a Webservice using SSO.
    Without SSO (prodiving UID/PW), the webservice-call works fine.
    In order to use SSO with Webservice, I created a "Deployable Webservice Proxy" with "HTTP-Authentication" and "use SAP Logon Ticket" turned on.
    Then I remove Login/Password from my SOAP-Request and unfortunately it doesn't work.
    What do I have to consider in addition to the topics above?
    Can you provide any useful links with tutorials, hints, documentation, ...?
    Thanks in advance
    Andreas

    > Can you please list all the options that we have in order to implement SSO for EP and SAP GUI?
    >
    > I could not find any info in regards to the advantages and disadvantages of each SSO solution. Do you have any links that gives this information?
    If you search the forum here for the terms you have used, then you will find many of them and interesting discussions about advantages and disadvantages from different views. I think that in 1 or 2 hours you will be a guru
    > I am thinking more of using Kerberos authentication for SAP GUI and using OpenSSO (Sun's product)solution for EP 7.0.
    >
    > Do you know what SSO technologies are other companies implementing these days?
    I only know which solutions I have been involved in doing the security evaluations for and implementation support.
    I don't want to do any direct or indirect comparative advertizing here, but only wanted to point out to you that there is plenty of information if you use the search. What you need to understand is that other that SAP proprietary mechanisms and newer standards based initiatives (search for 'SAML'), this is often a 3rd party vendor question (and resulting discussion...).
    If you find a solution and want to specifically discuss it here, then this can most of the time be done in a civilized way...
    Cheers,
    Julius

  • JVM Compatibility

    (new thread please!) Grant Ronald - Forms Product Management.
    At your request Grant.
    Compatibility ( Jinit vs Ms JVM vs Sun JVM ) - Not sure what you mean, we certify Jinit, we certify native JVMs we certify the Sun plug in, we certify IE, we certify NS, we certify Mac browsers - whats the issue
    Oracle Certainly doe support many different environments, the problem is that forms deployment on the internet is still a problem. As we have started our deployment we are seeing failures in 10-20% of clients, with jvm problems and we specify IE only. These clients have either no JVM or the wrong JVM for forms.
    We do not have this problem with the menu applet that we use.
    The solution to this is to force a download of a JVM as part of the initial process. As we examined this we found:
    1. Jinitiator -
    8 megabyte download
    No Feedback on download when triggered from the form until the download is complete.
    No usable Oracle source for the plug-in. Try wading through the download to get the right Jinitiator.
    No Web Install for Jinitiator. ( user gets F.U.D. when faced with exe download pop up).
    2. Microsoft JVM
    5 megabyte download if you can find it.
    No longer supported by Microsoft, but available on other sites.
    Limited functionallity. 800k Cab file must be downloaded for each form session.
    3. Sun Java Plug-in
    14 megabyte download
    This downloads and installs as J2ME not as a simple plug in.
    The only doc on setup for this is a White paper, which is not specific enough for most developers.
    The current download 1.4.2_1 also has warnings on the download that the file does not match the certificate.
    Also, the signature of the applet with JDK is downright hokey.
    Distributing an applet signed by "Developer" whose authenticity is verified by "Oracle" who is not trusted.
    Come on. This is your "Oracle's" applet not and you can afford to buy a certificate from Verisign.
    As we developers and our customers struggle, we see Microsoft pushing .Net where the promise is 95% compatibility with no download required ( since the hide it in the base OS).
    Grant you are caught in the middle but there are things that you can do.
    1. Fix the jar signature now
    2. Continue to work with Sun on a light-weight browser plug-in. The "Java Get it now" should be as simple as the Acrobat reader process without the extra baggage.
    These are the things to do if you are serious and we are watching you.
    Kevin

    Kevin,
    sure Forms very much depends on the JVM it is executed in. But saying "Continue to work with Sun on a light-weight browser plug-in. The "Java Get it now" should be as simple as the Acrobat reader process without the extra baggage." is not fair as it ignores the fact that Adobe is a meta data definition while Java is a J2SE platform for real application programming.
    Native Java Swing apps, even those using Java Webstart", all require VMs for execution. However, it is not only the VM that you download when installing JInitiator or the Java plugIn, its the full Java platform stack you get too. With each Java release the Java language grows and becomes more complex, the VM needs to know how to handle this.
    JInitiator basically is an Oracle patched version of SUNs Java PlugIn and therefore doesn't differ much in the way you install and deploy it.
    I agree that we all want it easier and smaller. Microsoft and Netscape terribly failed in integrating a solid and up to date VM to their Browsers and Opera didn't even try.
    Simply remove pieces from the JVM or the Java platform to reduce size gets you into more trouble due to broken functionality and you don't really want to deal with this.
    Partial - on demand - loading of the Java platform code does not work either for security reason.
    Though its hard to live with a PlugIn it basically works and beside of that is all we have.
    Fran

  • How the JVM SHOULD be distributed (interesting)

    Well I sent this document to the JCP maybe it will be better off there....
    Sun needs a new JAVA marketing strategy.
    Opinions expressed here are of my own, Matt Prokes, remember these are only opinions about what should or could be.
    If you have ?'s contact me at [email protected]
    What Java's Problem Is:
    As far as I can see the only problem that java has these days is the client inconsistencys, this is due to Microsoft and there attempted dustruction of the HUGE java language, and Microsoft has succeeded wonderfully thus far, which is sad. I feel it is only due to the way Sun markets Java, not that they have not tried but they are going about it the wrong way.
    Sun Feels They Are Being Oppressed:
    It seems to me that Sun has a feeling of being oppressed by Microsoft, they see the company inflicting standards on the computing world that are self centered and platform specific, this is why java was created, to break that mold and it does it wonderfully but java has not gained populatiry because of marketing technique, no, it has gained popularity because it REALLY is what it is cracked up to be....A better way of doing things....
    That is why sun landed the title of being one the the most innovative companys today by the magazine �PC World� ranking 13th place while Microsoft landed 137th (i think).
    Yet with all this technology sun does not try to inflict it's standards on the PC world, well you might think what about all those court cases, for instance the most recent that suggests that Sun wants to FORCE Microsoft to install their JVM. I think stuff like this just slows Sun down, as we learned with previous cases Microsoft is just to big to fight and if you do manage to win it will be 3-4 years later. If you think about it time is money, why waste time? Trying to leach off of Microsoft is NOT the way to inflict standards, infact it is one of the worst ways because by the time you would have won microsoft would have bullied the java enviroment to it's grave (umm .net). So you may ask how do we enforce standards without the help of microsoft, the answer is more simple than you may think yet for some reason it has not been thought of by Sun. So far this is what has brought microsoft to the top.
    1.Great Software
    2.Enforced Standards, and Implementation
    3.Excellent Marketing
    4.Protected Software (Ideas)
    5.Industry Wide Support
    Innovation is not on this list, Microsoft does not have a innovative bone in it's body at the moment, it just buys technology that it needs, and has flashy GUI's, and a huge amount of support in the software industry. This is why according to the magazine �PC World� microsoft ranks #137 in innovation while Sun sits at a satisfying ranking of #13.
    What this means is that Sun just is more innovative, it has technology out there that could be used but it can't because we have clients with Version 1.3 Java software on their PC's, Either that or Propietary and NOT PLATFORM INDEPENDENT Microsoft JVM's which Microsoft will again start to distribute in 2004 on XP, this brings me to my first point, if we are going to have a platform independent language it needs to come from ONE POINT that will be implemented by all Manufactures (the W3C for instance). You may be thinking well how do you enforce the SUN JVM if microsoft does not pack it with windows? The answer is you do what most new companys do and that is goto the PC Vendors. I would like to point out that microsoft is for the most part ONLY a software company (aside from some of there PC products), but they do not build and distribute PC systems, thus microsoft does not control what can go on a PC, I would like to point out the growing Linux threat to windows, more particulary the linux based operating system (Lindows) recently lindows has aquired a deal with walmart to sell there operating system as a subsitute to windows, this worked out phenominaly and right now walmart cannot seem to keep enough of the pc's on the shelves (since they cost only about 199$). Case point linux has also grown enormously due to �Home Editions� of linux (Red Hat). The first point I would like to make is that Sun should be PAYING vendors to install the SUN JVM over the microsoft one, this takes care of a few of Sun's problems (Not as much industry support as microsoft, and upgrading the JVM) all this can be done for a measily 5-6 million a year and will reach about 70% of the PC sector, infact I am almost certain this is how microsoft started out.
    One Of Java's Big Problems JVM Inconsistencys
    Now if Sun locks 70% of the PC market that will already be a large boost for java, but the question is how to make the percentage grow to 100%... I would now like to point out the company Macromedia, macromedia products are phenominal, and have changed the way media is seen on the web, particularly the Flash product that macromedia sells, now at this moment macromedia has stated that >90% flash support exists on the web today and >70% is with the most current version of flash, as I see it infact flash is one of the most universally supported pieces of software even more so than microsoft, this is why you see flash movies on yahoo, cnet, amazon, and even MSN! So you may ask what made flash what it is today? Well as described before flash is supported and installed by PC vendors, and even if it is not you can bearly go any place on the web with out getting a message stating that you should upgrade to the most current version of flash, this is due to the wide support on the web..... Now on the other hand if I run a java applet and the applet was compiled with some new features that were not supported in version 1.3 (Swing for example) we will get an error message stating that the package cannot be found and the applet will not run...You do not get any messages to upgrade, no window prompts, nothing..which brings me to my next point the java compiler should include the code (a pre JVM 1.3 version & microsoft JVM compatiable) that will prompt you to install the most current version of Java you already see default loaders for swing, a plugin check should also be included in all programs to ensure that you have to most recent version, and if you do not then it will send you to the Sun Website, or display a update manager or something. Getting an error saying that the applet packages are not found does not help the user any it only frusterates them, you have to physically provide a remedy to the problem at hand. This should also check to see if the microsoft JVM is installed and if it is prompt to upgrade to the Sun JVM, this will pretty much distroy the use of the microsoft JVM.
    This takes care of the enforcing standards part, braudens the Industry Wide Support, and protects the java enviroment, last but not least you need to promote the software, Java already does this excellently with webservices, and other things but there are more consumers than businesses and Java should also be concentrating more on the excellent 3d support that they have, the networking features of java, ect. Take OpenOffice.org for instance the product has grown emmensly since it has started and much uses Java API's, you would see much growth in Java if you provided other products like Open Office for free, for instance a Quake Like Multiplayer game in Java 3D distributed on an open source enviroment, in applet form (since applets are exclusivly a invention of Java), and then have a couple of servers set up that people can play for free on Sun's site, more networking app's for free, ect. You have to promote some of the more flashy features of Sun this way in order to see more growth and support and for free (learn from linux which is quickly becoming a HUGE threat for microsoft) if sun is making 13 billion a year I see no problem to them sporting a couple of servers with some USEFUL online apps/games/ect that sport how innovative java really is, and if they really need to they can have all the banners on stuff like the online games, take Http://www.runescape.com that sports an average of 10,000 users at any moment using the cross platform Java 3d API and they do it for free! All open source free products should be on Suns website, it shows how strong of a community Sun really is, instead of having it on some other website like www.openoffice.org that only sports Sun's name maybe a few times you might occasionally see a logo.. it would be better to maybe get open office from an address like www.openoffice.sun.com, maybe try a www.games.sun.com address or a www.apps.sun.com and then advertise the stuff that can be found at the Sun website. Sun should be proud to be open source, it is the only thing microsoft can't buy....
    Opinions Of Matt Prokes..
    [email protected]

    Sun should be proud to be open source, it is the only thing microsoft
    can't buy....Thats the only line of your whole pointless post that I read.
    Since when is "sun" open source. I imagine you mean java. Java isn't open source, what makes you think it is? You can get the source for it and modify it to suit ur needs as per the license but this isn't really open source.. is it?
    Anyway, don't waste space with your crap here, send an e-mail to somebody at sun instead, its just a waste posting this here.

  • Slow starup of Java application - best practices for fine tuning JVM?

    We are having problems with a java application, which takes a long time to startup.
    In order to understand our question we better start with some background info. You will find the question(s) after that.
    Background:
    The setup is as follows:
    In a client-server solution we have a win xp, fat client running java 1.6.0.18.
    (Sun JRE). The fat client containt a lot of GUI, and connects to a server for DB access. Client machines are typical 1 to 3 years old (there are problems even on brand new machines). They have the client version of JRE - standard edition installed (Java SE 6 update 10 or better) Pretty much usual stuff so far.
    We have done a lot of profiling on the client code, and yes we have found parts of our own Java code that needs improving. we are all over this. Server side seems ok with good response times. So far, we havent found anything about shaky net connections or endless loops in the java client code or similiar.
    Still, things are not good. Starting the application takes a long time. too long.
    There are many complicating factors, but here is what we think we have observed:
    There is a problem with cold vs. varm starts of the application. Apparently, after a reboot of the client PC - things are really, really bad - and it takes (sometimes) up to 30-40 secs to start the application (until we arrive at the start GUI in our app).
    If we run our application, close it down, and then restart
    without rebooting, things are a lot better. It then usually takes
    something like 15 - 20 sec. which is "acceptable". Not good, but acceptable,
    Any ideas why?
    I have googled it, and some links seems to suggest that the reason could be disk cache. Where vital jar are already in disk cache on th warm start? Does that make any sense? Virus scanners presumable runs in both cases.
    People still think that 15 - 20 sec in start up on the warm start is an awful long time, even though there is a lot, a lot, of functionality in the application.
    We got a suggestion to use IBMs JRE - as it can do some tricks (not sure what) our SUN JRE cant do concerning the warm and cold start problem. But thats is not an option for us. And noone has come up with any really good suggestions with the SUN JRE so far?
    On the Java Quick Starter (JQS) -
    improves initial startup time for most java applets and applications.
    Which might be helpful? People on the internet seem more interested
    in uninstalling the thing than actually installing it though?
    And it seems very proprietary, where we cant give our Jar files to it?
    We could obviously try to "hide" the problem in some way and make it "seem" quicker. Where perceived performance can be just as good as actual performance. But it does seem a bad solution. So for the cold start we will probably try reading the jar files and thereby have them in disk cache before startup of our application. And see if that helps us.
    Still, ok the cold start is the real killer, but warm start isn't exactly wonderfull either.
    People have suggested that we read more on the JVM and performance.
    java.sun.com.javase/technologies/performance.jsp
    java.sun.com.docs/hotspot/gc5.0/gc_tuning_5.html
    the use of JVM flags "-Xms" "-Xmx" etc etc.
    And here comes the question .. da da ...
    Concerning various suggested reading material.
    it is very much appreciated - but we will like to ask people here - if it is possibe to get more specific pointers. to where the gold might be buried.
    I.e. in a an ideal world we would have time to read and understand all of these documents in depth. However, in this less than ideal world we are also doing a lot of very timeconsuming profiling in our own java code.
    E.g. java garbage collection is is a huge subject - and JVm settings also. Sure, in the end we will probably have to do this all very thoroughly. But for now we are hoping for some heuristics on what other people are doing when facing a problem like ours..?
    Young generation, large memory pages, garbage collection threads ect. all sounds interesting - but what would you start with?
    If you don't have info to decide - what kind of profiling would you be running and then adjust what JVM setting in your trials?
    In this pressed for time scenario. Ignorance is not bliss. But makes it hard to pinpoint the or those JVM parameters to adjust. So some good pointers from experienced JVM "configurators" will be much appreciated!
    Actually, If we can establish that finetuning of these parameters is a good idea, it will certainly also be much easier to allocate the time for doing so. - reading, experimenting etc. in our project.
    So, All in all , what kinds of performance improvements can we hope for? 5 out of 20 secs on the warm start? Or is it 10 % nitpicking? Whats the ball park figure for what we can hope to achieve here given our setup? What do you think based on above?
    Maybe someone out there have done some finetuning of JVM parameters in a similiar PC environments like, with similiar fat clients...? Finetuning so and so - gave 5 secs. So start your work with these one-two parameters?
    Something like that - some best practices? Thats what we are hoping for.
    best wishes
    -Simon

    Thanks for helpful answer from both you and kajbj.
    The app doesn't use shared network drives.
    What are you doing between main starts to get executed and the UI is
    displayed?
    Basicly, Calculating what to show in the UI. Accessing server - not so much, there are some reads from a cache, but the profiling doesnt indicate that it should be a problem. Sure, I could shift the startup time to some other slot, but sofar I havent found a place where the end-user wouldnt be annoyed.> Caching of something would seem most obvious. Normal VM stuff >seems unlikely. With profiling i basicly find that ''everything'' takes a lot longer in the cold start scenario. Some of our local java methods are going to be rewritten following our review. But what else can be tuned?You guys dont think the Java Quick Start approach, with more jars in disk cache will give something? And how should that be done/ what does people do?I.e. For the class loader I read something about
    1.Bootstrap class loader
    2.Extensions class loader
    3.System class loader
    and is wondering if this has something to do with the cold start problem?
    The extensions class loader loads the code in the extensions directories (<JAVA_HOME>/lib/ext
    So, we should move app classes to ext? Put them in one jar file? (We have many). Best practice about that?
    Otherwise it seems to me that it must be about finetuning the JVM?
    I imagine that it is a question about:
    1. the right heap size
    2. the right garbage collection scheme
    Googling heap size for XP
    CHE22 writes:
    You are right; -Xms1600M works well, but -Xms1700M bombs
    Thats one best practice or what?
    On garbage collection, there are numerous posts, and much "masters of Java black art" IMHO, And according to profiling GC is not really that much of a problem anyway? Still,
    Based on my description I was hoping for a short reply like "try setting these two parameters on your xp box, it worked for me" ...or something like that. With no takers on that one, I fear people are saying that there is nothing to be gained there?
    we read:
    [ -Xmx3800m -Xms3800m
    Configures a large Java heap to take advantage of the large memory system.
    -Xmn2g
    Configures a large heap for the young generation (which can be collected in parallel), again taking advantage of the large memory system. It helps prevent short lived objects from being prematurely promoted to the old generation, where garbage collection is more expensive.
    Unless you have problems with pauses, try granting as much memory as possible to the virtual machine. The default size (64MB) is often too small.
    Setting -Xms and -Xmx to the same value increases predictability by removing the most important sizing decision from the virtual machine. On the other hand, the virtual machine can't compensate if you make a poor choice.
    The -XX:+AggressiveHeap+ option inspects the machine resources (size of memory and number of processors) and attempts to set various parameters to be optimal for long-running, memory allocation-intensive jobs]
    So is Setting -Xms and -Xmx and -XX:AggressiveHeap
    best practice? What kind of performance improvement should we expect?
    Concerning JIT:
    I read this one
    [the impact of the JIT compiler is obvious on the graph: at startup the time taken is around 500us for the first few values, then quickly drops to 130us, before falling again to 70us, where it stays for 30 minutes,
    for this specific issue, I greatly improved my performances by configuring another VM argument: I set -XX:CompileThreshold=50]
    The size of the cache can be changed with
    -Xmaxjitcodesize
    This sounds like you should do something with JIT args, but reading
    // We disable the JIT during toolkit initialization. This
    // tends to touch lots of classes that aren't needed again
    // later and therefore JITing is counter-productiive.
    java.lang.Compiler.disable();
    However, finding
    the sweet spots for compilation thresholds has been tricky, so we're
    still experimenting with the recompilation policy. Work on it
    continues.
    sounds like there is no such straigth forward path, it all depends...
    Ok, its good, when
    [Small methods that can be more easily analyzed, optimized, and inlined where necessary (and not inlined where not necessary). Clearly delineated uses of data so that usage patterns and lifetimes are apparent. ]
    but when I read this:
    [The virtual machine is responsible for byte code execution, storage allocation, thread synchronization, etc. Running with the virtual machine are native code libraries that handle input and output through the operating system, especially graphics operations through the window system. Programs that spend significant portions of their time in those native code libraries will not see their performance on HotSpot improved as much as programs that spend most of their time executing byte codes.]
    I have the feeling that we might not able to improve performance that way?
    Any comments?
    otherwise i was wondering about
    -XX:CompileThreshold=50 -Xmaxjitcodesize (large, how large?)
    Somehow, we still feel that someone out there should have experienced similiar problems? But obviously there is no guarantee that the someone should surf by here!
    In c++ we used to just write everything ourselves. Here it does seem to be a question about the right use of other peoples stuff?
    Where you are kind of hoping for a shortcut, so you dont have to read endless number of documents, but can find a short document that actually addresses your problem ... well.
    -Simon
    Edited by: simoncpm on Mar 15, 2010 3:43 PM
    Edited by: simoncpm on Mar 15, 2010 3:53 PM

  • Trying to understand JRE & MS JVM better

    Hello,
    Before I get to my question I need to give some background. Sorry for such a lengthy post.
    An issue recently came up that made me realize I don't really understand the whole relationship between JRE, the MS JVM and Internet Explorer.
    Here's the scenario:
    - One of our internal sites has two applets that were written years ago with Java 1.2.
    - Users are able to see those applets without having the Sun JRE installed. I assumed that meant they're using the MS JVM
    - While moving to a new IDE we had to "upgrade" the applets to run on Java 1.4.2.09.
    - The users that didn't have the Sun JRE can no longer see the applet. All they get is a grey box
    - Users who have Sun JRE installed can see applet but ONLY if they have changed the options in IE to use the Sun JVM
    So far so good. However, while researching this I found some users with many versions of the Sun JRE installed.
    That got me thinking (here come the questions):
    1) If someone has the Sun JRE installed but doesn't have any browsers selected on the Browsers tab, is it being used for ANYTHING?
    2) If someone has many versions of the JRE installed, how can I tell which if any of them is actually being used?
    Thanks much for any replies.
    David.

    1. one of the jvms will be used, sun jvm or ms jvm;
    2. The latest version will be selected for you automatically.

  • JVM 1.4 and applet issue

    Hi,
    I'm new to Java so hopefully you'll be able to clear something up for me. I have had a look round, but am struggling due to my lack of Java knowledge.
    I have an application which passes an applet to IE. The connection is over https. With anything else other than 1.4 JVM installed, its fine, but with 1.4 I see "applet notinited" followed by "load failed".
    Both the server and client use certificates and I've been told this won't work with client certs - not sure why, so the first question...is there a bug in 1.4 related to the use of client certs?
    Here is a cut of the console log....
    lots of...loaded certificates messages (no errors/warnings)
    then....
    a connecting to the site message (no errors/warnings)
    then...
    sun.plugin.cache.DownloadException
         at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
         at sun.plugin.cache.FileCache.get(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    lots of...loaded certificates messages (no errors/warnings)
    then....
    a connecting to the site message (no errors/warnings)
    then...
    load: class com.fred.fred.fred not found.
    java.lang.ClassNotFoundException: com.fred.fred.fred
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Exception: java.lang.ClassNotFoundException: com.fred.fred.fred
    Now, without client certificates I also have issues....so, the second question - is there something here which is not client certificate related, and although I would never speculate....https related for example?
    Thank you very much for any help

    Hi,
    Listen, Sun doesn't know exactly what they are doing.
    I installed the JDK 1.4.x on my machine b/c I need to
    run this program for my Advanced Databases course. I
    didn't install the JDK by choice. Now when I goto a
    website that has a Java applet on it, IT DOESN'T
    WORK!!!! It worked FINE with the JVM that Microsoft
    provided in Windows XP! Further, Sun DOESN'T FOLLOW
    the "Set Program Access and Defaults" in Windows XP
    SP1!!! I change the default JVM to the Microsoft JVM,
    reload IE, and then on the webpage it persists to use
    the Sun JVM!
    THANK YOU SUN FOR SCREWING WITH MY MACHINE! Have you got JRE1.4.x installed for the IE you are using.Download the java plug in for the browser and install it...
    Regards
    Vicky

  • How to perform a Oracle-Offline-Backup started from within SAP in Cluster

    Hello,
    I didn't find a solution on web (at SAP/SUN/newsgroups) for the following problem:
    environment
    - offline-backup of Oracle-database (database of an SAP-R/3 ERP-system)
    - Sun Cluster 3.1 environment (SUNW.oracle_server:3.1, SUNW.oracle_listener:3.1, SUNW.sap_ci_v2)
    - backup should be started from within the SAP R/3 scheduler (SAP transaction: db13)
    - Oracle-RMAN-backup with Legato networker 7.1
    - SID of SAP-system: Q22
    problem
    When SAP starts the backup-job (scheduler: db13, type: Full database offline backup >> option: offline_force) the brbackup commands shuts down the database and starts RMAN-backup. But then the Sun Cluster sees that the database is down and starts it up. This action of the cluster crashes the backup.
    Now I found a tricky solution for that problem:
    1.
    Install sudo because the following script will not be run as root...
    2.
    run visudo and add this line (the scheduler db13 uses the OS-user <SID>adm)
    q22adm ALL=NOPASSWD: /usr/cluster/bin/
    3.
    make a shell-script which should reside on a global mount:
    /sapmnt/Q22/MB/offline_backup_Q22.sh
    #!/bin/sh
    /usr/local/bin/sudo /usr/cluster/bin/scswitch -n -j Q22db-srv
    sleep 10
    /usr/sap/Q22/SYS/exe/run/brbackup -u / -c force -t offline_force -m full -p initQ22rmanoffline.sap
    /usr/local/bin/sudo /usr/cluster/bin/scswitch -e -j Q22db-srv
    4.
    edit the table sapr3.sxpgcotabe in the Oracle-database and add an entry like:
    NAME: ZOFFLINEBACKUP_Q22
    OPSYSTEM: ANYOS
    OPCOMMAND: /sapmnt/Q22/MB/offline_backup_Q22.sh
    this is not possible via SAP, use Oracle-tools!
    5.
    edit table sdbac via SAP-transaction se16, select DBSYS=ORACLE and add an entry like:
    SHORTCUT ZOFF
    DBSYS ORACLE
    OPSYS *
    LANGUAGE E
    SHORTNAM FullOffClu
    LONGNAME Full database offline backup >SunCluster
    HOST $DBHOST
    CTYPE EXT
    CNAME ZOFFLINEBACKUP_Q22
    6. Schedule the offline-backup via SAP-transaction (new type available: Full database offline backup >SunCluster)
    I hope that maybe helps someone...
    cu, Otmar

    You may find further informations here:
    <span style="text-decoration: none"><font color="#0000FF">www.oracle-10g.de</font></span></font></strong></span></p>
    <p><span class="bibliotext"><strong>
    <font size="2" face="Arial">

  • Solaris Cluter 3.2 for SAP

    Hello All,
    My SAP production environment needs to be running under Solaris Cluster 3.2. I am thinking of T5440 servers - 2 in number and StorageTek 6140. The agents available for SAP on Solaris Cluster 3.2 are:
    Sun Cluster HA for SAP (failover or scalable).
    Sun Cluster HA for SAP LiveCache (failover).
    Sun Cluster HA for SAP Web Application Server (failover or scalable).
    Sun Cluster HA for SAP DB (failover)
    The ERP 6.0, EP 7.0, BI7.0 and Oracle HA DB needs to failover from one node to another.
    My question is: What agents do I need to purchase for failing over the above the applications beside Sun Cluster HA for Oracle.
    SAP vendor is asking me to provide three logical host names. The idea of Solaris 10 zones came into my mind.
    Zones can be implemented with Sun Cluster 3.2 software in the global zone. That is, Sun Cluster 3.2 with zones enabled will be treated like physical nodes to be part of Sun Cluster Resource Groups. I feel it is best for those applications which are supported with containers and have a Sun Cluster agent but don't have the requirement of the zone itself failing over in case of a failure.
    Any suggestions will be helpful.
    Best Regards,
    Bruce

    You might be interested to read the following Solaris Cluster for SAP Configuration Guide:
    [http://www.sun.com/third-party/global/sap/collateral/SAP-Cluster-Config-final.pdf|http://www.sun.com/third-party/global/sap/collateral/SAP-Cluster-Config-final.pdf]
    Regards
    Thorsten

  • JVM 1.4 and Windows XP!!!!

    Listen, Sun doesn't know exactly what they are doing. I installed the JDK 1.4.x on my machine b/c I need to run this program for my Advanced Databases course. I didn't install the JDK by choice. Now when I goto a website that has a Java applet on it, IT DOESN'T WORK!!!! It worked FINE with the JVM that Microsoft provided in Windows XP! Further, Sun DOESN'T FOLLOW the "Set Program Access and Defaults" in Windows XP SP1!!! I change the default JVM to the Microsoft JVM, reload IE, and then on the webpage it persists to use the Sun JVM!
    THANK YOU SUN FOR SCREWING WITH MY MACHINE!

    Hi,
    Listen, Sun doesn't know exactly what they are doing.
    I installed the JDK 1.4.x on my machine b/c I need to
    run this program for my Advanced Databases course. I
    didn't install the JDK by choice. Now when I goto a
    website that has a Java applet on it, IT DOESN'T
    WORK!!!! It worked FINE with the JVM that Microsoft
    provided in Windows XP! Further, Sun DOESN'T FOLLOW
    the "Set Program Access and Defaults" in Windows XP
    SP1!!! I change the default JVM to the Microsoft JVM,
    reload IE, and then on the webpage it persists to use
    the Sun JVM!
    THANK YOU SUN FOR SCREWING WITH MY MACHINE! Have you got JRE1.4.x installed for the IE you are using.Download the java plug in for the browser and install it...
    Regards
    Vicky

Maybe you are looking for