anchor.diff:  
     <log_file_path>/killbill.out
   
  -=== Setting up a Breakpoint and Remote Debugging - TODO
  +=== Setting up a Breakpoint and Remote Debugging
   
   Sometimes, you may face some issues in running the application. In such cases, it is useful to set up a breakpoint and debug the application. Here is how you can do this:
   
  -. Set up a breakpoint in `DefaultKillbillConfigSource.java#L118` (Press Ctrl + T and type `DefaultKillbillConfigSource`)
  -
  -. Create a new environment variable MAVEN_OPTS and set it to -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
  -
  -. In Eclipse, Click Run > Debug Configurations > New Remote Java Application
  -
  -. In the Connect tab, leave all default values
  -
  -. In the Source tab, Click Add > Java Project > Select All 
  -
  -. 
  +. Create a new environment variable *MAVEN_OPTS* and set it to `-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n`
  +
  +
  +. Do the following in Eclipse:
  +
  +.. Press Ctrl + Shift + T and locate `DefaultKillbillConfigSource`. 
  +
  +..  If this does not show the source code do the following:
  +
  +... Click *Attach Source*. 
  +
  +... Click on *External Location* and Navigate to your Maven local repository (`~/.m2/repository`). Select `/org/kill-bill/billing/killbill-platform-base/0.40.4/killbill-platform-base-0.40.4-sources.jar`
  +
  +.. Set up a breakpoint in `DefaultKillbillConfigSource.java#L118` 
  +
  +.. Click `Run > Debug Configurations`
  +
  +.. Double click  `New Remote Java Application`
  +
  +.. Enter the name that you would like to give to this debug configuration in the *Name* field
  +
  +.. Click *Apply*
  +
  +.. Click *Close*
  +
  +. Start the application as explained in *Running the Application* section above
  +
  +. Click `Run > Debug Configurations` and double click the  the Debug configuration that you created in Step 2f above
  +
  +. This runs the application in debug mode. so, you can set additional breakpoints and debug as required.
  +
  +=== Some common errors and their solutions
  +
  +==== Build Failure
  +
  +Sometimes, after building the application, the build may fail with the following errors:
  +
  + [INFO] killbill-payment ................................... SUCCESS [01:42 min]
  + [INFO] killbill-beatrix ................................... SUCCESS [02:04 min]
  + [INFO] killbill-jaxrs ..................................... SUCCESS [01:45 min]
  + [INFO] killbill-profiles .................................. SUCCESS [  9.896 s]
  + [INFO] killbill-profiles-killbill ......................... FAILURE [02:48 min]
  + [INFO] killbill-profiles-killpay .......................... SKIPPED
  + [INFO] ------------------------------------------------------------------------
  + [INFO] BUILD FAILURE
  + [INFO] ------------------------------------------------------------------------
  + [INFO] Total time:  26:55 min
  + [INFO] Finished at: 2020-11-23T10:46:24+05:30
  + [INFO] ------------------------------------------------------------------------
  + [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.13:check (default) on project killbill-profiles-killbill: Too many files with unapproved license: 1 See RAT report in: <PROJECT_ROOT>\profiles\killbill\target\rat.txt -> [Help 1]
  + [ERROR]
  + [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  + [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  + [ERROR]
  + [ERROR] For more information about the errors and possible solutions, please read the following articles:
  + [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  + [ERROR]
  + [ERROR] After correcting the problems, you can resume the build with the command
  + [ERROR]   mvn <args> -rf :killbill-profiles-killbill
  + 
  +This error is most probably because the `logback.xml` file is missing license information. This might have got deleted while customizing the log file path. So ensure that the `logback.xml` file has the following license information at the top:
  +
  + <!--
  +  ~ Copyright 2010-2013 Ning, Inc.
  +  ~ Copyright 2014-2015 Groupon, Inc
  +  ~ Copyright 2014-2015 The Billing Project, LLC
  +  ~
  +  ~ The Billing Project licenses this file to you under the Apache License, version 2.0
  +  ~ (the "License"); you may not use this file except in compliance with the
  +  ~ License.  You may obtain a copy of the License at:
  +  ~
  +  ~    http://www.apache.org/licenses/LICENSE-2.0
  +  ~
  +  ~ Unless required by applicable law or agreed to in writing, software
  +  ~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  +  ~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
  +  ~ License for the specific language governing permissions and limitations
  +  ~ under the License.
  +  -->
  +
  +
  +==== Jetty does not start 
  + 
  +Sometimes, when you run the application, Jetty may fail to start with the following error:
  +
  +  Failed startup of context o.e.j.m.p.JettyWebAppContext@1fafd0af 
  +  
  +In such a case, build the application again using the instructions in the Build section above and run the application again.
  +
  +==== Application points to default database
  +
  +Sometimes, the application may not use the database configured in the `PROJECT_ROOT/profiles/killbill/src/main/resources/killbill-server.properties`. Instead, it may use the default H2 database and cause the following errors:
  +
  + java.io.IOException: org.h2.jdbc.JdbcSQLNonTransientConnectionException: A file path that is implicitly relative to the current working directory is not allowed in the database URL "jdbc:h2:file:/var/tmp/killbill;MODE=MYSQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE". Use an absolute path, ~/name, ./name, or the baseDir setting instead. [90011-200]
  +        at org.killbill.commons.embeddeddb.h2.H2EmbeddedDB.refreshTableNames(H2EmbeddedDB.java:114)
  +        at org.killbill.commons.embeddeddb.h2.H2EmbeddedDB.start(H2EmbeddedDB.java:97)
  +        at org.killbill.billing.server.modules.EmbeddedDBProvider.initializeEmbeddedDB(EmbeddedDBProvider.java:73)
  +        at org.killbill.billing.server.modules.EmbeddedDBProvider.get(EmbeddedDBProvider.java:60)
  +        at org.killbill.billing.server.modules.KillbillServerModule.configureEmbeddedDBs(KillbillServerModule.java:141)
  +        at org.killbill.billing.server.modules.KillbillPlatformModule.configure(KillbillPlatformModule.java:84)
  +        at org.killbill.billing.server.modules.KillbillServerModule.configure(KillbillServerModule.java:113)
  +        at com.google.inject.AbstractModule.configure(AbstractModule.java:61)
  +        at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:347)
  +        at com.google.inject.spi.Elements.getElements(Elements.java:104)
  +        at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:137)
  +        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:105)
  +        at com.google.inject.Guice.createInjector(Guice.java:87)
  +
  +This error could be due to one of the following issues:
  +
  +. The path of the  `PROJECT_ROOT/profiles/killbill/src/main/resources/killbill-server.properties` not correct. Ensure that the correct path is specified while starting the application
  +
  +. While starting the application, the `org.killbill.server.properties` is specified as `file://PROJECT_ROOT/profiles/killbill/src/main/resources/killbill-server.properties`. The file protocol requires three slashes, so ensure that it is specified as `file:///`
  +
  +. The database URL is not specified properly, ensure that the `PROJECT_ROOT/profiles/killbill/src/main/resources/killbill-server.properties` has the correct database properties as specified above
   
   
   === Dependencies - TODO
  
positive.code: . Create a file `lifecycle-mapping-metadata.xml` as follows:
  
   <?xml version="1.0" encoding="UTF-8"?>
  <lifecycleMappingMetadata>
     <pluginExecutions>
        <pluginExecution>
           <pluginExecutionFilter>
  
negative.code: 
  The steps above configure the application so that the Kill Bill logs are displayed on the console. You can however customise this to save the logs in a separate log file. In order to set this up, you need to follow the steps given below:
  
  . Modify the `PROJECT_ROOT/profiles/killbill/src/main/resources/logback.xml` as follows (Ensure that the license section at the top is not deleted):
  
   <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
     <jmxConfigurator />
     <property name="LOGS_DIR" value="<log_file_path>" />
     <conversionRule conversionWord="maskedMsg" converterClass="org.killbill.billing.server.log.obfuscators.ObfuscatorConverter" />
     <appender name="MAIN" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>${LOGS_DIR:-./logs}/killbill.out</file>
  