Re: Using TomEE/OpenEJB and failover of datasources

2013-11-03 Thread Howard W. Smith, Jr.
21:51, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : interesting. I can definitely use this as a reference if (ever) necessary, thanks. which brings me to my next question, // // take care next strategies can break multiple calls on the facade

HA-JDBC via tomee.xml Resource factory/cluster properties ignored

2013-11-02 Thread Howard W. Smith, Jr.
I'm trying to use HA-JDBC[1] with TomEE to have a cluster of at least 2 databases. As per documentation and forum discussion, I have the following: --- tomee.xml --- Resource id=jdbc/mcmsJta type=javax.sql.DataSource factory=net.sf.hajdbc.sql.DataSourceFactory cluster=cluster UserName

Re: HA-JDBC via tomee.xml Resource factory/cluster properties ignored

2013-11-02 Thread Howard W. Smith, Jr.
. still getting errors, but they are related to ha-jdbc, now. On Sat, Nov 2, 2013 at 9:49 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: I'm trying to use HA-JDBC[1] with TomEE to have a cluster of at least 2 databases. As per documentation and forum discussion, I have the following

Re: HA-JDBC via tomee.xml Resource factory/cluster properties ignored

2013-11-02 Thread Howard W. Smith, Jr.
now, i know, thanks! :) On Sat, Nov 2, 2013 at 11:09 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: Why workaround? That how it works Le 2 nov. 2013 15:48, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : The following is the workaround: Resource id=jdbc/mcmsJta type

Re: HA-JDBC via tomee.xml Resource factory/cluster properties ignored

2013-11-02 Thread Howard W. Smith, Jr.
Per [Avoid properties conflict when configuring TomEE DataSource][1], I added ignoreDefaultValues=true to Resource in tomee.xml, Resource id=jdbc/mcmsJta type=javax.sql.DataSource JdbcDriver net.sf.hajdbc.sql.DataSource IgnoreDefaultValues true JtaManaged true jmxEnabled true LogSql

Re: HA-JDBC via tomee.xml Resource factory/cluster properties ignored

2013-11-02 Thread Howard W. Smith, Jr.
using xxx as property attribute (factory for instance) Le 2 nov. 2013 18:10, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Per [Avoid properties conflict when configuring TomEE DataSource][1], I added ignoreDefaultValues=true to Resource in tomee.xml, Resource id=jdbc/mcmsJta type

Re: HA-JDBC via tomee.xml Resource factory/cluster properties ignored

2013-11-02 Thread Howard W. Smith, Jr.
/5f4dc302/ On Sat, Nov 2, 2013 at 3:44 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: okay, I'm seeing what you said (not get jta as easily, when using context.xml). thanks. On Sat, Nov 2, 2013 at 3:39 PM, Romain Manni-Bucau rmannibu...@gmail.comwrote: If you use context.xml

Re: 1.6.0 release plans?

2013-10-30 Thread Howard W. Smith, Jr.
: When tomee will target javaee 7 Le 30 oct. 2013 05:26, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Mark, since you mentioned somewhat of a road map, maybe you, Romain, or one of the others can tell us when will MyFaces 2.2 be bundled with tomee(+) ? I would love to start

Re: 1.6.0 release plans?

2013-10-30 Thread Howard W. Smith, Jr.
From: Romain Manni-Bucau rmannibu...@gmail.com To: users@tomee.apache.org Sent: Wednesday, 30 October 2013, 6:46 Subject: Re: 1.6.0 release plans? When tomee will target javaee 7 Le 30 oct. 2013 05:26, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Mark

Re: 1.6.0 release plans?

2013-10-30 Thread Howard W. Smith, Jr.
+ the whole apache EE 7 stack Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/10/30 Howard W. Smith, Jr. smithh032...@gmail.com: interesting response. well, tomcat 8

Re: Apache TomEE and @Schedule timeout

2013-10-30 Thread Howard W. Smith, Jr.
i am doing the same (see the URLs below). /** * * http://tomee.apache.org/examples-trunk/access-timeout/README.html * http://tomee.apache.org/examples-trunk/access-timeout-meta/ * http://docs.oracle.com/cd/E19798-01/821-1841/gipsz/index.html */ @Singleton @Lock(LockType.WRITE)

Best way to recover from RuntimeException from ejbTimeout on ..., ConcurrentAccessTimeoutException: Unable to get write lock on ...

2013-10-29 Thread Howard W. Smith, Jr.
This morning, one of the endusers of my app contacted me and informed me about an issue with the software i wrote to use @Singleton + @Lock(WRITE) + @Schedule to retrieve emails from an email account where schedule = every 2 minutes. This code has been running really well ever since I initially

Re: Best way to recover from RuntimeException from ejbTimeout on ..., ConcurrentAccessTimeoutException: Unable to get write lock on ...

2013-10-29 Thread Howard W. Smith, Jr.
. to resolve this issue of mine. i'll give this a try. :) [1] https://forums.oracle.com/message/10810414 [2] http://www.ing.iac.es/~docs/external/java/javamail/javadocs/com/sun/mail/imap/package-summary.html On Tue, Oct 29, 2013 at 10:47 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote

