Re: Migrating from Glassfish/JSF-managed-beans to TomEE-CDI-managed-beans

2012-11-17 Thread Howard W. Smith, Jr.
EJBException.getCausedByException() On Sat, Nov 17, 2012 at 12:56 PM, José Luis Cetina maxtorz...@gmail.comwrote: Howard please the best place for ask TomEE stuff is to suscribe: users@openejb.apache.org El 17/11/2012 11:49, Howard W. Smith, Jr. smithh032...@gmail.com escribió: Done. I removed JUEL

Re: TomEE/SQL exception: user lacks privilege or object not found

2012-11-18 Thread Howard W. Smith, Jr.
configure the datasource in tomee.xml. try to do a simple query and check .if you can read the database, if not, try to configure.your datasource in tomee.xml. El 18/11/2012 17:22, Howard W. Smith, Jr. smithh032...@gmail.com escribió: I am attempting to migrate from Glassfish 3.1.2.2

TomEE: configuring datasource for @PersistentContext

2012-11-18 Thread Howard W. Smith, Jr.
/examples-trunk/jpa-eclipselink/README.html On Sun, Nov 18, 2012 at 9:13 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Thank you both for your responses. Will give tomee.xml a try; i'm only '2 days old' with TomEE. :) Is tomee.xml and server.xml basically the same? TomEE 1.5.0 has

Re: EJBs not scanned when working in Eclipse workspace metadata folder (Windows)

2012-11-19 Thread Howard W. Smith, Jr.
Smiling... okay, thanks for letting me know. I did not do that yet. On Mon, Nov 19, 2012 at 10:00 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: hmm, removing @Stateless means loosing transactions...i really think that's a bad idea *Romain Manni-Bucau* *Twitter: @rmannibucau

Re: Migrating to TomEE/CDI: OpenEJB 'nested' exceptions

2012-11-19 Thread Howard W. Smith, Jr.
scoperuntime/scope /dependency 2012/11/19 Howard W. Smith, Jr. smithh032...@gmail.com Now that my TomEE/CDI is successfully connecting to database to validate user login credentials, my web app is now not able to open the first page after successful login. Basically, it is a parent

Re: Migrating to TomEE/CDI: OpenEJB 'nested' exceptions

2012-11-19 Thread Howard W. Smith, Jr.
Howard W. Smith, Jr. smithh032...@gmail.com Jose, Thanks for the response. Hmmm, it seems as though you are referring to options that I can access in TomEE's web/GUI (localhost:8080 ???). I have not even tried that yet; of course, I used to use Glassfish Admin console (localhost:4848

Re: Migrating to TomEE/CDI: OpenEJB 'nested' exceptions

2012-11-19 Thread Howard W. Smith, Jr.
with this explanation. El 19/11/2012 09:58, Howard W. Smith, Jr. smithh032...@gmail.com escribió: Yes, I use NetBeans 7.2, and how do I use TomEE? Start, stop, and undeploy options after right-click TomEE under Servers on Services pane. right now, I'm configuring TomEE admin/manager GUI password

Re: Migrating to TomEE/CDI: OpenEJB 'nested' exceptions

2012-11-19 Thread Howard W. Smith, Jr.
Tomcat (TomEE)/7.0.32 On Mon, Nov 19, 2012 at 11:13 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Thanks, that was a very clear explanation, and I did all of that maybe 2 or 3 days ago, 'except' for the VM options. VM options via NetBeans sound good for development purposes only

Re: Migrating to TomEE/CDI: OpenEJB 'nested' exceptions

2012-11-19 Thread Howard W. Smith, Jr.
maxtorz...@gmail.comwrote: Like you says this is only for development, I don't remember where (the sysadmin of the company) sets the options, tomorrow I can share to you El 19/11/2012 10:14, Howard W. Smith, Jr. smithh032...@gmail.com escribió: Thanks, that was a very clear explanation

Re: Migrating to TomEE/CDI: OpenEJB 'nested' exceptions

