With a couple of noted exceptions, the samples are to be run in an ordinary user schema, in almost all cases from SQL*Plus. For convenience, this user will be referred to as "samples" and should be created thus...
create user samples identified by samples; grant resource, connect, ctxapp to samples;In some cases, where indicated, the samples must be run as "ctxsys".