I am trying to integrate JBOSS and Solr(multicore) To get started, I am trying to deploy a single instance of solr. 1) I have Edited C:/jboss/jboss-4.2.1.GA/server/default/conf/jboss-service.xml and entered the following details:
<mbean code="org.jboss.naming.JNDIBindingServiceMgr" name="jboss.tests:service=JNDIBindingServiceMgr"> <attribute name="BindingsConfig" serialDataType="jbxb"> <jndi:bindings xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xmlns:jndi="urn:jboss:jndi-binding-service:1.0" xs:schemaLocation="urn:jboss:jndi-binding-service:1.0resource:jndi-binding-service_1_0.xsd" > <jndi:binding name="solr/home"> <jndi:value type="java.lang.String">C:\apache-solr-1.3.0\example\solr</jndi:value> </jndi:binding> </jndi:bindings> </attribute> </mbean> 2) Copied the war file from the solr distribution, converted it to solr.zip, unzipped and made the following changes and again bundled to zip and then to war, and pasted to the default/deploy folder of JBOSS. a) Edited the web.xml and added the following just before the </web-app> tag : <resource-env-ref> <resource-env-ref-name>solr/home</resource-env-ref-name> <resource-env-ref-type>java.lang.String</resource-env-ref-type> </resource-env-ref> b) Created a jboss-web.xml file inside the WEB-INF folder The file contains : <jboss-web> <context-root>solr</context-root> <resource-env-ref> <resource-env-ref-name>solr/home</resource-env-ref-name> <jndi-name>/solr/home</jndi-name> </resource-env-ref> </jboss-web> But when I start the server I am getting the following error. 18:25:25,229 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Packages waiting for a deployer --- [EMAIL PROTECTED] { url=file:/C:/jboss/jboss-4.2.1.GA/server/default/deploy/solr.war } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jboss/jboss-4.2.1.GA/server/default/deploy/solr.war altDD: null lastDeployed: 1224766525227 lastModified: 1224766525226 mbeans: --- Incompletely deployed packages --- [EMAIL PROTECTED] { url=file:/C:/jboss/jboss-4.2.1.GA/server/default/deploy/solr.war } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jboss/jboss-4.2.1.GA/server/default/deploy/solr.war altDD: null lastDeployed: 1224766525227 lastModified: 1224766525226 mbeans: Is there anything wrong in the steps i followed or whether i missed some steps? Is there any other good docs in this subject. Also where can I specify the index directory? Any suggestion/advice is really appreciable. Thanks con -- View this message in context: http://www.nabble.com/Error-in-Integrating-JBoss-4.2-and-Solr-1.3.0%3A-tp20202032p20202032.html Sent from the Solr - User mailing list archive at Nabble.com.