Re: Happy news - better integration with NetBeans

2013-10-29 Thread Howard W. Smith, Jr.
+1 good news and thanks! I didn't even see this in NetBeans 7.4 startup page. i guess my NetBeans did not receive that pushed message yet. :) On Tue, Oct 29, 2013 at 12:28 PM, Thiago Veronezi thi...@veronezi.orgwrote: there was a lot of buzz around the

Re: 1.6.0 release plans?

2013-10-29 Thread Howard W. Smith, Jr.
Mark, since you mentioned somewhat of a road map, maybe you, Romain, or one of the others can tell us when will MyFaces 2.2 be bundled with tomee(+) ? I would love to start using MyFaces 2.2 with tomee, but i don't want to use that until it is bundled in ZIP file. just a personal preference of

Re: CDI Injecting parameterized types

2013-10-28 Thread Howard W. Smith, Jr.
Interesting, you're using NetBeans and you have code that looks very similar to mine, and it seems as though you did as I did... migrate from glassfish 3.1.2(.2) to tomee(+). at any rate, I think I remember seeing-and-experiencing that exception before (some/long time ago[1]...in the past after

TomEE+ : Apache ActiveMQ 5.9.0 Released

2013-10-21 Thread Howard W. Smith, Jr.
Since Apache ActiveMQ 5.9.0 has been released, will it be bundled with TomEE+ 1.6.0 snapshot, sooner or later? does it pass all (tomee-related) tests/TCKs, or there are known issues that prevent it to be bundled with tomee+ (1.6.0 snapshot)?

Re: TomEE+ : Apache ActiveMQ 5.9.0 Released

2013-10-21 Thread Howard W. Smith, Jr.
rmannibu...@gmail.comwrote: Hehe, just announced so too early to say :p Basically I have to check few more things that tck (we never passed jms tcks). Size, deps, broker integration etc... Amq is rarely a free upgrade Le 22 oct. 2013 00:10, Howard W. Smith, Jr. smithh032...@gmail.com a écrit

Re: Entity cant be refreshed with new list values

2013-10-19 Thread Howard W. Smith, Jr.
wow, interesting response, (thanks) Mark! responses inline.. On Sat, Oct 19, 2013 at 3:16 AM, Mark Struberg strub...@yahoo.de wrote: Much easier solution: mark the fields you don't like to persist as @javax.persistence.Transient interesting, did not know this. In standard EJBs you will

Re: Entity cant be refreshed with new list values

2013-10-19 Thread Howard W. Smith, Jr.
so isEmpty() and size() is a hack and not recommended as touching in standard EJBs? On Sat, Oct 19, 2013 at 10:23 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: IsEmpty or size hack is not portablr Le 19 oct. 2013 15:04, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : I agree

Re: Entity cant be refreshed with new list values

2013-10-19 Thread Howard W. Smith, Jr.
responses inline below... On Sat, Oct 19, 2013 at 10:49 AM, Mark Struberg strub...@yahoo.de wrote: It depends on the application I'd say. Of course if you use @Stateless then you are really bound to entitymanager-per-transaction pattern, and then DTO is almost the only thing which really

Re: Entity cant be refreshed with new list values

2013-10-19 Thread Howard W. Smith, Jr.
On Sat, Oct 19, 2013 at 11:33 AM, Mark Struberg strub...@yahoo.de wrote: 'did not touch'? i think you are referring to checking size() or isEmpty() Yes, sometimes you even need to iterate through those lists and touch all the lazy loading fields of those 1:n entities if you know you need them

Re: Entity cant be refreshed with new list values

2013-10-19 Thread Howard W. Smith, Jr.
. LieGrue, strub - Original Message - From: Howard W. Smith, Jr. smithh032...@gmail.com To: users@tomee.apache.org Cc: Sent: Saturday, 19 October 2013, 16:29 Subject: Re: Entity cant be refreshed with new list values so isEmpty() and size() is a hack and not recommended

Re: Entity cant be refreshed with new list values

2013-10-19 Thread Howard W. Smith, Jr.
responses below... On Sat, Oct 19, 2013 at 3:46 PM, Mark Struberg strub...@yahoo.de wrote: be careful with immediate=true. You get all sorts of nasty side effects. see page 92 in http://people.apache.org/~struberg/eesummit2013/Java%20EE%20Summit%20-%20pitfalls%20in%20EE.pdf I definitely

Re: REST with JAAS auth trouble

2013-10-09 Thread Howard W. Smith, Jr.
seems like you posted twice. while waiting for one of the committers to respond, you can search mail-list archives for the following: site:openejb.979440.n4.nabble.com rest jaas tomee[1] [1] http://lmgtfy.com/?q=site%3Aopenejb.979440.n4.nabble.com+rest+jaas+tomee On Wed, Oct 9, 2013 at 6:26

Re: REST service with JAAS auth trouble (TomEE+ 1.5.2)

