Re: Deploying Solr 1.3 in JBoss 5

2010-02-05 Thread Luca Molteni
Done. L.M. On 5 February 2010 12:56, Sascha Szott wrote: > Hi Luca, > > could you add a note to the Wiki page [1]. Thanks! > > -Sascha > > [1] http://wiki.apache.org/solr/SolrJBoss > > Luca Molteni wrote: >> >> Bye the way, I finally solved it. >> >> To deploy solr 1.3 in jboss 5, you simply h

Re: Deploying Solr 1.3 in JBoss 5

2010-02-05 Thread Sascha Szott
Hi Luca, could you add a note to the Wiki page [1]. Thanks! -Sascha [1] http://wiki.apache.org/solr/SolrJBoss Luca Molteni wrote: Bye the way, I finally solved it. To deploy solr 1.3 in jboss 5, you simply have to remove xercesImpl-2.8.1.jar xml-apis-1.3.03.jar From the WEB-INF/lib folder

Re: Deploying Solr 1.3 in JBoss 5

2010-02-05 Thread Luca Molteni
Bye the way, I finally solved it. To deploy solr 1.3 in jboss 5, you simply have to remove xercesImpl-2.8.1.jar xml-apis-1.3.03.jar >From the WEB-INF/lib folder of solr.war Solr will use the lib provided by jboss 5. Thank you again. L.M. On 3 February 2010 10:38, Luca Molteni wrote: > App

Re: Deploying Solr 1.3 in JBoss 5

2010-02-03 Thread Luca Molteni
Apparently, that worked! I've never realized that the order of the elements in XML is significant, nice to see. As always, problems leads to other problems, so now I'm facing with a Xerces ClassCastException with JDK 6. org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX pars

Re: Deploying Solr 1.3 in JBoss 5

2010-02-02 Thread Sascha Szott
Luca Molteni wrote: Actually, if I hard-code the value, it gives me the same error... interesting. According to the error message: The content of element type "env-entry" must match "(description?,env-entry-name,env-entry-value?,env-entry-type)" Maybe it helps to change the order of elements w

Re: Deploying Solr 1.3 in JBoss 5

2010-02-02 Thread Luca Molteni
Hello, You're probably right. This is probably a problem related to Jboss 5, but since I used the procedure of solr deployment described there I thought that someone would have already dealt with this problem. Actually, if I hard-code the value, it gives me the same error... interesting. L.M.

Re: Deploying Solr 1.3 in JBoss 5

2010-02-02 Thread Sascha Szott
Hi, I'm not sure if that's a Solr issue. However, what happens if you set env-entry-value to C:/mypath/solr instead of ${solr.home.myhome}? -Sascha Am 02.02.2010 15:20, schrieb Luca Molteni: Hello list, I'm having some problem deploying solr to JBoss 5. The problem is with environment vari

Re: Deploying Solr 1.3 in JBoss 5

2010-02-02 Thread Luca Molteni
Because the current release of our software is based on solr 1.3, and we scheduled the migration to JBoss 5 before the migration to solr 1.4. It's a concurrency problem! L.M. On 2 February 2010 16:05, Erik Hatcher wrote: > Out of curiosity, why are you deploying Solr 1.3 rather than Solr 1.4

Re: Deploying Solr 1.3 in JBoss 5

2010-02-02 Thread Erik Hatcher
Out of curiosity, why are you deploying Solr 1.3 rather than Solr 1.4? Sorry, but I don't know about the JBoss issues first hand myself. Erik On Feb 2, 2010, at 9:20 AM, Luca Molteni wrote: Hello list, I'm having some problem deploying solr to JBoss 5. The problem is with environme

Deploying Solr 1.3 in JBoss 5

2010-02-02 Thread Luca Molteni
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 solr/home java.lang.String ${solr.home.myhome} Since I'm