Thanks. But I need more context to understand what you are describing. So, a couple questions:
1) Do you see this NPE when using 5.0.0.GA, 5.0.1.GA or 5.1.0.GA?
2) If yes, can you provide the full stack trace?
I am using JBoss 5.0.0 Beta 2. Actually ifgured it out the error was coming while trying to get getInitParameter from web.xml it doesn't get it works fine in Jboss 4.0.4GA.
On further debuggin, I found that Iam getting error in the getparameter() to read properties from config.props .
JBOSS version - 5.0.0 beta 2 setup as a cluster.
I am getting same error in the default mode too.
Try a GA release. :)
I did try to install GA but there was some bug and they told me to install 5.0.0 Beta 2
Which specific bug in GA? If you are talking about the VFS temp file bug which used to consume disk space, then it's fixed in 5.0.1 GA. Furthermore, the latest stable version with many bug fixes is 5.1.0. So you should start using that. 5.0.0 Beta2 is *extremely* old.
Also please provide the entire exception stacktrace if you are running into the exception on 5.1.0 version of AS. And even the relevant portion of web.xml will be helpful.
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.