From commits-return-33618-apmail-tomee-commits-archive=tomee.apache.org@tomee.apache.org Tue Dec 16 08:11:13 2014 Return-Path: X-Original-To: apmail-tomee-commits-archive@www.apache.org Delivered-To: apmail-tomee-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB9DACCC2 for ; Tue, 16 Dec 2014 08:11:13 +0000 (UTC) Received: (qmail 37253 invoked by uid 500); 16 Dec 2014 08:11:13 -0000 Delivered-To: apmail-tomee-commits-archive@tomee.apache.org Received: (qmail 37223 invoked by uid 500); 16 Dec 2014 08:11:13 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 37213 invoked by uid 500); 16 Dec 2014 08:11:13 -0000 Delivered-To: apmail-openejb-commits@openejb.apache.org Received: (qmail 37210 invoked by uid 99); 16 Dec 2014 08:11:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2014 08:11:13 +0000 Date: Tue, 16 Dec 2014 08:11:13 +0000 (UTC) From: "Romain Manni-Bucau (JIRA)" To: commits@openejb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (TOMEE-1477) TomEE wont start if added maven-properties to MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TOMEE-1477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Romain Manni-Bucau resolved TOMEE-1477. --------------------------------------- Resolution: Fixed Fix Version/s: 1.7.2 2.0.0-Milestone-1 Assignee: Romain Manni-Bucau slightly reworked the patch cause it was no more respecting args ordering at least, hope it is still ok for you > TomEE wont start if added maven-properties to > ---------------------------------------------------- > > Key: TOMEE-1477 > URL: https://issues.apache.org/jira/browse/TOMEE-1477 > Project: TomEE > Issue Type: Bug > Components: TomEE Maven Plugin > Affects Versions: 1.7.1 > Environment: Mac, osX > Reporter: Reinhard Sandtner > Assignee: Romain Manni-Bucau > Priority: Minor > Fix For: 2.0.0-Milestone-1, 1.7.2 > > Attachments: TOMEE-1477-argsWithSpaces.patch, TOMEE-1477-fixedInMavenPlugin.patch, TOMEE-1477.patch > > > if you have something like > {code} > > > > > > > tomee > > -DldapPrinicpal=principal -DldapPassword=pass -DldapUrl=ldap://myurl:389 > > > > ... > > org.apache.openejb.maven > tomee-maven-plugin > ${tomee.mavenplugin.version} > > ${tomee.version} > ${tomee.classifier} > -Dopenejb.log.factory=log4j ${tomee.additional.args} ${tomee.additional.ldap.args} ${tomee.wps.additional.args} > ... > {code} > tomEE startup fails with message: can not find main class (my local message: Hauptklasse konnte nicht gefunden werden) > the problem is that the first maven property is empty and will be passed as an emtpy String. > this behavoir only occurs on my mac (and i think this issue will be on linux to). everything works fine on my windows-box. -- This message was sent by Atlassian JIRA (v6.3.4#6332)