2012-11-19 Thread Howard W. Smith, Jr.
19, 2012 at 11:24 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Okay. I will search via google. :) If anyone else has anything to share about avoiding OpenEJBException 'nested' (Injection) exceptions for those that are migrating from JSF Managed Beans to CDI managed beans, then please

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-19 Thread Howard W. Smith, Jr.
of AddressTypeFacade). Is there a general practice used for injecting beans in Converters.. On Mon, Nov 19, 2012 at 2:38 PM, Romain Manni-Bucau rmannibu...@gmail.comwrote: Can you reproduce it in a sample? What is on the npe line? Le 19 nov. 2012 20:25, Howard W. Smith, Jr. smithh032

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-19 Thread Howard W. Smith, Jr.
, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Hmmm... after thinking about it, I remembered to use @Inject on the bean which I want to inject. So, I did the following: @FacesConverter(forClass = AddressType.class) public static class AddressTypeControllerConverter implements

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-19 Thread Howard W. Smith, Jr.
not instantiate converter class jsf.address.pf_AddressTypeController$AddressTypeControllerConverter java.lang.InstantiationException: jsf.address.pf_AddressTypeController$AddressTypeControllerConverter On Mon, Nov 19, 2012 at 3:07 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: I searched

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-19 Thread Howard W. Smith, Jr.
far. :) On Mon, Nov 19, 2012 at 7:20 PM, Romain Manni-Bucau rmannibu...@gmail.comwrote: If it is a nested class you need it otherwise (class foo in foo.java file) you dont need it Le 20 nov. 2012 01:16, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Good question. I removed 'static

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-20 Thread Howard W. Smith, Jr.
Faces context? Please explain. On Nov 20, 2012 1:56 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: You cant use faces context? Le 20 nov. 2012 03:01, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : For minimal changes, I'm adding FacesConverter to JSF requestscoped

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-20 Thread Howard W. Smith, Jr.
/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/20 Howard W. Smith, Jr. smithh032...@gmail.com Faces context? Please explain. On Nov 20, 2012 1:56 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: You cant use faces context? Le 20 nov. 2012 03:01, Howard W. Smith, Jr

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-20 Thread Howard W. Smith, Jr.
://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/20 Howard W. Smith, Jr. smithh032...@gmail.com Faces context? Please explain. On Nov 20, 2012 1:56 AM, Romain Manni-Bucau rmannibu...@gmail.com

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-20 Thread Howard W. Smith, Jr.
will come in JSF-2.2. LieGrue, strub - Original Message - From: Howard W. Smith, Jr. smithh032...@gmail.com To: users@openejb.apache.org; MyFaces Discussion us...@myfaces.apache.org Cc: Sent: Tuesday, November 20, 2012 1:56 PM Subject: Re: Migrating to CDI: injecting stateless

Re: Migrating to CDI: @Asynchronous

2012-11-20 Thread Howard W. Smith, Jr.
: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/20 Howard W. Smith, Jr. smithh032...@gmail.com Prior to migrating from JSF managed to CDI (and currently in production), my web app is using @Asynchronous on @SessionScoped bean to push data

Re: Migrating to CDI: @Asynchronous

2012-11-20 Thread Howard W. Smith, Jr.
implementation. LieGrue, strub - Original Message - From: Howard W. Smith, Jr. smithh032...@gmail.com To: users@openejb.apache.org; MyFaces Discussion us...@myfaces.apache.org Cc: Sent: Tuesday, November 20, 2012 3:06 PM Subject: Re: Migrating to CDI: @Asynchronous

Re: Migrating to CDI: @Asynchronous

2012-11-20 Thread Howard W. Smith, Jr.
and restartable implementation. LieGrue, strub - Original Message - From: Howard W. Smith, Jr. smithh032...@gmail.com To: users@openejb.apache.org; MyFaces Discussion us...@myfaces.apache.org Cc: Sent: Tuesday, November 20, 2012 3:06 PM Subject: Re: Migrating to CDI

Re: TomEE ignores transaction-api-1.1.jar (dependency of batoo-jpa)

2012-11-20 Thread Howard W. Smith, Jr.
* *Blog: **http://rmannibucau.wordpress.com/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/20 Howard W. Smith, Jr. smithh032...@gmail.com I'm trying to use batoo-jpa now, but the dependencies include

Re: TomEE ignores transaction-api-1.1.jar (dependency of batoo-jpa)

2012-11-20 Thread Howard W. Smith, Jr.
* *Github: https://github.com/rmannibucau* 2012/11/20 Howard W. Smith, Jr. smithh032...@gmail.com I'm trying to use batoo-jpa now, but the dependencies include transaction JAR that may be 'ignored' by TomEE container. Everytime I start TomEE (or deploy to app from NetBeans 7.2), the following

Re: TomEE ignores transaction-api-1.1.jar (dependency of batoo-jpa)

2012-11-20 Thread Howard W. Smith, Jr.
://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/20 Howard W. Smith, Jr. smithh032...@gmail.com Hey, that was funny about, me the user, provide transaction JAR in my app. Honestly, NetBeans/TomEE integration is doing that for whatever reason. Maybe, I'm

Re: TomEE ignores transaction-api-1.1.jar (dependency of batoo-jpa)

