Re: EAR Hot deploy

2012-12-29 Thread David Blevins
On Dec 28, 2012, at 10:54 AM, José Luis Cetina maxtorz...@gmail.com wrote: Well, this could unpack my ear file (which cotains ejb module + webapp modules) dropping my ear file to apps but im getting a DuplicateDeploymentIdException. SEVERE: Unable to deploy collapsed ear in war

Re: Feedback on OpenEJB Website

2012-12-27 Thread David Blevins
On Dec 27, 2012, at 9:48 AM, Daniel Vashchilenko dan.vashchile...@gmail.com wrote: I noticed that no mirror for OpenEJB 4.5.0 works at the moment. Both local and backup URLs are all 404. Please fix it! Thanks so much. Looks like one more item for the release tools we've been developing.

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

2012-12-14 Thread David Blevins
On Dec 14, 2012, at 9:38 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: David (and any/all interested), Please click URL below to see my latest test results (along with code changes). It took about 12 seconds to perform the update on the Windows Server 2003 32bit 4GB RAM.

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

2012-12-13 Thread David Blevins
On Dec 11, 2012, at 7:10 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Shaking my head... test results were not good at all. 1. @StatelessEJB EmailStatelessBean has @Schedule getEmails() 2. @EmailStatelessBean has multiple @EJB references to @Stateless (sessionfacade) classes

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

2012-12-13 Thread David Blevins
On Dec 13, 2012, at 12:27 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: David, Yes, please refer to the following (and see what I wrote at the beginning of that comment), thanks. https://issues.apache.org/jira/browse/OPENEJB-1968#comment-13531442 So first note, the

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

2012-12-13 Thread David Blevins
On Dec 13, 2012, at 1:17 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: David, 1. definitely not using @Asynchronous; that was no good at all 2. Actually, it was 2 seconds on the Windows Server 2008 64-bit 16GB RAM... always 3. Always 5 to 10 minutes to process 1 or 2 emails

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

2012-12-13 Thread David Blevins
On Dec 13, 2012, at 1:53 PM, David Blevins david.blev...@gmail.com wrote: On Dec 13, 2012, at 1:17 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: David, 1. definitely not using @Asynchronous; that was no good at all 2. Actually, it was 2 seconds on the Windows Server 2008

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

2012-12-13 Thread David Blevins
On Dec 13, 2012, at 2:01 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Thanks for the response. Guess what... the 2 beans along with the names and all... is exactly what I did 'yesterday', the only thing I did 'not' do was mark each of the beans according to what you mentioned.

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

2012-12-13 Thread David Blevins
On Dec 13, 2012, at 3:57 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: David, I did as you recommended. I got an exception related to the ejbTimer and JTA. please see my latest 2 post on the JIRA. My bad, should be @TransactionAttribute(NOT_SUPPORTED) -- even hard for me to

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

2012-12-13 Thread David Blevins
On Dec 13, 2012, at 2:41 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: Question... My last/latest implementation/version of AirportShuttleProcessingBean is a @Stateless EJB that calls many other @Stateless EJB (DAO). Should I keep PersistentContext in

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

2012-12-11 Thread David Blevins
First a tip. Next time the server locks up, immediately do a thread dump. - http://docs.oracle.com/javase/1.5.0/docs/tooldocs/share/jstack.html Second, it sounds like this locking issue isn't a threading issue, but a transaction issue. Accessing all your databases in the same JTA

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

2012-12-11 Thread David Blevins
Setting the LockModeType is good. Understand, though, that all the values in LockModeType are not guaranteed to be supported in all databases. It doesn't address the core problem in that the transaction scope is likely too broad. As a general rule *always* ensure your transactions are as

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

