Re: Findings from moving a Tomcat 7.0.26 app to TomEE beta 1.0.0 plus

2012-02-27 Thread afryer
I had an issue with JSPs failing to recompile with 4.0.0-beta1 described http://openejb.979440.n4.nabble.com/openejb-overwrites-tomcat-conf-web-xml-JspServlet-lt-development-gt-parameter-value-td4213081.html#a4216277 here . The issue was caused by openejb overwriting the web.xml file with its own

Re: injection of one EJB in another in OSGi

2012-02-27 Thread Romain Manni-Bucau
doing so directly in the deployer can do the trick i think. - Romain 2012/2/27 Borislav Kapukaranov > I've noticed that some kind of chained class loader would fix the issue and > I already have such mechanism in place - I set it as a thread context class > loader (TCCL). The problem here is O

Re: injection of one EJB in another in OSGi

2012-02-27 Thread Borislav Kapukaranov
I've noticed that some kind of chained class loader would fix the issue and I already have such mechanism in place - I set it as a thread context class loader (TCCL). The problem here is OpenEjb sets its internal UrlClassLoader as TCCL for some reason so multiloader also won't work in this case. I

Re: injection of one EJB in another in OSGi

2012-02-27 Thread Jean-Baptiste Onofré
Hi guys, A ThreadContextClassLoader could also fix the issue, but it requires some change in the code. Regards JB On 02/27/2012 01:24 PM, Romain Manni-Bucau wrote: Hi, in tomcat we use this classloader as paretn of the webapp classloader so everything is fine. In OSGi i think a kind of mul

Re: injection of one EJB in another in OSGi

2012-02-27 Thread Romain Manni-Bucau
Hi, in tomcat we use this classloader as paretn of the webapp classloader so everything is fine. In OSGi i think a kind of multipleclassloader can fix this issue: try to load the class in openejb application classloader before the bundle classloader itself. - Romain 2012/2/27 Borislav Kapukara

Re: Findings from moving a Tomcat 7.0.26 app to TomEE beta 1.0.0 plus

2012-02-27 Thread Romain Manni-Bucau
Hu, 1. it is to be spec compliant that dev is not the default mode 2. you can customize it, personally i like the default behavior since it stays easy in dev mode and is often ok in prod mode 3. if your database if not correct, can't be created or is not found a default one (the one you found in d

Findings from moving a Tomcat 7.0.26 app to TomEE beta 1.0.0 plus

2012-02-27 Thread Neale Rudd
Hi Guys, Just joined the list, nice to meet you all. We host a series of Tomcat and JBoss VMs and that's our key business area. We're planning on starting hosting for TomEE within the next week, and have had a couple of minor issues getting started so I thought I'd mention them. As our first