Re: Roadmap (CXF 3)

2014-06-04 Thread James Green
technologies as possible on that path - That will include the most recent CXF version at the time. Andy. On 02/06/2014 13:04, James Green wrote: So are Apache paying Oracle to get certified? On 29 May 2014 17:12, Romain Manni-Bucau rmannibu...@gmail.com wrote: Actually that's a bit

Re: Roadmap (CXF 3)

2014-06-02 Thread James Green
(or Java 8) goodness yet. []s, Thiago. On Thu, May 29, 2014 at 9:10 AM, James Green james.mk.gr...@gmail.com wrote: Why is it that something EE 7 compliant cannot be used in something EE 6 compliant then? On 28 May 2014 12:32, Romain Manni-Bucau rmannibu...@gmail.com

Re: Roadmap (CXF 3)

2014-05-29 Thread James Green
://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-05-28 12:59 GMT+02:00 James Green james.mk.gr...@gmail.com: The JIRA Roadmap page appears inaccurate at best so I have to ask here - what plans do you have to ship a TomEE with CXF 3.0

Roadmap (CXF 3)

2014-05-28 Thread James Green
The JIRA Roadmap page appears inaccurate at best so I have to ask here - what plans do you have to ship a TomEE with CXF 3.0 included? Thanks, James

Re: Netbeans Users

2014-05-21 Thread James Green
The four developers in this office here in the UK all use Netbeans. One does mainly PHP and Puppet stuff, one very occasional use and the final two (myself included) for Java work. Our Java work is exclusively using Maven. One JEE project using TomEE and two Spring projects with Tomcat. Main

HTTP DELETE by default?

2014-05-16 Thread James Green
It appears that TomEE does accept HTTP DELETE operations by default. Given the project is Tomcat + some components that expressly accept DELETE (CXF) on resource URIs, should this situation be changed to prevent us developers having to identify the problem, the research and try the solutions

Re: Feedback on TomEE 1.5.2

2014-01-17 Thread James Green
Mailing lists are great for discussing matters but I've always found them terrible at documenting things. If the questions on here were put on a web site and answered there I'm sure more people would get the knowledge. It is also important to distinguish between documenting JEE and documenting

Re: Does CDI scoping apply to subclasses?

2013-12-12 Thread James Green
. 2013 18:50, James Green james.mk.gr...@gmail.com a écrit : You need @SessionScoped on the subclass? Surely the CDI engine picks up the annotations of the class and it's superclasses? On 12 December 2013 17:39, Howard W. Smith, Jr. smithh032...@gmail.com wrote: i'm doing

Re: Debian/Ubuntu packages?

2013-12-06 Thread James Green
it as well for Ubuntu. We don't have scripts but I'll you wanna contribute them we can maybe add them to our SCM. Jlouis Le 13 nov. 2013 18:29, James Green james.mk.gr...@gmail.com a écrit : We're about to get TomEE installed through puppet. To prevent

Re: WARNING: Injection data not found in JNDI context

2013-11-20 Thread James Green
you redo a project like it repeoducing it? Uber*ar are often breaking things... Le 19 nov. 2013 23:09, James Green james.mk.gr...@gmail.com a écrit : I am able to trigger this by adding the webservice class to web.xml. I took an existing (working) WebService class that was annotated

Re: WARNING: Injection data not found in JNDI context

2013-11-20 Thread James Green
/20 James Green james.mk.gr...@gmail.com: Right, it really does not get any simpler than this: https://github.com/jmkgreen/test-multi-module I even accept it may not actually have met minimum requirements yet! The log: INFO: Deployed Application(path=C:\Users\jgreen\Downloads

Re: WARNING: Injection data not found in JNDI context

2013-11-20 Thread James Green
/tomee/trunk/examples/change-jaxws-url/src/main/resources/META-INF/openejb-jar.xml Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/11/20 James Green james.mk.gr

Re: WARNING: Injection data not found in JNDI context

2013-11-20 Thread James Green
/main/resources/META-INF/openejb-jar.xml Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/11/20 James Green james.mk.gr...@gmail.com: I added @Stateless

Re: WARNING: Injection data not found in JNDI context

2013-11-20 Thread James Green
How should I write the config for multiple EJBs? Adding extra session elements results in none applying and I cannot spot an example. On 20 November 2013 11:11, James Green james.mk.gr...@gmail.com wrote: Is there an issue covering the lack of support when exposed via web.xml? On 20

Re: WARNING: Injection data not found in JNDI context