2012-12-11 Thread David Blevins
Funny, I just sent that suggestion :) But it took me too long to type it -- didn't see your response came in before I finished :) -David On Dec 11, 2012, at 12:53 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: I think I'm going to avoid the single transaction (via single @Stateless

Share and say thank you!

2012-12-10 Thread David Blevins
If you love and use TomEE and want good things to come to it, share your experience! We've created a new Google+ Community for TomEE here: https://plus.google.com/communities/105208241852045684449 There's a User Stories section where anyone can post. Take 5 minutes and say how TomEE has

Re: TomEE/JavaMail: Unexpected command IMAP command error

2012-12-08 Thread David Blevins
On Dec 8, 2012, at 7:03 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: How can I avoid using geronimo's version of java mail, and use another working version of java mail? Should be able to just delete the geronimo-javamail jar and drop in the javamail jar you were using.

Re: TomEE/JavaMail: Unexpected command IMAP command error

2012-12-08 Thread David Blevins
assume an issue has been created already. will search and create one, if necessary. On Sat, Dec 8, 2012 at 11:03 PM, David Blevins david.blev...@gmail.comwrote: On Dec 8, 2012, at 7:03 PM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: How can I avoid using geronimo's version

Re: JSF not starting on TomEE 1.5.1 plus

2012-12-06 Thread David Blevins
Double check your tomee.home/conf/server.xml file and ensure it has the TomEE ServerListener: Server port=8005 shutdown=SHUTDOWN !-- TomEE plugin for Tomcat -- Listener className=org.apache.tomee.catalina.ServerListener / I've seen it be the case where a project was originally

Re: TomEE 1.5.1 release date?

2012-11-30 Thread David Blevins
On Nov 29, 2012, at 11:58 AM, Alex The Rocker alex.m3...@gmail.com wrote: People in my company are getting nervous with TomEE 1.5.1 official release date, because it's the target prerequisite of our soon-to-be released product. 1.5.0 is just not usable for production on Windows, due to the

Re: Apache TomEE documentation: WTP and TomEE logging

2012-11-26 Thread David Blevins
On Nov 26, 2012, at 8:36 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: I think you're right, because right off the bat, when I first started using TomEE, NetBeans (v7.2) shows me localhost log and catalina log in separate (NetBeans) output console/panes. This is all working well

Re: DataSource Password Encryption

2012-11-12 Thread David Blevins
On Nov 12, 2012, at 11:30 AM, middleware davide.pasin...@infocamere.it wrote: Actually, the solution was easier than I thought: Resource id=myDS type=DataSource JdbcDriver oracle.jdbc.xa.client.OracleXADataSource JdbcUrl jdbc:oracle:thin:@hostname:port:ora UserName ** Password **

Re: DataSource Password Encryption

2012-11-11 Thread David Blevins
On Nov 8, 2012, at 11:35 AM, Yousef Herzallah yousef.herzal...@gmail.com wrote: Resource id=myMccplusDS type=DataSource DataSourceCreator=dbcp FYI, I added a check so that illegal attributes are found and flagged. -David

Re: TomEE Plus (the hard way)

2012-10-15 Thread David Blevins
On Oct 15, 2012, at 6:14 AM, Todd Deshane todd.deshane.excels...@gmail.com wrote: Hi All, In our environment (at least for now), we need to run Tomcat 6.0.35 and add CXF support to our API and apps manually. Is there any known issues with this configuration? Is there anything I have to

Re: Next TomEE release date?

2012-10-01 Thread David Blevins
The 1.5.0 binaries published. It takes several hours from them to reach Maven Central and the Apache Mirrors. The announcement should go out Tuesday or Wednesday, but keep your eyes out here in the meantime: - http://www.apache.org/dist/openejb/ Already a couple bugs found and fixed, a

Re: Next TomEE release date?

2012-09-27 Thread David Blevins
Release is up for a vote. - http://people.apache.org/~dblevins/staging-052/ -David On Sep 24, 2012, at 5:59 PM, David Blevins wrote: Just put up a preview build of the 1.5.0 https://repository.apache.org/content/repositories/orgapacheopenejb-036 These aren't the official binaries

Re: Error with ejb3 + openEJB + Weblogic

2012-09-27 Thread David Blevins
On Sep 27, 2012, at 4:18 PM, a.afettsa33 wrote: I need to customize the JNDI name for WebLogic Server... I need the file weblogic-ejb-jar.xml Try setting this property 'openejb.vendor.config' to 'NONE'. That should cause the weblogic-ejb-jar.xml to be ignored. Then you can specify the

Re: Next TomEE release date?

2012-09-24 Thread David Blevins
that you're doing best effort to get 1.1.0 done for JavaOne, I guess that even if it's not ready at this time it could be available early october. I'm going to take the risk and bet on it for our project (time to have guts) Alex On Sun, Sep 16, 2012 at 3:43 AM, David Blevins

Re: Getting started with JMS in TomEE+

2012-09-17 Thread David Blevins
On Sep 17, 2012, at 2:17 PM, Mike Wolffs wrote: Hello, I'm trying to port an existing JMS based application from Weblogic to TomEE+. I'm trying to figure out how to configure TomEE+ to instantiate the queues. The queues would be accessed from external listeners. We would provide a

Re: Can webapps/tomee directory be deleted for a production environment?

2012-09-16 Thread David Blevins
On Sep 16, 2012, at 8:16 AM, Alex The Rocker wrote: Hello, Can the webapps/tomee directory be deleted for deploying a web app to production TomEE/TomEE+ server and exposed to Internet? Indeed, when delivering our app with Tomcat, we delete all default web apps as part of a list of Tomcat

Re: How to configure default transaction timeout in TomEE?

2012-09-12 Thread David Blevins
On Sep 12, 2012, at 5:13 AM, Romain Manni-Bucau wrote: TransactionManager type=javax.transaction.TransactionManager defaultTransactionTimeoutSeconds = 10 minutes That doesn't work in the released code, but in trunk you can do it: defaultTransactionTimeout = 10 minutes -David

Re: Next TomEE release date?

2012-09-07 Thread David Blevins
I think it's pretty critical to get a release out before JavaOne, which is just weeks away. Might be tricky, but I think we can do it. -David On Sep 7, 2012, at 4:01 PM, Jeremyau wrote: I'm really interested about this question as well since there is a couple of issues that have been

Re: All sorts of problems deploying using multiple virtualhosts

2012-09-04 Thread David Blevins
On Sep 4, 2012, at 10:32 PM, exabrial wrote: Any suggestions where to look? I'd like to log a bug on this, but I don't even know where to start looking in the code. Check out TomcatWebAppBuilder. There are a few maps of String-Something were String is the name of the StandardContext. We

Help make TomEE official on LinkedIn

2012-08-31 Thread David Blevins
Help us make TomEE an official Sill on LinkedIn! Here's how Tomcat looks: - http://www.linkedin.com/skills/skill/Tomcat We'd love to see TomEE listed as well (link will currently not work): - http://www.linkedin.com/skills/skill/TomEE We need you to help make that happen. Add 'TomEE' to

Open Discussion on New Descriptor Format for TomEE

2012-08-23 Thread David Blevins
Hey All, wanted to point out a very user-affecting discussion happening on the dev list: http://openejb.979440.n4.nabble.com/DISCUSS-New-descriptor-format-td4657040.html Anyone is welcome to jump in. The more feedback the better. -David

Re: include/exclude classpath

2012-08-23 Thread David Blevins
On Aug 23, 2012, at 5:22 AM, eltonk wrote: Hello there! I was taking a look about the include/exclude classpath with the properties openejb.deployments.classpath.exclude and openejb.deployments.classpath.include, but I'm not able to solve the problem by myself. :( I have 2 properties

Re: Number of simultaneous @Asynchronous threads

2012-08-21 Thread David Blevins
difference, but I could be wrong about that. Hacking again, will repost and see what you think. As mentioned above, also cleaning up the EJB Timer @Timeout execution queue and any others I can find. -David David Blevins david.blev...@gmail.com wrote: On Aug 20, 2012, at 10:55 AM, Romain Manni

Re: Number of simultaneous @Asynchronous threads

2012-08-21 Thread David Blevins
On Aug 21, 2012, at 11:27 AM, David Blevins wrote: On Aug 21, 2012, at 2:18 AM, Bjorn Danielsson wrote: In my opinion this is a bit overkill, at least the options for using DelayQueue and PriorityBlockingQueue. They require the Runnable queue elements to implement the Delayed

Re: Number of simultaneous @Asynchronous threads

2012-08-20 Thread David Blevins
. throw new IllegalArgumentException(Unknown QueueType type: + this); } } } } 2012/8/20 David Blevins david.blev...@gmail.com On Aug 20, 2012, at 9:23 AM, Bjorn Danielsson wrote: I found out that this setting is what causes the exception