2012-11-20 Thread Howard W. Smith, Jr.
/rmannibucau* 2012/11/20 Howard W. Smith, Jr. smithh032...@gmail.com Not using maven, but will look at dependency tree. Can you please elaborate on the following or provide sample persistence.xml for what you stated below? *or the best would be to let batoo get the tx mgr through

Re: TomEE ignores transaction-api-1.1.jar (dependency of batoo-jpa)

2012-11-20 Thread Howard W. Smith, Jr.
://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/20 Howard W. Smith, Jr. smithh032...@gmail.com I manage dependencies via netbeans Project Properties Libraries window/dialog. Basic/reliable approach for me. :) As per what you stated below, or the best would

Re: TomEE undeploy app is not invoking @PreDestroy on CDI @ApplicationScoped bean

2012-11-21 Thread Howard W. Smith, Jr.
Romain, do you think this is a TomEE issue or CODI issue? Thanks, Howard On Wed, Nov 21, 2012 at 3:13 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Instead, I added the following as the first lines in @PreDestroy method on CDI @ApplicationScoped bean. DerbyUtil

Re: TomEE undeploy app is not invoking @PreDestroy on CDI @ApplicationScoped bean

2012-11-21 Thread Howard W. Smith, Jr.
: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/21 Howard W. Smith, Jr. smithh032...@gmail.com Romain, do you think this is a TomEE issue or CODI issue? Thanks, Howard On Wed, Nov 21, 2012 at 3:13 AM, Howard W. Smith, Jr

Re: TomEE undeploy app is not invoking @PreDestroy on CDI @ApplicationScoped bean

2012-11-21 Thread Howard W. Smith, Jr.
://rmannibucau.wordpress.com/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/21 Howard W. Smith, Jr. smithh032...@gmail.com Interesting...seems like it was just reported/created/updated/resolved today

Re: TomEE undeploy app is not invoking @PreDestroy on CDI @ApplicationScoped bean

2012-11-21 Thread Howard W. Smith, Jr.
://rmannibucau.wordpress.com/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/21 Howard W. Smith, Jr. smithh032...@gmail.com All good. What is best way to be informed of or made aware of SNAPSHOTS

Re: TomEE undeploy app is not invoking @PreDestroy on CDI @ApplicationScoped bean

2012-11-21 Thread Howard W. Smith, Jr.
/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/21 Howard W. Smith, Jr. smithh032...@gmail.com Hmmm, how do i get access to IRC. I think I used that years ago, but not aware anymore how to do so. I have to download a IRC chat software

Re: TomEE: configuring for Asynchronous/websockets

2012-11-21 Thread Howard W. Smith, Jr.
Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/21 Howard W. Smith, Jr. smithh032

Migration to TomEE/CODI: very strange AJAX issue during regression testing

2012-11-21 Thread Howard W. Smith, Jr.
You all know by now that I recently migrated *FROM*: Glassfish 3.1.2.2, MyFaces 2.1.9, and JSF Managed beans *TO*: TomEE 1.5 SNAPSHOT, Apache MyFaces CDI Extensions 1.0.6 (CODI), and CDI managed beans So, I am regression testing, and I am experiencing a very very strange issue with *TomEE/CODI*

Re: Migration to TomEE/CODI: very strange AJAX issue during regression testing

2012-11-21 Thread Howard W. Smith, Jr.
=#{pf_ordersController.filterTripDateToSelected} update=:ordersBrowseForm:ordersDataTable :ordersBrowseForm:formMessages :ordersBrowseForm:_ajax_status / /p:calendar On Wed, Nov 21, 2012 at 3:06 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: You all know by now that I recently migrated *FROM

Re: Migration to TomEE/CODI: very strange AJAX issue during regression testing

2012-11-21 Thread Howard W. Smith, Jr.
I removed Apache CODI JARs from classpath and duplicated this issue, so this may be a TomEE/OpenEJB (OpenWebBeans) issue. Please confirm. Thanks, Howard On Wed, Nov 21, 2012 at 3:19 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: The following is the XHTML for the *FROM

Re: Migration to TomEE/CODI: very strange AJAX issue during regression testing

2012-11-21 Thread Howard W. Smith, Jr.
I replaced PrimeFaces 3.5 SNAPSHOT with PrimeFaces 3.4.1 (stable version), and I am still duplicating this issue in my web app. So, this is *not* a PrimeFaces 3.4.1 issue. On Wed, Nov 21, 2012 at 3:45 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: I removed Apache CODI JARs from

Re: Migration to TomEE/CODI: very strange AJAX issue during regression testing

