You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Jacek Laskowski <ja...@japila.pl> on 2011/10/06 11:59:12 UTC

Re: [jira] [Commented] (OPENEJB-1694) TomEE Beta 1.0.0 doesn't start with MyFaces CODI

On Thu, Oct 6, 2011 at 11:50 AM, Romain Manni-Bucau (Commented) (JIRA)
<ji...@apache.org> wrote:

> Romain Manni-Bucau commented on OPENEJB-1694:
> ---------------------------------------------
>
> please check your dependencies, i just tried and it works perfectly.
>
> i tried with google CODI examples.
>
> i had to remove openwebbeans, myfaces, geronimo .. jars (remove all jar which are already in webapps/openejb/lib excepted logging jar (slf4j/log4j)).

I was to have looked at the issue, too. I'm amazed you did it so prompt.

I however don't like the solution. Do you propose to remove the libs
from openejb/lib directory to have the other app running? I think it's
like deleting/adding jars to tomcat's lib or ext or even java's ext
dir - it will help and even encourage for future actions like that,
but it's not a very safe way to fix the issue to me. It's too
low-level, isn't it? Aren't openejb's jars separated from other
webapp's jars?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
"Hoping to save time by spending it" by David Blevins (Apache OpenEJB)

Re: [jira] [Commented] (OPENEJB-1694) TomEE Beta 1.0.0 doesn't start with MyFaces CODI

Posted by Romain Manni-Bucau <rm...@gmail.com>.
this is a common issue, i wrote a small utility about it:

http://code.google.com/p/rmannibucau/source/browse/util/lib-helper/src/main/java/fr/rmannibucau/libhelper/Main.java

- Romain

2011/10/6 Jacek Laskowski <ja...@japila.pl>

> On Thu, Oct 6, 2011 at 12:00 PM, Romain Manni-Bucau
> <rm...@gmail.com> wrote:
> > i propose to remove jars from its webapp (i'm pretty sure it is the
> problem
> > since i had the same downloading an example).
> >
> > tomcat and openejb shouldn't be touched.
>
> Ah, thanks Romain for your patience to elaborate on it. You did write
> about removing the jars "which are already in webapps/openejb/lib
> excepted logging jar (slf4j/log4j)". Thanks again.
>
> I think it should be somewhere in the doc so people won't run into it
> again or will be warned it may happen. Is there a place for it?
>
> Jacek
>
> --
> Jacek Laskowski
> Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
> Warszawa JUG conference = Confitura (formerly Javarsovia) ::
> http://confitura.pl
> "Hoping to save time by spending it" by David Blevins (Apache OpenEJB)
>

Re: [jira] [Commented] (OPENEJB-1694) TomEE Beta 1.0.0 doesn't start with MyFaces CODI

Posted by Jacek Laskowski <ja...@japila.pl>.
On Thu, Oct 6, 2011 at 12:00 PM, Romain Manni-Bucau
<rm...@gmail.com> wrote:
> i propose to remove jars from its webapp (i'm pretty sure it is the problem
> since i had the same downloading an example).
>
> tomcat and openejb shouldn't be touched.

Ah, thanks Romain for your patience to elaborate on it. You did write
about removing the jars "which are already in webapps/openejb/lib
excepted logging jar (slf4j/log4j)". Thanks again.

I think it should be somewhere in the doc so people won't run into it
again or will be warned it may happen. Is there a place for it?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
"Hoping to save time by spending it" by David Blevins (Apache OpenEJB)

Re: [jira] [Commented] (OPENEJB-1694) TomEE Beta 1.0.0 doesn't start with MyFaces CODI

Posted by Romain Manni-Bucau <rm...@gmail.com>.
i propose to remove jars from its webapp (i'm pretty sure it is the problem
since i had the same downloading an example).

tomcat and openejb shouldn't be touched.

- Romain

2011/10/6 Jacek Laskowski <ja...@japila.pl>

> On Thu, Oct 6, 2011 at 11:50 AM, Romain Manni-Bucau (Commented) (JIRA)
> <ji...@apache.org> wrote:
>
> > Romain Manni-Bucau commented on OPENEJB-1694:
> > ---------------------------------------------
> >
> > please check your dependencies, i just tried and it works perfectly.
> >
> > i tried with google CODI examples.
> >
> > i had to remove openwebbeans, myfaces, geronimo .. jars (remove all jar
> which are already in webapps/openejb/lib excepted logging jar
> (slf4j/log4j)).
>
> I was to have looked at the issue, too. I'm amazed you did it so prompt.
>
> I however don't like the solution. Do you propose to remove the libs
> from openejb/lib directory to have the other app running? I think it's
> like deleting/adding jars to tomcat's lib or ext or even java's ext
> dir - it will help and even encourage for future actions like that,
> but it's not a very safe way to fix the issue to me. It's too
> low-level, isn't it? Aren't openejb's jars separated from other
> webapp's jars?
>
> Jacek
>
> --
> Jacek Laskowski
> Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
> Warszawa JUG conference = Confitura (formerly Javarsovia) ::
> http://confitura.pl
> "Hoping to save time by spending it" by David Blevins (Apache OpenEJB)
>