You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Adrian Gonzalez <ad...@yahoo.fr> on 2007/08/06 16:22:15 UTC
WAS 6.1 & MyFaces 1.1.5 : Both MyFaces and the RI are on your classpath
Hello,
I've migrated from MyFaces 1.1.4 to 1.1.5 (with
Websphere 6.1).
I've this error message on my first access to the
application :
ERROR - MyfacesConfig.getCurrentInstance(191) | Both
MyFaces and the RI are on your classpath. Please make
sure to use only one of the two JSF-implementations.
But the application runs fine.
I'm using the first installation from
http://wiki.apache.org/myfaces/Websphere_Installation,
so Classloader settings to PARENT_LAST.
Wesphsere embedds its own JSF RI in its runtime, so
it's detected my the myfaces runtime.
I think this message is only an info message in my
case and not an error message.
Could someone confirm please ?
Can the message be fixed in order not to alarm
websphere users ?
Thank you
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
RE : Re: RE : Re: WAS 6.1 & MyFaces 1.1.5 : Both MyFaces and the RI are on your classpath
Posted by Adrian Gonzalez <ad...@yahoo.fr>.
It would be perfect for me !
Thank you
--- Martin Marinschek <ma...@gmail.com> a
écrit :
> What I could do is connect the logger for these log
> statements with a
> different class - so that you do have the ability to
> block these
> messages precisely.
>
> regards,
>
> Martin
>
> On 8/6/07, Adrian Gonzalez <ad...@yahoo.fr>
> wrote:
> > Thank you very much Martin,
> >
> > My appServer administrators don't want to touch
> the
> > websphere runtime libs, so I'll just document this
> > behavior (I prefer for the moment to have other
> > messages from MyfacesConfig appearing and so won't
> > change log4j setting).
> >
> > --- Martin Marinschek
> <ma...@gmail.com> a
> > écrit :
> >
> > > Hi Adrian,
> > >
> > > in this very specific case, you should be
> alright.
> > > Still, to play it
> > > on the safe side, I would try to reconfigure
> > > Websphere not to use the
> > > RI at all on the classpath.
> > >
> > > If you don't want to go down this road, please
> > > change the log-settings
> > > yourself by supplying a log4j.properties file
> which
> > > masks this
> > > log-entry, as generally, this is very much an
> error,
> > > and we
> > > specifically wanted to alarm users in this case.
> > >
> > > regards,
> > >
> > > Martin
> > >
> > > On 8/6/07, Adrian Gonzalez
> <ad...@yahoo.fr>
> > > wrote:
> > > > Hello,
> > > >
> > > > I've migrated from MyFaces 1.1.4 to 1.1.5
> (with
> > > > Websphere 6.1).
> > > >
> > > > I've this error message on my first access to
> the
> > > > application :
> > > > ERROR - MyfacesConfig.getCurrentInstance(191)
> |
> > > Both
> > > > MyFaces and the RI are on your classpath.
> Please
> > > make
> > > > sure to use only one of the two
> > > JSF-implementations.
> > > >
> > > > But the application runs fine.
> > > >
> > > > I'm using the first installation from
> > > >
> > >
> >
>
http://wiki.apache.org/myfaces/Websphere_Installation,
> > > > so Classloader settings to PARENT_LAST.
> > > > Wesphsere embedds its own JSF RI in its
> runtime,
> > > so
> > > > it's detected my the myfaces runtime.
> > > >
> > > > I think this message is only an info message
> in my
> > > > case and not an error message.
> > > >
> > > > Could someone confirm please ?
> > > > Can the message be fixed in order not to alarm
> > > > websphere users ?
> > > >
> > > > Thank you
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
_____________________________________________________________________________
> > > > Ne gardez plus qu'une seule adresse mail !
> Copiez
> > > vos mails vers Yahoo! Mail
> > > >
> > >
> > >
> > > --
> > >
> > > http://www.irian.at
> > >
> > > Your JSF powerhouse -
> > > JSF Consulting, Development and
> > > Courses in English and German
> > >
> > > Professional Support for Apache MyFaces
> > >
> >
> >
> >
> >
>
_____________________________________________________________________________
> > Ne gardez plus qu'une seule adresse mail ! Copiez
> vos mails vers Yahoo! Mail
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
Re: RE : Re: WAS 6.1 & MyFaces 1.1.5 : Both MyFaces and the RI are on your classpath
Posted by Martin Marinschek <ma...@gmail.com>.
What I could do is connect the logger for these log statements with a
different class - so that you do have the ability to block these
messages precisely.
regards,
Martin
On 8/6/07, Adrian Gonzalez <ad...@yahoo.fr> wrote:
> Thank you very much Martin,
>
> My appServer administrators don't want to touch the
> websphere runtime libs, so I'll just document this
> behavior (I prefer for the moment to have other
> messages from MyfacesConfig appearing and so won't
> change log4j setting).
>
> --- Martin Marinschek <ma...@gmail.com> a
> écrit :
>
> > Hi Adrian,
> >
> > in this very specific case, you should be alright.
> > Still, to play it
> > on the safe side, I would try to reconfigure
> > Websphere not to use the
> > RI at all on the classpath.
> >
> > If you don't want to go down this road, please
> > change the log-settings
> > yourself by supplying a log4j.properties file which
> > masks this
> > log-entry, as generally, this is very much an error,
> > and we
> > specifically wanted to alarm users in this case.
> >
> > regards,
> >
> > Martin
> >
> > On 8/6/07, Adrian Gonzalez <ad...@yahoo.fr>
> > wrote:
> > > Hello,
> > >
> > > I've migrated from MyFaces 1.1.4 to 1.1.5 (with
> > > Websphere 6.1).
> > >
> > > I've this error message on my first access to the
> > > application :
> > > ERROR - MyfacesConfig.getCurrentInstance(191) |
> > Both
> > > MyFaces and the RI are on your classpath. Please
> > make
> > > sure to use only one of the two
> > JSF-implementations.
> > >
> > > But the application runs fine.
> > >
> > > I'm using the first installation from
> > >
> >
> http://wiki.apache.org/myfaces/Websphere_Installation,
> > > so Classloader settings to PARENT_LAST.
> > > Wesphsere embedds its own JSF RI in its runtime,
> > so
> > > it's detected my the myfaces runtime.
> > >
> > > I think this message is only an info message in my
> > > case and not an error message.
> > >
> > > Could someone confirm please ?
> > > Can the message be fixed in order not to alarm
> > > websphere users ?
> > >
> > > Thank you
> > >
> > >
> > >
> > >
> >
> _____________________________________________________________________________
> > > Ne gardez plus qu'une seule adresse mail ! Copiez
> > vos mails vers Yahoo! Mail
> > >
> >
> >
> > --
> >
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>
>
>
> _____________________________________________________________________________
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
RE : Re: WAS 6.1 & MyFaces 1.1.5 : Both MyFaces and the RI are on your classpath
Posted by Adrian Gonzalez <ad...@yahoo.fr>.
Thank you very much Martin,
My appServer administrators don't want to touch the
websphere runtime libs, so I'll just document this
behavior (I prefer for the moment to have other
messages from MyfacesConfig appearing and so won't
change log4j setting).
--- Martin Marinschek <ma...@gmail.com> a
écrit :
> Hi Adrian,
>
> in this very specific case, you should be alright.
> Still, to play it
> on the safe side, I would try to reconfigure
> Websphere not to use the
> RI at all on the classpath.
>
> If you don't want to go down this road, please
> change the log-settings
> yourself by supplying a log4j.properties file which
> masks this
> log-entry, as generally, this is very much an error,
> and we
> specifically wanted to alarm users in this case.
>
> regards,
>
> Martin
>
> On 8/6/07, Adrian Gonzalez <ad...@yahoo.fr>
> wrote:
> > Hello,
> >
> > I've migrated from MyFaces 1.1.4 to 1.1.5 (with
> > Websphere 6.1).
> >
> > I've this error message on my first access to the
> > application :
> > ERROR - MyfacesConfig.getCurrentInstance(191) |
> Both
> > MyFaces and the RI are on your classpath. Please
> make
> > sure to use only one of the two
> JSF-implementations.
> >
> > But the application runs fine.
> >
> > I'm using the first installation from
> >
>
http://wiki.apache.org/myfaces/Websphere_Installation,
> > so Classloader settings to PARENT_LAST.
> > Wesphsere embedds its own JSF RI in its runtime,
> so
> > it's detected my the myfaces runtime.
> >
> > I think this message is only an info message in my
> > case and not an error message.
> >
> > Could someone confirm please ?
> > Can the message be fixed in order not to alarm
> > websphere users ?
> >
> > Thank you
> >
> >
> >
> >
>
_____________________________________________________________________________
> > Ne gardez plus qu'une seule adresse mail ! Copiez
> vos mails vers Yahoo! Mail
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
Re: WAS 6.1 & MyFaces 1.1.5 : Both MyFaces and the RI are on your classpath
Posted by Martin Marinschek <ma...@gmail.com>.
Hi Adrian,
in this very specific case, you should be alright. Still, to play it
on the safe side, I would try to reconfigure Websphere not to use the
RI at all on the classpath.
If you don't want to go down this road, please change the log-settings
yourself by supplying a log4j.properties file which masks this
log-entry, as generally, this is very much an error, and we
specifically wanted to alarm users in this case.
regards,
Martin
On 8/6/07, Adrian Gonzalez <ad...@yahoo.fr> wrote:
> Hello,
>
> I've migrated from MyFaces 1.1.4 to 1.1.5 (with
> Websphere 6.1).
>
> I've this error message on my first access to the
> application :
> ERROR - MyfacesConfig.getCurrentInstance(191) | Both
> MyFaces and the RI are on your classpath. Please make
> sure to use only one of the two JSF-implementations.
>
> But the application runs fine.
>
> I'm using the first installation from
> http://wiki.apache.org/myfaces/Websphere_Installation,
> so Classloader settings to PARENT_LAST.
> Wesphsere embedds its own JSF RI in its runtime, so
> it's detected my the myfaces runtime.
>
> I think this message is only an info message in my
> case and not an error message.
>
> Could someone confirm please ?
> Can the message be fixed in order not to alarm
> websphere users ?
>
> Thank you
>
>
>
> _____________________________________________________________________________
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces