Re: TomEE/MyFaces: EL exception NulPointerException for h:selectOneMenu

2012-12-17 Thread Romain Manni-Bucau
Hi Howard Just put a breakpoint in your setter then share the stacktrace at this moment Le 18 déc. 2012 01:43, "Howard W. Smith, Jr." a écrit : > Leonardo, > > I just confirmed the following: > > 1. @PostConstruct, pf_RollingStockController.init() method is called > 2. the h:selectOneMenu (below

Re: TomEE/MyFaces: EL exception NulPointerException for h:selectOneMenu

2012-12-17 Thread Howard W. Smith, Jr.
Leonardo, I just confirmed the following: 1. @PostConstruct, pf_RollingStockController.init() method is called 2. the h:selectOneMenu (below) is responsible, because the server log (below) will show that the setter has null as an argument value Please note that the test steps

Re: EJB Module Lookup

2012-12-17 Thread Romain Manni-Bucau
right but you can specify the url in the application.xml then it should be in the logs under the lines Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibuc

Re: EJB Module Lookup

2012-12-17 Thread José Luis Cetina
Ok, thanks. I deploy my ear manually but how can i acces to my webapp? i mean what url i have to use? in tomee (tomcat) manager my ear/war inst in the list i guess because is an ear file. 2012/12/17 Romain Manni-Bucau > they said yes (jar, war, ear) but personally i never deploy through an > I

Re: EJB Module Lookup

2012-12-17 Thread Romain Manni-Bucau
they said yes (jar, war, ear) but personally i never deploy through an IDE so not sure sorry :s Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/17 José Luis Cetina : >

Re: EJB Module Lookup

2012-12-17 Thread José Luis Cetina
Romain is IntellijIDEA fun integration with TomEE? I mean can IntellijIDEA can run ear "apps" in TomEE. I cant do that with netbeans, because netbeans dont recognize TomEE as a JEE6 App Server, and this is a problem to me, because i need to use an ear but i have to deploy the file manually and in

Re: Conflicts with TomEEClassLoaderEnricher

2012-12-17 Thread Romain Manni-Bucau
Great! thanks for the feedback :) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/17 Marco de Booij : > Thanks Romain. Just installed TomEE 1.5.1 Plus. I have deploye

Re: Conflicts with TomEEClassLoaderEnricher

2012-12-17 Thread Marco de Booij
Thanks Romain. Just installed TomEE 1.5.1 Plus. I have deployed Sonar and it works! I will move it into my 'production' and continue with my development. Regards, Marco Op 16-12-12 20:04, Marco de Booij schreef: I will give it a try. I will keep you informed. Op 16-12-12 14:42, Romain Manni

Re: JSF not starting on TomEE 1.5.1 plus

2012-12-17 Thread avrono
I seem to have solved the problem. My lack of understanding of Faces. I was using Half, faces, half JSP. Thanks for the time -- View this message in context: http://openejb.979440.n4.nabble.com/JSF-not-starting-on-TomEE-1-5-1-plus-tp4659143p4659766.html Sent from the OpenEJB User mailing list

Re: TomEE/MyFaces: 75040 is not a valid value for property totalMilesInOther

2012-12-17 Thread Howard W. Smith, Jr.
removing the following, fixed the problem. I am using f:convertNumber on many other pages, it seems to only occur on the page that contains the xhtml i in my previous email. On Mon, Dec 17, 2012 at 11:18 AM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > xhtml (please note the f:con

Re: JSF not starting on TomEE 1.5.1 plus

2012-12-17 Thread avrono
Hi Romain, Yes I do. I have place the project here https://github.com/avrono11/faces_issues.git Regards Avron -- View this message in context: http://openejb.979440.n4.nabble.com/JSF-not-starting-on-TomEE-1-5-1-plus-tp4659143p4659761.html Sen

Re: JSF not starting on TomEE 1.5.1 plus

2012-12-17 Thread Romain Manni-Bucau
Hi, do you have a faces-config.xml in WEB-INF (even empty)? here is a sample: http://svn.apache.org/repos/asf/openejb/trunk/openejb/examples/jsf-cdi-and-ejb/ hope it can help otherwise maybe share your project (github is loved for such a need ;) Romain Manni-Bucau Twitter: @rmannibucau Blog: h

Re: JSF not starting on TomEE 1.5.1 plus

2012-12-17 Thread avrono
I am having a similar problem ... was there a solution in the end ? My problem seems to be related to the tag which is unrecognised. I guess this means that faces is not configured correctly. I have added the TomEE/lib as a user library to the Build path in Eclipse and also set my Eclipse project

Re: Reusing Datasource

2012-12-17 Thread Romain Manni-Bucau
FYI: https://issues.apache.org/jira/browse/TOMEE-662 Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/17 tkayser : > thanks for the hint with the altdd. I will go this

Re: TomEE: EAR: Cannot locate the class from the codebase

2012-12-17 Thread Romain Manni-Bucau
CDI 1.0 doesn't explicit well how lib part of an ear and webapps communicates it will be fixed in CDI 1.1 (JavaEE 7 normally) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau

Re: TomEE: EAR: Cannot locate the class from the codebase

2012-12-17 Thread Jukkales
Hm okay, if i put everything in one WAR file and deploy it (exploded) it will work. But why it wont work when i put everything in a EAR? Did you mean that this not specified? 2012/12/15 Romain Manni-Bucau [via OpenEJB] < ml-node+s979440n4659669...@n4.nabble.com> > It will not and this in ear is

Re: Reusing Datasource

2012-12-17 Thread Romain Manni-Bucau
ok missed the "2 databases" thing, sorry you can still use the altdd feature to use an alternative persistence.xml and control the jndi name that's said we'll have a look to it Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rm

Re: Reusing Datasource

2012-12-17 Thread tkayser
Sorry, for the confusion, let me try to explain my problem again: I have multiple ejb.jar, so i have multiple persistence.xml. And I'cant adjust the persistence.xml's I have two physical DataBases. (both are used at the same time!) I need to map the corresponding DataSource(s) from the persisten

Re: link drop in wars unviable

2012-12-17 Thread Jean-Louis MONTEIRO
Ok, fixed and added also a "Previous release" section. Should be synchronized quickly. Jean-Louis 2012/12/17 Jean-Louis MONTEIRO > Good catch! > A bad search/replace command. > > Will fix that quickly. > In the mean time, all downloads are in that page > http://www.apache.org/dyn/closer.cgi/op

Re: Reusing Datasource

2012-12-17 Thread Romain Manni-Bucau
? basically openejb/tomee tries to find a matching datasource for each datasource defined in the persistence.xml (mainly comparing attributes of the datasource like JtaManaged) If you have a single datasource both datasource defined in the persistence.xml will be resolved to the same Romain Mann

Re: Why are Tomcat's threads more costly than background threads?

2012-12-17 Thread Romain Manni-Bucau
well, that's no more a technical question ;) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/17 Howard W. Smith, Jr. : > Well, I had that when my app was running via G

Re: Why are Tomcat's threads more costly than background threads?

2012-12-17 Thread Howard W. Smith, Jr.
Well, I had that when my app was running via GlassFish. I still have that code ready to use but websockets and tomee getting it all done for me, quite nicely. :-) On Dec 17, 2012 2:59 AM, "Romain Manni-Bucau" wrote: > Yes and no, it makes the connection being from the client why is better for >

Re: link drop in wars unviable

2012-12-17 Thread Jean-Louis MONTEIRO
Good catch! A bad search/replace command. Will fix that quickly. In the mean time, all downloads are in that page http://www.apache.org/dyn/closer.cgi/openejb/openejb-4.5.1 JLouis 2012/12/17 José Luiz Siesler Junior > God nigth. > > The links tomee-plus-webapp-1.5.1.war< > http://www.apache.o