Re: Number of simultaneous @Asynchronous threads

2012-08-18 Thread David Blevins
Looks like we need to add a config property for it. Easy change -- will add it tomorrow unless Romain beats me to it (on my phone). On Saturday, August 18, 2012, Bjorn Danielsson wrote: Hi guys, Is there some way to configure the size of the thread pool used for @Asynchronous execution of

Re: Suggested change to TomEE and Eclipse doc page

2012-08-15 Thread David Blevins
On Aug 15, 2012, at 10:27 AM, twelveeighty wrote: Okay - I made changes to the http://openejb.apache.org/tomee-and-eclipse.html page, but I don't see those changes reflected (yet?). I presume there is a review process? There is and I did commit it:

Re: Suggested change to TomEE and Eclipse doc page

2012-08-15 Thread David Blevins
On Aug 15, 2012, at 11:01 AM, David Blevins wrote: But for some reason things are stuck. [...] Investigating Cleared up. Here's your masterpiece :) http://tomee.apache.org/tomee-and-eclipse.html Looks really great. I like the bold on the menu options. Nice and easy for slow

Re: tomee ejb annotation not injecting

2012-08-14 Thread David Blevins
On Aug 10, 2012, at 7:20 PM, Louis Bros wrote: Sorry it is working fine. onyii5119 asked for an example. My mistake! Great to see one user helping another! Lead on :) -David

