Global and exploding solutions in a model of self-gravitating systems