2013-10-09 Thread Howard W. Smith, Jr.
seems like you posted twice. while waiting for one of the committers to respond, you can search mail-list archives for the following: site:openejb.979440.n4.nabble.com rest jaas tomee[1] [1] http://lmgtfy.com/?q=site%3Aopenejb.979440.n4.nabble.com+rest+jaas+tomee On Wed, Oct 9, 2013 at 6:40

Re: Memory leak by openejb.pool.scheduler

2013-10-06 Thread Howard W. Smith, Jr.
wow, i think I'm experiencing some caching issue. I decided to download 2013-Oct-05 based on this thread/discussion/topic, I made some changes to beans (java classes) and xhtml pages, and now it seems as though my xhtml pages are trying to reference the old bean, when I modified xhtml pages to

Re: Memory leak by openejb.pool.scheduler

2013-10-06 Thread Howard W. Smith, Jr.
please disregard. it was not a 'tomee' caching issue. it was a developer issue (my fault). i only updated a few of the xhtml pages that I needed to update instead of updating all xhtml pages...that needed to be udpated. my app is working now. :) On Sun, Oct 6, 2013 at 6:10 PM, Howard W. Smith

Re: Memory leak by openejb.pool.scheduler

2013-09-28 Thread Howard W. Smith, Jr.
i know i'm a late-comer, but I have been using NetBeans start/stop tomee+ ever since NetBeans 7.2 or 7.1.2, and using NetBeans 7.3, today, and start/stop tomee+ works fine. when testing on my development server, i always stop tomee+, drop WAR (manually) in tomee/webapps, and start. never have any

Re: Memory leak by openejb.pool.scheduler

2013-09-28 Thread Howard W. Smith, Jr.
i avoid restart and undeploy (in NetBeans); i forgot the reason why, but many months ago, i just learned that the stuff/stack works great when i stop - delete unpacked WAR folder - drop new WAR file in tomee/webapps - start (via NetBeans on development server, and tomcat7w.exe on production

Re: Which version of JavaMail ?

2013-09-26 Thread Howard W. Smith, Jr.
response inline/below... On Thu, Sep 26, 2013 at 10:50 AM, kuba44 jakub...@gmail.com wrote: I don't have any error with javax.mail.jar okay. i assume that you are saying that you dropped the JAR in tomee/lib folder. Application works like earlier, but I have same problem. I think it's

Re: Which version of JavaMail ?

2013-09-25 Thread Howard W. Smith, Jr.
responses inline (below)... On Wed, Sep 25, 2013 at 8:37 AM, kuba44 jakub...@gmail.com wrote: Maybe it isn't good place to ask this question but: Which version of JavaMail API can I find in TomEE 1.5.2 server ? Is it version 1.4 (geronimo-javamail_1.4_mail-1.8.2) ? yes, that is the

Re: Which version of JavaMail ?

2013-09-25 Thread Howard W. Smith, Jr.
On Wed, Sep 25, 2013 at 8:43 PM, kuba44 jakub...@gmail.com wrote: yes, just delete geronimo-javamail JAR from your tomee/lib folder and copy javamail 1.5 to tomee/lib. should it be only *javax.mail.jar* from or something else ?? https://java.net/projects/javamail/pages/Home yes,

Re: Announcing Tomitribe, dedicated to Apache TomEE

2013-09-24 Thread Howard W. Smith, Jr.
+1 David. TomEE committers, users, community are the real heroes! :) and one thing missing from the blog post... Google+, so I can +1 /and share/ via Google+. :) On Tue, Sep 24, 2013 at 4:48 AM, Vishwanath Krishnamurthi tovishwan...@gmail.com wrote: Great times ahead for TomEE ! ... and

Re: TomEE eclipselink cache coordination

2013-09-12 Thread Howard W. Smith, Jr.
Your question/post motivated me to take a look at (and download and test) eclipselink 2.5.0 with my app that has been working well with eclipselink 2.3.2 (and apache derby)...for the last 2 years. can you recommend any migration guide. I am reading the known issues list and I see the requirement

Re: Problem in Windows XP?

2013-09-08 Thread Howard W. Smith, Jr.
Hmmm, Win XP == 32 bit, right? Is your Ubuntu desktop 32 or 64 bit? I have been using TomEE+ ever since 1.5.1 snapshot, and first deployed to Windows Server 2003 R2 (32 bit), and now I'm using TomEE+ 1.6.0 snapshot on Windows Server 2008 (Windows 7 version) 64-bit. since TomEE+ has been working

Re: TomEE/OWB (@Pre)destroy of CDI @SessionScoped bean exception

2013-08-29 Thread Howard W. Smith, Jr.
okay, Romain, this error showed up in the server log again, and I think I have more details below. On Thu, Aug 22, 2013 at 11:10 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: No idea, thats on a session timeout but if you dont go deeper we cant do anything Endusers of my app were

Re: TomEE/OWB (@Pre)destroy of CDI @SessionScoped bean exception

2013-08-29 Thread Howard W. Smith, Jr.
On Thu, Aug 29, 2013 at 10:21 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: okay, Romain, this error showed up in the server log again, and I think I have more details below. also, i was using tomee 1.6.0 snapshot 2013-Aug-03, I think, but decided to download tomee 1.6.0 snapshot