Re: Suggested change to TomEE and Eclipse doc page

2012-08-14 Thread David Blevins
On Aug 14, 2012, at 7:57 AM, twelveeighty wrote: I'm not sure what the protocol is for making doc changes so I'll post my suggested change here just in case: Any kind of changes at all are welcome. Some docs really need to be gutted. A note to the user list is nice, but really, feel free to

Re: tomee ejb annotation not injecting

2012-08-10 Thread David Blevins
On Aug 10, 2012, at 4:47 AM, onyii5119 wrote: Could you please inject Entity Manager into your HelloEJB and see if it works? I tried injecting one into my Stateless bean and it did not work. Possible you can paste some code? That particular path is very well tested, but there might be a

Re: tomee ejb annotation not injecting

2012-08-10 Thread David Blevins
On Aug 10, 2012, at 6:48 PM, Louis Bros wrote: @onyii5119 I've just tested this: tomee.xml: Resource id=My Test Datasource type=DataSource JdbcDriver org.apache.derby.jdbc.EmbeddedDriver JdbcUrl jdbc:derby:/opt/databases/test_db;create=true JtaManaged true /Resource

Re: this is null in constructor of @Stateless bean when called second time by LocalBeanProxy

2012-08-06 Thread David Blevins
On Aug 6, 2012, at 8:43 AM, ronkol wrote: Ok, David, thanks, will do. Seems like the new alternate fix would be in tonight's build, hence I will download a new kit tomorrow and test our code. New binaries are up now and are most the way through the TCK with no issues. All clear signal to

Re: this is null in constructor of @Stateless bean when called second time by LocalBeanProxy

2012-08-05 Thread David Blevins
On Aug 2, 2012, at 3:02 PM, ronkol wrote: Thanks!!! The issue appears to be resolved with the 8/2 build inside apache-tomee-1.1.0-20120802.041114-82-plus.zip that I downloaded. Note, we had to temporarily remove this fix as the particular approach caused failures with tests that validate

Re: TomEE in Stackato

2012-08-05 Thread David Blevins
Saw that announcement go out. Very excellent! Fantastic to see this kind of adoption of TomEE. -David On Aug 2, 2012, at 11:04 AM, Jeremyau wrote: Hi! I work for ActiveState company. We've choosed to integrate TomEE in our PaaS Stackato and it rocks! Thanks for your great work and your

Re: war packaged exclusions.list

2012-07-24 Thread David Blevins
On Jul 23, 2012, at 4:27 PM, zeeman wrote: I tried with July 23rd snaphot today. Startup is slower, it's 21sec now. I have exclusion.list in Tomee/conf and in my WAR WEB-INF folder. I also get many warnings of below: Jul 23, 2012 7:17:06 PM org.apache.tomee.catalina.OpenEJBContextConfig

Re: war packaged exclusions.list

2012-07-22 Thread David Blevins
On Jul 22, 2012, at 8:38 PM, zeeman wrote: Thanks David, your suggested approach works, I like it as only one class is needed and it's portable. I guess I'll have to live with 18sec startup time. Nothing seems to help. I'm sure we can improve that too. It's really just a matter of when. We

Re: war packaged exclusions.list

2012-07-20 Thread David Blevins
On Jul 18, 2012, at 9:04 AM, zeeman wrote: Hi Anothony, What are you excluding? Is that something to improve performance? Scanning has a huge impact on startup performance and a brief impact on memory. The way the EE specs are written we have to scan all jars just in case they might have

Re: DB pool resource Tomee production

2012-07-20 Thread David Blevins
On Jul 20, 2012, at 5:18 PM, zeeman wrote: Why is Tomee still using DBCP? See this http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html Interesting. Wonder why these contributions weren't welcome in DBCP. Going to have to spend some time and digest that doc. Might be time to switch.

Re: Frequency of Tomcat version updates in TomEE ?

2012-07-16 Thread David Blevins
First, love the name :) On Jul 16, 2012, at 12:31 PM, Alex The Rocker wrote: We are considering Apache TomEE+, but we are concerned by the lack of clear update policy of Tomcat version in TomEE TomEE+. [..] it would be nice to have a clear statement on Apache TomEE/TomEE+ update policy

