IBM JDK 6 32bit & 64bit Reflection Invoke issue on Weblogic 10.3

We just found a issue on Weblogic 10.3 with IBM JDK 6 32bit, which calls different method during reflection invoke with that been processed under 64bit JDK, here is my source code:
public class ButtonTag extends InputTag {
private boolean checkNotNull = false;
public void setCheckNotNull(Object checkNotNull) {
public void setCheckNotNull(boolean checkNotNull) {
this.checkNotNull = checkNotNull;
this.setUserSetCheckNotNull(true);
Under 64bit, reflection invoke will call setCheckNotNull(boolean checkNotNull), however under 32bit, it will call setCheckNotNull(Object checkNotNull), actually 32bit version is doing something wrong, we are not sure it is a issue of weblogic or IBM JDK, pls refer the information below for details, Thanks
OS: AIX 5.3
AIX@ /usr/java6/bin./java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap3260sr2-20080818_01(SR2))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260-20080816_22093 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_bHdSMr
JIT - r9_20080721_1330ifx2
GC - 20080724_AA)
JCL - 20080808_02
AIX@ /usr/java6_64/bin./java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460sr6-20090925_01(SR6))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr6-20090923_42924 (JIT enabled, AOT enabled)
J9VM - 20090923_042924
JIT - r9_20090902_1330ifx1
GC - 20090817_AA)
JCL - 20090924_01
AIX server107 3 5 00CE9E7B4C00

The problem was the name of the Seam EJB module. Changing the jar to jboss-seam.jar, everything worked. This issue does not appear on JBoss 4.2.3.GA, where I also tested.
Edited by: deadlock_gr on Jun 10, 2010 9:55 AM
Edited by: deadlock_gr on Jun 10, 2010 9:56 AM

