Re: apache tomee 1.7.0 -- rest application duplicate deploy

2014-11-06 Thread Romain Manni-Bucau
that's cause of wink: $ cat conf/exclusions.list default-list wink- Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-11-06 22:17 GMT+00:00 jieryn : > Sorry, it's TomEE 1.7.1. > > On Thu, Nov 6, 2014 at 5:16 PM, jieryn

Re: apache tomee 1.7.0 -- rest application duplicate deploy

2014-11-06 Thread jieryn
Sorry, it's TomEE 1.7.1. On Thu, Nov 6, 2014 at 5:16 PM, jieryn wrote: > https://github.com/jieryn/javaee-example > > mvn install ; mvn -pl :war tomee:run > > Notice two deployments: > > INFO: REST Application: http://localhost:8080/ -> > org.apache.openejb.server.rest.InternalAp

apache tomee 1.7.0 -- rest application duplicate deploy

2014-11-06 Thread jieryn
https://github.com/jieryn/javaee-example mvn install ; mvn -pl :war tomee:run Notice two deployments: INFO: REST Application: http://localhost:8080/ -> org.apache.openejb.server.rest.InternalApplication INFO: REST Application: http://localhost:8080/api -> com.a

Re: 2.0.0-SNAPSHOT @provider and @inject

2014-11-06 Thread hwaastad
Marvellous :-) I'll give it a try tomorrow. br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/2-0-0-SNAPSHOT-provider-and-inject-tp4672772p4672797.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: 2.0.0-SNAPSHOT @provider and @inject

2014-11-06 Thread Romain Manni-Bucau
Hi fixed on trunk, @Context ResourceInfo was not supported - fixed - Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-11-06 18:54 GMT+00:00 hwaastad : > Hi, > https://github.com/hwaastad/TomEEAngular.git > > Not made

Re: 2.0.0-SNAPSHOT @provider and @inject

2014-11-06 Thread hwaastad
Hi, https://github.com/hwaastad/TomEEAngular.git Not made any tests yet since this is a project testing out different technologies. however mvn tomee:run and localhost:8080 and click Customers the injected EJB in filter resolves to null. br hw -- View this message in context: http://tomee-o

Re: Question regarding EJB Timers

2014-11-06 Thread Lars-Fredrik Smedberg
Thanks Romain and sorry for missing out that i already asked half of my questions in the last mail :-) On Nov 6, 2014 7:22 PM, "Romain Manni-Bucau" wrote: > If I got it right the anser will be: retry is by execution and it > stops when it passes. > > > Romain Manni-Bucau > @rmannibucau > http

Re: Question regarding EJB Timers

