You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by alvaro tovar <al...@gmail.com> on 2007/07/13 23:05:06 UTC

Re: Sun Java Application Server 9

if some one know how run myfaces in sun one application server 9, please
tell me.


On 6/19/07, Matthias Wessendorf <ma...@apache.org> wrote:
>
> The AS9 doc should contain infos on that, IMO ;)
>
> -M
>
> On 6/19/07, Juan Ignacio Sánchez Lara <ju...@gmail.com> wrote:
> > In MyFaces Wiki there's no information about anything beyond 8.1.
> Anyway, I
> > wanted 9 because of a bug at 8.2 which makes Acegi don't work, but I've
> > finally decided to downgrade to 8.1.
> >
> > Thanks everybody!
> >
> >
> >
> > On 6/19/07, Matthias Wessendorf <ma...@apache.org> wrote:
> > > I don't know.
> > > Is there any hint in the doc ?
> > >
> > > -M
> > >
> > > On 6/19/07, Juan Ignacio Sánchez Lara < juanignaciosl@gmail.com>
> wrote:
> > > > So... there is no way to use MyFaces on SJAS 9.0, isn't it?
> > > >
> > > >
> > > >
> > > > On 6/19/07, Matthias Wessendorf < matzew@apache.org> wrote:
> > > > > > I've noticed the presence of javax.faces.FacesServlet in
> javaee.jar
> > > > under
> > > > > > AS9 / Glassfish (which is also in myfaces-api.jar), I didn't
> look
> > > > further if
> > > > > > implementations are the same, but I reminded I saw your post so
> I
> > said
> > > > it
> > > > > > may interest you:
> > > > >
> > > > > yes, a JavaEE container has to ship
> > > > > a) the API (javax.faces.*** )
> > > > > b) the IMPL of the spec
> > > > >
> > > > > Any MyFaces has to ship the API as well
> > > > > (in case of Geronimo, the JSF-API is the one from MyFaces, in AS9
> it
> > > > > is the JSF RI)
> > > > >
> > > > > -M
> > > > >
> > > > > >
> > > > > > If you don't see the sens : javaee.jar is implicitely added to
> your
> > > > > > classpath, so nothing guaranties your desired version of
> > FacesServlet
> > > > (and
> > > > > > maybe other classes) will be the one that is executed.
> > > > > >
> > > > > > Regards,
> > > > > > Zied
> > > > > >
> > > > > >
> > > > > > 2007/6/18, Matthias Wessendorf < matzew@apache.org>:
> > > > > > > SJAS 9 is JavaEE 5
> > > > > > >
> > > > > > > removing jsf-impl means, you removed the used IMPL
> > > > > > > And only jsf-api (also shipped by the RI) is left.
> > > > > > >
> > > > > > > A JavaEE5 container has to ignore a JSF runtime (and API),
> shipped
> > > > > > > inside WEB-INF/lib.
> > > > > > > Therefore myfaces-api / myfaces-impl aren't used.
> > > > > > >
> > > > > > > I am not sure, how easy it is to *change* the used JSF runtime
> on
> > SJAS
> > > > 9.
> > > > > > > JBoss has a parameter for this, AFAIK.
> > > > > > >
> > > > > > > -Matthias
> > > > > > >
> > > > > > > On 6/13/07, Juan Ignacio Sánchez Lara <
> juanignaciosl@gmail.com>
> > > > wrote:
> > > > > > > > Has anybody managed to make MyFaces 1.1.5 work on SJAS 9?
> When I
> > try
> > > > to
> > > > > > load
> > > > > > > > a jsf page it throws an exception:
> > > > > > > >
> > > > > > > > java.lang.UnsupportedOperationException
> > > > > > > >
> > > > > >
> > > >
> > javax.faces.application.Application.getELResolver(Application.java:443)
> > > > > > > > ...
> > > > > > > >
> > > > > > > > It throws it even when I remove jsf-impl from server's lib
> > > > directory, so
> > > > > > I
> > > > > > > > assume it's due to servlet version.
> > > > > > > >
> > > > > > > > --
> > > > > > > > Juan Ignacio Sánchez Lara
> > > > > > > > Ingeniero Informático + Técnico de Sistemas
> > > > > > > >
> > > > > > > > Diario: http://juanignaciosl.blogspot.com
> > > > > > > > Ideas + Ingeniería del Software: http://iiso.blogspot.com/
> > > > > > > >
> > > > > > > > Fotos (todas):
> > > > > > http://www.flickr.com/photos/juanignaciosl
> > > > > > > > Fotos (selección):
> > > > > > http://jpgmag.com/people/juanignaciosl
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Matthias Wessendorf
> > > > > > >
> > > > > > > further stuff:
> > > > > > > blog: http://matthiaswessendorf.wordpress.com/
> > > > > > > mail: matzew-at-apache-dot-org
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Zied Hamdi
> > > > > > zatreex.sourceforge.net
> > > > >
> > > > >
> > > > > --
> > > > > Matthias Wessendorf
> > > > >
> > > > > further stuff:
> > > > > blog: http://matthiaswessendorf.wordpress.com/
> > > > > mail: matzew-at-apache-dot-org
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Juan Ignacio Sánchez Lara
> > > > Ingeniero Informático + Técnico de Sistemas
> > > >
> > > > Diario: http://juanignaciosl.blogspot.com
> > > > Ideas + Ingeniería del Software: http://iiso.blogspot.com/
> > > >
> > > > Fotos (todas):
> > http://www.flickr.com/photos/juanignaciosl
> > > > Fotos (selección):
> > http://jpgmag.com/people/juanignaciosl
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > >
> > > further stuff:
> > > blog: http://matthiaswessendorf.wordpress.com/
> > > mail: matzew-at-apache-dot-org
> > >
> >
> >
> >
> > --
> >
> > Juan Ignacio Sánchez Lara
> > Ingeniero Informático + Técnico de Sistemas
> >
> > Diario: http://juanignaciosl.blogspot.com
> > Ideas + Ingeniería del Software: http://iiso.blogspot.com/
> >
> > Fotos (todas): http://www.flickr.com/photos/juanignaciosl
> > Fotos (selección): http://jpgmag.com/people/juanignaciosl
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>