2012-11-21 Thread Howard W. Smith, Jr.
...@gmail.comwrote: I cant see any attachment, this can be (i really dont know) because is a mailing list, why you dont upload in http://imageshack.us/ and share the url? 2012/11/21 Howard W. Smith, Jr. smithh032...@gmail.com Jose', they were attached to the OP (original post). I am attaching them

Re: Migration to TomEE/CODI: very strange AJAX issue during regression testing

2012-11-21 Thread Howard W. Smith, Jr.
:ordersBrowseForm:formMessages :ordersBrowseForm:_ajax_status / /p:calendar On Wed, Nov 21, 2012 at 3:19 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: The following is the XHTML for the *FROM* and *TO* p:calendar components in PrimeFaces p:dataTable component. Please note that the *mode

Re: Tomee Plus instead of Glassfish

2012-11-22 Thread Howard W. Smith, Jr.
Jean-Louis, Sounds good to me. I would have to refer to my daily notes/journal and my brain/memory to document my experience on such a page. Thanks, Howard On Thu, Nov 22, 2012 at 11:01 AM, Jean-Louis MONTEIRO jeano...@gmail.comwrote: Hey guys, Thanks so much for the feedback. If you

Re: Latest TomEE Plus SNAPSHOT: cannot start app/server; exceptions, etc..

2012-11-23 Thread Howard W. Smith, Jr.
-11-17 version and 2012-11-23 version of TomEE 1.5+ SNAPSHOT? I know we discussed a few things related to Batoo JPA, jdbc, persistence, jta, etc... Thanks, Howard On Fri, Nov 23, 2012 at 2:28 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Today, I downloaded *latest TomEE SNAPSHOT JAR

Re: TomEE 1.5+ SNAPSHOT failed to start as Windows Service on Windows Server 2003/2008

2012-11-24 Thread Howard W. Smith, Jr.
, Romain Manni-Bucau rmannibu...@gmail.comwrote: Hi, Did you try our own scripts? (service*.bat) Le 24 nov. 2012 05:46, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Can someone please point me to a reliable blog or set of instructions that will allow me to successfully install

Re: tomee + eclipselink = NoClassDefFoundError/ClassNotFoundException

2012-11-24 Thread Howard W. Smith, Jr.
Kurt, I recently migrated my web app from Glassfish 3.1.2.2 JSF managed beans to CDI managed beans on TomEE 1.5+ SNAPSHOT. Like you, I experienced those exceptions, had to search google plenty of times for those classes not found in my class path. Anyway, what is working well for me today is the

Re: TomEE undeploy app is not invoking @PreDestroy on CDI @ApplicationScoped bean

2012-11-24 Thread Howard W. Smith, Jr.
://rmannibucau.wordpress.com/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/21 Howard W. Smith, Jr. smithh032...@gmail.com Romain, do you think this is a TomEE issue or CODI issue? Thanks, Howard On Wed, Nov

Re: TomEE: Are stateful beans re-injected if server was shutdown and restarted?

2012-11-24 Thread Howard W. Smith, Jr.
itself Le 25 nov. 2012 07:57, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : If stateful beans were injected after server was started, are the same stateful beans re-injected automatically by TomEE when TomEE restarts? I ask this question, because I see the following after

Re: TomEE: Are stateful beans re-injected if server was shutdown and restarted?

2012-11-24 Thread Howard W. Smith, Jr.
No issue. If @Stateful beans live through shutdown/restart of TomEE, then when will @Stateful bean passivate? On Sun, Nov 25, 2012 at 2:34 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: What's the issue? Le 25 nov. 2012 08:33, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Any

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-11-24 Thread Howard W. Smith, Jr.
a session events excepted the timeout which will do it automatically Le 25 nov. 2012 08:36, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Interesting. So, when server shutdown, sessions are not destroyed? If the answer is yes, I guess you are telling me that I should invoke

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-11-24 Thread Howard W. Smith, Jr.
Interesting...well, now I know. I just added a @Stateful (first time), so the persistance across server shutdown/restart baffled me. :) On Sun, Nov 25, 2012 at 2:49 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Interesting. Glassfish always trigger my UserBean.sessionTimeout() via

Re: TomEE: Are stateful beans re-injected if server was shutdown and restarted?

2012-11-25 Thread Howard W. Smith, Jr.
dont see errors, thats just info Any functional errors? Le 25 nov. 2012 10:13, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Interesting, got the following error message, when I opened an xhtml page in the web app that references the CDI @SessionScoped that injects @Stateful bean

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-11-25 Thread Howard W. Smith, Jr.
for this? On Sun, Nov 25, 2012 at 2:57 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: I dont think you can by default (at least hope otherwise would probably be a security issue) Le 25 nov. 2012 08:50, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Interesting. Glassfish always