2013-11-20 Thread James Green
Actually it's now uberwar creating problems - ignore me :) On 20 November 2013 11:45, James Green james.mk.gr...@gmail.com wrote: How should I write the config for multiple EJBs? Adding extra session elements results in none applying and I cannot spot an example. On 20 November 2013 11:11

WARNING: Injection data not found in JNDI context

2013-11-19 Thread James Green
This is causing an NPE accessing a WebServiceContext annotated with @Resource. To detail, I've been refactoring my Maven project into sub-projects to facilitate versioning of interfaces. Previously the entire web interface was held in a single war file project and it all worked. The above field

Re: WARNING: Injection data not found in JNDI context

2013-11-19 Thread James Green
, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi What s the jar name (isnt it an exclusion?)? Can you reproduce it and share a project? Le 19 nov. 2013 20:02, James Green james.mk.gr...@gmail.com a écrit : I just moved the setter of the WebServiceContext (with @Resource

Re: WARNING: Injection data not found in JNDI context

2013-11-19 Thread James Green
: is it an ear? Le 19 nov. 2013 22:16, James Green james.mk.gr...@gmail.com a écrit : I renamed to mycompany-jaxws-core and it made no difference. Unless you are suggesting anything with jaxws in it's name will be excluded..? On 19 November 2013 21:02, Romain Manni-Bucau rmannibu

Re: WARNING: Injection data not found in JNDI context

2013-11-19 Thread James Green
else i fear Le 19 nov. 2013 22:27, James Green james.mk.gr...@gmail.com a écrit : Would the project with the base class also require a beans.xml file? It's not something covered in the examples we all see... I would expect subclasses annotated @WebService and having in the object

Re: Getting spammed a guru

2013-11-14 Thread James Green
nov. 2013 18:26, James Green james.mk.gr...@gmail.com a écrit : I don't recall there being a condition allowing my address to be used for marketing purposes. Again I'm prepared to be proven wrong. Under British law AIUI this is against the DPA but greyness surrounds of course. On 13

Re: Getting spammed a guru

2013-11-14 Thread James Green
Peering onto the tomcat-users list it seems this was a widespread marketing attempt and the individual is seemingly attempting to defend his actions. On 14 November 2013 09:20, James Green james.mk.gr...@gmail.com wrote: If this is the case and he's part of Apache then to whom within Apache do

Getting spammed a guru

2013-11-13 Thread James Green
So I just got an email from Apache TomEE Support claiming to offer professional support with a 20% discount. The from address is a yahoo.comaccount allegedly owned by Java EE Guru Gurkan Erdogdu. I have no idea how he or his organisation have my address but apparently I've shown an interest in

Re: Getting spammed a guru

2013-11-13 Thread James Green
08:14 AM, José Luis Cetina wrote: Me too 2013/11/13 Karl Kildén karl.kil...@gmail.com Nope I got the spam as well. On 13 November 2013 14:33, James Green james.mk.gr...@gmail.com wrote: So I just got an email from Apache TomEE Support claiming to offer professional

Further MySQL woes - possible timeouts again

2013-07-12 Thread James Green
One of our servers (our live environment) has fallen over two days in a row. It seems to be something to do with the MySQL connectivity being lost. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed. at

Re: Which tomcat version am I using?

2013-07-10 Thread James Green
My issue seems to have been a bug in Tomcat. I updated to today's plus build on QA and live and everything appears to work :) On 3 July 2013 16:16, Howard W. Smith, Jr. smithh032...@gmail.com wrote: On Wed, Jul 3, 2013 at 4:00 AM, James Green james.mk.gr...@gmail.com wrote: a relatively

Re: Reconnect if JPA fails at boot?

2013-07-02 Thread James Green
have tomee and database in separate server's 2013/7/1 Howard W. Smith, Jr. smithh032...@gmail.com Will you be trying the magic that Romain recommended? On Jul 1, 2013 10:34 AM, James Green james.mk.gr...@gmail.com wrote: I was asking about cold boot, specifically. It is when

Re: Reconnect if JPA fails at boot?

2013-07-02 Thread James Green
: https://github.com/rmannibucau* 2013/7/2 James Green james.mk.gr...@gmail.com That's exactly what I want. All I have are EJBs with entity managers injected via @PersistenceContext (exactly as we are taught in the Beginning Java EE 6 Platform with Glassfish 3 book which is how

Re: Reconnect if JPA fails at boot?

2013-07-02 Thread James Green
: https://github.com/rmannibucau* 2013/7/2 James Green james.mk.gr...@gmail.com Am I looking for something letting me list the classes I want mapped? The error I see shows an empty list, hence this particular question. You say it doesn't solve our issue and can actually make it worse

Re: Reconnect if JPA fails at boot?

2013-07-02 Thread James Green
/ ) *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* 2013/7/2 James Green james.mk.gr

