activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Heitmann (JIRA)" <>
Subject [jira] Created: (AMQ-1096) activemq-console only has limited classpath/extensions directory functionality
Date Tue, 12 Dec 2006 21:04:02 GMT
activemq-console only has limited classpath/extensions directory functionality

                 Key: AMQ-1096
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 4.1.0
            Reporter: John Heitmann
            Priority: Minor
         Attachments: logpatch.diff


1) Untar the binary distribution.
2) Run bin/activemq and note what logging looks like (you should see output to the console)
3) Stop the broker.
4) mv conf/ foo/
5) export CLASSPATH=/path/to/foo/
6) export ACTIVEMQ_CLASSPATH=/path/to/foo/
7) Run './activemq --extdir /path/to/foo

Now note there is no log output even though there are 3 different attempts to set the proper
directory. This is a regression from 4.0 to 4.1.

There are 2 root problems in First, 'classpaths' doesn't actually pull from the
classpath. The only thing that ever gets added to classpaths is the hard coded 'conf' directory.
Second, directories specified with --extdir have jars and zips added, but not the directories

The attached patch totally removes the vestigial classpaths, and fixes extdir to pull in directories.
This means that step 7 now works, but steps 5 and 6 are still useless. I like having only
one way to specify classpath, but I could see others wanting the CLASSPATH and ACTIVEMQ_CLASSPATH
settings to work.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message