version 1.1, 2004/04/30 10:02:07
|
version 1.6, 2005/06/07 18:28:02
|
|
|
| |
export PEGASUS_HOME=`pwd` | export PEGASUS_HOME=`pwd` |
export PEGASUS_PLATFORM=LINUX_IX86_GNU | export PEGASUS_PLATFORM=LINUX_IX86_GNU |
export ENABLE_PROVIDER_MANAGER2=1 |
export PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=1 |
export ENABLE_CMPI_PROVIDER_MANAGER=1 |
export PEGASUS_ENABLE_JMPI_PROVIDER_MANAGER=1 |
export ENABLE_JMPI_PROVIDER_MANAGER=1 |
|
export PEGASUS_DEBUG=1 | export PEGASUS_DEBUG=1 |
export JAVA_SDK=/usr/java/j2sdk1.4.2_04 | export JAVA_SDK=/usr/java/j2sdk1.4.2_04 |
export JAVA_SDKINC=$JAVA_SDK/include | export JAVA_SDKINC=$JAVA_SDK/include |
export LD_LIBRARY_PATH=$PEGASUS_HOME/lib:$JAVA_SDK/jre/lib/i386/server:$JAVA_SDK/jre/lib/i386/native_threads:$JAVA_SDK/jre/lib/i386 | export LD_LIBRARY_PATH=$PEGASUS_HOME/lib:$JAVA_SDK/jre/lib/i386/server:$JAVA_SDK/jre/lib/i386/native_threads:$JAVA_SDK/jre/lib/i386 |
export PATH=$JAVA_SDK/bin:$PATH | export PATH=$JAVA_SDK/bin:$PATH |
export CLASSPATH=$PEGASUS_HOME/src/Pegasus/ProviderManager2/JMPI |
export CLASSPATH=$PEGASUS_ROOT/src/Pegasus/ProviderManager2/JMPI |
export PATH=$PEGASUS_HOME/bin:$PATH | export PATH=$PEGASUS_HOME/bin:$PATH |
export PEGASUS_ROOT=$PEGASUS_HOME | export PEGASUS_ROOT=$PEGASUS_HOME |
export LD_ASSUME_KERNEL=2.2.5 | export LD_ASSUME_KERNEL=2.2.5 |
cd $PEGASUS_HOME | cd $PEGASUS_HOME |
| |
|
There is now a new variable to determine which JVM to link with. The choices are as follows: |
|
PEGASUS_JVM sun Sun's jvm (ex: j2sdk1.4.2_07) |
|
PEGASUS_JVM ibm IBM's jvm (ex: IBMJava2-142) |
|
PEGASUS_JVM bea Suse's IBM jvm (ex: BEAJava2-1.4.2) |
|
So, pick one and export that variable to the environment. For example, |
|
export PEGASUS_JVM=sun |
|
NOTE: This is currently listened to for Linux builds. |
|
|
|
There are a couple of optional environment variables to determine how the JRE is initialized. These are |
|
as follows (the variable name and what JRE option that it corresponds to): |
|
|
|
PEGASUS_JMPI_MAX_HEAP -Xmx |
|
PEGASUS_JMPI_INITIAL_HEAP -Xms |
|
PEGASUS_JMPI_JAVA_THREAD_STACK_SIZE -Xss |
|
|
|
So, for example, you would perform the following if you want to change the maximum heap size to 128 megabytes. |
|
|
|
export PEGASUS_JMPI_MAX_HEAP=128m |
|
|
|
There is a new environment variable that tells the JVM to output more debugging information. The variable name |
|
is called PEGASUS_JMPI_VERBOSE. An example usage is as follows: |
|
|
|
export PEGASUS_JMPI_VERBOSE="jni,class" |
|
|
|
This will tell the JVM to output debug information on the JNI layer and class loading. |
|
|
When using this script, place a copy of this script above your PEGASUS_HOME directory. | When using this script, place a copy of this script above your PEGASUS_HOME directory. |
"cd" to PEGASUS_HOME, and issue ". ../setJPeg". Then do a normal make. | "cd" to PEGASUS_HOME, and issue ". ../setJPeg". Then do a normal make. |
| |
| |
This installent has a number of restrictios: |
This installment has a number of restrictios: |
| |
The provider interfaces follow the SNIA OpenWBEM APIs | The provider interfaces follow the SNIA OpenWBEM APIs |
Only Instance and Association providers are supported at the moment. | Only Instance and Association providers are supported at the moment. |
|
|
| |
Bug reports | Bug reports |
| |
Use normal Pegasus bugzilla procedures to report malfunctions. However, I will be out of town and |
Use normal Pegasus bugzilla procedures to report malfunctions. |
offline though 5/14/2004. |
|
| |
| |
Regards, Adrian Schuur. | Regards, Adrian Schuur. |