Re: TomEE/OWB (@Pre)destroy of CDI @SessionScoped bean exception

2013-08-29 Thread Howard W. Smith, Jr.
members are 'null', which is causing the NullPointerExceptions...all over the place (where ever bean is accessed after session destroy). :( please confirm if this is possible or let me know if-or-how this is possible. On Thu, Aug 29, 2013 at 10:27 AM, Howard W. Smith, Jr. smithh032...@gmail.com

Re: TomEE/OWB (@Pre)destroy of CDI @SessionScoped bean exception

2013-08-29 Thread Howard W. Smith, Jr.
this happens sporadically/intermittently, not all of the time, and not even most-case scenario, but it did happen after the enduser logged in and logged out via Internet Explorer (version 10) and Windows 8. On Thu, Aug 29, 2013 at 11:46 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote

Re: Apache TomEE Cookbook

2013-08-21 Thread Howard W. Smith, Jr.
+1 Gurkan. which release or snapshot-release-and-date does this cookbook target? Hopefully, it targets the latest version of tomee 1.6.0 (snapshot). On Wed, Aug 21, 2013 at 3:47 AM, Gurkan Erdogdu gurkanerdo...@yahoo.comwrote: Hi folks I have written a small cook book about Apache TomEE. My

Re: TomEE/OWB (@Pre)destroy of CDI @SessionScoped bean exception

2013-08-21 Thread Howard W. Smith, Jr.
CLARIFICATION: java.lang.NullPointerException at jsf.orders.pf_OrdersController.releaseResources(pf_OrdersController.java:631) line 631 == if (browseCopy) { ... in the code segment below; browseCopy (boolean) is never set to 'null' via my code/app. On Wed, Aug 21, 2013 at 10:23 AM, Howard W

Re: TomEE/OWB (@Pre)destroy of CDI @SessionScoped bean exception

2013-08-21 Thread Howard W. Smith, Jr.
Also, I searched all log files, and this exception only occurred this morning, first and only time/occurrence. :( On Wed, Aug 21, 2013 at 10:52 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: CLARIFICATION: java.lang.NullPointerException

[TomEE 1.6.0 snapshot] OpenWebBeans skipped deployment of org.omnifaces.component.*

2013-08-18 Thread Howard W. Smith, Jr.
I am currently using TomEE 1.6.0 snapshot (apache-tomee-1.6.0-20130803.041148-142-plus.zip) with OmniFaces 1.6 snapshot (2013-08-12). Per my experience, the INFO log lines below are added to the log only if/when I am not using the omnifaces components in my app. The INFO log lines are a bit

Re: Java EE, transactions lazy loading

2013-08-16 Thread Howard W. Smith, Jr.
Lee, I will let someone else answer your questions, but your test case reminded me of a BalusC (JSF guru) blog[1] that I visited many months ago. It does not answer your question, but it is an alternate solution for what you are already attempting to do...I think. :) [1]

Re: Java EE, transactions lazy loading

2013-08-16 Thread Howard W. Smith, Jr.
. :) On Fri, Aug 16, 2013 at 6:26 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Lee, I will let someone else answer your questions, but your test case reminded me of a BalusC (JSF guru) blog[1] that I visited many months ago. It does not answer your question, but it is an alternate

Re: 1.5.2 first Post not executed error works in 1.6.0 29.07.13

2013-08-15 Thread Howard W. Smith, Jr.
On Thu, Aug 15, 2013 at 4:33 AM, zmirc m_chi...@yahoo.com wrote: It is probably a bug in MyFaces, because Glassfish 3.1.2.2 (with Majorra) doesn't have this problem. (tested) when i migrated from Mojarra 2.1.7 to MyFaces 2.1.8 (running on Glassfish 3.1.2.2), almost a year ago, I recognized

Re: 1.5.2 first Post not executed error works in 1.6.0 29.07.13

2013-08-11 Thread Howard W. Smith, Jr.
Your post on stackoverflow included the following: CDI bean: @Named(test) @RequestScoped public class TestB { public void doSomething() { System.out.println(I work.); } } Maybe TomEE 1.5.2 'release' required the @RequestScoped bean to have a

Re: Tomcat and TomEE Clustering Error

2013-08-01 Thread Howard W. Smith, Jr.
and with that said, TomEE 1.6.0. snapshot = tomcat 7.0.42 (ever since the day after tomcat 7.0.42 was released). :) On Thu, Aug 1, 2013 at 10:17 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: Hi, we had issues with defaults in 1.5.2, maybe give it a try with 1.6.0-SNAPSHOT. That said i

Will TomEE 1.6.0 snapshot = Apache Tomcat 8.0.0-RC1, soon?

2013-08-01 Thread Howard W. Smith, Jr.
Mark Thomas just sent the following on tomcat user list: Apache Tomcat 8.0.0-RC1 release vote started So, my question is, when Apache Tomcat 8.0.0-RC1 is 'released', will TomEE 1.6.0 'snapshot' add Tomcat 8.0.0-RC1 as a dependency immediately following the tomcat8 RC1 release? Also, I ask,