Re: CDI @Requires issue with Tomee

2012-07-08 Thread David Blevins
On Jul 7, 2012, at 11:16 PM, zeeman wrote: I removed Drools jar and its dependencies (Drools API, compiler, and core). I get below stack trace: If I keep above, Tomee starts fine. You can reproduce the issue by using a maven project that has a Seam security dependency and deploy it without

Re: J2EE 1.4 and EJB2.1 on TomEE+ examples and/or documentation

2012-07-05 Thread David Blevins
Hi Tim! On Jul 5, 2012, at 9:15 AM, ymaraner wrote: I have an existing J2EE 1.4 Enterprise Application (w/ ejb2.1, JMS, and WS) that deploys and runs successfully on WebSphere, WebLogic, and JBoss. I would like to port it to TomEE+. TomEE does support all of EJB 1.1 to 3.1, including CMP2.

Re: OpenEJB.xml and a custom javax.naming.spi.ObjectFactory

2012-07-02 Thread David Blevins
On Jul 2, 2012, at 2:52 PM, exabrial wrote: Hey guys, One of the features I'm missing from GlassFish is the ability to bind an ObjectFactory into JNDI. We have a few of these written and need to put them into our instance. I'm also hoping to write a brand new one that could be used to

Re: Using @EJB/@Inject to lookup on remote interface running on separate standalone OpenEJB server

2012-07-02 Thread David Blevins
On Jul 1, 2012, at 5:11 PM, exabrial wrote: Hey sorry to wake a dead thread... Preferred actually. Saves the time of having to dig for the old thread. but I just thought of something: Does OpenEJB has a jndi-link feature? I don't think it does, but I know GlassFish and Resin can do

Re: Property javax.security.jacc.PolicyConfigurationFactory.provider not set

2012-07-01 Thread David Blevins
On Jul 1, 2012, at 2:59 PM, exabrial wrote: I'm attempting to connect an instance of TomEE to an OpenEJB server using the directions on this page: http://openejb.apache.org/ejb-refs.html In which VM do you get the pasted stackrace, the TomEE vm or the OpenEJB vm? Also, how are you booting

Re: Multiple persistence units, multiple data sources

2012-06-27 Thread David Blevins
On Jun 27, 2012, at 3:46 AM, Stevo Slavić wrote: Then I upgraded openejb too, from 3.1.4 to 4.0.0 but not all tests are passing. To be more specific there is 1 passing, and 2 failing tests, all in same module using shared jndi.properties, persistence.xml, and ejb-jar.xml In jndi.properties

Re: Using @EJB/@Inject to lookup on remote interface running on separate standalone OpenEJB server

2012-06-27 Thread David Blevins
On Jun 27, 2012, at 11:25 AM, exabrial wrote: Wahoo! Do I win a prize? You win a free beer!! [some restrictions apply; must be of legal age; redeemable at any conference I happen to attend; void where prohibited] I have a couple of notes though: Put a link to the markdown syntax in the

TomEE at JAXConf, Monday July 9th

2012-06-27 Thread David Blevins
Hi All, A heads up that I'll be speaking on TomEE at JAXConf 2012 in little more than a week. Title: From Tomcat to Java EE, making the transition with TomEE Date: Monday, July 9th http://jaxconf.com/2012/timetable As usual, happy to chat or meet with anyone. -David

Re: Tomee Hibernate Session JNDI

2012-06-27 Thread David Blevins
Responding off topic. I just made this doc on using Hibernate in TomEE. http://openejb.apache.org/tomee-and-hibernate.html It's still pretty thin on details, specifically around adding the right jars. It would be absolutely fantastic if you'd be willing update it and add any other notes

Re: What protocol does OpenEJB use for RMI?

2012-06-26 Thread David Blevins
On Jun 26, 2012, at 10:24 AM, exabrial wrote: The Telephone example uses the following protocol URL: ejbd://localhost:4201 First Question: Is the underlying RMI protocol JRMP, IIOP/CORBA or is ejbd a separate wire protocol on it's own? I'm curious from a performance perspective, as JRMP

Re: What protocol does OpenEJB use for RMI?

2012-06-26 Thread David Blevins
On Jun 26, 2012, at 11:39 AM, exabrial wrote: Thanks for pointing exactly where I need to look! I'm relieved to see that the underlying protocol isn't CORBA/IIOP. It looks like is sort of a custom protocol. The request is encapsulated with a request type (auth, jndi, or ejb) then it's

Re: Anyone have experience with alternative JMS providers?

