Jul 23rd, 2010, 03:44 PM
Spring Roo app on JBoss AS 5
I'm trying to deploy Spring Roo application on JBoss AS 5.0. Everything works fine on embeded Tomcat but on JBoss i got following errors:
2010-07-23 22:23:42,328 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeplo yment] (main) Unable to retrieve orb
javax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered.
WEB-INF/classes/META-INF/spring/applicationContext-security.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Attribute name "xsi:ramework.org.i" associated with an element type "beans:beans" must be followed by the ' = ' character.
Caused by: org.xml.sax.SAXParseException: Attribute name "xsi:ramework.org.i" associated with an element type "beans:beans" must be followed by the ' = ' character.
Spring Roo 1.0.0-RC3
JBoss AS 5.0
Thanks in advance.
Jul 25th, 2010, 07:54 PM
Is "xsi:ramework.org.i" a typo in your post or do you have this in your security context file? It doesn't seem right to me. Also, 1.0.0.RC1 is a very old release - can you try at least 1.0.2 or the latest 1.1.0.M2 release?
Jul 26th, 2010, 02:33 AM
It's not a typo. This is a message form my logs. It's also strange for me because my applicationContext-security.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
For now I'd rather use 1.0.0.RC1 but if nothing helps I will try. Everything should work fine on JBoss?
Jul 26th, 2010, 05:19 PM
I think it because of some illegal chars in my file that I don't see. Is there any good solution to clean xml file for SAXParser?