Re: Reconnect if JPA fails at boot?

2013-07-02 Thread James Green
://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/7/2 James Green james.mk.gr...@gmail.com A database is merely a resource - same as a message queue or a file. In technology we never rely on them so we have to test the recovery of our software instead. So I am here

Re: Reconnect if JPA fails at boot?

2013-07-01 Thread James Green
? or just want when somebody click any button the app can connect again (this was my case)?? 2013/6/28 Romain Manni-Bucau rmannibu...@gmail.com With an ejb timer? Le 28 juin 2013 17:46, James Green james.mk.gr...@gmail.com a écrit : Hopefully a quick one. On boot our application

Re: Reconnect if JPA fails at boot?

2013-07-01 Thread James Green
://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/7/1 James Green james.mk.gr...@gmail.com In our case we have two EJBs, both @Singleton and @Startup, one depends on the other. One is a cache façade and the other loads data via JPA

Re: Reconnect if JPA fails at boot?

2013-07-01 Thread James Green
Inline response. On 1 July 2013 12:44, Howard W. Smith, Jr. smithh032...@gmail.com wrote: my response below... On Fri, Jun 28, 2013 at 11:45 AM, James Green james.mk.gr...@gmail.com wrote: On boot our application attempts to read data through a JPA EntityManager. If the database

Re: Reconnect if JPA fails at boot?

2013-07-01 Thread James Green
://rmannibucau.wordpress.com/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/7/1 James Green james.mk.gr...@gmail.com I've suppressed the RuntimeExceptions encountered as EJBs fire and access JPA, however I have

Re: Reconnect if JPA fails at boot?