2014-11-06 Thread Romain Manni-Bucau
If I got it right the anser will be: retry is by execution and it stops when it passes. Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-11-06 14:39 GMT+00:00 Lars-Fredrik Smedberg : > Hi again > > Yes some of it (the

Re: java:comp/ORB

2014-11-06 Thread Romain Manni-Bucau
Hi IIRC you need to put it in openejb component. In conf/system.properties: org.omg.CORBA.ORB=org.superbiz.MyORBImpl Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-11-06 17:00 GMT+00:00 Jürgen Weber : > Hi, > > I t

Re: Question about tomEE http remote ejb port

2014-11-06 Thread Romain Manni-Bucau
Hi - is it best to dissociate both? depend 100% of your app - you can do it defining another connector and another host and associating this new host with a webapp containing only EJbServlet. Alternative is to use ejbd:// directly but then you swicth completely tomcat (can be nicer since faster bu

Re: Question about tomEE http remote ejb port

2014-11-06 Thread vidaniello
Ok... Therefore for lookup a remote EJB using HTTP, is necessary using the same port of http web?!? Can't dissociate the two port?! For this purpose is best to use openejb remote (ejbd://localhost:4201)?? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Question-about

java:comp/ORB

2014-11-06 Thread Jürgen Weber
Hi, I tried to look up the ORB from within a jsp, javax.naming.Context ctx = new javax.naming.InitialContext(); Object o = ctx.lookup("java:comp/ORB"); This fails with javax.naming.NameNotFoundException: No ORB registered with the OpenEJB system Do you have to configure something to get the ORB

Re: Question about tomEE http remote ejb port

2014-11-06 Thread Jonathan Gallimore
Hi, This is picked up from the server.xml file in the conf/ directory: Simply changing this port will move anything that was exposed on port 8080 to the new port that you want to use, so you may wish to add another connector if that's not quite what you're after. Hope that helps. Jon On Thu,

Question about tomEE http remote ejb port

2014-11-06 Thread vidaniello
how can i change port from 8080 to, for example, 2345?? from p.put("java.naming.provider.url", "http://localhost:8080/tomee/ejb";); to, for example p.put("java.naming.provider.url", "http://localhost:2345/tomee/ejb";); what file in conf/ directory must compile?!? tank... -- View this messag

Re: Question regarding EJB Timers

2014-11-06 Thread Lars-Fredrik Smedberg
Hi again Yes some of it (the vendor specific part and configuration of number of retries / interval etc). Had forgotten about that :) What about the questions regarding the example? (that is if it will trigger it twice at (almost) the same time and if the failure attempts will stop at any success

Re: Question regarding EJB Timers

2014-11-06 Thread Romain Manni-Bucau
Hi isn't it more or less the same as http://tomee-openejb.979440.n4.nabble.com/More-information-on-EJB-Timer-their-Exception-handling-etc-td4672037.html ? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-11-06 13:22 G

Question regarding EJB Timers

2014-11-06 Thread Lars-Fredrik Smedberg
Hi I've been looking for some details on EJB Timers and retries... maybe someone can help me out on the below? - WebSphere has default an unlimited number of retries with a 300 sec (5 min) interval. - Assume we have a timer that triggers every half hour and that it at some point fails (lets assu

Re: TomEE plans for Java EE 7

2014-11-06 Thread Roberto Cortez
Thanks! I'll have a look. From: Romain Manni-Bucau To: "users@tomee.apache.org" ; Roberto Cortez Sent: Thursday, November 6, 2014 11:10 AM Subject: Re: TomEE plans for Java EE 7 On CDI entry points are: 1) AnnotationDeployer#getBeanClasses 2) CdiScanner Romain Manni-Bucau Twitter:

Re: TomEE plans for Java EE 7

2014-11-06 Thread Romain Manni-Bucau
On CDI entry points are: 1) AnnotationDeployer#getBeanClasses 2) CdiScanner Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-11-06 10:40 GMT+00:00 Roberto Cortez : > Great

Re: TomEE plans for Java EE 7

2014-11-06 Thread Roberto Cortez
Great! Kicking out new builds. Anyway, I'm very interested in contributing with this effort. Maybe you can help / guide me on something? Cheers,Roberto From: Romain Manni-Bucau To: "users@tomee.apache.org" ; Roberto Cortez Sent: Thursday, November 6, 2014 10:32 AM Subject: Re: TomEE p

Re: TomEE plans for Java EE 7

2014-11-06 Thread Romain Manni-Bucau
pushed few things about it this morning, not sure it will help these particular tests but hopefully it will Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-11-06 9:52 GMT+00:00 Roberto Cortez : > Hi, > Thank you John!

Re: TomEE plans for Java EE 7

2014-11-06 Thread Roberto Cortez
Hi,  Thank you John! I just added the dependencies for batch as well in  https://javaee-support.ci.cloudbees.com/job/javaee7-samples-tomee-2.0/, so that took care of  a few missing tests. Now it seems that a lot of tests are failing because there is no beans.xml, since on Java EE 7 the descriptio

Re: TomEE plans for Java EE 7

2014-11-06 Thread Romain Manni-Bucau
Hi Will not be enough cause of descriptor part but this one is easier to dev now Le jeudi 6 novembre 2014, John D. Ament a écrit : > Hey all, > > First, cudos to Roberto for taking on the TomEE support! > > It came to my mind after speaking w/ David @ JavaOne about EE7 status. > > So quick questi

Re: 2.0.0-SNAPSHOT @provider and @inject

2014-11-06 Thread Romain Manni-Bucau
Hi Is the provider is scanned it is injected. Do you have a sample showing it? Le jeudi 6 novembre 2014, hwaastad a écrit : > Hi, > > @inject/@ejb in a @provider resolves to null. > is this WIP? > > br hw > > > > -- > View this message in context: http://tomee-openejb.979440.n4.nabble.com/2-0-0-S