2012-06-26 Thread David Blevins
On Jun 26, 2012, at 12:46 AM, Bjorn Danielsson wrote: Does anyone have a recipe for using Apache Qpid or JORAM with TomEE-plus (i.e. replacing the bundled ActiveMQ)? The configuration I have in mind is a container-managed MDB that receives messages from an external broker. Created this doc

Re: Using @EJB/@Inject to lookup on remote interface running on separate standalone OpenEJB server

2012-06-26 Thread David Blevins
On Jun 26, 2012, at 2:28 PM, exabrial wrote: Here's a followup question: So, normally, I'd just put @EJB, but the example says @EJB(mappedName = jndi:ext://shoe/OrangeBeanRemote) I imagine jndi:ext:// is necessary to tell TomEE to go somewhere else other than it's own jndi tree. Exactly.

Re: Feedback on TomEE 1.0.0

2012-06-09 Thread David Blevins
On Jun 9, 2012, at 2:24 AM, Anthony Fryer wrote: Since 1.0.0 though i don't believe thats the case anymore and that you can select the use workspace metadata option and it should just work. Would be good to get David to confirm that is the case. Confirmed. The Eclipse/TomEE doc needs

Re: Feedback on TomEE 1.0.0

2012-06-07 Thread David Blevins
On Jun 7, 2012, at 6:16 PM, zeeman wrote: Hi, I have used Jboss AS7 and Glassfish3.1 for JavaEE. Just heard about Tomee and migrated a real world project from AS7 to see how it goes. Here is some real feedback Good: 1- Validation on Tomee is great, it catches things other containers

Re: Feedback on TomEE 1.0.0

2012-06-07 Thread David Blevins
On Jun 7, 2012, at 7:16 PM, zeeman wrote: I was talking about Eclipse IDE, it took me over 4 hours to really figure out how to run Tomee with needed project libs from Eclipse. That's surprising. Things we really bad before the 1.0.0 and after some of the changes we made it seems to be

Re: CMP failed with 3 layered Object structure

2012-06-04 Thread David Blevins
On Jun 3, 2012, at 11:22 PM, georgenis wrote: Thanks for that hint :-) I am a JEE beginner. My Class is an EJB ;-) I fixed it in persistence.xml with Transaction-Type = JTA. Glad it's working. Feel free to lean on the list as much as you like while learning. :) That jpa concepts doc

Re: JDK version certified with the latest release of tomee-1.0.0

2012-06-04 Thread David Blevins
On Jun 4, 2012, at 6:11 AM, Fernando Lozano wrote: David, Thanks for the feedback. Good news! This build got a 100% pass on jdk1.7.0_04 linux 32bit. jdk1.4.0_04 means Oracle JDK, right? Correct. I wonder, are you required to run the TCK using Oracle JDK or could you as well run

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread David Blevins
Great discussion! Note, I'm also having this exact same discussion with the JBoss folks who are also facing the same issue. We'll be working this out with GlassFish and likely making some clarifications or changes in EJB 3.2. On Jun 4, 2012, at 9:58 AM, Neale Rudd wrote: If Glassfish is

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread David Blevins
On Jun 4, 2012, at 2:07 AM, Jean-Louis MONTEIRO wrote: Not sure how to understand that post content. IMO, a @Local annotation (without any interface specified) on the bean class is not allowed by the spec. Exactly right. On deploy we flagged it and failed the deployment with a clear error

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread David Blevins
On Jun 4, 2012, at 1:24 PM, Fernando Lozano wrote: Hi, Note that the TCK license agreement explicitly mentions such flags. They are allowed but must be on by default. The default settings must be compliant. -David Curious how JBoss AS was certified and used to be non-compliant on the

Re: Tomee Plus instead of Glassfish