2013-07-01 Thread James Green
=trueamp;autoReconnect=true UserName any_user Password any_password JtaManaged true InitialSize=3 MaxActive=100 ValidationQuery=SELECT 1 TestOnBorrow=true /Resource 2013/7/1 James Green james.mk.gr...@gmail.com This now sounds substantially more complex than my design (which

Re: Reconnect if JPA fails at boot?

2013-07-01 Thread James Green
TomEE. I dont know if i response your question. 2013/7/1 James Green james.mk.gr...@gmail.com Are you saying your application starts from cold without the database, the operates fine without intervention once the database becomes available? On 1 July 2013 14:26, José Luis Cetina maxtorz

Re: OpenJPA and ConcurrentHashMap

2013-06-26 Thread James Green
12:58, James Green james.mk.gr...@gmail.com a écrit : Hi, We're observing some stack traces which I was not expecting. Caused by: openjpa-2.2.0-r422266:1244990 fatal internal error org.apache.openjpa.util.InternalException: Multiple concurrent threads attempted to access a single

1.6-SNAPSHOT: A change to CDI ctors?

2013-05-13 Thread James Green
Last Fri I upgraded to the current nightly 1.6-SNAPSHOT. I'm not faced with CDI exceptions. SEVERE: The bean instance EnvelopeSoapService threw a system exception:org.apache.webbeans.exception.WebBeansConfigurationException: Configured InterceptorHandler

Re: 1.6-SNAPSHOT: A change to CDI ctors?

2013-05-13 Thread James Green
apache-tomee-1.6.0-20130308.041124-23-plus.zip works apache-tomee-1.6.0-20130510.041047-66-plus.zip does not On 13 May 2013 12:07, James Green james.mk.gr...@gmail.com wrote: Last Fri I upgraded to the current nightly 1.6-SNAPSHOT. I'm not faced with CDI exceptions. SEVERE: The bean

Re: 1.6-SNAPSHOT: A change to CDI ctors?

2013-05-13 Thread James Green
* 2013/5/13 James Green james.mk.gr...@gmail.com apache-tomee-1.6.0-20130308.041124-23-plus.zip works apache-tomee-1.6.0-20130510.041047-66-plus.zip does not On 13 May 2013 12:07, James Green james.mk.gr...@gmail.com wrote: Last Fri I upgraded to the current nightly 1.6-SNAPSHOT

Re: JAXB: Not scanning jars?

2013-05-10 Thread James Green
inconsistent when the client is auto-built. Looks like it must be a wsimport bug, somehow. If I find anything useful I'll update this thread. On 10 May 2013 10:21, Romain Manni-Bucau rmannibu...@gmail.com wrote: Didnt you talked about jackson? Misconfiguration? Le 10 mai 2013 11:17, James Green

Re: EJB Timeout Exception

2013-05-09 Thread James Green
/rmannibucau* 2013/5/8 James Green james.mk.gr...@gmail.com INFO: Enterprise application openejb loaded. May 08, 2013 4:42:07 PM org.apache.openejb.assembler.classic.Assembler createRecipe INFO: Creating TransactionManager(id=Default Transaction Manager) May 08, 2013 4:42:07 PM

Re: JAXB: Not scanning jars?

2013-05-09 Thread James Green
Neither. JAX-RS/JAX-WS expose our classes. On 9 May 2013 20:50, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi, Depends the context. Do you use ObjectFactory or jaxb.index? Le 9 mai 2013 21:47, James Green james.mk.gr...@gmail.com a écrit : Is there anything special I need to do

Re: EJB Timeout Exception

2013-05-08 Thread James Green
* 2013/5/3 James Green james.mk.gr...@gmail.com Is there an id value that must be set? Just setting a TransactionManager with a single line for timeout value causes TomEE to error on boot saying the id is invalid. On 2 May 2013 12:29, Romain Manni-Bucau rmannibu...@gmail.com

Re: EJB Timeout Exception

2013-05-08 Thread James Green
17:48, James Green james.mk.gr...@gmail.com a écrit : TransactionManager id=Default Transaction Manager type=TransactionManager defaultTransactionTimeoutSeconds = 1200 /TransactionManager Note that property value is no longer read as an English sentence, but as an Integer

Re: EJB Timeout Exception

2013-05-03 Thread James Green
: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/5/2 James Green james.mk.gr...@gmail.com Just submitted a documentation update to include this. On 2 May 2013 12:16, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi default duration

1.6 release soon?

2013-05-02 Thread James Green
I'm looking at JIRA for 1.6.0-beta and 1.6.0 and noticing there are very few issues. Am I right that this implies a very close release, or that the release is dependant on things not recorded in JIRA? In any event it would be good to get a handle on timescales. We are going to pilot a new

Re: EJB Timeout Exception

2013-05-02 Thread James Green
/2 James Green james.mk.gr...@gmail.com Caused by: javax.transaction.RollbackException: Unable to commit: transaction marked for rollback at org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:272

Re: maven tomee plugin and remote deploy

2013-04-02 Thread James Green
This leads nicely into something I'm about to approach. We have a few maven based projects. I'd like to avoid having to manually deploy the build artifacts onto the respective QA VMs and perform the QA'ing of the components together. Sounds nicer to build a maven project that depends on each

Re: maven tomee plugin and remote deploy

2013-04-02 Thread James Green
/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/4/2 James Green james.mk.gr...@gmail.com This leads nicely into something I'm about to approach. We have a few maven based projects. I'd like to avoid having to manually deploy the build artifacts onto the respective QA VMs and perform

Re: ConcurrentAccessTimeoutException

2013-03-13 Thread James Green
Ironic how other projects have driven out Singletons from their code - was it PHP Symphony or something like that? Anyway, all things in their place. On 13 March 2013 14:32, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Interesting conversation/facts/etc... here! singleton is basically

Re: ConcurrentAccessTimeoutException

2013-03-12 Thread James Green
Obvious question: if Google rate-limited you, how did you end up posting duplicates? On 12 March 2013 01:57, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Wanted to share... 1. I recently added ActiveMQ logic and dependency (TomEE's simple MDB example) to update Google Calendar with

Re: Datasource ConnectionProperties

2013-03-08 Thread James Green
org.hsqldb.jdbcDriver JdbcUrl jdbc:hsqldb:file:hsqldb UserName sa Password ConnectionProperties toto=titi;foo=bar; /Resource It does not work? JLouis 2013/3/8 James Green james.mk.gr...@gmail.com http://tomee.apache.org/containers-and-resources.html says to use

Re: Downloads page - add link to snapshots?

2013-03-07 Thread James Green
/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/3/7 Jean-Louis MONTEIRO jeano...@gmail.com I guess, we have something like that Have to search, but AFAIR, it exists. JLouis 2013/3/7 James Green james.mk.gr...@gmail.com A sitemap! If you need to use a sitemap

Re: Jax-RS ApplicationPath ignored

2013-03-06 Thread James Green
com.foo.PublicJAXRSApplication and com.foo.PrivateJAXRSApplication are subclasses of javax.ws.rs.core.Application, right? On 6 March 2013 11:35, Romain Manni-Bucau rmannibu...@gmail.com wrote: The applications only with their own mapping Le 6 mars 2013 12:11, James Green james.mk.gr...@gmail.com a écrit : You mention

Re: Jax-RS ApplicationPath ignored

2013-03-05 Thread James Green
://github.com/rmannibucau* 2013/3/4 John D. Ament john.d.am...@gmail.com Can you override this using the servlet mapping? On Mon, Mar 4, 2013 at 12:11 PM, James Green james.mk.gr...@gmail.com wrote: Just wanted to confirm that for us with a week-old 1.6.0 snapshot, JAX-RS

Re: Packaging advice

2013-03-05 Thread James Green
It works, ensure you have a beans.xml in each jar + about annotations check your need but @applicationscoped is tempting. Finally sharing your exception can help too Le 5 mars 2013 21:39, James Green james.mk.gr...@gmail.com a écrit : I've spent the past year developing a Java EE 6 application

Re: Packaging advice

2013-03-05 Thread James Green
, James Green james.mk.gr...@gmail.com a écrit : The only producers I have our POJO Factories for my Mongo DAOs. They all @Inject an @ApplicationScoped datasource which itself holds the Mongo client connection. So web-tier.war depending-on service-tier.jar depending-on persistence

Re: Web bundle recognized as deployment module in openEJB

2013-03-04 Thread James Green
Something is not right here. It is exclusive to Apache people or something? Not Found The requested URL /repos/asf/tomee/karafee/trunk/openejb-core-osgi/src/main/java/org/apache/openejb/core/osgi/impl/Deployer.javaif was not found on this server. -- Apache/2.2.17

Re: Availability of 1.5.2 snapshots

2013-03-03 Thread James Green
March 2013 16:34, Romain Manni-Bucau rmannibu...@gmail.com wrote: Isnt it @ApplicationPath? @Path for an Application is not defined IIRC Le 3 mars 2013 16:48, James Green james.mk.gr...@gmail.com a écrit : Romain, When we deployed our war holding a JAX-RS Application, it has an @Path

Re: Availability of 1.5.2 snapshots

2013-03-03 Thread James Green
/AnnotatedApplication.javarelated test was/is passing Le 3 mars 2013 20:28, Romain Manni-Bucau rmannibu...@gmail.com a écrit : Hmm, should work on 1.6 and was working for 1.5. I got a weird similar issue on 1.5 once but was in a particular case. Le 3 mars 2013 18:12, James Green james.mk.gr

Re: How to specify web service url endpoint?

2013-03-03 Thread James Green
to link it *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* 2013/3/3 James Green james.mk.gr

Feeling silly - where's my soap service?

2013-02-23 Thread James Green
Decided to do some testing. Created the following and deployed to localhost in a maven project named cdi-webcontext-1.0-SNAPSHOT: package com.github.jmkgreen.tomee; import javax.ejb.Stateless; import javax.jws.WebMethod; import javax.jws.WebService; @Stateless @WebService(portName = Person,

Re: Feeling silly - where's my soap service?

2013-02-23 Thread James Green
://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/2/23 James Green james.mk.gr...@gmail.com Deploy the same war to 1.5.1 and it works as expected. I guess there's a regression in the 1.6 snapshot? On 23 February 2013

Non-EJB @WebService?

2013-02-23 Thread James Green
If I deploy my test app into TomEE with a class annotated @WebService but without any EJB annotations, I get a crash from OpenEJB. I've seen many examples of web services not needing to be EJBs. Is this therefore a requirement of TomEE? Glassfish seems happy without needing @Stateless for

JacksonJaxbJsonProvider - no @Path on deployment

2013-02-22 Thread James Green
Hi, I have an application with a JAX-RS activation class thus: @javax.ws.rs.ApplicationPath(/api) public class Activator extends javax.ws.rs.core.Application { @Override public SetClass? getClasses() { SetClass? s = new HashSetClass?(); [ ... ] return s; }

Re: Support different persistence providers for different applications

2013-02-22 Thread James Green
On a similar note, why must an app specify in persistence.xml which JPA provider to use? It doesn't specify which JAX-RS provider to use... On 22 February 2013 13:47, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi, good need: https://issues.apache.org/jira/browse/TOMEE-779 *Romain