Re: TomEE: Are stateful beans re-injected if server was shutdown and restarted?

2012-11-25 Thread Howard W. Smith, Jr.
can maybe end this conversation unless you were trying to say something after I answered your question. On Nov 25, 2012 5:53 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Which timeout config for session and stateful? Le 25 nov. 2012 22:38, Howard W. Smith, Jr. smithh032...@gmail.com

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-11-25 Thread Howard W. Smith, Jr.
points: 1) this totally relies on tomcat 2) if the listener cant be created tomcat (not tomee) can swallow the exception by defaut so maybe thats your issue Le 25 nov. 2012 23:54, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Which snapshot did you test with? 2012-11-24 or 2012-11-25

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-11-25 Thread Howard W. Smith, Jr.
now. Personally i debug standardcontext.listenerstart method (in tomcat-catalina jar) with a breakpoint in catch blocks Le 26 nov. 2012 00:05, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Hmmm interesting. So what would possibly cause listener not get created? I think I saw http

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-11-26 Thread Howard W. Smith, Jr.
Howard W. Smith, Jr. smithh032...@gmail.com CDI error? interesting. logger to activate? you must be talking about JULI and logging properties file. I need to start using that, ASAP, instead of On Sun, Nov 25, 2012 at 6:09 PM, Romain Manni-Bucau rmannibu...@gmail.comwrote: Mainly cdi

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-11-26 Thread Howard W. Smith, Jr.
/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/26 Howard W. Smith, Jr. smithh032...@gmail.com Really and why? I usually don't refer there but I will confirm. I've seen other system out println in console. On Nov 26, 2012 3:22 AM

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-11-26 Thread Howard W. Smith, Jr.
://rmannibucau.wordpress.com/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/26 Howard W. Smith, Jr. smithh032...@gmail.com CDI error? interesting. logger to activate? you must be talking about JULI

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-11-26 Thread Howard W. Smith, Jr.
them *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/26 Howard W. Smith, Jr

Re: Apache TomEE documentation: WTP and TomEE logging

2012-11-26 Thread Howard W. Smith, Jr.
* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/26 Howard W. Smith, Jr. smithh032...@gmail.com How

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-11-26 Thread Howard W. Smith, Jr.
https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/26 Howard W. Smith, Jr. smithh032...@gmail.com As per your response in your

Re: Apache TomEE documentation: WTP and TomEE logging

2012-11-26 Thread Howard W. Smith, Jr.
in production, on the production server). Would like to thank Mark and Romain for their assistance, so far. On Mon, Nov 26, 2012 at 11:22 PM, David Blevins david.blev...@gmail.comwrote: On Nov 26, 2012, at 8:36 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: I think you're right, because

Re: Apache TomEE documentation: WTP and TomEE logging

2012-11-26 Thread Howard W. Smith, Jr.
Hmmm, was just able to access that page, but the page is only authorized to be edited by 'committers'. :( On Mon, Nov 26, 2012 at 11:38 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Wow, David, that page is not loading in my Google Chrome browser for whatever reason. I'm willing

Re: WARNING: Could NOT lazily initialize session context because of null RequestContext

2012-11-26 Thread Howard W. Smith, Jr.
. 2012 04:05, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Why is this message in my server console/log? Is this TomEE's way of closing sessions due to some type of timeout based on inactivity? Nov 26, 2012 7:26:34 PM org.apache.openejb.cdi.CdiAppContextsService

Re: APR based Apache Tomcat Native library ... not found on java.library.path

2012-11-29 Thread Howard W. Smith, Jr.
working with Tomcat should work with TomEE. If not, that's a bug so let us know to fix it. Jean-Louis 2012/11/26 Howard W. Smith, Jr. smithh032...@gmail.com cat Native library to my java.library -- Jean-Louis -- Jean-Louis

Re: TomEE and EclipseLink

2012-11-30 Thread Howard W. Smith, Jr.
Interesting. No, I'm not using criteria queries. Majority of my queries are dynamic SQL queries via persistence query.createQuery(), but just recently, I moved some of the more popular queries in the project to @namedQuery. On Fri, Nov 30, 2012 at 10:38 AM, José Luis Cetina

TomEE 1.5.1 SNAPSHOT: drop WAR, start TomEE, latest WAR not deployed

2012-12-03 Thread Howard W. Smith, Jr.
Just wanted to share the following issue I see with apache-tomee-1.5.1-20121201.041455-93-plus; I don't think I saw this with earlier versions of snapshot. 1. TomEE 'is' shutdown (or not running) 2. Drop a WAR in tomee /webapps folder 3. Start TomEE via NetBeans 4. Attempt to use/access the web

Re: TomEE 1.5.1 SNAPSHOT: drop WAR, start TomEE, latest WAR not deployed

2012-12-03 Thread Howard W. Smith, Jr.
idea to mix deployment styles Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/3 Howard W. Smith, Jr. smithh032...@gmail.com: Just wanted to share the following

Re: TomEE 1.5.1 SNAPSHOT: drop WAR, start TomEE, latest WAR not deployed

2012-12-03 Thread Howard W. Smith, Jr.
) On Mon, Dec 3, 2012 at 11:35 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Bad idea to mix deployment styles? Does that mean that I cannot do the following interchangeably? 1. deploy WAR to TomEE via Netbeans 2. deploy WAR by dropping WAR in tomee /webapps folder If the answer is yes

