* is different to a local cookie, the bookie
* will fail to start
*/
@Test(timeout=60000)
public void testBadJournalCookie() throws Exception {
ServerConfiguration conf1 = new ServerConfiguration()
.setAllowLoopback(true)
.setJournalDirName(newDirectory())
.setLedgerDirNames(new String[] { newDirectory() })
.setBookiePort(bookiePort);
Cookie c = Cookie.generateCookie(conf1);
c.writeToZooKeeper(zkc, conf1);
String journalDir = newDirectory();
String ledgerDir = newDirectory();
ServerConfiguration conf2 = new ServerConfiguration()
.setAllowLoopback(true)
.setZkServers(zkutil.getZooKeeperConnectString())
.setJournalDirName(journalDir)
.setLedgerDirNames(new String[] { ledgerDir })
.setBookiePort(bookiePort);