Hello list, I'm having some problem deploying solr to JBoss 5.
The problem is with environment variables: Following this page of the wiki: http://wiki.apache.org/solr/SolrJBoss I've added to the web.xml of WEB-INF of solr <env-entry> <env-entry-name>solr/home</env-entry-name> <env-entry-type>java.lang.String</env-entry-type> <env-entry-value>${solr.home.myhome}</env-entry-value> </env-entry> Since I'm using lots of instances of solr in the same container. This variable should be expanded by jboss itself in a path using properties-services.xml: <attribute name="Properties"> solr.home.myhome=C:/mypath/solr </attribute> Unfortunately, during deployment of the solr application, it gives me this error: Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: The content of element type "env-entry" must match "(description?,env-entry-name,env-entry-value?,env-entry-type)". @ vfsfile:/C:/pathtojboss/server/solrrepo/deploy/Solrrepo/solr-mysolr.war/WEB-INF/web.xml[146,14] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203) ... 33 more Caused by: org.xml.sax.SAXException: The content of element type "env-entry" must match "(description?,env-entry-name,env-entry-value?,env-entry-type)". @ vfsfile:/C:/pathtojboss/server/solrrepo/deploy/Solrrepo/solr-mysolr.war/WEB-INF/web.xml[146,14] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:426) Notice that the same .war and properties-services.xml works flawlessly in JBoss 4.2.3 Any ideas? Thank you very much. L.M.