Thread: ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)


Permlink Replies: 11 - Pages: 1 - Last Post: Feb 9, 2007 1:20 AM Last Post By: Steve Muench
John Stegeman

Posts: 4,483
Registered: 01/16/06
ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)
Posted: Oct 17, 2006 7:42 AM
Click to report abuse...   Click to reply to this thread Reply
Hello all,

I am testing our ADF BC/Faces app against the 10.1.3.1 developer's preview release. Specifically, I am testing to see if bug 5058520 is fixed (as documented in the release notes for 10.1.3.1). I made a backup copy of my workspace/project folders and opened the backup copy in 10.1.3.1 - JDev asked me if I wanted to convert the format, and I said "yes" When I ran the application, I still saw that bug occuring (it has to do with one of the menu stamps rendering improperly on af:Page). I then deleted all of my "classes" directories in each project and re-built - "no dice" - the bug was still there. I then tried removing and re-adding the ADF Faces and JSF libraries to my user interface project - still "no dice."

Finally, what I did was to delete the files in my user interface WEB-INF\lib directory (adf-faces-impl.jar, standard.jar, jsf-impl.jar) and replace them with ones that I found lurking around in various directories of my 10.1.3.1 install. Voila, the bug was fixed.

My question: is there a better way of doing this? I thought perhaps if I simply deleted the files in WEB-INF\lib, JDeveloper might replace them for me with the newer versions, but this did not happen - I got a nice NPE when running my application. It would be nice to have some way to automate this process - I am not sure as of right now whether there are other JAR's that I need to replace or not - still testing.

Regards,

John
Steve Muench

Posts: 5,881
Registered: 01/10/01
Re: ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)
Posted: Oct 17, 2006 7:54 AM   in response to: John Stegeman in response to: John Stegeman
Click to report abuse...   Click to reply to this thread Reply
You're encountering Bug# 5607187 which I just filed on your behalf.

You found the workaround. Unfortunately it appears to be too late to fix this in the 10.1.3.1 maintenance release, but hopefully we can make this migration step smoother for you in 10.1.3.2.
stom

Posts: 98
Registered: 01/10/01
Re: ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)
Posted: Oct 17, 2006 9:49 PM   in response to: John Stegeman in response to: John Stegeman
Click to report abuse...   Click to reply to this thread Reply
Hi John,

First - good that you first made a backup!

Second, as part of the investigation, after a fresh migration if you kept the original versions of standard.jar and jsf-impl.jar but manually mucked with adf-faces-impl.jar, is the bug fixed?

st
Steve Muench

Posts: 5,881
Registered: 01/10/01
Re: ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)
Posted: Oct 18, 2006 1:11 AM   in response to: stom in response to: stom
Click to report abuse...   Click to reply to this thread Reply
Testing our 10.1.3.1 release candidate, I see that the adf-faces-impl.jar gets migrated, but the jsf-impl.jar does not. I've updated the bug to reflect this observation. This is slightly different behavior from the Developer's Preview wherein neither jar got automatically migrated.
stom

Posts: 98
Registered: 01/10/01
Re: ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)
Posted: Oct 18, 2006 1:21 AM   in response to: Steve Muench in response to: Steve Muench
Click to report abuse...   Click to reply to this thread Reply
With 10.1.3.1 RC, does the old jsf-impl.jar work or do you have to do the manual delete/copy lib trick first to successfully run?
Steve Muench

Posts: 5,881
Registered: 01/10/01
Re: ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)
Posted: Oct 18, 2006 1:31 AM   in response to: stom in response to: stom
Click to report abuse...   Click to reply to this thread Reply
It may work, but I know there were thread contention fixes from Sun in the JSF 1.1_02 RI implementation and changes in the ADF Faces library to adjust to them, so I would only recommend using the 10.1.3.1 ADF Faces library with the JSF 1.1_02 RI library, not using a mismatched set. In my testing, only hand-copying the 10.1.3.1-supplied JSF 1.1_02 RI jar file to my \WEB-INF\lib did the trick.
John Stegeman

Posts: 4,483
Registered: 01/16/06
Re: ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)
Posted: Oct 18, 2006 5:16 AM   in response to: John Stegeman in response to: John Stegeman
Click to report abuse...   Click to reply to this thread Reply
I will "ditto" Steve's last comment - I needed the jsf-impl.jar as well.

John
Jan Vervecken (...

Posts: 1,636
Registered: 10/29/98
Re: ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)
Posted: Oct 21, 2006 1:22 PM   in response to: Steve Muench in response to: Steve Muench
Click to report abuse...   Click to reply to this thread Reply
hi
See some related information in this thread:
http://forums.oracle.com/forums/thread.jspa?threadID=436140
regards
Jan Vervecken
bpederso

Posts: 2
Registered: 01/10/01
Re: ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)
Posted: Feb 6, 2007 9:31 PM   in response to: John Stegeman in response to: John Stegeman
Click to report abuse...   Click to reply to this thread Reply
I just encountered this problem while working through the

"Introduction to ADF Faces/Trinidad Using JDeveloper"

tutorial.

I had JDeveloper 10.1.3.1 and upgraded to 10.1.3.2(.4066) and this problem cropped up.

I just had to pull the adf-faces-api.jar forward to solve the problem (as Didier suggested
in a recent blog posting of his (found via Google).

After I found this blog entry I went into Metalink and found several related entries. One of them pointed to a bug and while reading that bug history it seems like some folks thought this might be resolved?

The fact that this occurs with current 10.1.3.2 release would seem to indicate that
this is not fully resolved.

John, I'm not familiar how this tool works. This posting
was obviously more directed towards Steve.

Rgds, BP

Message was edited by:
bpederso
Steve Muench

Posts: 5,881
Registered: 01/10/01
Re: ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)
Posted: Feb 7, 2007 1:33 AM   in response to: bpederso in response to: bpederso
Click to report abuse...   Click to reply to this thread Reply
I tested that 10.1.3.2 migrates both the jsf-impl.jar and adf-faces-impl.jar for a normal ADF 10.1.3 project from an earlier version. Unless this broke in 10.1.3.2 builds after I tested it, I'd need to understand the exact sequence of steps you followed to reproduce the problem to see if it is indeed a new issue.
rmch

Posts: 103
Registered: 02/05/03
Re: ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)
Posted: Feb 8, 2007 5:07 PM   in response to: bpederso in response to: bpederso
Click to report abuse...   Click to reply to this thread Reply
I can confirm that yes -- you need to have

adf-faces-api.jar

in the WEB-INF/lib folder as well as the other two mentioned (adf-faces-impl.jar and jsf-impl.jar). Otherwise you'll get the methodNotFound() exception.

This is for the studio edition of 10.1.3.2 (migrating a project from 10.1.3).

Until this bug is fixed I've added some code to our ANT build scripts to force all the correct .jars into WEB-INF/lib... sigh.
Steve Muench

Posts: 5,881
Registered: 01/10/01
Re: ADF Faces; how to see bug fix in 10.1.3.1 (need to manually copy jars?)
Posted: Feb 9, 2007 1:20 AM   in response to: rmch in response to: rmch
Click to report abuse...   Click to reply to this thread Reply
A normal JDeveloper 10.1.3.0, 10.1.3.1, or 10.1.3.2 ADF Faces application does not have/require an adf-faces-api.jar file in the WEB-INF/lib, so as a result, we do not migrate this jar (or any other jar you might have in that directory that we don't normally require/install ourselves).

This must be specific to the Trinidad tutorial and a manually-copied version of adf-faces-api.jar.
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums