Upgrading JDK to 1.5 and configuring Jconsole.
In my earlier post i had talked about JVMs in Oracle Applications. Also i had mentioned about the jconsole tool that could be used for real time monitoring of your middle tier JVM usage.
The latest certified version of JDK supported with Oracle Applications is JDK 1.5. The version of JDK that is shipped with 11.5.10.2 is JDK 1.4.
Oracle recommends you to upgrade your JDK to 1.5 and one of the advantages of going for this upgrade is the ability to use Jconsole.
In my current i am detailing out step by step instructions for upgrading your middle tier JDK from 1.4 to 1.5 and the configuring jconsole for a real time monitoring of your JVM.
Upgrading JDK to 1.5
Downloading JDK 1.5
At the start you would require to get the J2SE1.5 software from the sun site
http://java.sun.com/j2se/1.5.0/download.jsp
Choose the J2SE 1.5 update 8 rpm file for Linux the file would be in the form of *.rpm.bin
Installing JDK 1.5
You must install the J2SE1.5 software on all the application middle tier nodes.
After you have FTPed the file to you application server change the permissions and execute the .bin file as the root user
# chmod 755 jdk-1_5_0_08-linux-i586-rpm.bin
# ./jdk-1_5_0_08-linux-i586-rpm.bin
This will present you with a binary license agreement agreeing to which will do the rpm installation for you.
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jdk-1_5_0_08-linux-i586.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Done.
Make a note of the J2SE installation directory which i refer as JDK50_TOP, in my case it was /usr/java/jdk1.5.0_08.
Verify the java version
Verify the version of java installed
# ./java -version
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Server VM (build 1.5.0_08-b03, mixed mode)
The following steps are to be performed as the applications user.
Apply Inter operability patches
Apply the following Oracle Applications 11.5.10.2 J2SE1.5 inter operability patches using adpatch.
Patch 4372996
Patch 5372210
I did a shutdown of my application tier process before applying these.
$ adstpall.sh apps/apps
$ cd 4372996
$ adpatch options=hotpatch
Note: In case you have not applied the CU2 that is you are not on 11.5.10.2 you must apply TXK AutoConfig Template Rollup
patch 4367673.
Execute the J2SE 5.0 Upgrade Script to Update Configuration Files
$ txkrun.pl -script=SetJDKCfg -contextfile=$CONTEXT_FILE -runautoconfig=Yes -appspass=apps -jdktop=/usr/java/jdk1.5.0_08
This will update you configuration files and run autoconfig at the end.
Verifying java on the application tiers
Execute the applications environment script again and check the JAVA in path
$ . ./APPSORA.env
$ which java
/usr/java/jdk1.5.0_08/bin/java
Testing Applications
Navigate to the following page
In my earlier post i had talked about JVMs in Oracle Applications. Also i had mentioned about the jconsole tool that could be used for real time monitoring of your middle tier JVM usage.
The latest certified version of JDK supported with Oracle Applications is JDK 1.5. The version of JDK that is shipped with 11.5.10.2 is JDK 1.4.
Oracle recommends you to upgrade your JDK to 1.5 and one of the advantages of going for this upgrade is the ability to use Jconsole.
In my current i am detailing out step by step instructions for upgrading your middle tier JDK from 1.4 to 1.5 and the configuring jconsole for a real time monitoring of your JVM.
Upgrading JDK to 1.5
Downloading JDK 1.5
At the start you would require to get the J2SE1.5 software from the sun site
http://java.sun.com/j2se/1.5.0/download.jsp
Choose the J2SE 1.5 update 8 rpm file for Linux the file would be in the form of *.rpm.bin
Installing JDK 1.5
You must install the J2SE1.5 software on all the application middle tier nodes.
After you have FTPed the file to you application server change the permissions and execute the .bin file as the root user
# chmod 755 jdk-1_5_0_08-linux-i586-rpm.bin
# ./jdk-1_5_0_08-linux-i586-rpm.bin
This will present you with a binary license agreement agreeing to which will do the rpm installation for you.
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jdk-1_5_0_08-linux-i586.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Done.
Make a note of the J2SE installation directory which i refer as JDK50_TOP, in my case it was /usr/java/jdk1.5.0_08.
Verify the java version
Verify the version of java installed
# ./java -version
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Server VM (build 1.5.0_08-b03, mixed mode)
The following steps are to be performed as the applications user.
Apply Inter operability patches
Apply the following Oracle Applications 11.5.10.2 J2SE1.5 inter operability patches using adpatch.
Patch 4372996
Patch 5372210
I did a shutdown of my application tier process before applying these.
$ adstpall.sh apps/apps
$ cd 4372996
$ adpatch options=hotpatch
Note: In case you have not applied the CU2 that is you are not on 11.5.10.2 you must apply TXK AutoConfig Template Rollup
patch 4367673.
Execute the J2SE 5.0 Upgrade Script to Update Configuration Files
$ txkrun.pl -script=SetJDKCfg -contextfile=$CONTEXT_FILE -runautoconfig=Yes -appspass=apps -jdktop=/usr/java/jdk1.5.0_08
This will update you configuration files and run autoconfig at the end.
Verifying java on the application tiers
Execute the applications environment script again and check the JAVA in path
$ . ./APPSORA.env
$ which java
/usr/java/jdk1.5.0_08/bin/java
Testing Applications
Navigate to the following page
http://[yourhost.domain]:[port]/OA_HTML/jsp/fnd/aoljtest.jsp

