Are you packaging any JBoss specific jar files in your application (like some jar containing org.jboss.system.* classes)? If yes, remove them from the application packaging.
Lance Goforth wrote:
But when I run the application pointing to the new 5.1 server, it doesn't connect. I don't see any errors, any messages, just an eventual timeout.
How exactly do you start the server? What command do you use? And how do you try to "connect"? Using a browser or some other means?