Re: Will TomEE 1.6.0 snapshot = Apache Tomcat 8.0.0-RC1, soon?

2013-08-01 Thread Howard W. Smith, Jr.
and tomee 1.6 will still be javaee6 so it would cost too much to support tomcat 7 and 8. Tomee 2 will use it. Le 1 août 2013 23:07, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Mark Thomas just sent the following on tomcat user list: Apache Tomcat 8.0.0-RC1 release vote started So

Re: TomEE: StandardSession expire

2013-07-29 Thread Howard W. Smith, Jr.
Interesting discussion. I may need to download latest TomEE 1.6.0 snapshot and test to see if I see this behavior, as I am original poster and my code is very similar to your code, zmirc. I'm still using TomEE 1.6.0 snapshot 2013-07-19. have not had a need to upgrade to latest snapshot. On Mon,

Re: TomEE: Apache Derby vs HSQLDB

2013-07-26 Thread Howard W. Smith, Jr.
Interesting. On Jul 26, 2013 1:08 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi We discussed it on dev list and we ship the same db in openejb and tomee and derby is slower than hsqldb which is nit acceptable for tests. Le 26 juil. 2013 05:10, Howard W. Smith, Jr. smithh032

Re: TomEE: Apache Derby vs HSQLDB

2013-07-26 Thread Howard W. Smith, Jr.
is nit acceptable for tests. Le 26 juil. 2013 05:10, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Interesting question. Maybe it has something to do with the fact that Apache Derby (Java DB) is shipped with Glassfish. :) Since I started as a Glassfish 3.1.x user, Apache Derby

Re: TomEE: Apache Derby vs HSQLDB

2013-07-25 Thread Howard W. Smith, Jr.
Interesting question. Maybe it has something to do with the fact that Apache Derby (Java DB) is shipped with Glassfish. :) Since I started as a Glassfish 3.1.x user, Apache Derby was what I initially used when I developed my database and JSF web app via Glassfish and Derby, and still using Derby

Re: AJAX JMS Servlet in Tomee

2013-07-18 Thread Howard W. Smith, Jr.
You only mentioned TomEE 1.5.2 (release). Hopefully, the fix will work with future releases of TomEE, too... especially TomEE 1.6.0 'snapshot', since that is latest-n-greatest, right now. :) On Thu, Jul 18, 2013 at 11:49 AM, Chris Owens ctag+open...@chris-owens.comwrote: Done.

Re: [OWB 1.2 + CODI] IllegalStateExceptionin LoggerProducer

2013-07-17 Thread Howard W. Smith, Jr.
/in/rmannibucau* *Github: https://github.com/**rmannibucau*https://github.com/rmannibucau* 2013/7/16 Howard W. Smith, Jr. smithh032...@gmail.com I know that Romain is the man to respond to this topic, but I think I have seen others report similar issues, and I think Jose' has even reported

Re: [OWB 1.2 + CODI] IllegalStateExceptionin LoggerProducer

2013-07-16 Thread Howard W. Smith, Jr.
I know that Romain is the man to respond to this topic, but I think I have seen others report similar issues, and I think Jose' has even reported a similar issue, too, since I know he is using EAR + CODI + TOMEE 1.6.0 snapshot (OWB 1.2). are you using EAR or dropping WAR in tomee/webapps ? On

Re: AW: Programmatically determination of tomee version

2013-07-10 Thread Howard W. Smith, Jr.
Tomee = tomcat on EE steroids. You cannot separate the two. On Jul 10, 2013 8:27 AM, tschuler thomas.schu...@opentext.com wrote: Hi Romain! Thanks. So there is no way to get the TomEE version itself? If we want to ensure that, e.g. TomEE 1.6.0 is installed, we have to check the OpenEJB

Re: initial size of pool of stateless beans

2013-07-09 Thread Howard W. Smith, Jr.
Leonardo, you may want to revisit Java EE 6 tutorial. almost 2 years ago (summer 2011), before I began coding Java EE, I studied Java EE 6 tutorial, and since I been doing (minimal) Java EE 6 ever since, by looking at your code, I will respond as follows (based on my learning): 1. I would never

Re: OWB properties

2013-07-09 Thread Howard W. Smith, Jr.
Jose, On Tue, Jul 9, 2013 at 2:20 PM, José Luis Cetina maxtorz...@gmail.comwrote: configuration.ordinal=100 org.apache.webbeans.web.failover.issupportfailover=true org.apache.webbeans.web.failover.issupportpassivation=true I remember reading about this too in Thomas Andraschko's blog[1],

Re: OWB properties

2013-07-09 Thread Howard W. Smith, Jr.
was shooting from the hip. :) On Tue, Jul 9, 2013 at 3:08 PM, Romain Manni-Bucau rmannibu...@gmail.comwrote: Noone works on tomee ;)

Re: initial size of pool of stateless beans