Similar Messages

  • How to identify the installed Weblogic Server and JDK are 32bit or 64bit?

    Hi everyone,
    I have a question ~
    Both Weblogic Server and JAVA JDK are installed on the server already, but I only know the Weblogic Server is 10.3.4.0 and JAVA JDK version is 1.6.0_25.
    I know the 64bit Weblogic Server installation file is a wlsXXXX_generic.jar package and 64bit JAVA JDK needed also.
    But, since the Weblogic installed already, there are no such installation files on the Linux Server now.
    I have tried the "java -version" for java version and check the Weblogic version from Weblogic console.
    How to identify the installed Weblogic Server and JDK are 32bit or 64bit with Linux command? Or is there any way to check it?

    What you can try to do is use WLST (or an MBean browser, such as JConsole or JRockit Mission Control) and connect to the adminserver.
    For example when using WLST:
    # set the environment by using setWLSEnv.sh (located in the ${WL_HOME}/server/bin directory).
    # start WLST by using: java weblogic.WLST
    # connect to the adminserver
    connect('adminusername','adminpassword');
    # change to the serverruntime environment
    serverRuntime();
    # show the attributes
    ls();
    # Here an attribute is shown called WebLogicVersion that shows the version of WebLogic
    -r--   WeblogicVersion                              WebLogic Server 10.3.5.0  Fri Apr 1 20:20:06 PDT 2011 1398638
    # Note that this does not show if is 32 bits or 64 bits to retrieve this information you have obtain the JVM version
    # change the directory
    cd('JVMRuntime/AdminServer');
    # show the attributes
    ls();
    -r--   Version                                      R28.0.1-21-133393-1.6.0_20-20100512-2126-linux-x86_64
    # when you have something like x86 at the you are running a 32 bit version, if you have something like x86_64 you are running a 64 bits versionAs mentioned above you can also retrieve this information by using a MBean browser.

  • OAS 10.1.3 PatchSet 3 on IBM AIX 5.3 installs a 2 year old IBM JDK - why ?

    We're running OAS 10.1.3.0.0 on IBM AIX 5.3 and due to some crashing issues OSS recommended to upgrade to PatchSet 3 (so 10.1.3.3.0).
    We originally were running OAS with IBM's SR4 of the IBM JDK.
    Now after the upgrade to Patchset 3 (on a test machine), the ORACLE_HOME/jdk version seems to be the first release of the v5 jdk from 2005. It's SR nothing ... J2RE 1.5.0 IBM AIX build jclap32dev-20051102 java
    It's 2 years old for heavans sake !!!! Not even DST patched.
    What am I missing? OAS 10.1.3.3.0 is pretty much THEE most latest version of OAS Oracle has, yet it comes with a 2 year old JDK. Why? This doesn't sound right, why would a company of Oracle stature do this?
    Are others experiencing this also? Why doesn't Oracle bundle a more updated JDK with OAS?

    It's not a symlink.
    Oracle has a script (jdkfix.sh) and a procedure for upgrading the jdk inside OH/jdk. We went thru this on all our OAS 10.1.2.0.2 enviro's and 10.1.3.0.0.
    One metalink note that talks about this is Doc. 272808.1.
    Basically, you install the AIX jdk in the IBM /usr directory and then run jdkfix.sh which essentially copies the jdk over to ORACLE_HOME/jdk.
    There don't seem to be any Oracle supplied patches for any OAS that upgrades the jdk. Which is a bit wonky.
    Here's the ls -l from our prod OAS 10.1.3.0.0 install:
    drwx------   6 oracle   oinstall        256 Nov 29 2006  Apache
    drwx------   5 oracle   oinstall        256 Nov 29 2006  BC4J
    drwx------   5 oracle   oinstall       4096 Mar 04 2007  OPatch
    drwx------   5 oracle   oinstall        256 Nov 29 2006  ant
    drwx------   3 oracle   oinstall        256 Nov 29 2006  assistants
    drwx------   6 oracle   oinstall       4096 Nov 29 2006  backup_restore
    drwx------   2 oracle   oinstall       4096 Nov 29 2006  bin
    drwx------   2 oracle   oinstall        256 Nov 29 2006  cfgtoollogs
    drwx------   5 oracle   oinstall        256 Nov 29 2006  chgip
    drwx------   2 oracle   oinstall        256 Nov 29 2006  config
    drwx------   8 oracle   oinstall        256 Nov 29 2006  datadirect
    drwx------   4 oracle   oinstall        256 Nov 29 2006  diagnostics
    drwx------   7 oracle   oinstall       4096 Nov 29 2006  dsa
    drwx------   3 oracle   oinstall        256 Nov 29 2006  emdw
    drwx------   3 oracle   oinstall        256 Nov 29 2006  encryption
    drwx------   4 oracle   oinstall        256 Nov 29 2006  has
    drwx------   3 oracle   oinstall        256 Nov 29 2006  hs
    drwx------   5 oracle   oinstall        256 Nov 29 2006  iaspt
    drwxr-xr-x   2 oracle   oinstall        256 Dec 20 2006  ibmFix
    drwx------   3 oracle   oinstall        256 Nov 29 2006  install
    -rw-------   1 oracle   oinstall         38 Nov 29 2006  install.platform
    drwx------  13 oracle   oinstall       4096 Mar 04 2007  inventory
    drwx------   5 oracle   oinstall        256 Dec 03 2006  j2ee
    drwx------   6 oracle   oinstall        256 Nov 29 2006  javacache
    drwx------   3 oracle   oinstall        256 Nov 29 2006  javavm
    drwx------   4 oracle   oinstall        256 Nov 29 2006  jdbc
    drwxr-xr-x   7 oracle   oinstall        256 Mar 14 2007  jdk
    drwxr-xr-x   7 oracle   system          256 Dec 20 2006  jdk.141
    drwx---r-x   8 oracle   oinstall        256 Nov 29 2006  jdk.bundled
    drwx------   2 oracle   oinstall       4096 Nov 29 2006  jlib
    drwx------   3 oracle   oinstall        256 Nov 29 2006  jre
    drwx------   8 oracle   oinstall        256 Nov 29 2006  ldap
    drwx------   2 oracle   oinstall      12288 Nov 29 2006  lib
    drwx------   2 oracle   oinstall      12288 Nov 29 2006  lib32
    drwx------   3 oracle   oinstall        256 Nov 29 2006  mds
    drwx------  12 oracle   oinstall       4096 Nov 29 2006  network
    drwx------   5 oracle   oinstall        256 Nov 29 2006  nls
    drwxr-xr-x  10 oracle   oinstall       4096 Jan 28 2007  opmn
    drwx------   4 oracle   oinstall        256 Nov 29 2006  opsm
    -rw-r--r--   1 oracle   oinstall         55 Nov 28 2006  oraInst.loc
    drwx------   4 oracle   oinstall        256 Nov 29 2006  oracore
    drwx------   4 oracle   oinstall        256 Nov 29 2006  ord
    drwx------   6 oracle   oinstall        256 Nov 29 2006  oui
    drwx------   4 oracle   oinstall        256 Nov 29 2006  owm
    -rw-r-----   1 oracle   oinstall     312588 Mar 04 2007  p2617419_10102_GENERIC_OPATCH.zip
    drwx------   6 oracle   oinstall        256 Nov 29 2006  perl
    drwx------   5 oracle   oinstall        256 Nov 29 2006  plsql
    drwx------   6 oracle   oinstall        256 Nov 29 2006  precomp
    drwx------  10 oracle   oinstall        256 Nov 29 2006  rdbms
    drwx------   3 oracle   oinstall        256 Nov 29 2006  relnotes
    -rwx------   1 oracle   oinstall       5532 Nov 29 2006  root.sh
    drwx------   4 oracle   oinstall        256 Nov 29 2006  rules
    drwx------   3 oracle   oinstall        256 Nov 29 2006  slax
    drwx------   3 oracle   oinstall        256 Nov 29 2006  sqlj
    drwx------   7 oracle   oinstall        256 Nov 29 2006  sqlplus
    drwx------   5 oracle   oinstall        256 Nov 29 2006  srvm
    drwx------   4 oracle   oinstall        256 Nov 29 2006  sysman
    drwx------   3 oracle   oinstall        256 Nov 29 2006  tg4sybs
    drwx------   4 oracle   oinstall        256 Nov 29 2006  toplink
    drwx------   4 oracle   oinstall        256 Nov 29 2006  uix
    drwx------   3 oracle   oinstall        256 Nov 29 2006  webservices
    drwx------   4 oracle   oinstall        256 Nov 29 2006  xdk
    drwx------   4 oracle   oinstall        256 Nov 29 2006  xdsOn our test OAS 10.1.3.3.0 machine :
    drwx------   6 oracle   oinstall        256 Oct 04 10:04 Apache
    drwx------   5 oracle   oinstall        256 Oct 04 10:03 BC4J
    drwx------   5 oracle   oinstall        256 Feb 07 15:37 OPatch
    drwx------   5 oracle   oinstall        256 Oct 04 10:03 ant
    drwx------   3 oracle   oinstall        256 Oct 04 10:03 assistants
    drwx------   6 oracle   oinstall       4096 Oct 04 10:01 backup_restore
    drwx------   2 oracle   oinstall       4096 Feb 07 15:43 bin
    drwx------   2 oracle   oinstall        256 Feb 07 15:45 cfgtoollogs
    drwx------   5 oracle   oinstall        256 Oct 04 10:01 chgip
    drwx------   6 oracle   oinstall        256 Feb 07 15:37 clone
    drwx------   2 oracle   oinstall       4096 Feb 07 15:43 config
    drwx------   8 oracle   oinstall        256 Oct 04 09:59 datadirect
    drwx------   2 oracle   oinstall        256 Feb 07 15:39 deconfig
    drwx------   5 oracle   oinstall        256 Feb 07 15:38 diagnostics
    drwx------   7 oracle   oinstall       4096 Feb 07 15:38 dsa
    drwx------   3 oracle   oinstall        256 Oct 04 10:01 emdw
    drwx------   3 oracle   oinstall        256 Oct 04 10:00 encryption
    drwx------   4 oracle   oinstall        256 Oct 04 10:01 has
    drwx------   3 oracle   oinstall        256 Oct 04 10:00 hs
    drwx------   5 oracle   oinstall        256 Oct 04 10:03 iaspt
    drwx------   3 oracle   oinstall       4096 Feb 07 15:43 install
    -rw-------   1 oracle   oinstall         38 Oct 04 09:58 install.platform
    drwx------  14 oracle   oinstall       4096 Feb 07 15:46 inventory
    drwx------   5 oracle   oinstall        256 Oct 10 17:11 j2ee
    drwx------   6 oracle   oinstall        256 Oct 04 10:02 javacache
    drwx------   3 oracle   oinstall        256 Oct 04 10:00 javavm
    drwx------   4 oracle   oinstall        256 Oct 04 10:03 jdbc
    drwx---r-x   8 oracle   oinstall        256 Oct 04 09:59 jdk
    drwx------   2 oracle   oinstall       4096 Feb 07 15:39 jlib
    drwx------   3 oracle   oinstall        256 Oct 04 09:59 jre
    drwx------   8 oracle   oinstall        256 Oct 04 10:02 ldap
    drwx------   2 oracle   oinstall       8192 Feb 07 15:46 lib
    drwx------   2 oracle   oinstall       8192 Feb 07 15:46 lib32
    drwx------   3 oracle   oinstall        256 Oct 04 10:03 mds
    drwx------  12 oracle   oinstall       4096 Oct 04 10:07 network
    drwx------   5 oracle   oinstall        256 Oct 04 10:02 nls
    drwx------   3 oracle   oinstall        256 Feb 07 15:43 opatches
    drwx------   7 oracle   oinstall        256 Oct 04 10:02 opmn
    drwx------   4 oracle   oinstall        256 Oct 04 10:00 opsm
    -rw-------   1 oracle   oinstall         68 Jan 12 2007  oraInst.loc
    drwx------   4 oracle   oinstall        256 Oct 04 10:02 oracore
    drwx------   4 oracle   oinstall        256 Oct 04 10:01 ord
    drwx------   6 oracle   oinstall       4096 Feb 07 15:43 oui
    drwx------   4 oracle   oinstall        256 Oct 04 10:03 owm
    drwx------   6 oracle   oinstall        256 Oct 04 10:02 perl
    drwx------   5 oracle   oinstall        256 Oct 04 10:01 plsql
    drwx------   6 oracle   oinstall        256 Oct 04 10:01 precomp
    drwx------  10 oracle   oinstall        256 Oct 04 10:03 rdbms
    drwx------   3 oracle   oinstall        256 Oct 04 10:03 relnotes
    -rwx------   1 oracle   oinstall        607 Feb 07 15:43 root.sh
    -rwx------   1 oracle   oinstall       5510 Oct 04 10:09 root.sh.old
    drwx------   5 oracle   oinstall        256 Feb 07 15:38 rules
    drwx------   3 oracle   oinstall        256 Oct 04 10:01 slax
    drwx------   3 oracle   oinstall        256 Oct 04 10:03 sqlj
    drwx------   7 oracle   oinstall        256 Oct 04 10:03 sqlplus
    drwx------   5 oracle   oinstall        256 Oct 04 10:02 srvm
    drwx------   4 oracle   oinstall        256 Oct 04 10:02 sysman
    drwx------   3 oracle   oinstall        256 Oct 04 10:00 tg4sybs
    drwx------   4 oracle   oinstall        256 Oct 04 10:02 toplink
    drwx------   4 oracle   oinstall        256 Oct 04 10:02 uix
    drwx------   3 oracle   oinstall        256 Oct 04 10:03 webservices
    drwx------   5 oracle   oinstall        256 Feb 07 15:37 xdk
    drwx------   4 oracle   oinstall        256 Oct 04 09:59 xds
    drwx------   4 oracle   oinstall        256 Feb 07 15:38 xqs

  • NW04s Linux Trial : problem installing IBM JDK Fedora Core 6

    Hi,
    I'm trying to install the NW04S Linux Preview on a Fedora Core 6 distribution and I'm encountering a problem with the IBM JDK 1.4.2 installation.
    I've downloaded the RPM package from IBM (IBMJava2-AMD64-142-SDK-1.4.2-7.0.x86_64.rpm
    ), installed it as root but when I try to invoke the virtual machine (java) or the compiler (javac), I got the following error :
    libjvm.so preloadLibrary: /libj9vm22.so: cannot open shared object file: No such file or directory
    libjvm.so failed to load: j9vm22
    Has anyone tried to install the Linux Preview on Fedora and encountered the same problem. It might be connected to some sort of the linux dynamic linker/loader (ld.so) or versions of librairies.
    I'm really lost here and I won't be able to start the installation without a working virtual machine.
    Thanks

    I have double checked the link provided to the IBM JDK in the Linux Trial and it seems I had the wrong version. I've downloaded IBMJava2-AMD64-142-SDK-1.4.2-7.0.x86_64.rpm (1.4.2-7) and the special version for SAP is the IBMJava2-AMD64-142-SDK-1.4.2-2.0.x86_64.rpm (1.4.2-2).
    I have installed it : rpm -ivh IBMJava2-AMD64-142-SDK-1.4.2-2.0.x86_64.rpm
    I have installed it and activated it as the default JVM using alternatives command :
    alternatives --install /usr/bin/java java /opt/IBMJava2-amd64-142/bin/java 2
    alternatives --config java
    I now have a different error :
    [root@macpro ~]# java
    JVM not found: libjvm.so  - libjvm.so
    What could have I done wrong ?
    Thanks for you help

  • Latest IBM JDK version supported by SAP

    Hi there, we are having some Java performance issues in our landscape and the recommendation from SAP is to install the latest IBM JDK release supported by SAP, can you help me determine what the latest release is and where I can find the download?
    Thanks

    Hey James,
      The best thing to do is to check the Product Availability Matrix (PAM) for your release on service marketplace.
    http://service.sap.com/pam
    We're on Netweaver7 with EhP1 and the PAM suggestst the latest server-side JDK supported for us is 1.4.2. Here's the results or "java -version" on an ECC6.0 server in our landscape:
    root@#######:/>java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
    Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142-20080122 (SR10) (JIT enabled: jitc))
    Hope this helps.
    -Kevin

  • SPNego for multi-forest using IBM JDK

    Hi All,
    I need to setup SPNego authentication for EP7 and IBM JDK for a multi-forest landscape (2 Active directory domains).  There's a guide about how to do this for Sun JDK : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c771c3d3-0c01-0010-b5b6-86755a2cf778 but I need one for IBM JDK as the login stack mudules are different.
    Can anyone supply me with a guide or any helpful information regarding this ?  Do you know if it works?  I've currently got SPNego working for a single domain.
    Thanks in Advance,
    Anthony

    Jan,
    ok, thanks. I will now explain how I think we can help.
    Firstly, to be sure you understand - I represent a SAP partner company known as CyberSafe, and we have a product which uses SPNEGO for Kerberos authentication in a browser environment, so my answer relates mainly to our product functionality, and not related to the SAP login module, which has less functionality.
    I must also apologise in case anybody reading this thread has an issue with me discussing non-SAP software. My view is that the most important thing on this forum is to help you (the SAP customer) get a solution that meets your needs, and if this involves SAP Partner products as well as SAP products, then that is acceptable.
    Firstly, our product does not use the Java implementation of Kerberos. Instead, we use a JNI (Java Native Interface) so that our host based Kerberos library can be used to implement the protocol. This means that any differences between IBM, SUN or any other vendor JDK version related to Kerberos functionality, multi-domain support etc. are not relavent to our product. We support many things in our product which are not supported in Java implementations of Kerberos, so you don't need to wait for new versions of JDK to take advantage.
    Secondly, and perhaps more relavent to this discussion is that our login module authenticates the user by decrypting the service ticket received using the key in the Key Table File on the host, and then we map this principal name onto a SAP user id. We then (via. the login module stack) cause the SAP system to issue an SSO2 logon ticket for this user id. The secret is the way we perform the mapping - we are not dependant on UME datasources for this, and I will describe below how we acheive mapping by using an example :
    Lets suppose a user is authenticated as user.name@DOMAIN1, the SAP system login module has been setup using domain 2 (Realm = DOMAIN2) and trusted via a key in a key table file, with principal name of HTTP/hostname@DOMAIN2. Then, using normal Kerberos cross realm trust, and cross realm TGTs the browser requests a ticket from AD for HTTP/hostname@DOMAIN2, and this is issued by AD in domain 2 using the cross realm TGT, but the principal name of the authenticated user inside this service ticket is user.name@DOMAIN1. The login module on the SAP server can decrypt the ticket it receives to find the users Kerberos principal name.
    So, the login module knows the user is user.name@DOMAIN1, it then has to decide how to determine the SAP user id. Our login module currently supports two different methods of performing this mapping, but we are adding more methods in each release to make the product even more flexible. Currently we support the following methods :
    1. Simple mapping - this is where we remove the realm name and convert the principal name to upper case, so in this example user.name@DOMAIN1 would be mapped to a SAP userid of USER.NAME and used to issue an SSO2 ticket. Clearly this is only suitable for single domains, and makes administration very easy - many of our customers use this method, but you would need a different mapping method due to yoru multiple domains.
    2. USRACL mapping - Since we also sell an SNC product for SAP GUI SSO, our customers already maintain mapping of Kerberos principal name to SAP user id using a table in ABAP engine called USRACL. This table is maintained using SU01 transaction. We now have support in our login module to read the USRACL table using the authenticated Kerberos principal name of the user (e.g. user.name@DOMAIN1) and find the required SAP user id, so that an SSO2 logon ticket can be issued.
    I hope this helps you understand. If you are interested in more detail about our product, and how we might be able to help you, please feel free to contact me offline instead of via this forum.
    Thanks,
    Tim

  • JSPM startup fails with IBM JDK 1.4.2 SR13

    Hi experts,
    I´m upgrading my Portal to EHP1 SP06. After the upgrade I checked SDM and JSPM, SDM is working fine but the JSPM don´t start any more.
    I just getting the information after starting the script 'go' under AIX:
    'Waiting for SDTServer to connect ...'
    Nothing happened after 10min...
    Just want to let you that this issue is caused by a buggy version of the AIX JDK.
    There is a new sapnote 1422869 for this issue, please have a look.
    Solution
    Use the actual recommended "IBM JDK 1.4.2 SR13 FP4 ifix" or SR13 without any FP.
    The problem was introduced with SR13 FP2 and is in FP3 and FP4 too.
    Install the recommended "IBM JDK 1.4.2 SR13 FP4 ifix" to solve the problem (see SAP note 1008311 or 1024539). As a workaround you can use the remote GUI from another system using a not affected JDK.
    I installed IBM JDK 1.4.2 SR13 without any FP and the JSPM is working again
    You can get the new Java versions directly from IBM, click here to download it.
    Regards,
    Jens

    Hi,
    While installing solution manager 4 (SLES x86_64) I also run into the problem "ibjvm.so preloadLibrary: /opt/IBMJava2-amd64-142/jre/bin/j9vm/libj9vm22.so: cannot open shared object file: No such file or directory" during the phase "Create Java users"
    I've taken your advice (Chris B) and the installation carries on with out a problem. (and the java instance has started)
    When I stop and start sap, I then cannot get the Java instance to start again!
    The error in the "std_bootstrap.out" has the message; "libjvm.so preloadLibrary: /opt/IBMJava2-amd64-142/jre/libj9vm22.so: cannot open shared object file: No such file or directory
    libjvm.so failed to load: j9vm22"
    I have set all the environmental variables including the LD_LIBRARY_PATH and JAVA_HOME
    I was wondering if you had the same problem, else if anyone else could please please help.
    Thanks,
    Chris G
    Message was edited by: Chris Geladaris

  • Regarding compatibility etween IBM JDK & Java JDK

    Hi All,
    Can I migrate a java code written in Windows & Java JDK 1.7 to AIX & IBM JDK 1.7 ?
    Will there be any compatibility issue between these two environment ?
    Thanks in advance.

    Yes you can since Java is a standard and it shouldn't matter which implementation you actually use. However there are always issues with the environment itself - the OS, the hardware, the file system, the user rights, the availability and version of installed libraries. Don't expect the stuff to just run out of the box, there are too many variables outside the control of the JVM for that.

  • IBM AIX Platform and IBM JDK

    Hi,
    We are having out of memory issue on IBM AIX 5.3 version and IBM JDK 1.4.2 J9. All the settings for jvm parameters have been made as per sap recommendations.  Now that we need to debug this issue using some java profiler tool. We tried using Sherlok but this does't seem to work on AIX platform. SAP Memory analyzer is a great tool but unfortunately is not supported with IBM JDK.
    so what is the best way to troubleshoot out of memory heap issues ? which tools needs to be used for ibm platform and ibm jdk ?

    Hi,
    unfortunately I do not have a good answer for you. We are working together with IBM to enable the Memory Analyzer read IBM system dumps. However, this will take another 6 months to materialize.
    In the meantime, the Diagnostics Guide (http://www-128.ibm.com/developerworks/java/jdk/diagnosis/index.html) might be helpful. Also look for HeapAnalzer and HeapRoots.
    Andreas.

  • WebLogic 5.1 & IBM JDK 1.1.8 on RedHat Linux 6.2

    Hello
    I am trying to get WebLogic 5.1 to run with IBM JDK 1.1.8 on a RedHat 6.2 machine. When I start the sample server, it always SIGEV in the native thread (something like that).
    I do not have any problems with the Blackdown 1.2.X JDK. I would like to evaluate the IBM JDK as that is the preferred solution in my group.
    Please reply
    Thanks you
    Narayanan Iyer
    [email protected]

    Hi Michael
    It appears to be a bug in the IBM JDK 1.1.8 release version built on May ??
    ,2000. I downloaded the newer version IBM JDK 1.1.8 built on July 13,2000
    and it appears to be fine with SP4.
    I am curious as to the status of IBM JDK1.3 on RedHat 6.2 and well as the
    SUN JDK1.3. Both appear to crash. I would really like to take advantage of
    the performance features offered.
    Thanks
    "Michael Girdley" <[email protected]> wrote in message
    news:[email protected]..
    >
    >
    Could you please post the error?
    You should also make sure that you are using a certified JVM. Theplatform
    support page for WebLogic Server is located at:
    http://www.weblogic.com/platforms/index.html
    This page has the latest and greatest information on the platforms that
    WebLogic is certified and supported on.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    "Narayanan Iyer" <[email protected]> wrote in message
    news:[email protected]..
    Hello
    I am trying to get WebLogic 5.1 to run with IBM JDK 1.1.8 on a RedHat
    6.2
    machine. When I start the sample server, it always SIGEV in the native
    thread (something like that).
    I do not have any problems with the Blackdown 1.2.X JDK. I would like toevaluate the IBM JDK as that is the preferred solution in my group.
    Please reply
    Thanks you
    Narayanan Iyer
    [email protected]

  • Error reconciling AD Lookups OIM 11g IBM JDK 6 64 bit

    Hi,
    I'm setting up SSL from OIM 11g to AD 2008, my environment is OIM 11g+ Weblogic 10.3.3 generic on IBM AIX 6.1 + IBM JDK 6 64 bit. I imported the certificate as described in AD connector documentation with "keytool". I'm getting the following ERROR when I try to run the scheduled jobs in order to perform lookup reconciliation (groups and organizations)
    <Mar 6, 2011 3:11:51 AM CST> <Error> <OIMCP.ADCS> <BEA-000000> <com.thortech.xl.integration.ActiveDirectory.tcADUtilLDAPController : addSecurityProvider : ClassNotFoundException has occured com.sun.net.ssl.internal.ssl.Provider>
    <Mar 6, 2011 3:11:51 AM CST> <Error> <OIMCP.ADCS> <BEA-000000>
    I have reviewed "java.security" in the IBM JRE and there is nothing about SUN JSSE provider. I understand I need to setup Sun JSSE in the IBM JDK but I'm not able to find information about that. I dont know if it's possible to use Sun JSSE provider in IBM or if I need to change the security provider to IBM's implementation. How to do that? I think somewhere in the weblogic configuration.
    Please helps me, how can I set up the correct configuration.
    Regards
    Juan

    From Sun JDK 1.6 updae 18+ 64 bit, copy the jsse.jar in the OIM_HOME/server/ThirdParty and restart the servers

  • Bug in WebLogic 8.1 SP4 for IBM JDK 1.4.2?

    Hello,
    <p>
    In a previous thread i posted (http://forums.bea.com/bea/thread.jspa?threadID=600006934&tstart=0), I reported that we had problems in trying to use JAAS in connecting Acegi with WebLogic 8.1 SP4 on IBM JDK 1.4.2
    <p>
    We did some more research and found the following:
    <br>
    WebLogic uses the class <i>weblogic.security.service.ServerConfiguration</i> for reading the JAAS config file. This class extends the default <i>javax.security.auth.login.Configuration</i> class. To see what's going on we decompiled the class and it looks like this:
    <p>
    <i>
    try {
         // code omitted.
    } catch (Exception exception) {
         String s1 = System.getProperty("login.configuration.provider");
         if(s1 == null)
         s1 = "com.sun.security.auth.login.ConfigFile";
         if(!s1.equals("weblogic.security.service.ServerConfiguration"))
         try
              Configuration configuration = (Configuration)Class.forName(s1).newInstance();
              configuration.refresh();
              aappconfigurationentry = configuration.getAppConfigurationEntry(s);
         catch(Exception exception1) { }
    </i>
    <p>
    The following happens when trying to authenticate through JAAS:
    <p>
    - The "omitted code" throws the Exception <i>weblogic.security.service.InvalidParameterException: [Security:090396]Security Realm sample does not exist</i>.
    <p>
    Why is this Exception thrown? Why does the name of my JAAS configuration in the JAAS config file needs to be the same as a Security Realm? Or this try-catch block used as some kind of control flow and is this exception expected?
    <p>
    - Then in the catch block the <b>System</b>.property <i>login.configuration.provider</i> is retrieved. However the JDK Specification of the class <i>javax.security.auth.login.Configuration</i> (sse the javadoc) states that:<p>
    <i>The default Configuration implementation can be changed by setting the value of the "login.configuration.provider" security property (in the Java security properties file) to the fully qualified name of the desired Configuration implementation class</i>
    <p>
    So because the <b>System</b> property is read instead of the <b>Security</b> property (which contains the correct IBM class), <i>null</i> is returned. Is this a bug?
    <p>
    - Because the System property is <i>null</i> the code then tries to load the class <i>com.sun.security.auth.login.ConfigFile</i>, which of course is not present in the IBM JDK, and a ClassNotFoundException is thrown. Since
    the Exception is swallowed by the nested catch block we will not see this exception and <i>null</i> is returned that eventually leads to the "No LoginModule found..." exception.
    <p>
    So to summarize, my questions are these:
    <p>
    - Does the name of the JAAS configuration in the JAAS config file need to be the same as the name of the Realm? And if so why?<br>
    - Is it a bug that instead of reading the <b>Security</b> this code is reading the <b>System</b> property?
    <p><p>
    Regards,<br>
    Lars Vonk
    <p>
    PS<br>
    As a workaround we set the System property <i>login.configuration.provider</i> to the correct value <i>com.ibm.security.auth.login.ConfigFile</i> and then it works.

    Sorry, i saw the forum about your problem in BEA 8.1 SP 6 about a
    weblogic.security.SSL.SSLCertificate.verify(SSLCertificate.java:235)
    error and you said that bea sent a path named CR295205_810sp6.jar.
    I have the same problem
    Do you have this patch?
    Could you send it to me?
    my email address is
    [email protected]

  • Weblogic installation with IBM JDK

    Hi,
    We are planning to install Oracle Fusion Middleware components 11gR1 (11.1.1.6+) on IBM AIX Power 64 Bit servers. When i checked the certification matrix IBM JDK 7 SR3+ IV33133 is the certified version of JDK for weblogic installation.
    Please help me on how to exactly get/download the IBM JDK 7 SR3+ IV33133? I have checked the IBM JDK downloads page and not exactly getting how can we get SR3+ IV33133?
    Best Regards,
    Kartheek

    Hi Prakash,
    I guess the '+' sign in the IBM JDK 7 SR3 + IV33133 is bit tricky. I doubt whether it is IBM JDK 7 SR3 added with IV33133.
    I have spent quite some time on this JDK installation and got to know that the 3rd party products that are certified to run only on specific versions of IBM's Java for AIX can be downloaded from IBM Java for ISVs download page.
    Here are steps that i have followed to download the IBM JDK 7 SR3+ IV33133
    1.Go to the IBM Java for ISVs download site at the following URL:
    https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?lang=en_US&source=swg-ibmjavaisv
    2.Log in using your IBM ID and password.
    3.Enter the associated Access Key MJ3D7TQGMK in the IBM Java for ISVs page
    4.Click on submit
    5.On the IBM SDK Interim Fixes (iFix) for Oracle page you will see the below JDK versions that are exactly matching the one provided in the certification matrix.
    pap6470sr3ifx-20121213_01 (SR3+IV33133)
    Java7_64.0.0.61.tar.gz  (115 MB)
    pap6470sr3ifx-20121213_01 (SR3+IV33133)
    pap6470sr3ifx-20121213_01-sdk.tar.Z  (184 MB)
    6.installed the JDK
    Please can you confirm that this procedure is correct?
    Best Regards,
    Kartheek

  • Reflective invoke of variable-argument method?

    I'm having trouble reflectively invoking a variable-argument method. Can anyone provide a code snippet that does it? Here's my test, with the output below:
    package comet.pod;
    import java.lang.reflect.Method;
    public class Test
       public void doSomething (Object... args)
          System.out.println ("hello world");
       public void test()
          Method method = null;
          try
             Class<?> c = Test.class;
             Class[] argTypes = new Class[] { Object[].class };
             method = c.getMethod ("doSomething", argTypes);
             System.out.println ("is VarArgs? " + method.isVarArgs());
          catch (Exception x) { System.err.println (x); }
          try
             method.invoke (this, (Object[]) null);
          catch (Exception x) { System.err.println (x); }
          try
             method.invoke (this, new Object());
          catch (Exception x) { System.err.println (x); }
          try
             method.invoke (this, new Object[] { "arg" });
          catch (Exception x) { System.err.println (x); }
       public static void main (final String[] args)
          new Test().test();
    }is VarArgs? true
    java.lang.IllegalArgumentException: wrong number of arguments
    java.lang.IllegalArgumentException: argument type mismatch
    java.lang.IllegalArgumentException: argument type mismatch

    You need something like:
    method.invoke(this, new Object[] { new Object[] { "arg1", "arg2" } });To see why, consider what you would do if your method was:
    public void doSomething (Object a1, Object a2, Object... aVar)Alex

  • Encryption program does not work in IBM JDK

    Hi
    I have a encrypt, decrypt program, which does not work in IBM JDK
    the code is as below, it gives PBEWithMD5AndDES does not exist kind of error when running with IBM JDK
    import java.io.UnsupportedEncodingException;
    import java.security.spec.AlgorithmParameterSpec;
    import java.security.spec.KeySpec;
    import javax.crypto.Cipher;
    import javax.crypto.IllegalBlockSizeException;
    import javax.crypto.SecretKey;
    import javax.crypto.SecretKeyFactory;
    import javax.crypto.spec.PBEKeySpec;
    import javax.crypto.spec.PBEParameterSpec;
    public class MapsPasswordUtil
         Cipher ecipher;
         Cipher dcipher;
         // 8-byte Salt
         byte[] salt = { (byte) 0xA9, (byte) 0x9B, (byte) 0xC8, (byte) 0x32,
                   (byte) 0x56, (byte) 0x35, (byte) 0xE3, (byte) 0x03 };
         // Iteration count
         int iterationCount = 19;
         public MapsPasswordUtil(String passPhrase)
              try
                   KeySpec keySpec = new PBEKeySpec(passPhrase.toCharArray(), salt,
                             iterationCount);
                   SecretKey key = SecretKeyFactory.getInstance("PBEWithMD5AndDES")
                             .generateSecret(keySpec);
                   ecipher = Cipher.getInstance(key.getAlgorithm());
                   dcipher = Cipher.getInstance(key.getAlgorithm());
                   // Prepare the parameter to the ciphers
                   AlgorithmParameterSpec paramSpec = new PBEParameterSpec(salt,
                             iterationCount);
                   // Create the ciphers
                   ecipher.init(Cipher.ENCRYPT_MODE, key, paramSpec);
                   dcipher.init(Cipher.DECRYPT_MODE, key, paramSpec);
              } catch (java.security.InvalidAlgorithmParameterException e)
                   e.printStackTrace();
              } catch (java.security.spec.InvalidKeySpecException e)
                   e.printStackTrace();
              } catch (javax.crypto.NoSuchPaddingException e)
                   e.printStackTrace();
              } catch (java.security.NoSuchAlgorithmException e)
                   e.printStackTrace();
              } catch (java.security.InvalidKeyException e)
                   e.printStackTrace();
         public String encrypt(String str)
              try
                   // Encode the string into bytes using utf-8
                   byte[] utf8 = str.getBytes("UTF8");
                   // Encrypt
                   byte[] enc = ecipher.doFinal(utf8);
                   // Encode bytes to base64 to get a string
                   return new sun.misc.BASE64Encoder().encode(enc);
              } catch (javax.crypto.BadPaddingException e)
                   e.printStackTrace();
              } catch (IllegalBlockSizeException e)
                   e.printStackTrace();
              } catch (UnsupportedEncodingException e)
                   e.printStackTrace();
              return null;
         public String decrypt(String str)
              try
                   // Decode base64 to get bytes
                   byte[] dec = new sun.misc.BASE64Decoder().decodeBuffer(str);
                   // Decrypt
                   byte[] utf8 = dcipher.doFinal(dec);
                   // Decode using utf-8
                   return new String(utf8, "UTF8");
              } catch (javax.crypto.BadPaddingException e)
                   e.printStackTrace();
              } catch (IllegalBlockSizeException e)
                   e.printStackTrace();
              } catch (UnsupportedEncodingException e)
                   e.printStackTrace();
              } catch (java.io.IOException e)
                   e.printStackTrace();
              return null;
    }

    Works for me with the latest IBM JDK. You will need to specify your context i.e. what platform, what JDK/JRE etc etc etc.
    P.S. That exception handling is rubbish.
    Edited by: sabre150 on Mar 23, 2009 6:01 AM
    I suspect that you are using JDK 1.5 and that you have fallen foul of the bug where key.getAlgorithm() does net return the correct value. You get round this by specifying it as             SecretKey key = SecretKeyFactory.getInstance("PBEWithMD5AndDES").generateSecret(keySpec);
                ecipher = Cipher.getInstance("PBEWithMD5AndDES");Of course if you are clever you will just define a static final constant for this algorithm.
    Edited by: sabre150 on Mar 23, 2009 6:09 AM

Maybe you are looking for