Re: [DISCUSS] TomEE as the TLP name
Jonathan Gallimore-2 wrote I think renaming the TLP makes sense as TomEE is getting a lot of attention from the public now, and having it under OpenEJB has the potential to be a little confusing unless you're aware of the history of the project. +1 for the renaming -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/DISCUSS-TomEE-as-the-TLP-name-tp4658563p4658614.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: [DISCUSS] New descriptor format
exabrial wrote The only thing I'm picky about is having one way of specifying the data. Having multiple ways to specify the same thing will likely confuse newcowers: Configuration AsynchronousPool CorePoolSize = 10 Configuration AsynchronousPool.CorePoolSize = 10 +1 for having one way of specifying the data. 0 for aliases - thinking not having aliases might be better for clarity i.e not having pojocontexts,pojos and just have one name ? For example, if you are to email an admin, to add certain property to pojocontexts but if the admin is only aware of pojos (it might be a little confusing ?) +1 for grepable property names. As for naming of the elements is concerned, the word context is a little programmerish and not towards admins Would losing the context suffix be better ? So we would just be having names like App, Module,Beans.. or otherwise like AppConfig,ModuleConfig.. ? +1 towards the naming of the element as 'Properties' rather than 'Configuration' -for reinforcing the syntax. +1 for staying with properties (when it comes to properties vs pure xml with xsd ). Properties look a lot cleaner/extensible. Better documentation/validation might help. If we are staying with properties, what kind of validations could be added ? -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/DISCUSS-New-descriptor-format-tp4657040p4657130.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: CMS diff: JPA Eclipselink
Thanks to Eduardo for the patch. This is committed and published -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/CMS-diff-JPA-Eclipselink-tp4656857p4656862.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
buildbot
Hi, Just to know about the buildbot CI. Does it not run for every commit ? If we don't have such a commit hook, how can I force a build ? I've noticed commands are being used from IRC / CI page having an option to force a build with username/password. Not sure how to use either. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/buildbot-tp4656743.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Console deployer and validation
Hi guys, This feature is very interesting. If there's remaining work that could be split up or any other feature that might be useful for the tomee-webapp, do let me know. I'd like to work on it. -Vishwa David Blevins-2 wrote On Jun 5, 2012, at 5:59 AM, Thiago Veronezi wrote: I like it! What do you think about this mockup? https://dl.dropbox.com/u/1459144/tomee_apps.png That's a good start. We could get a bit fancier if we use the DeployerEjb. If there is a validation issue and the deployment fails the caller will get a ValidationFailedException which contains all the details on each issue. private final ValidationError[] errors; private final ValidationFailure[] failures; private final ValidationWarning[] warnings; On each ValidationException you can call `public String getMessage(int level)`. The stuff we see in the logs is on level 2 by default. That's basically designed to be a one line error message. The stuff on level 3 is multi-line text. We could send all that information (message levels 2 and 3, the key and details) back to the caller (the web GUI) just like you do now and include some information about each failure and use it to create a nice rich looking view of the failures. There would be some kind of table listing each failure showing the key and summary (message level 2). Clicking the row would expand that entry out to show the multi-line message level 3. If it works out we might even add more data to the validation exceptions like spec references or documentation links. Log messages are great, but you have to loose a lot of data for them to be readable. This validation stuff has probably been waiting for someone to come along and slap a nice UI on it :) It could really set this feature on fire! -David On Tue, Jun 5, 2012 at 12:59 AM, David Blevins lt;david.blevins@gt;wrote: In light of the recent validation failure on deployment, there's a clear feature we've been needing that would be great to add. The console should be able to deploy apps. When there are validation failures/warnings those would be listed in nice yellow and red boxes that are clickable. When clicked, they would expand downward and show the verbose validation text. All our validation comes in three output levels. The third is email-like and sometimes even includes code snippets using the user's own method or class names. We could maybe even start using markdown formatting of that so the code snippets could be rendered nicely. Thoughts? -David -- View this message in context: http://openejb.979440.n4.nabble.com/Console-deployer-and-validation-tp4655401p4656479.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: CDI field producer example ready to be patched
Thanks Daniel, for the patch. All committed. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/CDI-field-producer-example-ready-to-be-patched-tp4625139p4631289.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: help to fix the website
lol at the points thingy :) Haven't been able to contribute much, in the past few months and I wish I could have more time. But its satisfying to pick up and do simpler things like these that could be of help. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/help-to-fix-the-website-tp4584170p4606936.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: [VOTE] OpenEJB 4.0.0/TomEE 1.0.0 (staging-081)
Thanks Anthony ! Have added these here http://openejb.apache.org/tomee-and-eclipse.html -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/VOTE-OpenEJB-4-0-0-TomEE-1-0-0-staging-081-tp4577806p4591583.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: [VOTE] - OpenEJB 2012 Meetup - EU or USA
I'm leaving back to India from EU, in the first week of Aug. Would be great if the dates could be a little earlier. Would anytime in June/July suit ? -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/VOTE-OpenEJB-2012-Meetup-EU-or-USA-tp4551478p4584137.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: [VOTE] - OpenEJB 2012 Meetup - EU or USA
Good for me too. Also if we could decide on the dates... -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/VOTE-OpenEJB-2012-Meetup-EU-or-USA-tp4551478p4572340.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: [VOTE] - OpenEJB 2012 Meetup - EU or USA
+1 for West of EU. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/VOTE-OpenEJB-2012-Meetup-EU-or-USA-tp4551478p4553296.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Welcome Gaurav Sharma
Welcome to the community, Gaurav ! To add to the list of links, http://openejb.apache.org/dev/configuration-and-assembly.html provides a nice high level overview of OpenEJB internals. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Welcome-Gaurav-Sharma-tp4546817p4553366.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Apache OpenEJB/TomEE Get-Together 2012
Hi guys, I am in UK until this July. How would UK and this timeline (on or before July) suit you guys ? UK would be great but I would try my best to join in any country in Europe. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Apache-OpenEJB-TomEE-Get-Together-2012-tp4313559p4531431.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: TomEE logo proposal
The first one here looks great..! Neat and elegant. Also like your old suggestion of TomEE the tiger, for it kinda roars with an attitude ;) http://openejb.979440.n4.nabble.com/file/n3466096/tomee-composite.png Not sure which one I like more :) -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/TomEE-logo-proposal-tp4483438p4484513.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Fwd: svn commit: r1245261 - /openejb/site/trunk/content/tomee-directory-structure.mdtext
oh ok. ..about the log file ? Is that tomee.log ? -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Fwd-svn-commit-r1245261-openejb-site-trunk-content-tomee-directory-structure-mdtext-tp4395929p4396070.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Downloads and blog post for 1.0.0-beta-2
Sure thing ! I'll make an updated version this evening. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Downloads-and-blog-post-for-1-0-0-beta-2-tp4323135p4323286.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Website OpenEJB link
Oh yes. It didn't strike before that it can be confusing.. So just the table should be good then ! -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Website-OpenEJB-link-tp4281873p4295486.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: [IDEA] Link each example to a Quora board
Happy new year guys ! Didn't know about Quora before, but on exploring it seems to be a pretty good site. A couple of things I like: 1) Allows adding broad level question / discussion-starter kind of questions 2) You could ask and answer yourself (Even SO seems to encourage it, but Quora feels easier) So eventually we could have a good FAQ created. A few other things.. Noticed that open questions in quora are not indexed in google search and a question stays as open until an answer has one vote. So vote up :) And on StackOveflow, we've now got a apache-tomee tag added (apart from the openejb tag). Would be nice if we follow this feed too and answer. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/IDEA-Link-each-example-to-a-Quora-board-tp4237931p4253649.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: CMS Back up
Oh thanks. But looks like some problems with .mdtext to .html conversion still exists. Looks like html files for the following .mdtext (with recent changes) haven't been created- openejb/site/trunk/content/system-properties.mdtext openejb/site/trunk/content/support.mdtext openejb/site/trunk/content/properties-listing.mdtext -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/CMS-Back-up-tp4254335p4254450.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: hi there openejb
Hi Daniel, Welcome to OpenEJB ! I'm sure you'll enjoy getting involved :) You could start with anything simple. One idea would be adding some CDI related examples. There's a sample list here ( https://issues.apache.org/jira/browse/OPENEJB-1605). Some of these may have been already added, but in general, there's a lot of cdi related examples that could be added. Here you'll find some good tips on writing presentable examples (http://openejb.staging.apache.org/dev/writing-examples.html) To get a glimpse of OpenEJB internals, have a look at this doc- http://openejb.apache.org/dev/configuration-and-assembly.html or other tests in openejb-core module. Cheers, Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/hi-there-openejb-tp4232886p4235261.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: [RESULT] Vishwanath Krishnamurthi as committer
Wow ! How exciting it is to be a part of the lovely OpenEJB team/community ! Thanks everyone ! -Vishwa :) Romain Manni-Bucau wrote Welcome Vishwa! - Romain 2011/12/6 Jean-Louis MONTEIRO lt;jeanouii@gt; OK, time to close the vote. Vote passes with 10 +1s and no other votes! Voters: Daniel S. Haischt David Blevins Jacek Laskowski Jeff Genender Karan Malhi Romain Manni Bucau Andy Gumbrecht Jonathan Gallimore Thiago Veronezi Jean-Louis Monteiro Thanks to everyone who voted. We'll need to get a CLA on file for you before we can request the user account. If you can fill out the PDF here, sign, scan and email to secretary@ that would be great and that usually takes less time. When that gets on file, lemme know so that we can go to the next part. Congratulations and welcome aboard, Vishwa! Jean-Louis [CLA]: check it out http://www.apache.org/licenses/#clas here -- View this message in context: http://openejb.979440.n4.nabble.com/VOTE-Vishwanath-Krishnamurthi-as-committer-tp4122496p4164053.html Sent from the OpenEJB Dev mailing list archive at Nabble.com. -- View this message in context: http://openejb.979440.n4.nabble.com/VOTE-Vishwanath-Krishnamurthi-as-committer-tp4122496p4165540.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Site corrections
Hi, After the new site changes we are left with quite a lot of corrections to make. 1) Source-code.html is pointing to the old svn url. 2) No download links are provided for previous releases in downloads.html 3) Bootstrap css shows html lists with faded-text, making it hard to read. Have added patches for these three at https://issues.apache.org/jira/browse/TOMEE-52 Please check. 4) And finally we should do something about the incorrectly converted docs (confluence wiki to markdown ) Confluence wiki, supports tables but markdown does not. The conversion has resulted in most html table related markup being converted with pipes etc,hence messing the look. Compare: https://cwiki.apache.org/OPENEJBx30/jndi-names.html with http://openejb.apache.org/jndi-names.html To correct these, we could leave the table markup as it is in mdtext file. So that the same table is preserved when markdown is converted to html. These files with wrong alignment can be either be reconverted from confluence wiki, correctly (if possible) or the table markup could be taken and pasted in mdtext file. Grep-ed through and found about 20 odd files have such wrong table conversions. Added the list in TOMEE-55 -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Site-corrections-tp4120786p4120786.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Site homepage style changes [Preview]
A couple of days back I tried around with anything-slider ( https://github.com/dcneiner/AnythingSlider https://github.com/dcneiner/AnythingSlider ) and came up with something like this- http://dl.dropbox.com/u/21185523/AnythingSlider/Apache%20TomEE%20%26%20OpenEJB%20%28copy%29.html http://dl.dropbox.com/u/21185523/AnythingSlider/Apache%20TomEE%20%26%20OpenEJB%20%28copy%29.html It skewed up the alignment while loading, and I gave up trying to correct it. It was good in the part that it supports any html markup (the above page uses a li with an image and static text in it) So adding text, videos anything is possible.. but a pain to have it set up and working correctly. I like wowslider the most. I don't think any slider that works with text/markup rather than image comes with such attractive transition effects. Also wowslider seems to provide a way to save the setup as a project file. Could have it checked in to svn and add/edit new image easily. Also looks much better than coinslider. +1 for wowslider dsh wrote Comments? On Tue, Nov 22, 2011 at 8:31 PM, dsh lt;daniel.haischt@gt; wrote: Hi, I played a bit with coinslider. Please let me know what you think. - http://people.apache.org/~dsh/openejb-coinslider/ PS: it's using a single image with multiple text snippets. Cheers Daniel -- View this message in context: http://openejb.979440.n4.nabble.com/Site-homepage-style-changes-Preview-tp4081131p4110310.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: tomee webapp
Jacek Laskowski-2 wrote While searching for the sandbox, I ran across http://openejb.apache.org/dev/source-code.html. The page looks terrible and needs some love - see the repo URL which gives 404. How can it be changed? What's the procedure? [1] http://svn.apache.org/repos/asf/openejb/trunk/sandbox/ Jacek Yeah. I had a patch for that earlier. I think changing that mdtext file should fix it. Here's the svn location of the file and the patch - http://openejb.979440.n4.nabble.com/Svn-URL-trunk-deps-td3879038.html http://openejb.979440.n4.nabble.com/Svn-URL-trunk-deps-td3879038.html Can you please apply it ? -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/tomee-webapp-tp4096196p4103578.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Site homepage style changes [Preview]
Jean-Louis MONTEIRO wrote: ... Do you want me to commit something for you? If you have a patch or so, I'd be more than happy to do it. Jean-Louis Thanks, I have added the patch and comments here https://issues.apache.org/jira/browse/TOMEE-50 https://issues.apache.org/jira/browse/TOMEE-50 Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Site-homepage-style-changes-Preview-tp4081131p4083101.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Svn URL + trunk deps.
Corrected the SVN URL and some alignments. Please take this md file https://gist.github.com/1340096 https://gist.github.com/1340096 for http://svn.apache.org/repos/asf/openejb/site/trunk/content/dev/source-code.mdtext http://svn.apache.org/repos/asf/openejb/site/trunk/content/dev/source-code.mdtext -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Svn-URL-trunk-deps-tp3879038p3991287.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Thank you (again), Vishwa! (was Re: svn commit: r1190757)
David Blevins-2 wrote: Got them all checked in and up on the stating site: http://openejb.staging.apache.org/examples-trunk/ Thanks ! Love the new look !! ..so clean and organized :) -- View this message in context: http://openejb.979440.n4.nabble.com/Re-svn-commit-r1190757-1-15-in-openejb-trunk-openejb-examples-access-timeout-meta-src-main-java-org-p-tp3950298p3955945.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: @ActivationConfigProperty without annotations or deployment descriptor?
Ah, some changes to make.. please don't take this one.. I'll attach an updated one. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/ActivationConfigProperty-without-annotations-or-deployment-descriptor-tp3797165p3888534.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: @ActivationConfigProperty without annotations or deployment descriptor?
Updated and attached a different patch. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/ActivationConfigProperty-without-annotations-or-deployment-descriptor-tp3797165p3888640.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Some more TomEE related renaming
Added some minor textual changes to dashboard's index.jsp https://issues.apache.org/jira/browse/OPENEJB-1697 here https://issues.apache.org/jira/browse/OPENEJB-1697 -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Some-more-TomEE-related-renaming-tp3406880p3886077.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: We did it!!!
Absolutely awesome ! I already am telling my friends, about this with so much excitement. Great work, guys !!! Time to roar :) -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/We-did-it-tp3873492p3873668.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: how to use openejb.embedded.remoteable in TomEE
I came across this at this page - http://openejb.apache.org/3.0/clients.html http://openejb.apache.org/3.0/clients.html I guess referring to this link in relevant sections of other pages would make it easy to find. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Re-how-to-use-openejb-embedded-remoteable-in-TomEE-tp3859475p3860341.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
404 with ci generated examples pages
Observed that examples links ( http://ci.apache.org/projects/openejb/examples-generated/index.html ) are giving out a 404. Maybe someone could have a look ? -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/404-with-ci-generated-examples-pages-tp3843871p3843871.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Discussion threads for documented examples
Hi, I remember seeing some Javaranch articles, where at the end of each article a discussion link would be provided for any discussions on that particular topic. (Here's one such: http://www.coderanch.com/t/134492/Security/New-JavaRanch-Journal-article-Authentication http://www.coderanch.com/t/134492/Security/New-JavaRanch-Journal-article-Authentication ) Thinking it would be nice to do the same while documenting examples.. a link at the end pointing to a thread started in openejb-users mailing list maybe ? When the example doc can be short and to the point, the discussion thread can point out pitfalls, tips, other scenarios where that feature could be used etc.. your thoughts ? -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Discussion-threads-for-documented-examples-tp3808556p3808556.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: OpenEJB-1638 Documentation for examples
No problem at all, about any delay/unapplied patches. Was so hooked on to an anti-corruption movement that was going on here from mid Aug :) Bike rallies, candle light vigils, following every news update etc.. Hence the time off. But now I'll have all the time to get back and contribute :) -- View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-1638-Documentation-for-examples-tp3716265p3805171.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Patch for OPENEJB-1636 ( Support wider range of hashtags + Support Retweets for ApacheTomEE twitter account )
Went to the twitter account -- Settings -- Applications and hit 'Revoke Access' button on the OpenEJB-bot app. Then ran the AccessTokenGenerator to create fresh tokens... It worked fine then :) Please take authTokens.patch file ( https://issues.apache.org/jira/secure/attachment/12491552/authTokens.patch https://issues.apache.org/jira/secure/attachment/12491552/authTokens.patch ) -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Patch-for-OPENEJB-1636-Support-wider-range-of-hashtags-Support-Retweets-for-ApacheTomEE-twitter-acco-tp3690263p3766709.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Patch for OPENEJB-1636 ( Support wider range of hashtags + Support Retweets for ApacheTomEE twitter account )
David Blevins-2 wrote: I hooked it up but I think I might have broken something. Tried a tweet with #TomEE in it and then ran the tool and it didn't work. Going to send you the twitter account info offline and maybe you can take a stab at setting it up and sending a patch for the right tokens and such. You might have to re-auth both accounts Oh sure, send me the account info.. let me check. Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Patch-for-OPENEJB-1636-Support-wider-range-of-hashtags-Support-Retweets-for-ApacheTomEE-twitter-acco-tp3690263p3737915.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: openejb examples
Great ! DSLish :) I'll update those gists and use this syntax in the new ones. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/openejb-examples-tp3718510p3721130.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
OpenEJB-1638 Documentation for examples
Hi, I have added some documentation for examples/async-methods and examples/simple-mdb Thanks to github supporting markdown in gist, saving a partially done doc and going back to it later is pretty easy ! https://gist.github.com/1121433 https://gist.github.com/1122297 Thanks, Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-1638-Documentation-for-examples-tp3716265p3716265.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Patch for OpenEJB 1570 (Look for Misplaced descriptor and warn )
Hi, I have added a patch for this task. About the changes: AppValidator - Nothing much here, Just added CheckDescriptorLocation to validation CheckDescriptorLocation -Looks in the base-dir of an EjbModule for any descriptor. If present, logs a warning CheckDescriptorLocationTest -Uses Archives.java to create a Jar with a descriptor placed in root. Tests for the warning to be issued. CheckDescriptorLocationTestFileDeletionHelper - I'd like you to look at this one.. I wasn't able to delete the jar file created in the above test. After DeloloymentLoader.load(jarFile) was executed in the test, it looks like the jar is held by something . Even a delete in @AfterClass method in CheckDescriptorLocationTest didn't delete the file. deleteOnExit() didn't seem to delete too. But when I placed the deletion separately in a new file (CheckDescriptorLocationTestFileDeleteHelper) and ran this, then the file got deleted. Archives - Copied and pasted (from http://svn.apache.org/repos/asf/geronimo/xbean/trunk/xbean-finder/src/test/java/org/apache/xbean/finder/archive/Archives.java http://svn.apache.org/repos/asf/geronimo/xbean/trunk/xbean-finder/src/test/java/org/apache/xbean/finder/archive/Archives.java ) into openejb-core util package and modified to pass the jar-filename-prefix as a method-parameter. Not feeling so good about a copy-paste. Anyway that could be avoided ? This kinda finishes the first list of changes In some cases where something was totally descriptor driven, like ( examples/simple-stateless-with-descriptor) if ejb-jar.xml was misplaced in the root, then ConfigurationFactory.getDeclaredApps() would return a list of size 0, nothing was considered for deployment.. Hence no AppModule was created. The validation as in above (CheckDescriptorLocation) doesn't help here. So added a log statement in ConfigurationFactory. Finally a similar case while misplacing the descriptor in examples/simple-mdb-with-descriptor. But the flow now went on to throw a NoModulesFoundException. Thought of adding a detailed exception message in this case, so that might help the user. Something like ( http://www.grepcode.com/file/repo1.maven.org/maven2/org.mockito/mockito-all/1.8.5/org/mockito/exceptions/Reporter.java http://www.grepcode.com/file/repo1.maven.org/maven2/org.mockito/mockito-all/1.8.5/org/mockito/exceptions/Reporter.java ). I really liked such detailed messages in Mockito. The changes in OpenEJBContainer.java Exceptions.java and StringUtilities are for this. I'm not sure if an exception message can be so elaborate or if it is consistent with this project's coding conventions. In any case, feel free to tell me / change it. Please review, Thanks, Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Patch-for-OpenEJB-1570-Look-for-Misplaced-descriptor-and-warn-tp3706787p3706787.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: A patch for OPENEJB-1565 (Retweet OpenEJB contributors feed)
Hi, Noticed retweeting for #TomEE was added.. Have submitted a patch, a small fix on that and some tests.. Thanks, Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/A-patch-for-OPENEJB-1565-Retweet-OpenEJB-contributors-feed-tp3561896p3689405.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Documentation Reform
David Blevins-2 wrote: # Markdown help Best resource for markdown I've seen: http://stackoverflow.com/editing-help To add to that, http://daringfireball.net/projects/markdown/dingus http://daringfireball.net/projects/markdown/dingus , an online editor, shows up a html preview of a markdown text. Good tool ! -- View this message in context: http://openejb.979440.n4.nabble.com/Documentation-Reform-tp3658702p3689478.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Build Failure: openejb-core: package javax.ws.rs.core does not exist
Hi, I've been facing this https://gist.github.com/1099148 https://gist.github.com/1099148 build failure with a mvn -D clean install Thanks, Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Build-Failure-openejb-core-package-javax-ws-rs-core-does-not-exist-tp3686335p3686335.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Build Failure: openejb-core: package javax.ws.rs.core does not exist
Well, that was it. Built successfully after building deps module. Thanks Romain ! You were so quick :) -- View this message in context: http://openejb.979440.n4.nabble.com/Build-Failure-openejb-core-package-javax-ws-rs-core-does-not-exist-tp3686335p3686370.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Ideas for Getting the word out -- Examples documentation
David Blevins-2 wrote: Anything that makes digesting such a large quantity of examples that much easier. An option to view examples grouped as trails maybe ? Something like the http://download.oracle.com/javase/tutorial/java/data/characters.html java trail ? -- View this message in context: http://openejb.979440.n4.nabble.com/Ideas-for-Getting-the-word-out-tp3558206p3660003.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: virtual hang out
Wow, this would be great ! How about using StackOverflow chatroom..? We could create one room for OpenEJB. On browsing through, these are some features they have : Creation of events ( exportable to calendar ) : Checkout Android room Sending invites for events Bookmarking of conversations Archival of conversations Syntax highlighting for code snippets Some links that are automatically inlined (esp: github gists ) Awesome, set of features for a hangout.. :) -- View this message in context: http://openejb.979440.n4.nabble.com/virtual-hang-out-tp3657086p3657491.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Ideas for Getting the word out -- Examples documentation
Looks cool ! I'll join in and do some CSS styling tomorrow. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Ideas-for-Getting-the-word-out-tp3558206p3657785.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Patch for OPENEJB-1607 (CDI @Interceptor and @InterceptorBinding examples)
Oops.. Gotto make some changes. Please don't take this patch.. I'll post a different one -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Patch-for-OPENEJB-1607-CDI-Interceptor-and-InterceptorBinding-examples-tp3628768p3630223.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Patch for OPENEJB-1607 (CDI @Interceptor and @InterceptorBinding examples)
Have deleted the old patch attachment and added a new one... Pls review.. :) -- View this message in context: http://openejb.979440.n4.nabble.com/Patch-for-OPENEJB-1607-CDI-Interceptor-and-InterceptorBinding-examples-tp3628768p3631504.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Patch for OPENEJB-1607 (CDI @Interceptor and @InterceptorBinding examples)
Hi, I have just attached a patch for https://issues.apache.org/jira/browse/OPENEJB-1607 https://issues.apache.org/jira/browse/OPENEJB-1607 I have added examples for four cases: CDI support for binding interceptors through @Interceptors Basic interceptor, using @Interceptor and @InterceptorBinding Applying multiple interceptors using multiple interceptor-binding annotations Interceptor binding inheritance Please review and suggest any changes.. Thanks, Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Patch-for-OPENEJB-1607-CDI-Interceptor-and-InterceptorBinding-examples-tp3628768p3628768.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Arquillian adaptor for TomEE
Oh, thanks for the pointer.. and btw can you create a stub project for https://issues.apache.org/jira/browse/OPENEJB-1607 https://issues.apache.org/jira/browse/OPENEJB-1607 so I could submit patches against it..? -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Arquillian-adaptor-for-TomEE-tp3541150p3625830.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Arquillian adaptor for TomEE
Hi Jon, I was just thinking of starting with writing CDI examples and was wondering how write tests. Got reminded of this adaptor. Been having fun, playing around with this.. :) These are a few things that I observed, The example test is now failing with http://tinypaste.com/af837d http://tinypaste.com/af837d in the snapshot version of Arquillian. On changing it to 1.0.0.Alpha5 version it works fine. Had to include the jboss-repo to the pom to get the Arquillian artifacts.. Looks like they haven't got it published in maven central yet. repository idjboss-public-repository-group/id nameJBoss Public Maven Repository Group/name urlhttps://repository.jboss.org/nexus/content/groups/public-jboss//url layoutdefault/layout releases enabledtrue/enabled updatePolicynever/updatePolicy /releases snapshots enabledtrue/enabled updatePolicynever/updatePolicy /snapshots /repository And one doubt.. How would we run Arquillian tests using this adaptor.. ? By adding this as a dependency in whichever project we write tests ? I tried it this way.. and got a error on annotating the class with @RunWith(Arquillian.class) with Arquillian.class not in classpath. Commented out the test scope to have the tests running dependency groupIdorg.jboss.arquillian/groupId artifactIdarquillian-junit/artifactId version${version.arquillian}/version /dependency Will play around more with the adaptor.. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Arquillian-adaptor-for-TomEE-tp3541150p3625145.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: Road Map
I can get started with OPENEJB-1607 Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/Road-Map-tp3574480p3619724.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: A tweet a week campaign :)
Sure :) I'll look into it. -- View this message in context: http://openejb.979440.n4.nabble.com/A-tweet-a-week-campaign-tp3590582p3604374.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: A patch for OPENEJB-1565 (Retweet OpenEJB contributors feed)
Hi Romain, Thanks ! The working is quite simple.. Retweet.java is the standalone program, that needs to be run. When run, it would pick up valid messages from http://twitter.com/#!/OpenEJB/contributorsand retweet it here ( http://twitter.com/#!/waltic1 ) I used this account (waltic1) for testing this.. To be changed later to open-ejb-twitter account. *This is how the implementation is done-* 1) ScreenNamesRetriever.getContributorsNames() fetches all the contributors' screen-names as a list 2) UserStatusRetriever.getAllContributorsOpenEJBStatuses() loops through the screen-names-list, and gets openejb tweets of each user *Can test this with RetweetITest.java (It retrieves openejb messages of one user - 'stratwine' ) This method internally uses OpenEJBMessageFilterUtil.java to filter out some messages - OpenEJBMessageFilterUtil.acceptOrRejectTweets() method filters out some messages based on these conditions - if (!isOlderThanAnHour(keyValue) isOpenEJBTweet(tweet) !isRetweeted(keyValue) ) { acceptTweet(openEJBStatusIDs, keyValue, tweet); } else { logWhyTweetWasRejected(keyValue, tweet); } Thus rejecting tweets that are: -older than an hour, -that don't have #openejb or @openejb in the message -that has not been retweeted before 3)Retweet.java gets the 'id' of the messages to be retweeted using UserStatusRetriever.getAllContributorsOpenEJBStatuses() , and posts a retweet request to the configured twitter account. (Right now, 'waltic1' is configured' ) So the retweets should be visible from this account. When you check, I think none of the messages would be picked up for retweet, ( because of those three conditions above ). Tweaking OpenEJBMessageFilterUtil.isOlderThanAnHour(keyValue) to allow older ones, should help pick some messages, I guess.. private static boolean isOlderThanAnHour(Map keyValue) { String dateAsString =(String) keyValue.get(created_at); Calendar calendar = Calendar.getInstance(); calendar.add(Calendar.HOUR_OF_DAY, -1); // *some 40 hours or so here for while testing * Let me know if its fine.. I'll be around in IRC too, so pull me anytime :) Thanks, Vishwa On Wed, Jun 15, 2011 at 2:02 AM, Romain Manni-Bucau [via OpenEJB] ml-node+3597740-724640723-241...@n4.nabble.com wrote: Hi! i commited it, i have an exception about the time format, i'll have a look, maybe it is because my locale (fr) is not the same as yours. i'm not a twitter user, can you explain me a bit how does it work please (if i want to try it)? - Romain 2011/6/8 stratwine [hidden email]http://user/SendEmail.jtp?type=nodenode=3597740i=0 Hi, Please take RetweetFunctionallyGood2Updated.patch instead of RetweetFunctionallyGood2.patch (Added some headers for classes) -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/A-patch-for-OPENEJB-1565-Retweet-OpenEJB-contributors-feed-tp3561896p3583480.html Sent from the OpenEJB Dev mailing list archive at Nabble.com. -- If you reply to this email, your message will be added to the discussion below: http://openejb.979440.n4.nabble.com/A-patch-for-OPENEJB-1565-Retweet-OpenEJB-contributors-feed-tp3561896p3597740.html To unsubscribe from A patch for OPENEJB-1565 (Retweet OpenEJB contributors feed), click herehttp://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3561896code=dG92aXNod2FuYXRoQGdtYWlsLmNvbXwzNTYxODk2fDY0ODE2MTMzNQ==. -- View this message in context: http://openejb.979440.n4.nabble.com/A-patch-for-OPENEJB-1565-Retweet-OpenEJB-contributors-feed-tp3561896p3599950.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: A patch for OPENEJB-1565 (Retweet OpenEJB contributors feed)
David Blevins-2 wrote: So if @personNotInList tweets about OpenEJB, then @personInList hits the retweet button on the twitter website, that retweet from @personInList will be retweeted by @OpenEJB ? I thought by intuition that it should work that way. Then I just checked once today, to find that a twitter list doesn't gather retweets http://help.hootsuite.com/entries/345389-viewing-retweets-in-a-list-stream viewing retweets in a list The simple workaround would be to do a textual retweet using RT @personNotInList ... But that wouldn't have the embedded image of the one who originally tweeted. The longer approach would be to get the list members' screen_names through one call, then retrieve each member's statuses and filter out. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/A-patch-for-OPENEJB-1565-Retweet-OpenEJB-contributors-feed-tp3561896p3575590.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: A patch for OPENEJB-1565 (Retweet OpenEJB contributors feed)
Hi, I have added another patch (RetweetFunctionallyGood.patch). This retweets pretty well, with original the image of original-tweeter emebedded. It takes a default list of recent tweets (around 15 ) from the list Checks for #openejb or @openejb pattern in the tweet. If present, checks it it was retweeted If not retweeted, adds it to a list Then the list is looped and each entry is retweeted ( with a 5 min thread sleep, for each entry, so that it doesn't look like spamming a set of tweets at once.. Is that fine ? ) Apart from the retweet check that we do,Twitter forbids any repeat post with a 403 status code. So that additionally ensures that this app doesn't do any repeat posts. One thing though: If anyone not in the list had retweeted an OpenEJB status, before this app tries, then that message gets filtered out as retweeted. As a result, it wouldn't be picked up for retweeting. In that case anyone in the list can do a native retweet like RT @person original-message I guess I'll do any tidying in another patch. -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/A-patch-for-OPENEJB-1565-Retweet-OpenEJB-contributors-feed-tp3561896p3574471.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: openejb website? where to go?
Hi, As someone who started using OpenEJB just a few days back, I have had a lot of questions. I still do and I am pretty sure I'd have lots more as I explore of its usage. So for anyone like me, starting out, FAQ would be the ideal starting point. Why FAQs : --- #1) Questions and Answers is just one great way of learning. #2) (Writing a common-user point in first person narration...) I have a lot of simple questions. Answers to them would help me getting started quickly, but I wouldn't want to ask it in user's forum because -I am shy to ask simple questions -(or)I don't want to disturb developers -(or) I think its probably a RTFM question.. It's already in some doc, I must search and read it. But being lazy I don't do it, and don't get started as a result. If the question is in FAQs, wow, I am saved from getting embarrassed, I can get started quickly no, I am disturbing anyone #3) Users would want to accomplish specific tasks using OpenEJB. Specific question like how to do XXX with OpenEJB would help the user. #4) Its one other way of getting the examples/articles/blog-posts out -For existing examples/articles/blog-posts, we can put up a question in FAQ, answer briefly and link to the existing resource -Yes it's redundant. But guess some redundancy is good. #5) Users search in google based on questions. Eg: How to unit test EJB Also I think openejb faq would be a highly used keyword Ideas for FAQs - FAQs can be contributed. -Contribution of questions -Contribution of answers -Contribution of both Maybe through JIRA ? Maybe through mail ? Some questions can be picked up from openejb-user-forum / SO ? FAQs can be organized based on OpenEJB comfort/familiarity level FAQs can be organized based on EJB comfort/familiarity level FAQs can be categorized something like this: http://junit.sourceforge.net/doc/faq/faq.htm#organize_1 -- View this message in context: http://openejb.979440.n4.nabble.com/openejb-website-where-to-go-tp3563557p3566851.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: openejb website? where to go?
(..contd) FAQ examples: Can start off with very basic questions like these: -How is OpenEJB lightweight ? -Is OpenEJB a server ? -How can it help me if I am using JBoss / Glassfish -What can I do and what can I not do while using while using OpenEJB as a Standalone server ? Errors Section Things like I tried XXX But am getting this error.. which are repeatedly faced/asked Thanks, Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/openejb-website-where-to-go-tp3563557p3566861.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: A patch for OPENEJB-1565 (Retweet OpenEJB contributors feed)
Wow, feels great. My First time submitting a patch to any open source project :) Didn't know it was this simple :) Well, the next step would be to retrieve access tokens, so that we can send post requests to the twitter account. Then, retrieval of statuses from the contribution list. I've just attached a patch for these, please review ( Attached twice by mistake, but both files are the same ) -Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/A-patch-for-OPENEJB-1565-Retweet-OpenEJB-contributors-feed-tp3561896p3564563.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
A patch for OPENEJB-1565 (Retweet OpenEJB contributors feed)
Hi, I have added a patch for OPENEJB-1565. Please review.. Thanks, Vishwa -- View this message in context: http://openejb.979440.n4.nabble.com/A-patch-for-OPENEJB-1565-Retweet-OpenEJB-contributors-feed-tp3561896p3561896.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: A patch for OPENEJB-1565 (Retweet OpenEJB contributors feed)
Yep, Done :) -- View this message in context: http://openejb.979440.n4.nabble.com/A-patch-for-OPENEJB-1565-Retweet-OpenEJB-contributors-feed-tp3561896p3561982.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.