Re: Sun Java Application Server 9

Posted by Khurram Ahmed <kh...@gmail.com>.
Although i haven't used MyFaces with SJES, but i do have the experience of
playing with the MyFaces on other App servers. Usually this kind of a
behavior can be overcome by changing the class loading schemes of the
application server from top down to bottom up. Or in other words you need to
configure your application server to load your application level libraries
before loading the libraries from other include paths. Hope this helps.
Khurram

On 7/20/07, Matthias Wessendorf <ma...@apache.org> wrote:
>
> By accident, I noticed this flag
>
> com.sun.faces.useMyFaces
>
>
>
> http://www.google.com/search?q=com.sun.faces.useMyFaces
>
> On 7/13/07, alvaro tovar <al...@gmail.com> wrote:
> > if some one know how run myfaces in sun one application server 9, please
> > tell me.
> >
> >
> >
> > On 6/19/07, Matthias Wessendorf < matzew@apache.org> wrote:
> > > The AS9 doc should contain infos on that, IMO ;)
> > >
> > > -M
> > >
> > > On 6/19/07, Juan Ignacio Sánchez Lara <ju...@gmail.com> wrote:
> > > > In MyFaces Wiki there's no information about anything beyond 8.1.
> > Anyway, I
> > > > wanted 9 because of a bug at 8.2 which makes Acegi don't work, but
> I've
> > > > finally decided to downgrade to 8.1.
> > > >
> > > > Thanks everybody!
> > > >
> > > >
> > > >
> > > > On 6/19/07, Matthias Wessendorf < matzew@apache.org> wrote:
> > > > > I don't know.
> > > > > Is there any hint in the doc ?
> > > > >
> > > > > -M
> > > > >
> > > > > On 6/19/07, Juan Ignacio Sánchez Lara < juanignaciosl@gmail.com>
> > wrote:
> > > > > > So... there is no way to use MyFaces on SJAS 9.0, isn't it?
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 6/19/07, Matthias Wessendorf < matzew@apache.org> wrote:
> > > > > > > > I've noticed the presence of javax.faces.FacesServlet in
> > javaee.jar
> > > > > > under
> > > > > > > > AS9 / Glassfish (which is also in myfaces-api.jar), I didn't
> > look
> > > > > > further if
> > > > > > > > implementations are the same, but I reminded I saw your post
> so
> > I
> > > > said
> > > > > > it
> > > > > > > > may interest you:
> > > > > > >
> > > > > > > yes, a JavaEE container has to ship
> > > > > > > a) the API (javax.faces.*** )
> > > > > > > b) the IMPL of the spec
> > > > > > >
> > > > > > > Any MyFaces has to ship the API as well
> > > > > > > (in case of Geronimo, the JSF-API is the one from MyFaces, in
> AS9
> > it
> > > > > > > is the JSF RI)
> > > > > > >
> > > > > > > -M
> > > > > > >
> > > > > > > >
> > > > > > > > If you don't see the sens : javaee.jar is implicitely added
> to
> > your
> > > > > > > > classpath, so nothing guaranties your desired version of
> > > > FacesServlet
> > > > > > (and
> > > > > > > > maybe other classes) will be the one that is executed.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Zied
> > > > > > > >
> > > > > > > >
> > > > > > > > 2007/6/18, Matthias Wessendorf < matzew@apache.org>:
> > > > > > > > > SJAS 9 is JavaEE 5
> > > > > > > > >
> > > > > > > > > removing jsf-impl means, you removed the used IMPL
> > > > > > > > > And only jsf-api (also shipped by the RI) is left.
> > > > > > > > >
> > > > > > > > > A JavaEE5 container has to ignore a JSF runtime (and API),
> > shipped
> > > > > > > > > inside WEB-INF/lib.
> > > > > > > > > Therefore myfaces-api / myfaces-impl aren't used.
> > > > > > > > >
> > > > > > > > > I am not sure, how easy it is to *change* the used JSF
> runtime
> > on
> > > > SJAS
> > > > > > 9.
> > > > > > > > > JBoss has a parameter for this, AFAIK.
> > > > > > > > >
> > > > > > > > > -Matthias
> > > > > > > > >
> > > > > > > > > On 6/13/07, Juan Ignacio Sánchez Lara <
> > juanignaciosl@gmail.com>
> > > > > > wrote:
> > > > > > > > > > Has anybody managed to make MyFaces 1.1.5 work on SJAS
> 9?
> > When I
> > > > try
> > > > > > to
> > > > > > > > load
> > > > > > > > > > a jsf page it throws an exception:
> > > > > > > > > >
> > > > > > > > > > java.lang.UnsupportedOperationException
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > javax.faces.application.Application.getELResolver(Application.java:443)
> > > > > > > > > > ...
> > > > > > > > > >
> > > > > > > > > > It throws it even when I remove jsf-impl from server's
> lib
> > > > > > directory, so
> > > > > > > > I
> > > > > > > > > > assume it's due to servlet version.
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Juan Ignacio Sánchez Lara
> > > > > > > > > > Ingeniero Informático + Técnico de Sistemas
> > > > > > > > > >
> > > > > > > > > > Diario: http://juanignaciosl.blogspot.com
> > > > > > > > > > Ideas + Ingeniería del Software:
> http://iiso.blogspot.com/
> > > > > > > > > >
> > > > > > > > > > Fotos (todas):
> > > > > > > > http://www.flickr.com/photos/juanignaciosl
> > > > > > > > > > Fotos (selección):
> > > > > > > > http://jpgmag.com/people/juanignaciosl
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Matthias Wessendorf
> > > > > > > > >
> > > > > > > > > further stuff:
> > > > > > > > > blog:
> > http://matthiaswessendorf.wordpress.com/
> > > > > > > > > mail: matzew-at-apache-dot-org
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Zied Hamdi
> > > > > > > > zatreex.sourceforge.net
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Matthias Wessendorf
> > > > > > >
> > > > > > > further stuff:
> > > > > > > blog: http://matthiaswessendorf.wordpress.com/
> > > > > > > mail: matzew-at-apache-dot-org
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > > Juan Ignacio Sánchez Lara
> > > > > > Ingeniero Informático + Técnico de Sistemas
> > > > > >
> > > > > > Diario: http://juanignaciosl.blogspot.com
> > > > > > Ideas + Ingeniería del Software: http://iiso.blogspot.com/
> > > > > >
> > > > > > Fotos (todas):
> > > > http://www.flickr.com/photos/juanignaciosl
> > > > > > Fotos (selección):
> > > > http://jpgmag.com/people/juanignaciosl
> > > > >
> > > > >
> > > > > --
> > > > > Matthias Wessendorf
> > > > >
> > > > > further stuff:
> > > > > blog: http://matthiaswessendorf.wordpress.com/
> > > > > mail: matzew-at-apache-dot-org
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Juan Ignacio Sánchez Lara
> > > > Ingeniero Informático + Técnico de Sistemas
> > > >
> > > > Diario: http://juanignaciosl.blogspot.com
> > > > Ideas + Ingeniería del Software: http://iiso.blogspot.com/
> > > >
> > > > Fotos (todas):
> > http://www.flickr.com/photos/juanignaciosl
> > > > Fotos (selección):
> > http://jpgmag.com/people/juanignaciosl
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > >
> > > further stuff:
> > > blog: http://matthiaswessendorf.wordpress.com/
> > > mail: matzew-at-apache-dot-org
> > >
> >
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>