this will prompt you for your apps user, password, hostname and port. After the test is complete verify the following files are in the new JDK1.5 home.
/usr/java/jdk1.5.0_08/lib/dt.jar
/usr/java/jdk1.5.0_08/lib/tools.jar
/usr/java/jdk1.5.0_08/jre/lib/rt.jar
/usr/java/jdk1.5.0_08/jre/lib/charsets.jar
Verify adovars.env file on your application tier.
$APPL_TOP/admin/adovars.env
Check the new JDK1.5 home has been updated.
OA_JRE_TOP="/usr/java/jdk1.5.0_08"
export OA_JRE_TOP
AF_JRE_TOP="/usr/java/jdk1.5.0_08"
export AF_JRE_TOP
CLASSPATH="/usr/java/jdk1.5.0_08/jre/lib/rt.jar:/usr/java/jdk1.5.0_08/lib/dt.jar:/usr/java/jdk1.5.0_08/lib/tools.jar:/usr/jav
a/jdk1.5.0_08/jre/lib/charsets.jar:/u05/sam/applsam/samcomn/java/appsborg2.zip:/u05/sam/applsam/samora/8.0.6/forms60/java:/u0
5/sam/applsam/samcomn/java"
export CLASSPATH
AF_CLASSPATH="/usr/java/jdk1.5.0_08/jre/lib/rt.jar:/usr/java/jdk1.5.0_08/lib/dt.jar:/usr/java/jdk1.5.0_08/lib/tools.jar:/usr/
java/jdk1.5.0_08/jre/lib/charsets.jar:/u05/sam/applsam/samcomn/java/appsborg2.zip:/u05/sam/applsam/samora/8.0.6/forms60/java:
/u05/sam/applsam/samcomn/java"
export AF_CLASSPATH
Additional Check.
You can log into Oracle Applications as the sysadmin user and run a concurrent request and view the output to check the working of applications.
Configuring JCONSOLE
export OA_JRE_TOP
AF_JRE_TOP="/usr/java/jdk1.5.0_08"
export AF_JRE_TOP
CLASSPATH="/usr/java/jdk1.5.0_08/jre/lib/rt.jar:/usr/java/jdk1.5.0_08/lib/dt.jar:/usr/java/jdk1.5.0_08/lib/tools.jar:/usr/jav
a/jdk1.5.0_08/jre/lib/charsets.jar:/u05/sam/applsam/samcomn/java/appsborg2.zip:/u05/sam/applsam/samora/8.0.6/forms60/java:/u0
5/sam/applsam/samcomn/java"
export CLASSPATH
AF_CLASSPATH="/usr/java/jdk1.5.0_08/jre/lib/rt.jar:/usr/java/jdk1.5.0_08/lib/dt.jar:/usr/java/jdk1.5.0_08/lib/tools.jar:/usr/
java/jdk1.5.0_08/jre/lib/charsets.jar:/u05/sam/applsam/samcomn/java/appsborg2.zip:/u05/sam/applsam/samora/8.0.6/forms60/java:
/u05/sam/applsam/samcomn/java"
export AF_CLASSPATH
Additional Check.
You can log into Oracle Applications as the sysadmin user and run a concurrent request and view the output to check the working of applications.
Configuring JCONSOLE
The jconsole executable comes within your jdk 1.5 software.You can either run it from the application middle tier server itself or connect remotely. In our case we will configure jconsole to run from the application tier server itself.
You would need to have the following two parameters in your jserv.properties file
wrapper.bin.parameters=-Dcom.sun.management.jmxremote
wrapper.bin.parameters=-Dcom.sun.management.jmxremote.ssl=false
Adding Parameters To The Custom Template File
Since the seeded autoconfig template files do not have these parameters you have to create a custom template file to intoduce these additional parameters
First you have to find out the template file corresponding to the jserv.properties file.
You could do this by running the adtmplreport.sh script at $AD_TOP/bin
$AD_TOP/bin/adtmplreport.sh contextfile=$CONTEXT_FILE target=/u05/sam/applsam/samora/iAS/Apache/Jserv/etc/jserv.properties
TEMPLATE FILE : /u05/sam/applsam/samappl/fnd/11.5.0/admin/template/jserv_ux_ias1022.properties
TARGET FILE : /u05/sam/applsam/samora/iAS/Apache/Jserv/etc/jserv.properties
Create a directory for your template file.
mkdir $FND_TOP/admin/template/custom
Copy the existing template file here
cd $FND_TOP/admin/template/custom
cp - i /u05/sam/applsam/samappl/fnd/11.5.0/admin/template/jserv_ux_ias1022.properties
.
edit this template file and introduce the following line here
wrapper.bin.parameters=-Dcom.sun.management.jmxremote
wrapper.bin.parameters=-Dcom.sun.management.jmxremote.ssl=false
Check the custom template file
First you have to find out the template file corresponding to the jserv.properties file.
You could do this by running the adtmplreport.sh script at $AD_TOP/bin
$AD_TOP/bin/adtmplreport.sh contextfile=$CONTEXT_FILE target=/u05/sam/applsam/samora/iAS/Apache/Jserv/etc/jserv.properties
TEMPLATE FILE : /u05/sam/applsam/samappl/fnd/11.5.0/admin/template/jserv_ux_ias1022.properties
TARGET FILE : /u05/sam/applsam/samora/iAS/Apache/Jserv/etc/jserv.properties
Create a directory for your template file.
mkdir $FND_TOP/admin/template/custom
Copy the existing template file here
cd $FND_TOP/admin/template/custom
cp - i /u05/sam/applsam/samappl/fnd/11.5.0/admin/template/jserv_ux_ias1022.properties
.
edit this template file and introduce the following line here
wrapper.bin.parameters=-Dcom.sun.management.jmxremote
wrapper.bin.parameters=-Dcom.sun.management.jmxremote.ssl=false
Check the custom template file
Check that the custom template file is OK by running the
$AD_TOP/bin
adchkcfg.sh contextfile= appspass=
adchkcfg.sh contextfile=$CONTEXT_FILE appspass=apps
Run autoconfig and verify in the values have been written into the jserv.properties.
Restart you Oracle application tier services
$ cd $COMMON_TOP/admin/scripts/[context_name]/adstpall.sh apps/apps
$ cd $COMMON_TOP/admin/scripts/[context_name]/adstrtal.sh apps/apps
You can now launch jconsole from JDK50_TOP/bin
$ ./jconsole
adchkcfg.sh contextfile=
adchkcfg.sh contextfile=$CONTEXT_FILE appspass=apps
Run autoconfig and verify in the values have been written into the jserv.properties.
Restart you Oracle application tier services
$ cd $COMMON_TOP/admin/scripts/[context_name]/adstpall.sh apps/apps
$ cd $COMMON_TOP/admin/scripts/[context_name]/adstrtal.sh apps/apps
You can now launch jconsole from JDK50_TOP/bin
$ ./jconsole
As you see the configuration take place automatically when you launch jconsole from the application server itself.You just need to click on connect.
The first screen shows you a sumary of the JVM usage and garbage collection.
The next screen is more fun, this show you the real time JVM usage in a graphical format.
References
Using J2SE Version 5.0 with Oracle E-Business Suite 11i Note:304099.1Using AutoConfig to Manage System Configurations with Oracle Applications 11i Note:165195.1
Using Jconsole with Apps 11i by Steven Chan
Version Information
Oracle Applications:11.5.10.2
JDK:1.5
OS: Redhat Linux AS 4
44 comments:
Great Effort Sam.
Good luck
Hey,
When ever I surf on web I come to this website[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url]appstech-sam.blogspot.com is filled with quality info. I am sure due to busy scedules we really do not get time to care about our health. Here is a fact for you. Recent Scientific Research presents that nearly 90% of all USA grownups are either chubby or weighty[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url] So if you're one of these individuals, you're not alone. Its true that we all can't be like Brad Pitt, Angelina Jolie, Megan Fox, and have sexy and perfect six pack abs. Now next question is how you can achive quick weight loss? Quick weight loss can be achived with little effort. Some improvement in of daily activity can help us in losing weight quickly.
About me: I am writer of [url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips]Quick weight loss tips[/url]. I am also mentor who can help you lose weight quickly. If you do not want to go under hard training program than you may also try [url=http://www.weightrapidloss.com/acai-berry-for-quick-weight-loss]Acai Berry[/url] or [url=http://www.weightrapidloss.com/colon-cleanse-for-weight-loss]Colon Cleansing[/url] for quick weight loss.
Hello there, just became aware of your blog through Google, and found that it is really informative.
I am gonna watch out for brussels. I will be grateful if
you continue this in future. Lots of people will be benefited from
your writing. Cheers!
Also see my web site > african mango free trial
I have read so many articles or reviews concerning the blogger lovers but this post
is genuinely a pleasant post, keep it up.
Also see my webpage: traditional life insurance
Useful information. Lucky me I discovered your site accidentally, and
I'm stunned why this accident did not came about earlier! I bookmarked it.
Also visit my web page : make money at home online
I think this is among the most significant information for me.
And i am glad reading your article. But wanna remark on some
general things, The website style is wonderful, the articles is really great :
D. Good job, cheers
Here is my site :: http://wiki.sekine.com
I could not refrain from commenting. Well written!
Feel free to visit my web site - Sales Seo
whoah this weblog is fantastic i love reading your articles.
Stay up the good work! You know, a lot of individuals are looking
round for this info, you could help them greatly.
Stop by my homepage stop smoking tip
Good day! Would you mind if I share your blog with my twitter group?
There's a lot of folks that I think would really enjoy your content. Please let me know. Thank you
Also visit my page: lagunakdelabaguette.org
Its like you learn my mind! You appear to know a lot about this, such as you
wrote the ebook in it or something. I think that you can do with a few % to power the message house a little bit, but other than that, this is magnificent blog. A fantastic read. I'll definitely be back.
Here is my blog post :: https://www.youtube.com/watch?v=bwX2S5z24so
I have fun with, lead to I discovered exactly what
I used to be taking a look for. You have ended my 4 day long hunt!
God Bless you man. Have a nice day. Bye
Have a look at my webpage: sciatica symptoms in women
I think that everything wrote made a lot of sense. However, what about this?
suppose you added a little information? I am not suggesting your information isn't good., however what if you added a post title to possibly get a person's attention?
I mean Untitled is a little boring. You ought to glance
at Yahoo's front page and see how they create post headlines to grab people interested. You might add a related video or a pic or two to get readers interested about everything've written.
In my opinion, it could bring your website a little bit more interesting.
my web site: aquarium lighting
valium online valium effects depression - cheap valium online uk
These are genuinely enormous ideas in about blogging.
You have touched some fastidious points here. Any way keep up wrinting.
Stop by my blog ... coffee machine
These are genuinely enormous ideas in about blogging. You have touched
some fastidious points here. Any way keep up wrinting.
Also visit my site: coffee machine
Howdy very cool site!! Man .. Excellent .. Amazing .
. I will bookmark your site and take the feeds
additionally? I'm glad to find a lot of helpful information right here within the publish, we want develop extra techniques in this regard, thank you for sharing. . . . . .
Take a look at my homepage completegolfsets.net
Every weekend i used to visit this web site, because
i want enjoyment, since this this web page conations in fact pleasant funny data too.
My web page :: step down golf tees cheap
Heya i'm for the first time here. I came across this board and I find It truly useful & it helped me out a lot. I hope to give something back and help others like you aided me.
Here is my site: golf now hot deals san diego
Hi, i read your blog occasionally and i own a similar one and i was just curious if you
get a lot of spam responses? If so how do you prevent it,
any plugin or anything you can advise? I get so much lately it's driving me crazy so any support is very much appreciated.
Feel free to surf to my blog post: flank pain both sides
Pretty nice post. I simply stumbled upon your blog and wanted
to mention that I have really enjoyed surfing around your blog posts.
After all I'll be subscribing on your rss feed and I hope you write again soon!
my web page: Recommended Internet page
We stumbled over here different web page and thought I may
as well check things out. I like what I see so i am just following you.
Look forward to going over your web page yet again.
Here is my blog post ... Las Vegas Golf Schools
This is a topic that is close to my heart... Take care!
Exactly where are your contact details though?
my web-site ... www.supahtalent.com
Genuinely when someone doesn't understand after that its up to other visitors that they will help, so here it happens.
My homepage - person.yasni.com
What's up, I would like to subscribe for this blog to obtain most up-to-date updates, so where can i do it please help out.
Have a look at my page - chiropractic tools gun
You're so awesome! I don't think I've read through something like this before. So nice to discover someone with some genuine thoughts on this topic. Seriously.. many thanks for starting this up. This web site is something that is required on the internet, someone with a bit of originality!
Also visit my site: golf instruction free download
buy tramadol online no prescription buy tramadolcheap no prescription - tramadol no prescription
Thanks on your marvelous posting! I truly enjoyed reading it, you could be a great author.
I will make certain to bookmark your blog and definitely will come back later
in life. I want to encourage you to ultimately continue your great job, have a
nice afternoon!
Feel free to visit my weblog chiropractor-orlando.com
purchase cytotec no prescription - cytotec 200 mg - buy generic misoprostol online
buy mifepristone and misoprostol pills - buy cytotec and mifepristone - where to buy cytotec quiapo
If you want to obtain much from this paragraph then
you have to apply these strategies to your won blog.
Check out my homepage - soulforce-records.com
Buy Tramadol Online buy tramadol 180 - buy tramadol overnight delivery
Its like you learn my mind! You appear to know
so much approximately this, such as you wrote the book in it or something.
I think that you could do with some p.c. to drive the
message house a little bit, however other than that, that is great
blog. A fantastic read. I will definitely be back.
Also visit my site - http://www.buying-and-selling-cars.co.uk/why-not-shop-for-clothes-online/
играть в казино бесплатно и без регистрации or список онлайн казино с md5 or казино онлайн гривны or казино онлайн через webmoney or европейская рулетка онлайн без регистрации or как играть в рулетку samp-rp
These reviews are considered to be the only getting back my ex programme that can remove
fat-stored toxins. Acne will improve, your eyes will look clearer and, as a bonus, you may want to search
for potential causes.
my weblog ... web site
Hi there Dear, are you in fact visiting this website on
a regular basis, if so afterward you will without doubt get nice experience.
Feel free to surf to my web-site :: http://www.sanpedrotelmo.com/points-to-consider-when-buying-plus-size-womens-clothing
Do you have a spam problem on this website; I also am a blogger,
and I was curious about your situation; we have
developed some nice methods and we are looking to trade strategies with other folks, please shoot me an email if interested.
My weblog; diet plan
how to order ambien buy ambien fast delivery - order ambien
buy ambien legally buy ambien online mastercard - buy ambien cr 12.5mg online
where to buy generic ambien buy ambien online europe - buy generic ambien no prescription
играть в онлайн казино без регистрации бесплатно or казино онлайн or казино онлайн бонус за регистрацию or рулетка онлайн на деньги гривны or рулетка онлайн выиграть or играть в рулетку онлайн без регистрации
Fantastic beat ! I would like to apprentice at the same time as you
amend your web site, how can i subscribe for a blog website?
The account aided me a applicable deal. I had been a little bit
acquainted of this your broadcast offered shiny transparent
idea
Here is my website personal injury attorney
buy viagra cheap prices [url=http://www.everyoneweb.com/ilosone310/#generic-Ilosone-no-prescription-at-Nebraska]Buy cheap Ilosone without a prescription Berkeley[/url] buy zithromax in perth Buy Biaxin Free Delivery purchase sumycin online shop cod accepted minnesota http://www.everyoneweb.com/omnicef842/#Omnicef-jcb-fast viagra super force testimonial
ecig, e cigarette, electronic cigarette, ecigs, e cigarette, e cig
شركة كشف تسربات المياه
فحص تسربات المياه
Post a Comment