May I suggest you move to a more recent version of Sun Application Server (current is version 9.0) or directly to the GlassFIsh Project? They has really nicer tools support.
As for you error, you need to share more data: full stack and maybe the code of what you're trying de deploy.