Re: Sun Java Application Server 9

Posted by Matthias Wessendorf <ma...@apache.org>.
By accident, I noticed this flag

com.sun.faces.useMyFaces



http://www.google.com/search?q=com.sun.faces.useMyFaces

On 7/13/07, alvaro tovar <al...@gmail.com> wrote:
> if some one know how run myfaces in sun one application server 9, please
> tell me.
>
>
>
> On 6/19/07, Matthias Wessendorf < matzew@apache.org> wrote:
> > The AS9 doc should contain infos on that, IMO ;)
> >
> > -M
> >
> > On 6/19/07, Juan Ignacio Sánchez Lara <ju...@gmail.com> wrote:
> > > In MyFaces Wiki there's no information about anything beyond 8.1.
> Anyway, I
> > > wanted 9 because of a bug at 8.2 which makes Acegi don't work, but I've
> > > finally decided to downgrade to 8.1.
> > >
> > > Thanks everybody!
> > >
> > >
> > >
> > > On 6/19/07, Matthias Wessendorf < matzew@apache.org> wrote:
> > > > I don't know.
> > > > Is there any hint in the doc ?
> > > >
> > > > -M
> > > >
> > > > On 6/19/07, Juan Ignacio Sánchez Lara < juanignaciosl@gmail.com>
> wrote:
> > > > > So... there is no way to use MyFaces on SJAS 9.0, isn't it?
> > > > >
> > > > >
> > > > >
> > > > > On 6/19/07, Matthias Wessendorf < matzew@apache.org> wrote:
> > > > > > > I've noticed the presence of javax.faces.FacesServlet in
> javaee.jar
> > > > > under
> > > > > > > AS9 / Glassfish (which is also in myfaces-api.jar), I didn't
> look
> > > > > further if
> > > > > > > implementations are the same, but I reminded I saw your post so
> I
> > > said
> > > > > it
> > > > > > > may interest you:
> > > > > >
> > > > > > yes, a JavaEE container has to ship
> > > > > > a) the API (javax.faces.*** )
> > > > > > b) the IMPL of the spec
> > > > > >
> > > > > > Any MyFaces has to ship the API as well
> > > > > > (in case of Geronimo, the JSF-API is the one from MyFaces, in AS9
> it
> > > > > > is the JSF RI)
> > > > > >
> > > > > > -M
> > > > > >
> > > > > > >
> > > > > > > If you don't see the sens : javaee.jar is implicitely added to
> your
> > > > > > > classpath, so nothing guaranties your desired version of
> > > FacesServlet
> > > > > (and
> > > > > > > maybe other classes) will be the one that is executed.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Zied
> > > > > > >
> > > > > > >
> > > > > > > 2007/6/18, Matthias Wessendorf < matzew@apache.org>:
> > > > > > > > SJAS 9 is JavaEE 5
> > > > > > > >
> > > > > > > > removing jsf-impl means, you removed the used IMPL
> > > > > > > > And only jsf-api (also shipped by the RI) is left.
> > > > > > > >
> > > > > > > > A JavaEE5 container has to ignore a JSF runtime (and API),
> shipped
> > > > > > > > inside WEB-INF/lib.
> > > > > > > > Therefore myfaces-api / myfaces-impl aren't used.
> > > > > > > >
> > > > > > > > I am not sure, how easy it is to *change* the used JSF runtime
> on
> > > SJAS
> > > > > 9.
> > > > > > > > JBoss has a parameter for this, AFAIK.
> > > > > > > >
> > > > > > > > -Matthias
> > > > > > > >
> > > > > > > > On 6/13/07, Juan Ignacio Sánchez Lara <
> juanignaciosl@gmail.com>
> > > > > wrote:
> > > > > > > > > Has anybody managed to make MyFaces 1.1.5 work on SJAS 9?
> When I
> > > try
> > > > > to
> > > > > > > load
> > > > > > > > > a jsf page it throws an exception:
> > > > > > > > >
> > > > > > > > > java.lang.UnsupportedOperationException
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> javax.faces.application.Application.getELResolver(Application.java:443)
> > > > > > > > > ...
> > > > > > > > >
> > > > > > > > > It throws it even when I remove jsf-impl from server's lib
> > > > > directory, so
> > > > > > > I
> > > > > > > > > assume it's due to servlet version.
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Juan Ignacio Sánchez Lara
> > > > > > > > > Ingeniero Informático + Técnico de Sistemas
> > > > > > > > >
> > > > > > > > > Diario: http://juanignaciosl.blogspot.com
> > > > > > > > > Ideas + Ingeniería del Software: http://iiso.blogspot.com/
> > > > > > > > >
> > > > > > > > > Fotos (todas):
> > > > > > > http://www.flickr.com/photos/juanignaciosl
> > > > > > > > > Fotos (selección):
> > > > > > > http://jpgmag.com/people/juanignaciosl
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Matthias Wessendorf
> > > > > > > >
> > > > > > > > further stuff:
> > > > > > > > blog:
> http://matthiaswessendorf.wordpress.com/
> > > > > > > > mail: matzew-at-apache-dot-org
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Zied Hamdi
> > > > > > > zatreex.sourceforge.net
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Matthias Wessendorf
> > > > > >
> > > > > > further stuff:
> > > > > > blog: http://matthiaswessendorf.wordpress.com/
> > > > > > mail: matzew-at-apache-dot-org
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Juan Ignacio Sánchez Lara
> > > > > Ingeniero Informático + Técnico de Sistemas
> > > > >
> > > > > Diario: http://juanignaciosl.blogspot.com
> > > > > Ideas + Ingeniería del Software: http://iiso.blogspot.com/
> > > > >
> > > > > Fotos (todas):
> > > http://www.flickr.com/photos/juanignaciosl
> > > > > Fotos (selección):
> > > http://jpgmag.com/people/juanignaciosl
> > > >
> > > >
> > > > --
> > > > Matthias Wessendorf
> > > >
> > > > further stuff:
> > > > blog: http://matthiaswessendorf.wordpress.com/
> > > > mail: matzew-at-apache-dot-org
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Juan Ignacio Sánchez Lara
> > > Ingeniero Informático + Técnico de Sistemas
> > >
> > > Diario: http://juanignaciosl.blogspot.com
> > > Ideas + Ingeniería del Software: http://iiso.blogspot.com/
> > >
> > > Fotos (todas):
> http://www.flickr.com/photos/juanignaciosl
> > > Fotos (selección):
> http://jpgmag.com/people/juanignaciosl
> >
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > mail: matzew-at-apache-dot-org
> >
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org