Re: TomEE 1.5.1 SNAPSHOT: drop WAR, start TomEE, latest WAR not deployed

2012-12-03 Thread Howard W. Smith, Jr.
Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/3 Howard W. Smith, Jr. smithh032...@gmail.com: Bad idea to mix deployment styles? Does that mean that I cannot do the following interchangeably? 1

Re: TomEE 1.5.1 SNAPSHOT: drop WAR, start TomEE, latest WAR not deployed

2012-12-03 Thread Howard W. Smith, Jr.
and deploy-to-container issues. On Mon, Dec 3, 2012 at 12:02 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Okay, noted. Interesting, TomEE cannot start my app any more. Even if I manually delete the WAR as well as the WAR folder in tomee /webapps folder, the app is failing to start

Re: TomEE 1.5.1 SNAPSHOT: drop WAR, start TomEE, latest WAR not deployed

2012-12-03 Thread Howard W. Smith, Jr.
:451) On Mon, Dec 3, 2012 at 4:46 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Will let you know, ASAP. Thanks. On Mon, Dec 3, 2012 at 1:34 PM, Romain Manni-Bucau rmannibu...@gmail.comwrote: Even with snapshot? Le 3 déc. 2012 18:08, Howard W. Smith, Jr. smithh032...@gmail.com

Re: TomEE 1.5.1 SNAPSHOT: drop WAR, start TomEE, latest WAR not deployed

2012-12-03 Thread Howard W. Smith, Jr.
with the name of the WAR file. :) So, latest SNAPSHOT is working fine. Thanks. On Mon, Dec 3, 2012 at 7:27 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: With latest snapshot, I'm still getting the error below; provided complete stacktrace a few emails ago. Caused

Re: TomEE 1.5.1 SNAPSHOT: drop WAR, start TomEE, latest WAR not deployed

