The Beginning of Things
Installation of PeopleSoft requires 64-bit Weblogic 10.3.6. The name of the JDK installation file included in the officially downloaded installation medium is jdk-7u9-solaris-sparcv9.tar.gz. According to past experience, the JDK in tar.gz format can be used as long as it is unpacked in the corresponding path and the corresponding environment variables are set. So I decompressed it into the / u01 / HRDEV / Middleware path and got a directory named jdk1.7.0-09. Then, start installing weblogic.
Run the following command to start installing weblogic:
chmod +x wls1036.jar java -jar wls1036.jar
However, the following error occurred, saying that running the installer requires 1.6 version of jdk, but the current system version of JDK is 1.5. In this way, the installation can not proceed. We must first install the 1.6 version of JDK on the operating system. So we went to Oracle’s website at http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html to find the latest version of 1.6_45. According to the previous experience of installing 1.7, we downloaded jdk-6u45-solaris-sparcv9.sh, then ran it on the server and released it directly. We got the directory of jdk1.6.0_45. However, when we entered jdk1.6.0_45/bin, we did not see the executable file of java, but found the executable file of Java in jdk1.6.0_45/bin/sparcv9.
Trying to run Java – version error reporting
Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
This error is usually due to the failure to find the required class. And the JDK installed this time is really strange, many should have no files. So she asked Gujie with questions. Find the following two articles:
The most important content is:
JDK in SOLARIS is quite special. 64 bit JDK is extended on 32 bit JDK. So it is necessary to install 32 bit JDK first and then 64 bit JDK on this basis. This explains why jdk-6u45-solaris-sparc.sh (32bit) is more than 73m, while jdk-6u45-solaris-sparcv9.sh is only a little more than 12m.
Once you know this information, go ahead and install jdk-6u45-solaris-sparc.sh first, then install jdk-6u45-solaris-sparcv9.sh on the basis of it, get the complete jdk1.6.0_45 directory, run java-version in jdk1.6.0_45/bin and return to normal.
Then the Weblogic installation can also run happily and run normally.
Then proceed to the following operation, to install the web program, unexpectedly prompted me to install the Weblogic is 32 bits. What! I use 64bit JDK.
It’s a bit uncomfortable now, but calm down first.
Search the MOS and find the following notes:
How to Install 64-bit Java SE on 64-bit Solaris Operating Systems? (Document ID 1326945.1)
E-WL: “This version of PeopleSoft PeopleTools requires a 64-bit Oracle WebLogic installation” (document ID 1262156.1)
How to determine if WebLogic Server is Running in 32-bit or 64-bit Mode (document ID 813707.1)
After reading the article, the central meaning is JDK (solaris platform is mixed mode), the actual number of JDK is related to the parameters used in java, to use 64 bits, you need to add – d64 parameters, such as
./java -d64 -version
The number of bits to install Weblogic is the same as the number of JDK bits selected at the time of installation. At this point, the problem is clear. I need to reinstall the -d64 parameter to get the Weblogic of 64bit.
This problem is mainly due to the unfamiliarity with JDK on Solaris platform. After the problem has been solved, the following two points can be summarized:
- The 64 bit JDK of the SOLARIS platform is extended from 32 bits and installed at the time of installation, which is called mixed mode.
- For mixed mode JDK, to use 64bit, you need to add the – d64 parameter at run time, such as
./java -d64 -version