2013-07-09 Thread Howard W. Smith, Jr.
On Tue, Jul 9, 2013 at 4:34 PM, Leonardo K. Shikida shik...@gmail.comwrote: And now I have 5 nice MDBs consuming simultaneously from the same JMS and working as expected. :-) glad to hear and i'm sure this is giving you more of a reason to love TOMEE (as much as I do)! I had multiple MDBs too

Re: re-enqueuing JMS indefinitely

2013-07-09 Thread Howard W. Smith, Jr.
Leo, is this still an issue for you? in the other thread, i think you said everything is working well now. right? Howard On Tue, Jul 9, 2013 at 8:46 AM, Leonardo K. Shikida shik...@gmail.comwrote: Hi I don't want that dead messages go to the queue://ActiveMQ.DLQ. Instead, I'd like to

Re: re-enqueuing JMS indefinitely

2013-07-09 Thread Howard W. Smith, Jr.
:-) but seems to work I wish I could have it automatically. It´s not how it´s supposed to be TIA Leo On Tue, Jul 9, 2013 at 10:06 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Leo, is this still an issue for you? in the other thread, i think you said everything is working well now

Re: Websocket in TomEE

2013-07-08 Thread Howard W. Smith, Jr.
, Jul 8, 2013 at 9:21 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: I am not and have never been a 1.5.2-release 'user'. I am a 1.6.0 'snapshot' user. And I did use 1.5.1 snapshot and 1.5.2 snapshot. did you try 1.6.0 snapshot and my recommendations? On Mon, Jul 8, 2013 at 9:03 AM

Re: Got exception trying to create single action timer

2013-07-04 Thread Howard W. Smith, Jr.
On Thu, Jul 4, 2013 at 11:57 AM, CThorburn cthorbu...@gmail.com wrote: Dmitry, did you find a solution to this? I'm getting it too Are you using TomEE 1.5.1, 1.5.2, 1.5.3 snapshot, or recent-or-latest version of TomEE 1.6.0 snapshot? do you get this exception with latest tomee 1.6.0 snapshot?

Re: Which tomcat version am I using?

2013-07-03 Thread Howard W. Smith, Jr.
On Wed, Jul 3, 2013 at 4:00 AM, James Green james.mk.gr...@gmail.comwrote: a relatively ancient 1.6 snapshot build laughing/smiling here... didn't know the phrase, 'a relatively ancient', could be used to describe a '1.6 snapshot build'. :) of course, that reminds me of quite a few topics

Re: Websocket in TomEE

2013-07-02 Thread Howard W. Smith, Jr.
Definitely obvious (tomee = tomcat) . ;-) FWIW, I've been using Atmosphere ever since tomee 1.5.1 SNAPSHOT (Tomcat 7.0.34), used it with tomee 1.5.2 SNAPSHOT and still using it with tomee 1.6.0 snapshot (Tomcat 7.0.35+). No problems. No need for jee7 at all in my opinion. Jee6 still going

Re: Reconnect if JPA fails at boot?

2013-07-01 Thread Howard W. Smith, Jr.
/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/7/1 Howard W. Smith, Jr. smithh032...@gmail.com my response below... On Fri, Jun 28, 2013 at 11:45 AM, James Green james.mk.gr...@gmail.com wrote

Re: Reconnect if JPA fails at boot?

2013-07-01 Thread Howard W. Smith, Jr.
On Mon, Jul 1, 2013 at 8:25 AM, James Green james.mk.gr...@gmail.comwrote: On 1 July 2013 12:44, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Is there an assumption or history that has informed you that database was not available at boot/startup of the 'app'? It happened

TomEE 1.6.0 snapshot results in IllegalAccessException on startup after adding OmniFaces 1.6 snapshot

2013-07-01 Thread Howard W. Smith, Jr.
Class java.util.ServiceLoader$LazyIterator can not access a member of class org.omnifaces.cdi.converter.ConverterExtension with modifiers [1] is the exception that I get on startup of TomEE 1.6.0 snapshot (2013-06-17). This exception occurs, because the following was implemented and added to

Re: TomEE 1.6.0 snapshot results in IllegalAccessException on startup after adding OmniFaces 1.6 snapshot

2013-07-01 Thread Howard W. Smith, Jr.
Please disregard. OmniFaces committer fixed the issue and responded with the following: [1] https://code.google.com/p/omnifaces/issues/detail?id=198#c4 [2] https://code.google.com/p/omnifaces/issues/detail?id=198#c5 On Mon, Jul 1, 2013 at 5:59 PM, Howard W. Smith, Jr. smithh032...@gmail.com

Re: EJB lite

2013-06-25 Thread Howard W. Smith, Jr.
Wow, interesting topic, especially since the expert/committer guys are chiming in on the topic! My responses are inline below... On Tue, Jun 25, 2013 at 3:14 AM, Mark Struberg strub...@yahoo.de wrote: Hi Michiel! Slightly OT: the EJB timers are _really_ useful, but I found @Asynchronous to

Re: EJB lite

