This is because SSL is configured on for the management connections but the
broker configuration points to the test SSL certificate we don't ship. SSL
either has to be turned off in the config, or the sample stores created by
the script have to be pointed at by modifying the configuration. 

This is documented on the getting started guide but I had meant to get round
to making it all a bit more obvious and new-user friendly. Instead, I think
I will just turn SSL off by default before the next RC and have the test
that depends on it turn it on when required. Anyone modifying the config to
turn it on will figure the rest out (if only due to the comment in the
config file saying so...).

Robbie

> -----Original Message-----
> From: Gordon Sim [mailto:[email protected]]
> Sent: 10 November 2010 12:23
> To: [email protected]
> Subject: java broker startup issue (was Re: 0.8 RC1 available for
> download)
> 
> On 11/08/2010 08:47 AM, Robbie Gemmell wrote:
> > Hi all,
> >
> > 0.8 RC1 can be found for download at:
> > http://people.apache.org/~robbie/qpid/0.8/RC1/
> >
> > Output from running RAT across the 'full release' archive can be
> found at:
> > http://people.apache.org/~robbie/qpid/0.8/0.8rc1_rat_output.txt
> >
> > *Please* take the time to download and try out this release candidate
> and
> > report your results, such that any additional issues which require
> > addressing before the release can proceed are identified as early as
> > possible.
> 
> 
> I got an error regarding a missing 'JMX management SSL keystore' when
> attempting to start the java broker. The error message suggested
> running
> create-example-ssl-stores, but even after doing so I get the same
> error:
> 
> > [qpid-0.8]$ create-example-ssl-stores.
> > create-example-ssl-stores.bat  create-example-ssl-stores.sh
> > [qpid-0.8]$ create-example-ssl-stores.sh
> > Certificate stored in file <qpidBroker.cer>
> > Certificate was added to keystore
> > [gor...@grst500 qpid-0.8]$ qpid-server
> > Setting QPID_WORK to /home/gordon as default
> > System Properties set to -Damqj.logging.level=info -
> DQPID_HOME=/home/gordon/qpid-0.8-rc1/qpid-0.8 -DQPID_WORK=/home/gordon
> > QPID_OPTS set to -Damqj.read_write_pool_size=32 -DQPID_LOG_APPEND=
> > Using QPID_CLASSPATH /home/gordon/qpid-0.8-rc1/qpid-0.8/lib/qpid-
> all.jar
> > Info: QPID_JAVA_GC not set. Defaulting to JAVA_GC -
> XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError
> > Info: QPID_JAVA_MEM not set. Defaulting to JAVA_MEM -Xmx1024m
> > [Broker] BRK-1006 : Using configuration : /home/gordon/qpid-0.8-
> rc1/qpid-0.8/etc/config.xml
> > [Broker] BRK-1007 : Using logging configuration : /home/gordon/qpid-
> 0.8-rc1/qpid-0.8/etc/log4j.xml
> > [Broker] BRK-1001 : Startup : Version: 0.8 Build: 1032430
> > [Broker] MNG-1001 : Startup
> > Error initialising message broker: java.io.FileNotFoundException:
> Cannot find JMX management SSL keystore file /home/gordon/qpid-0.8-
> rc1/qpid-0.8/../test-profiles/test_resources/ssl/keystore.jks
> > Check broker configuration, or see create-example-ssl-stores scriptin
> the bin/ directory if you need to generate an example store.
> > java.io.FileNotFoundException: Cannot find JMX management SSL
> keystore file /home/gordon/qpid-0.8-rc1/qpid-0.8/../test-
> profiles/test_resources/ssl/keystore.jks
> > Check broker configuration, or see create-example-ssl-stores scriptin
> the bin/ directory if you need to generate an example store.
> >     at
> org.apache.qpid.server.management.JMXManagedObjectRegistry.start(JMXMan
> agedObjectRegistry.java:161)
> >     at
> org.apache.qpid.server.registry.ApplicationRegistry.initialise(Applicat
> ionRegistry.java:286)
> >     at
> org.apache.qpid.server.registry.ApplicationRegistry.initialise(Applicat
> ionRegistry.java:146)
> >     at
> org.apache.qpid.server.registry.ApplicationRegistry.initialise(Applicat
> ionRegistry.java:123)
> >     at org.apache.qpid.server.Main.startup(Main.java:302)
> >     at org.apache.qpid.server.Main.execute(Main.java:227)
> >     at org.apache.qpid.server.Main.<init>(Main.java:97)
> >     at org.apache.qpid.server.Main.main(Main.java:523)
> 
> I suspect this is just a configuration issue, but worth checking
> whether
> this is as expected out-of-the-box?
> 
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:[email protected]



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to