Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeMidnight
my.id=0
all.ids=0:1:2
my.public.ip=public IP of node 0
#For each node, a separate file needs to be created with its own id (between 0 and the number of nodes) and with information about its own public ip. 
localhost
all.public.ips=publiclocalhost
IP#######################################
of# nodeOptional 0:publiccurrent IPvalues ofare nodedefaults
1:public#######################################
IP# ofIf nodeusing 2docker #######################################this #would Optionalpoint currentto valuesthe arespecific defaultsdocker #######################################name.
#zookeeper.host=localhost
#cassandra.host=localhost
#music.ip=localhost
 
#debug=true
#music.rest.ip=localhost
#lock.lease.period=6000
# Cassandra Login
#cassandra - Do not user cassandra/cassandra
cassandra.user=cassandra1
cassandra
#cassandra.password=cassandracassandra1
# AAF Endpoint
#aaf.endpoint.url=<aafhost><aaf url>

  • Build the MUSIC.war and place it within the webapps folder of the tomcat installation.
  • Start tomcat and you should now have MUSIC running.

For Logging create a dir /opt/app/music/logs. When MUSIC/Tomcat starts a MUSIC dir with various logs will be created.

Muting MUSIC jersey output

The jersey package that MUSIC uses to parse REST calls prints out the entire header and json body by default. To mute it (if it exists), remove the following lines from the web.xml in the WEB_INF folder:

Code Block
languagebash
themeMidnight
<init-param>
  <param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
  <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
</init-param>

  Continue with Authentication