Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 94361 invoked from network); 21 Jun 2009 04:03:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Jun 2009 04:03:03 -0000 Received: (qmail 32811 invoked by uid 500); 21 Jun 2009 04:03:14 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 32729 invoked by uid 500); 21 Jun 2009 04:03:14 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 32718 invoked by uid 99); 21 Jun 2009 04:03:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jun 2009 04:03:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of willem.jiang@gmail.com designates 209.85.222.176 as permitted sender) Received: from [209.85.222.176] (HELO mail-pz0-f176.google.com) (209.85.222.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jun 2009 04:03:04 +0000 Received: by pzk6 with SMTP id 6so119460pzk.30 for ; Sat, 20 Jun 2009 21:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=LSLZygvgEuEw3J8Vbhl1QNUtRFzaoEZOhkRPIuSC3Uo=; b=IbmCXoQGI1mFp8kRuRlTMCn0prAYb5bW+T1G11mOdYSelkTocj5okjdFUtxXzztCvk yIYxQ9AQdSg60AaiA2mkWkYKw9cjpNnIiYybqp7G8aGoVFKVDbR+JYwVCsqFc+tnblF2 LUwoNSicQoORLYN6ZfX7SoMO19dDeEoX45+jU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=wO+cZ60UppPLdvTOs0/aezrzf3LLjbnnaobZzF3HEYpzuYiyBgQOxTW/+lq8wRevLM YBsUSjEpsk22SozB4XK5CKlAiWbUtucgRhrKGNGXukA0zXoSgKCFyi/TqeCXCG0d4JHx wxObbnVNXJzxURwk8VMPIjTZl69c7OVjsC7NE= Received: by 10.142.171.3 with SMTP id t3mr2067750wfe.36.1245556962856; Sat, 20 Jun 2009 21:02:42 -0700 (PDT) Received: from ?192.168.0.131? ([221.218.167.226]) by mx.google.com with ESMTPS id 30sm403299wff.9.2009.06.20.21.02.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 20 Jun 2009 21:02:42 -0700 (PDT) Message-ID: <4A3DB0DA.1070409@gmail.com> Date: Sun, 21 Jun 2009 12:02:34 +0800 From: Willem Jiang User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: users@camel.apache.org Subject: Re: camel:run JVM arguments References: <24121531.post@talk.nabble.com> <24128096.post@talk.nabble.com> In-Reply-To: <24128096.post@talk.nabble.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks for sharing the information with the community. Please feel free to fill a JIRA[1] or submit a patch if you don't satisfy with current camel mvn plugin's implementation. [1] https://issues.apache.org/activemq/browse/CAMEL Willem bwtaylor wrote: > I answered my own question. It looks like camel:run uses code similar to the > maven exec plugin and so the answer is to use the shell environment variable > MAVEN_OPTS to pass in JVM arguments. Interestingly, it appears that > camel:run is not forking a new JVM, but simply launching a new thread within > the maven process. > > Now if I can just figure out why TPTP is giving me "Could not find agent > library in absolute path" when I've got the right 64bit file on the path to > match my 64 bit JVM. Baffling. > > > bwtaylor wrote: >> Is there an easy way to enable debugging or profiling while using the >> camel maven plugin to do the camel:run goal? Or more generally, can I >> control the jvm arguments that are passed to the java command? >> >