2012-06-03 Thread David Blevins
On Jun 3, 2012, at 9:18 AM, Marco de Booij wrote: @Local @Stateless(name=I18nCodeManager) public class I18nCodeManager { @EJB private I18nCodeDao i18nCodeDao; Strangely enough we're seeing a lot of portability issues on GlassFish's handling of @Local. Some JBoss friends just

Re: JDK version certified with the latest release of tomee-1.0.0

2012-06-02 Thread David Blevins
On Jun 1, 2012, at 10:52 PM, David Blevins wrote: On May 31, 2012, at 12:11 PM, Fernando Lozano wrote: Hi, TomEE won't work with JDK7 means wan't suficiently tested, use at your own risk That one. OpenJPA is known not to build with Java 7, but I'm not sure how it runs

Re: CMP failed with 3 layered Object structure

2012-06-02 Thread David Blevins
On Jun 2, 2012, at 2:53 AM, georgenis wrote: I thought the container manage all database connections?! It depends. There are two types of JPA, RESOURCE_LOCAL were the application does the management and TRANSACTION where the container does the management. A basic overview:

Re: JDK version certified with the latest release of tomee-1.0.0

2012-06-01 Thread David Blevins
On May 31, 2012, at 12:11 PM, Fernando Lozano wrote: Hi, TomEE won't work with JDK7 means wan't suficiently tested, use at your own risk That one. OpenJPA is known not to build with Java 7, but I'm not sure how it runs. There are some OpenJPA features we don't use such as its ability

Re: Feedback on TomEE 1.0.0

2012-05-31 Thread David Blevins
On May 31, 2012, at 7:37 AM, Jim May wrote: Hello, I appreciate the effort the community is putting into TomEE. Unfortunately, it is a nightmare to use when developing applications. The biggest problem is trying to get the dependencies to work together. I use Netbeans IDE and I am trying

Re: tomee tryout - datasource with jpa drives me crazy

2012-05-29 Thread David Blevins
Went to Nabble to see the original thread. For some reason the email didn't show up for moderation. Despite skepticism about Java EE, I would like to try Tomee. However, once again a simple DataSource definition for JPA drives me crazy. I have a datasource defined in tomee.xml - eg

Re: TomEE + CODI + Maven (bug)

2012-05-17 Thread David Blevins
Can you paste your output from starting TomEE? Specifically the part that looks like this: mingus:/tmp 04:19:02 $ ./apache-tomee-webprofile-1.0.0/bin/startup.sh Using CATALINA_BASE: /tmp/apache-tomee-webprofile-1.0.0 Using CATALINA_HOME: /tmp/apache-tomee-webprofile-1.0.0 Using

Re: Injection of objet created by interceptor (per request)

2012-05-11 Thread David Blevins
On May 9, 2012, at 3:52 AM, Eric Chatellier wrote: Hi, I'm currently using openejb 4.0 as embedded ejb container. I'm also trying to find a proper way to create object in interceptor and getting access to them in EJB. Is there any way to: - create an object (in this case a transaction

Re: TomEE Versions..

2012-04-27 Thread David Blevins
As promised :) http://people.apache.org/~dblevins/staging-001/openejb-4.0.0/apache-tomee-1.0.0-webprofile.zip.txt -David On Apr 26, 2012, at 2:39 PM, David Blevins wrote: Now that we have the trunk/sandbox/release-tools it should be easy to do. If I get time I'll see if I can pull

Re: TomEE Versions..

2012-04-26 Thread David Blevins
We had the versions on that page originally. Then once we released beta-2 the obvious problem of which versions to document presented itself :) On the general topic of what's inside maybe we can do a unzip -l tomee.zip tomee.zip.txt and put that in the downloads directory and link to it from

Re: TomEE Versions..

2012-04-26 Thread David Blevins
: Personaly i look poms but if somebody can perl it it is the best ;) Le 26 avr. 2012 21:13, Jean-Louis MONTEIRO jeano...@gmail.com a écrit : If we can automate the process why not. I usually just open a distro to look what's inside. JLouis Le 26 avril 2012 20:59, David Blevins david.blev

Re: Problem deploying REST Examples on Eclipse

2012-04-24 Thread David Blevins
Moving the libraries doesn't work with beta-2, but I did do some hacking on that just Saturday for the coming 1.0.0 binaries. Is it possible you can try this set of binaries? http://people.apache.org/~dblevins/staging-081/openejb-4.0.0/ Keep in mind those will likely not be the actual 1.0.0

ATTN: User Stories for 1.0.0 Release Announcement

2012-04-21 Thread David Blevins
Apache PR is working on a press release for the coming Apache TomEE 1.0.0 final and looking to fill out the user side of the announcement. If you'd like to participate in the announcement, email me directly. Participation could be anywhere from being mentioned, a quote or information on usage

Re: MDB not invoked

2012-04-12 Thread David Blevins
On Apr 12, 2012, at 6:19 PM, Johnny Guo wrote: I did try to config it in openejb.xml like below as well, but it just didn't work for me. Resource id=ReportStandardJMSQueue type=javax.jms.Queue/Resource Connector id=jms/tdm-newjena/ReportStandardJMSConnFactory

Re: OpenEJB vs JBoss

2012-03-16 Thread David Blevins
On the note of clustering, we don't do state replication, but we do have failover / load balancing. http://openejb.apache.org/ejb-failover.html At a high level it's your typical smart proxy approach. Servers discover each other, a server list is maintained, the list is sent to the client