2013-06-25 Thread Howard W. Smith, Jr.
response below... On Tue, Jun 25, 2013 at 11:54 AM, Fernando Lozano ferna...@lozano.eti.brwrote: Hi, JMS 2.0 spec = Java EE 7, right? So, IMO, if you're interested in usability of JMS 2.0, I would recommend you use Reference Implementation (RI, Glassfish 4.0) for now, and 'evaluate' java

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-12 Thread Howard W. Smith, Jr.
On Wed, Jun 12, 2013 at 2:47 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: Here is the exception: org.apache.webbeans.exception.WebBeansConfigurationException: If bean has a public field, bean scope must be defined as @Scope. Bean is : com.maxtorzito.test.MyBeanThree at

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-12 Thread Howard W. Smith, Jr.
Hmmm, OP says, ... (keep reading below) On Mon, Jun 10, 2013 at 2:02 PM, José Luis Cetina maxtorz...@gmail.com wrote: Just FYI, when you declare ( i did that by mistake) public attributes with their getter and setters in your ManagedBean you get this exception (by the way the error is not

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-11 Thread Howard W. Smith, Jr.
put some part of your app in tomee/lib? Le 11 juin 2013 02:58, José Luis Cetina maxtorz...@gmail.com a écrit : Yes. Maven download always the lastest snapshot. El 10/06/2013 19:54, Howard W. Smith, Jr. smithh032...@gmail.com escribió: Latest TomEE 1.6.0-snapshot

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-11 Thread Howard W. Smith, Jr.
maxtorz...@gmail.comwrote: Yes. Maven download always the lastest snapshot. El 10/06/2013 19:54, Howard W. Smith, Jr. smithh032...@gmail.com escribió: Latest TomEE 1.6.0-snapshot (trunk) ? On Mon, Jun 10, 2013 at 8:50 PM, José Luis Cetina maxtorz...@gmail.com wrote: CODI 1.5

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-11 Thread Howard W. Smith, Jr.
Howard W. Smith, Jr. smithh032...@gmail.com Jose, when was the last time you did a 'maven download' of TomEE 1.6.0 snapshot and did 'not' see this issue/behavior? Did something else change? maybe new bean, properties, etc...? you have any code you can share, maybe a stub or something

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-11 Thread Howard W. Smith, Jr.
On Tue, Jun 11, 2013 at 8:17 AM, John D. Ament john.d.am...@gmail.comwrote: Don't forget, most of these specs expect javabeans - POJOs w/ private fields getters/setters/issers. I wanted John's earlier point mentioned again. this is how i learned itas I learned Java EE via Java EE 6

Re: TomEE not supporting Validator injection

2013-06-11 Thread Howard W. Smith, Jr.
John, Wow, this is a coincidence and interesting. We have been discussing TomEE/CDI topics, and now you bring this up. Please click the following URL and read that. :) http://code.google.com/p/omnifaces/issues/detail?id=183 Howard On Tue, Jun 11, 2013 at 10:23 PM, John D. Ament

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-10 Thread Howard W. Smith, Jr.
Jose, Interesting. I think i have plenty of (CDI) managed beans with public attributes, which are referenced by xhtml files and .java classes in my web app (WAR), but I don't have CODI dependency. What versions of CODI and TomEE are you using? Howard On Mon, Jun 10, 2013 at 2:02 PM, José Luis

Re: CODI + TomEE + ManagedBean with public attributes

2013-06-10 Thread Howard W. Smith, Jr.
Latest TomEE 1.6.0-snapshot (trunk) ? On Mon, Jun 10, 2013 at 8:50 PM, José Luis Cetina maxtorz...@gmail.comwrote: CODI 1.5 and TomEE 1.6.0-Snapshot. :) El 10/06/2013 16:28, Howard W. Smith, Jr. smithh032...@gmail.com escribió: Interesting. Caused

Re: Tutorial on creating a RESTful service with TomEE and IntelliJ IDEA

2013-06-05 Thread Howard W. Smith, Jr.
+1 good job, and your blog/steps make it look really really simple (and I cannot imagine 'frustration' at all after briefly reviewing your blog). FYI, i'm not an IntelliJ IDEA user. I'm 'happily' a NetBeans 7.x user. :) On Wed, Jun 5, 2013 at 2:53 PM, Jason Zwolak jzwo...@gmail.com wrote: Hi

Re: TomEE+ 1.6.0 - when?

2013-06-05 Thread Howard W. Smith, Jr.
Interesting. I thought it was said that tomee 1.6.0 will go with OpenWebBeans 1.2.0. Is the goal to go with 1.2.1 which will bring some new enhancements? On Jun 5, 2013 6:53 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi We are pretty stable ATM but waiting for openjpa and

Re: TomEE+ 1.6.0 - when?

2013-06-05 Thread Howard W. Smith, Jr.
Haha agreed, I think you're right. :-) On Jun 5, 2013 7:20 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: We need 1.2.1 because pf some users but not sure you'll see any difference in your own app ;) Le 6 juin 2013 01:13, Howard W. Smith, Jr. smithh032...@gmail.com a écrit

Re: JPA/Hibernate entity auto discovery

2013-06-05 Thread Howard W. Smith, Jr.
responses inline below... On Wed, Jun 5, 2013 at 8:27 PM, Andrew Clarke s...@clarke.ca wrote: persistence.xml: persistence xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://java.sun.com/xml/ns/persistence

