Sie sind auf Seite 1von 4

Oracle Applications DBA Blog: JRE Plug-in “ Next-Generation” – to... http://oracle-apps-dba.blogspot.com/2009/02/jre-plug-in-next-generatio...

W ednes da y , F ebrua ry 18, 2009

JRE Plug- in “ Ne x t - Ge ne ra t io n” – t o m igra t e o r no t ?

I t has been more than half a year s inc e we've migrat ed f rom Oracle Jinit iat or t o Sun Java JRE Plug-in
(Java 6 update 5) in our O rac le A pplic ations (E BS) s ys tem, and I mus t s ay, I 'm not s atis fied yet.

For the firs t months we had been s truggling with a lot of mous e foc us bugs whic h have made our us ers very
angry about this upgrade. A lthough we've applied s ome patc hes related to this bugs , we s till have s ome
with no res olution.
Upgrading to Developer 6i patchset 19 has s olved s ome bugs but not all of them.

A s part of an SR we had opened about mous e foc us is s ue, we was advis ed by O rac le to ins tall the latest
Java JRE (J ava 6 update 1 2 this days ) as a pos s ible s olution for the remaining bugs .

Starting with J ava 6 update 1 0 , Sun has introduc ed the new "next- generation J ava P lug- in" , whic h makes
troubles with O rac le E BS. Y ou c an read more about this new arc hitec ture at Sun J ava s ite - "What is
next-generation Java Plug-in".

Right after ins talling J ava 6 update 1 1 , I enc ountered a problem - when trying to open forms t he screen
f reezes.

T he brows er window hangs inc ons is tently. I have no idea when it's going to be opened and when it's not.
I 've tried J ava 6 update 1 2 and it's the s ame – s ometimes it opens and s ometimes it does n’t. N o matter
what I did - c lear java c ac he on c lient, c lear A pac he c ac he, ins tall J RE in different direc tory (in c as e you
have ins talled previous update of vers ion 6 ), unins tall previous vers ions of J ava P lug- in ins talled on s ame
pc , I tried with explorer 6 and 7 - the problem was n't res olved.

T here is an unpublis hed opened bug for this problem: Bug 7875493 - "A pplicat ion f reezes int ermittently
when using JRE 6U10 and later". I 've been told by O rac le s upport that they have s ome inc ompatibilities
with the new next- generation arc hitec ture and that they are working with Sun about it.

Meanwhile there are 2 workarounds: (the s ec ond does n't work for me but s ugges ted by O rac le s upport)

1 ) Disable the "next generation Java Plug-in" opt ion:


G o to C ontrol P anel - > J ava - > Selec t the "A dvanc ed" tab - > expand the "J ava P lug- in" - > unc hec k the
"E nable the next- generation J ava P lug- in" option.

1 of 4 2016-03-08 09:17
Oracle Applications DBA Blog: JRE Plug-in “ Next-Generation” – to... http://oracle-apps-dba.blogspot.com/2009/02/jre-plug-in-next-generatio...

T his workaround always works (at leas t for me...).

2 ) Set the swap f ile to system managed + Tune t he heap size f or java:
- G o to C ontrol P anel - > Sys tem - > Selec t the "A dvanc ed" tab - > c lic k on Settings (in P erformanc e frame)
- > Selec t the "A dvanc ed" tab - > C lic k on C hange - > Selec t the "Sys tem managed s ize" option.

- G o to C ontrol P anel - > J ava - > Selec t the "J ava" tab - > C lic k "V iew..." (in J ava A pplet Runtime Settings
frame) - > update the "J ava Runtime P arameters " field with: " -Xmx128m -Xms64m".

2 of 4 2016-03-08 09:17
Oracle Applications DBA Blog: JRE Plug-in “ Next-Generation” – to... http://oracle-apps-dba.blogspot.com/2009/02/jre-plug-in-next-generatio...

T his workaround does n't work for me.

For now, I 've dec ided to s tay with the "old" J ava P lug- in 6 update 5 and do not upgrade our us ers to the
new next- generation J ava P lug- in. I H ope the following updates of J ava P lug- in will be better or O rac le will
publis h a patc h to s olve this problem.

I ’ll keep update as s oon as I have more info’.

A viad

P os ted by A viad at 12:42 PM

L abels : Developer 6i, Troubleshooting, Upgrades

5 comments:

Gareth said...

Hi Aviad,
Interesting post. I've also avoided next generation, sticking with Java 6 Update 7 I think - didn't try next
generation yet, so great to have the headsup.

Regards,
Gareth
http://garethroberts.blogspot.com

February 18, 2009 at 8:25 PM

Mark Coleman said...

Hi,
We're getting ready to do the Developer 6i patchset 19 upgrade prior to moving some users to JRE 1.6 update
12. One thing that I noticed helped our users was to add this line to the runtime parameters:
-Dsun.java2d.noddraw=true
This disables DirectDraw and significantly improves JRE display performance. Not sure if it will help with your
hanging issue, but I thought it might be worthwhile to you. If you would like to correspond further you can
reach me at mcolemandba at gmail dot com.

Good luck!

February 19, 2009 at 4:20 PM

Stev en Chan said...

Hi, Aviad,

We're tracking a few EBS issues associated with the latest 1.6.0_12 Sun JRE right now. I'd like to have our
ATG Support team verify whether this is a new issue or something related to your configuration. Can you log
a formal Service Request via Metalink and provide me with the SR #?

Regards,
Steven
....................................
Steven Chan
Sr. Director, Applications Technology Integration

3 of 4 2016-03-08 09:17
Oracle Applications DBA Blog: JRE Plug-in “ Next-Generation” – to... http://oracle-apps-dba.blogspot.com/2009/02/jre-plug-in-next-generatio...

Oracle E-Business Suite Development


E-Business Techstack Blog: http://blogs.oracle.com/stevenchan

February 20, 2009 at 6:29 PM

Av iad said...
Hi Mark,

Thanks for your advise.


Unfortunately it doesn't solve the freezing issue..
I'll check it out for a while to see if I get any performance improvement though.

Thanks again!
Regards,
Aviad
February 22, 2009 at 2:12 PM

Av iad said...
Hi Steven,

Thanks for your comment and your help on this issue.


I sent you an email with the SR # and some more details.

Thanks & Regards,


Aviad
February 22, 2009 at 3:21 PM

4 of 4 2016-03-08 09:17

Das könnte Ihnen auch gefallen