Re: OpenEJB vs JBoss

2012-03-15 Thread David Blevins
Hi Markus! Thanks for the feedback! If there were a company with a large budget and expert engineers, what would be on the list of things you'd want to see done to make OpenEJB/TomEE a viable option? -David On Mar 15, 2012, at 4:01 AM, Markus Lutum wrote: Hi Gil. Maybe I have a little

Re: OpenEJB vs JBoss

2012-03-15 Thread David Blevins
Hi Matthew, Do you have that old blog post around somewhere or mind giving some details on the scale of the system you rolled out? -David On Mar 15, 2012, at 11:42 AM, Jean-Louis MONTEIRO wrote: Some month ago, we also got a similar feedback from another user and company. Here is the

Re: Feedback on TomEE 1.0.0-beta-2

2012-03-15 Thread David Blevins
Thank you so much for the feedback, Lilly! It would be absolutely fantastic if you could post any errors from the logs or describe what didn't work with the deployment of both #1 and #2 apps. For #1, the Java EE TCK is good but you know how portability goes :) Tens of thousands of tests and

Re: Cannot download openejb-tomcat-webapp-4.0.0-beta-2.war

2012-02-22 Thread David Blevins
On Feb 22, 2012, at 11:45 AM, violetagg wrote: Hi, I'm trying to download openejb-tomcat-webapp-4.0.0-beta-2.war, but it seems that the links are broken? Can you please help? Thanks! The war files changed names and it looks like we (I) forgot to update the scripts that publish the

Re: Injection fails in any class that didn't instantiate an embedded ejb container

2012-02-17 Thread David Blevins
On Feb 17, 2012, at 5:08 AM, afryer wrote: Just upgraded to beta-2 and now @ManagedBean works. I had to change the context I was binding to, to get this to work. Using @LocalClient i had to bind using this code... Using @ManagedBean i have to bind like this... That difference

Re: Maven plugin for OpenEJB

2012-02-17 Thread David Blevins
On Feb 17, 2012, at 10:03 AM, Charles Moulliard wrote: Hi, Is there a maven plugin to use OpenEJB in embedded more like we can do with Glassfish groupIdorg.glassfish/groupId artifactIdmaven-embedded-glassfish-plugin/artifactId

Re: Jetty Support

2012-02-11 Thread David Blevins
On Feb 8, 2012, at 4:53 AM, john70 wrote: Hi David, thank you again for taking time! David Blevins-2 wrote The part that has historically been missing in Jetty terms is the injection support of various Java EE things into Servlets, Filters, etc. I.e. wiring the things that Jetty

Re: ReflectionServiceFactoryBean constantly creating services

2012-02-07 Thread David Blevins
Can you paste the configuration for your stateless container? I suspect there might be some aggressive MaxAge setting. -David On Feb 7, 2012, at 10:55 AM, Gil Teitelbaum wrote: Hi Everyone, I have an OpenEJB 3.1.4 embedded server that seems to be creating a web service every two

Re: Jetty Support

2012-02-03 Thread David Blevins
On Feb 3, 2012, at 3:41 AM, john70 wrote: Hi all, I know you are very busy. But my question is still not answered. Are you planning (I mean real planning and not a hypothetical one) to add Jetty support or not? Had a partial response crafted, but not finished. The who cares about

Re: Jetty Support

2012-01-30 Thread David Blevins
On Jan 30, 2012, at 2:13 AM, john70 wrote: Hi Romain, Thank you very much for response! Romain Manni-Bucau wrote Why do you prefer jetty? You can run tomee in a test, you can use arquillian, you can run it from your pom too. Do you prefer jetty because of jetty or because of

Re: Deploy unpacked jar

2012-01-17 Thread David Blevins
The apps/ dir itself supports unpacked jar files. As Romain guessed, the deploy tool only supports zip files (jars, ears, wars, rars). This is because the command line deploy tool actually uploads the jar file by reading the file from disk and sending to the server over a socket. We could

Re: TomEE Plus (1.0.0-beta-2): Getting NPE for JAX-RS resource with context root /

2012-01-13 Thread David Blevins
Excellent work! I'll make sure this makes it into beta-2 when we re-roll it. -David On Jan 13, 2012, at 11:44 AM, Romain Manni-Bucau wrote: fixed on trunk - https://issues.apache.org/jira/browse/TOMEE-61 - Romain 2012/1/13 Romain Manni-Bucau rmannibu...@gmail.com Hi Craig, yes,

  1   2   3   4   5   6   7   8   >