Re: JPA/Hibernate entity auto discovery

2013-06-05 Thread Howard W. Smith, Jr.
responses inline below... On Wed, Jun 5, 2013 at 8:27 PM, Andrew Clarke s...@clarke.ca wrote: persistence.xml: persistence xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://java.sun.com/xml/ns/persistence

Re: TomEE plans for Java EE 7

2013-06-03 Thread Howard W. Smith, Jr.
Wow, nice response David. A nice list that show impact and new/target versions and even mention of the time line. On Jun 3, 2013 12:36 AM, David Blevins david.blev...@gmail.com wrote: On Jun 1, 2013, at 3:04 AM, John D. Ament john.d.am...@gmail.com wrote: I think realistically you need all

Re: TomEE plans for Java EE 7

2013-06-01 Thread Howard W. Smith, Jr.
of the components to bump up to their Java EE 7 compliant versions. On Sat, Jun 1, 2013 at 3:16 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Tomee is tomcat so we need at least a tomcat 8 release Le 1 juin 2013 05:13, Howard W. Smith, Jr. smithh032...@gmail.com a écrit

TomEE plans for Java EE 7

2013-05-31 Thread Howard W. Smith, Jr.
Of course, I saw the following blog post: Introducing Java EE 7: June 12 Kickoff[1] I think I heard some chatter about Java EE 7 on this list sometime recently, but I don't remember what was said. So, what are TomEE's plans for adapting Java EE 7 ? Is Java EE 7 on the schedule after TomEE 1.6.0

latest tomee 1.6.0 snapshot has asm-3.2 jar; I have asm-3.3.1.jar

2013-05-21 Thread Howard W. Smith, Jr.
When I started using TomEE+ (1.5.1 snapshot, 1.5.2 snapshot and 1.6.0 snapshot), I started using asm-3.3.1.jar because it was dependency of some batoo JPA. I'm no longer using batoo JPA, but I kept asm-3.3.1.jar and using eclipse 2.3.2 JAR, and I have had no issues. I just downloaded latest

Re: latest tomee 1.6.0 snapshot has asm-3.2 jar; I have asm-3.3.1.jar

2013-05-21 Thread Howard W. Smith, Jr.
Really? Have a look[1] :p [1] http://imageshack.us/a/img543/2448/20130521asminthesnapsho.jpg On Tue, May 21, 2013 at 6:05 PM, Romain Manni-Bucau rmannibu...@gmail.comwrote: Asm is not in the snapshot :p Le 21 mai 2013 23:46, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : When I

Re: Last 1.6.0 Snapshot exception

2013-05-21 Thread Howard W. Smith, Jr.
On Tue, May 14, 2013 at 1:29 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: true... 'others' (myself) just tested latest snapshot and tomee started and my web app running/working 'as expected'. :) On Tue, May 14, 2013 at 12:53 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote

Re: latest tomee 1.6.0 snapshot has asm-3.2 jar; I have asm-3.3.1.jar

2013-05-21 Thread Howard W. Smith, Jr.
ohhh trunk is on 22nd but snapshot JARs in repository are still on 20 (currently, at the same time that i'm sending this email). :) On Wed, May 22, 2013 at 12:48 AM, Romain Manni-Bucau rmannibu...@gmail.comwrote: Yes but we are on the 22sd ;) Le 22 mai 2013 00:11, Howard W. Smith, Jr

Re: Last 1.6.0 Snapshot exception

2013-05-21 Thread Howard W. Smith, Jr.
, the main issue was to reproduce it locally for us i think Le 22 mai 2013 00:27, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : My apologies. I said that I will stop the noise and proceed by cleaning up the NPE's in my app. Well, evidently, I didn't; I have been working on other

Re: latest tomee 1.6.0 snapshot has asm-3.2 jar; I have asm-3.3.1.jar

2013-05-21 Thread Howard W. Smith, Jr.
i take that back... i stand corrected, yes, we're on 22nd, now. :) On Wed, May 22, 2013 at 1:31 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: ohhh trunk is on 22nd but snapshot JARs in repository are still on 20 (currently, at the same time that i'm sending this email

TomEE/CDI: adding @Typed resulted in UnsatisfiedResolutionException

2013-05-20 Thread Howard W. Smith, Jr.
Okay, I've seen the recent OWB (or CDI) topics, so I thought I might introduce a separate thread based on my experience today. Months ago, I migrated from JSF managed beans to CDI manageds (and migrated from Glassfish to TomEE/OpenWebBeans), two birds with one stone. During that migration, I

Re: TomEE/CDI: adding @Typed resulted in UnsatisfiedResolutionException

2013-05-20 Thread Howard W. Smith, Jr.
you recommended to use @Typed? @Typed (in that thread) was being used to *remove* objects from being installed via CDI. If you want to use @Typed you need to use it as @Typed(pf_ OrderCustomerPointOfContactController.class) On Mon, May 20, 2013 at 9:08 AM, Howard W. Smith, Jr. smithh032

<    1   2   3   4   5   >