2012-12-03 Thread Howard W. Smith, Jr.
it was chosen but depending how you deploy sometimes tomcat ignores context.xml path Think that s the issue you got Le 4 déc. 2012 01:47, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Add the following to my notes: LESSON LEARNED: build WAR, rename to mcmsweb.war (since *app

Re: TomEE 1.5.1 SNAPSHOT: drop WAR, start TomEE, latest WAR not deployed

2012-12-04 Thread Howard W. Smith, Jr.
:16 AM, Romain Manni-Bucau rmannibu...@gmail.com escribió: Yep, you cant respect it with drop in war approach (that s documented on tomcat website iirc) Le 4 déc. 2012 08:14, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Here is my META-INF/context.xml; I think

Re: TomEE 1.5.1 SNAPSHOT: drop WAR, start TomEE, latest WAR not deployed

2012-12-04 Thread Howard W. Smith, Jr.
is not registered with the JDBC driver manager Error Code: 4 On Tue, Dec 4, 2012 at 4:00 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: I opened NetBeans 7.2, clean-and-build, started TomEE, undeployed the previous WAR/application, and then dropped my TomEE/CDI WAR file in TomEE

Re: TomEE 1.5.1 SNAPSHOT: drop WAR, start TomEE, latest WAR not deployed

2012-12-04 Thread Howard W. Smith, Jr.
. 2012 04:40, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : I was 'just' about to reply this email and say that the 'not having to stop TomEE' is working good, but I just got the following error due to leaving TomEE up and running, undeploying WAR, and then dropping WAR in tomEE

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-12-06 Thread Howard W. Smith, Jr.
(or OpenWebBeans) CDI-managed-bean app. Howard On Sun, Nov 25, 2012 at 2:35 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Interesting. So, when server shutdown, sessions are not destroyed? If the answer is yes, I guess you are telling me that I should invoke session.invalidate

Re: TomEE: added favicon.ico, and it's not showing

2012-12-06 Thread Howard W. Smith, Jr.
:06 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Neale, Thank you for the response. I am trying the approach you recommend (the code provided), but no success yet. Will keep hacking my way at it, and let you know if I have any more questions, or when it works. Howard On Thu, Dec

Re: TomEE: added favicon.ico, and it's not showing

2012-12-06 Thread Howard W. Smith, Jr.
Correction, I had to omit the / (forward slash); below, is the code i added... link rel=icon type=image/png href=favicon.ico/ On Thu, Dec 6, 2012 at 11:17 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: First, I tried what the website recommended, and that didn't work. Next/finally

Re: TomEE: added favicon.ico, and it's not showing

2012-12-06 Thread Howard W. Smith, Jr.
flush and restart the browser. Best Regards, Neale - Original Message - From: Howard W. Smith, Jr. smithh032...@gmail.com To: users@openejb.apache.org Sent: Friday, December 07, 2012 3:18 PM Subject: Re: TomEE: added favicon.ico, and it's not showing Correction, I had to omit

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-12-06 Thread Howard W. Smith, Jr.
PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Romain, Since my TomEE/CDI-managed-bean web app is in production, as discussed earlier, I need this functionality. I never did write the code that I mentioned below, but I think I may need to try it out and see if it is a workaround

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-12-06 Thread Howard W. Smith, Jr.
Hi to update in a db you need a transaction - ejb I just confirmed that it is possible to use ejb in user bean when @PreDestroy method is called, but I also confirmed that the container is calling @PreDestroy more than once (at least 2 times). See stack trace below. INFO: Server startup in

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-12-06 Thread Howard W. Smith, Jr.
{ *user.setLastLogoutDt(lastLogout);* On Fri, Dec 7, 2012 at 1:56 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Hi to update in a db you need a transaction - ejb I just confirmed that it is possible to use ejb in user bean when @PreDestroy method is called, but I also confirmed that the container

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-12-06 Thread Howard W. Smith, Jr.
I could be wrong, but it seems as though I need to pass user POJO as an argument to this method, and use that instead of the user POJO defined as private on the user bean, pf_UsersController. On Fri, Dec 7, 2012 at 2:00 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Interesting, line

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-12-06 Thread Howard W. Smith, Jr.
guess, could be sthg to check after the release Le 7 déc. 2012 07:57, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Hi to update in a db you need a transaction - ejb I just confirmed that it is possible to use ejb in user bean when @PreDestroy method is called, but I also

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-12-06 Thread Howard W. Smith, Jr.
...@gmail.comwrote: Btw it should be fine to user private instance...dont remember if destroy methods can get params Le 7 déc. 2012 08:05, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Agreed. this is my way of reporting issues. reporting issues (if there is an issue here) is all good

Re: TomEE 1.5.1 release date?

2012-12-06 Thread Howard W. Smith, Jr.
Alex, Losing opportunities? Really? I respectfully beg to differ/disagree. I know I am only one person, but I am one that loves (I repeat, 'loves') Glassfish (as well as my endusers), but I am falling in love with TomEE 1.5.1 SNAPSHOT and the TomEE/openejb 'committers'. For someone with 1 year

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-12-07 Thread Howard W. Smith, Jr.
: Could NOT lazily initialize session context because of null RequestContext On Fri, Dec 7, 2012 at 2:29 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: No need to accept User POJO as argument to @PreDestroy method. The User POJO is NOT NULL within @PreDestroy method and all methods that use

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-12-07 Thread Howard W. Smith, Jr.
session context because of null RequestContext On Fri, Dec 7, 2012 at 3:33 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Honestly, i 'do' have a servlet filter in place that @Inject pf_UserController, but please note/remember... session timed out due to session timeout value in web.xml

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-12-07 Thread Howard W. Smith, Jr.
2012/12/7 Howard W. Smith, Jr. smithh032...@gmail.com: To confirm what i mentioned in previous email below (my loginfilter should not be responsible for 2 calls to @PreDestroy). See server log below. You might want to look at the code in org.apache.openejb.cdi.CdiAppContextsService

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-12-07 Thread Howard W. Smith, Jr.
sessionTimeout invoked 2nd time On Fri, Dec 7, 2012 at 4:30 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Below, copied from catalina log file (to show date/time when app completed 'start' and when accessed login page) Dec 07, 2012 4:11:02 AM org.apache.catalina.startup.Catalina start

Re: TomEE 1.5.1 SNAPSHOT not executing sessionDestroyed of HttpSessionListener

2012-12-07 Thread Howard W. Smith, Jr.
timeout config in this case? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/7 Howard W. Smith, Jr. smithh032...@gmail.com: *-- HUGE time delay right here

TomEE: Concurrency Utilities for Java EE Early Draft (JSR 236)

2012-12-07 Thread Howard W. Smith, Jr.
I recognized the following blog this morning: Concurrency Utilities for Java EE Early Draft (JSR 236) [1] Will this be available at some point in TomEE (and OpenEJB) at some point? Also, the following was mentioned in the blog: Using Java SE concurrency utilities such as java.util.concurrent

Re: TomEE: Concurrency Utilities for Java EE Early Draft (JSR 236)

2012-12-07 Thread Howard W. Smith, Jr.
or maybe someone can contribute it. That'd be even better. JLouis 2012/12/7 Howard W. Smith, Jr. smithh032...@gmail.com I recognized the following blog this morning: Concurrency Utilities for Java EE Early Draft (JSR 236) [1] Will this be available at some point in TomEE (and OpenEJB

Re: TomEE: Concurrency Utilities for Java EE Early Draft (JSR 236)

2012-12-07 Thread Howard W. Smith, Jr.
/in/**rmannibucauhttp://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/7 Howard W. Smith, Jr. smithh032...@gmail.com: I recognized the following blog this morning: Concurrency Utilities for Java EE Early Draft (JSR 236) [1] Will this be available at some point in TomEE

Re: TomEE 1.5.1 SNAPSHOT: latest snapshot, NetBeans not showing deployed WAR/app anymore

2012-12-07 Thread Howard W. Smith, Jr.
, and that was working good with NetBeans 7.2. On Fri, Dec 7, 2012 at 11:19 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: I just downloaded the latest TomEE 1.5.1 SNAPSHOT, apache-tomee-1.5.1-20121207.041646-102-plus.zip, and now NetBeans is not showing me the deployed WAR/app anymore. Did

Re: TomEE 1.5.1 SNAPSHOT: latest snapshot, NetBeans not showing deployed WAR/app anymore

2012-12-07 Thread Howard W. Smith, Jr.
FYI, I don't use tomee's web app or manager app. I only use NetBeans to start/stop TomEE, and undeploy app from TomEE. On Fri, Dec 7, 2012 at 11:25 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: So, I cannot undeploy my app via NetBeans (v7.2) now. Next, I will try to shutdown TomEE

Re: TomEE 1.5.1 SNAPSHOT: latest snapshot, NetBeans not showing deployed WAR/app anymore

2012-12-07 Thread Howard W. Smith, Jr.
, Howard W. Smith, Jr. smithh032...@gmail.com wrote: FYI, I don't use tomee's web app or manager app. I only use NetBeans to start/stop TomEE, and undeploy app from TomEE. On Fri, Dec 7, 2012 at 11:25 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: So, I cannot undeploy my app via

Re: TomEE 1.5.1 SNAPSHOT: latest snapshot, NetBeans not showing deployed WAR/app anymore

2012-12-07 Thread Howard W. Smith, Jr.
) at org.apache.tomee.catalina.LazyStopWebappClassLoader.loadClass(LazyStopWebappClassLoader.java:90) ... 39 more On Fri, Dec 7, 2012 at 11:47 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Downloaded the 'plus' zip file, installed, dropped my files in /conf, /lib, and /webapps, and I still get the 404

Re: TomEE 1.5.1 SNAPSHOT: latest snapshot, NetBeans not showing deployed WAR/app anymore

2012-12-07 Thread Howard W. Smith, Jr.
Reverting to an earlier version of SNAPSHOT, since I'm getting the following error (which may be related to my Atmosphere dependency). java.lang.NoClassDefFoundError: org/apache/catalina/CometProcessor On Fri, Dec 7, 2012 at 11:54 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote

Re: TomEE 1.5.1 SNAPSHOT: latest snapshot, NetBeans not showing deployed WAR/app anymore

2012-12-07 Thread Howard W. Smith, Jr.
this morning, I added latest snapshot version of PrimeFaces, I think that may be the cause, but I'm still trying to get TomEE SNAPSHOT and TomEE 1.5.1 (plus) to start and allow me access to my web app. On Fri, Dec 7, 2012 at 12:14 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote

Re: TomEE 1.5.1 SNAPSHOT: latest snapshot, NetBeans not showing deployed WAR/app anymore

2012-12-07 Thread Howard W. Smith, Jr.
that version. On Fri, Dec 7, 2012 at 12:41 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: this morning, I added latest snapshot version of PrimeFaces, I think that may be the cause, but I'm still trying to get TomEE SNAPSHOT and TomEE 1.5.1 (plus) to start and allow me access to my web app

  1   2   3   >