fstani wrote:
After some more digging I was finally able to find the solution to the problem, as the error message indicated there was an invalid argument, but the problem was not that visible.
The thing is that, as Phil Meyer pointed out (thread: http://community.jboss.org/message/560465), the xml parsing of the *-ds.xml in JBoss AS 5 does not like line breaks, or at least found some unknown hidden char in the specific configuration file, so, solving it was really simple.
Yeah, newlines in the -ds.xml configuration are known to cause issue http://community.jboss.org/message/6479#6479