Return-Path: X-Original-To: apmail-openejb-users-archive@www.apache.org Delivered-To: apmail-openejb-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C851DD29 for ; Wed, 1 Aug 2012 14:25:18 +0000 (UTC) Received: (qmail 93237 invoked by uid 500); 1 Aug 2012 14:25:18 -0000 Delivered-To: apmail-openejb-users-archive@openejb.apache.org Received: (qmail 93223 invoked by uid 500); 1 Aug 2012 14:25:18 -0000 Mailing-List: contact users-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openejb.apache.org Delivered-To: mailing list users@openejb.apache.org Received: (qmail 93215 invoked by uid 99); 1 Aug 2012 14:25:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 14:25:18 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rmannibucau@gmail.com designates 209.85.220.176 as permitted sender) Received: from [209.85.220.176] (HELO mail-vc0-f176.google.com) (209.85.220.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 14:25:14 +0000 Received: by vcbfl11 with SMTP id fl11so8366944vcb.35 for ; Wed, 01 Aug 2012 07:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=HD8y79mSaiGbyJGbSxyAjffuCvY6BYCTFG5Wj7Mcdis=; b=TjtNRcucRO8jmOkjZ+562t7lQEIpOj1s20Y8kaVlJLsIHoG3NFSvpKv8i63bL/IpID EFEO2UR2ifutiPG5UcnF831azXZzVY5NFu2kuOjhTFPS6iVlTIbeuRCWKLgzaB9aW4MI Ox+hW02HRjo3I4Ma71Zox+nRdL7noruEyzeYtqRhUOu8jbw+SkNWgC39B7VUQfVU5+ep I/jYV7/wBBudnK8vpU3j7fGkZhHVjbjwAeIBxeIhf3mnOCmp6QfghgqyXJa/i0PT57Uj XtiEbco6wly7XNPkSCb8lQhzdTc6uWqBD8ObnYwuiDWE4hHZKQrInxW7i/v6ssMS49Ki H4EA== Received: by 10.59.7.193 with SMTP id de1mr5975285ved.34.1343831092854; Wed, 01 Aug 2012 07:24:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.171.237 with HTTP; Wed, 1 Aug 2012 07:24:32 -0700 (PDT) In-Reply-To: <1343824875638-4656614.post@n4.nabble.com> References: <1343824875638-4656614.post@n4.nabble.com> From: Romain Manni-Bucau Date: Wed, 1 Aug 2012 16:24:32 +0200 Message-ID: Subject: Re: NoModulesFoundException - Problem To: users@openejb.apache.org Content-Type: multipart/alternative; boundary=047d7bf0ebcaed7fd504c6350e04 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bf0ebcaed7fd504c6350e04 Content-Type: text/plain; charset=ISO-8859-1 Hi, are you sure your uber jar is correct? which parameters do you give to EJBContainer (String, File, you use auto classpath discovery...)? - Romain 2012/8/1 snblim > Hi forum, > > we're using OpenEJB in a project with multiple modules. These modules have > access to different databases. The projects/modules relations work in a > tree > hierarchy and the > root module triggers its childs and so on. We're using no server. We need > an > application that is going to be triggered with cron. > > Everything works perfectly fine when running the project in eclipse. The > problem appears after exporting the project. We use the OpenEJB directory > layout (and libraries) that is > meant to be used for the standalone server - only without a server. > > We export all project (aka modules) to single jars. The modules that act as > libraries are included to lib/ and the root-module with the main method is > put in apps/. > > Than we use the following script (see 1.) to load all libraries into the > context and > to start the application (passing all parameters that are used in the > eclipse run configuration). The EJBContainer is being loaded but the > process > ends because of missing/invalid modules (see log 2.). > > We cannot use the eclipse-function 'Export Runnable Jar' because our > testing-environment is included that way - for that reason we are trying to > 'filter' everything unnecessary. > > I didn't post any code because I don't think it's a source-code problem > (else the problem would appear when starting from the IDE, right?). But > I'll post anything if it is necessary! > > Thank you really a lot for taking your time - we're stucked with this issue > for quite a while now :-( > Cheers > > The above referenced snippets: > (Some paths or names may appear strange. This xy-censoring is necessary > because of our policies.) > > 1. > > > 2. (I filtered some of the 'healthy' looking INFO-lines. Here you can find > the complete log: http://pastebin.com/Kyz8jxcV) > > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/NoModulesFoundException-Problem-tp4656614.html > Sent from the OpenEJB User mailing list archive at Nabble.com. > --047d7bf0ebcaed7fd504c6350e04--