Okay, I fully admit that I might be missing something obvious here... but I am getting the following error while deploying a test 2.0 entity bean (cmp) in an ear I just build using xdoclet for the first time:
20:32:20,585 INFO [EARDeployer] Init J2EE application: file:/home/chad/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/testing.ear
20:32:20,990 INFO [EjbModule] Creating
20:32:21,023 INFO [EjbModule] Deploying UserBean
20:32:21,420 INFO [EjbModule] Created
20:32:21,423 INFO [EjbModule] Starting
20:32:21,755 ERROR [XmlFileLoader] Character conversion error: "Unconvertible UTF-8 character beginning with 0xb9" (line number may be too low).:-1:1
org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0xb9" (line number may be too low).
My question is: is there a way/debug setting to get more detail to display exactly which xml file is causing the problem, and hopefully even a line number or surrounding text?
Any help would be appreciated.
have a look at the first couple of lines of your deployment descriptor files: application.xml, ejb-jar.xml, possibly jboss.xml and jbosscmp-jdbc.xml
This error message is coming from the XML parser. I don't know if it is possible to get anything more useful out of it. Also try with different text editors to see if there's some garbage in the files (hidden characters etc)