Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-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 7F9FFFAA9 for ; Tue, 9 Jul 2013 05:50:13 +0000 (UTC) Received: (qmail 21548 invoked by uid 500); 9 Jul 2013 05:50:13 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 21229 invoked by uid 500); 9 Jul 2013 05:50:08 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 21221 invoked by uid 99); 9 Jul 2013 05:50:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 05:50:07 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of argeric@qq.com does not designate 216.139.250.139 as permitted sender) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jul 2013 05:50:02 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UwQnc-0002n0-JY for users@activemq.apache.org; Mon, 08 Jul 2013 22:49:16 -0700 Date: Mon, 8 Jul 2013 22:49:01 -0700 (PDT) From: Argeric To: users@activemq.apache.org Message-ID: <1373348941452-4669017.post@n4.nabble.com> Subject: how to run activemq source in myeclipse? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hello,guys: i have imported the source code in myeclipse,and i want debug activemq when i run my program which used activemq . i runs the class:org.apache.activemq.console.Main, and Porgram arguments are:-Dcom.sun.management.jmxremote -Djava.util.logging.config.file=logging.properties -Dactivemq.classpath="E:/Program Files/ssg/amq_s_5.8.0/conf" -Dactivemq.home="E:/Program Files/ssg/amq_s_5.8.0/" -Dactivemq.base="E:/Program Files/ssg/amq_s_5.8.0/" -Dactivemq.conf="E:/Program Files/ssg/amq_s_5.8.0/conf" -Dactivemq.data="E:/Program Files/ssg/amq_s_5.8.0/data" - Djava.io.tmpdir="E:/Program Files/ssg/amq_s_5.8.0/data/tmp" VM arguments are:-Xms1G -Xmx1G but actimemq cannot start ,and the myeclipse console shows some log as follows: Java Runtime: Sun Microsystems Inc. 1.6.0_03 C:\Program Files\Java\jre1.6.0_03 Heap sizes: current=1040512k free=1039221k max=1040512k JVM args: -Xms1G -Xmx1G Extensions classpath: [] ACTIVEMQ_HOME: ..\. ACTIVEMQ_BASE: ..\. ACTIVEMQ_CONF: ..\.\conf ACTIVEMQ_DATA: ..\.\data Usage: Main [--extdir ] [task] [task-options] [task data] Tasks: browse - Display selected messages in a specified destination. bstat - Performs a predefined query that displays useful statistics regarding the specified broker create - Creates a runnable broker instance in the specified path. decrypt - Decrypts given text encrypt - Encrypts given text export - Exports a stopped brokers data files to an archive file list - Lists all available brokers in the specified JMX context purge - Delete selected destination's messages that matches the message selector query - Display selected broker component's attributes and statistics. start - Creates and starts a broker using a configuration file, or a broker URI. stop - Stops a running broker specified by the broker name. Task Options (Options specific to each task): --extdir - Add the jar files in the directory to the classpath. --version - Display the version information. -h,-?,--help - Display this help information. To display task specific help, use Main [task] -h,-?,--help Task Data: - Information needed by each specific task. JMX system property options: -Dactivemq.jmx.url= (default is: 'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi') -Dactivemq.jmx.user= -Dactivemq.jmx.password= so ,how to run activemq source in myeclipse? -- View this message in context: http://activemq.2283324.n4.nabble.com/how-to-run-activemq-source-in-myeclipse-tp4669017.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.