Apache Geronimo > Discussion Forums  User List | Dev List | Wiki | Issue Tracker  

Update MyFaces in Geronimo 2.1.1

View: New views
8 Messages — Rating Filter:   Alert me  

Update MyFaces in Geronimo 2.1.1

by gfie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The Myfaces version (1.2.1) included in Geronimo 2.1.1 contains a bug (or, better, an annoying exemption log when using user defined validators). This is fixed in Myfaces 1.2.3.
How do uninstall/unplug Myfaces 1.2.1 and install/plug in Myfaces 1.2.3?

I've already spent 12 hours on this including finding workarounds. Anybody has done this before?

- Gerald

Re: Update MyFaces in Geronimo 2.1.1

by djencks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I added some basic jar upgrade instructions at the end of

http://cwiki.apache.org/GMOxDOC21/plugin-infrastructure.html

Please let us know if this works and if the docs are comprehensible :-)

thanks
david jencks

On Jun 24, 2008, at 3:45 PM, gfie wrote:

>
> The Myfaces version (1.2.1) included in Geronimo 2.1.1 contains a  
> bug (or,
> better, an annoying exemption log when using user defined  
> validators). This
> is fixed in Myfaces 1.2.3.
> How do uninstall/unplug Myfaces 1.2.1 and install/plug in Myfaces  
> 1.2.3?
>
> I've already spent 12 hours on this including finding workarounds.  
> Anybody
> has done this before?
>
> - Gerald
> --
> View this message in context: http://www.nabble.com/Update-MyFaces-in-Geronimo-2.1.1-tp18101594s134p18101594.html
> Sent from the Apache Geronimo - Users mailing list archive at  
> Nabble.com.
>


Re: Update MyFaces in Geronimo 2.1.1

by Kevan Miller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Jun 24, 2008, at 8:36 PM, David Jencks wrote:

I added some basic jar upgrade instructions at the end of

http://cwiki.apache.org/GMOxDOC21/plugin-infrastructure.html

Please let us know if this works and if the docs are comprehensible :-)

Cool. Thanks David. Hope it's ok, I made a few edits and added some specific instructions on how to add a file to the server's repository... 

--kevan

Re: Update MyFaces in Geronimo 2.1.1

by DFrahm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


So the 'Simple jar upgrade' method described there works even with jars like MyFaces that are defined as non-overridable due to the Java EE spec requirements?

- David Frahm



From: Kevan Miller <kevan.miller@...>
To: user@...
Date: 06/24/2008 11:50 PM
Subject: Re: Update MyFaces in Geronimo 2.1.1






On Jun 24, 2008, at 8:36 PM, David Jencks wrote:

I added some basic jar upgrade instructions at the end of

http://cwiki.apache.org/GMOxDOC21/plugin-infrastructure.html

Please let us know if this works and if the docs are comprehensible :-)


Cool. Thanks David. Hope it's ok, I made a few edits and added some specific instructions on how to add a file to the server's repository...

--kevan


Re: Update MyFaces in Geronimo 2.1.1

by djencks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Jun 25, 2008, at 9:58 AM, DFrahm@... wrote:


So the 'Simple jar upgrade' method described there works even with jars like MyFaces that are defined as non-overridable due to the Java EE spec requirements?

upgrading a jar using artifact_aliases.properties changes the jar the entire geronimo server uses: it's more or less equivalent to applying a server patch or getting a minor server upgrade.  The spec prohibits applications from using their own jsf implementations, not from server vendors upgrading the server.  The non-overridable setting prevents you from supplying a different jsf implementation in your application, to implement this spec requirement.

hope this makes sense :-)
david jencks



- David Frahm



From: Kevan Miller <kevan.miller@...>
To: user@...
Date: 06/24/2008 11:50 PM
Subject: Re: Update MyFaces in Geronimo 2.1.1






On Jun 24, 2008, at 8:36 PM, David Jencks wrote:

I added some basic jar upgrade instructions at the end of

http://cwiki.apache.org/GMOxDOC21/plugin-infrastructure.html

Please let us know if this works and if the docs are comprehensible :-)


Cool. Thanks David. Hope it's ok, I made a few edits and added some specific instructions on how to add a file to the server's repository...

--kevan



Re: Update MyFaces in Geronimo 2.1.1

by Jacek Laskowski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jun 25, 2008 at 6:58 PM,  <DFrahm@...> wrote:
>
> So the 'Simple jar upgrade' method described there works even with jars like
> MyFaces that are defined as non-overridable due to the Java EE spec
> requirements?

non-overridable from the application/module's point of view not
server. The plugin-infrastructure page describes the process of
replacing/overriding a jar in Geronimo repository. Applications still
cannot override classes/jars that are not overrideable.

Jacek

--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl

Re: Update MyFaces in Geronimo 2.1.1

by Jacek Laskowski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jun 25, 2008 at 8:00 PM, David Jencks <david_jencks@...> wrote:

> hope this makes sense :-)

Nice timing! Did you know I'd send a response too and meant to compete
with it? ;-)

Jacek

--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl

Re: Update MyFaces in Geronimo 2.1.1

by DFrahm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks to both of you.  It makes sense -- plus it is the answer I was hoping for!

- David Frahm



From: "Jacek Laskowski" <jacek@...>
To: user@...
Date: 06/25/2008 01:02 PM
Subject: Re: Update MyFaces in Geronimo 2.1.1





On Wed, Jun 25, 2008 at 8:00 PM, David Jencks <david_jencks@...> wrote:

> hope this makes sense :-)

Nice timing! Did you know I'd send a response too and meant to compete
with it? ;-)

Jacek

--
Jacek Laskowski
Notatnik Projektanta Java EE -
http://www.JacekLaskowski.pl


LightInTheBox - Buy quality products at wholesale price