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

2011-10-06 Thread Jacek Laskowski
On Thu, Oct 6, 2011 at 11:50 AM, Romain Manni-Bucau (Commented) (JIRA)
j...@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

2011-10-06 Thread Romain Manni-Bucau
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)
 j...@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

2011-10-06 Thread Jacek Laskowski
On Thu, Oct 6, 2011 at 12:00 PM, Romain Manni-Bucau
rmannibu...@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

2011-10-06 Thread Jacek Laskowski
On Thu, Oct 6, 2011 at 12:12 PM, Heinz Burgstaller (Commented) (JIRA)
j...@apache.org wrote:

    [ 
 https://issues.apache.org/jira/browse/OPENEJB-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13121821#comment-13121821
  ]

 Heinz Burgstaller commented on OPENEJB-1694:
 

 This solution would remove the JEE6 Stack from TomEE? The examples from 
 (http://code.google.com/a/apache-extras.org/p/myfaces-codi-examples/) are 
 using CODI for Transaction Management. My prefered solution is a JEE6 Stack 
 with included MyFaces CODI functionality, and OpenEJB handles Transaction 
 Management.

 Removing all the libs from /webapps/openejb/ would leave me a plain Tomcat 7, 
 or is that wrong?

It looks I wasn't the only one misled by not listening/reading
carefully :) A beauty of helping people who expect no help.

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

2011-10-06 Thread Romain Manni-Bucau
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
 rmannibu...@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)