You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by con <co...@gmail.com> on 2008/10/28 07:34:31 UTC

Error in Integrating JBoss 4.2 and Solr-1.3.0:

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 ---
org.jboss.deployment.DeploymentInfo@87af6986 {
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 ---
org.jboss.deployment.DeploymentInfo@87af6986 {
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.


Re: Error in Integrating JBoss 4.2 and Solr-1.3.0:

Posted by maveen <co...@gmail.com>.
I am also getting the same issue. Did any one found the solution for this...
Please respond

sbutalia wrote:
> 
> I'm having the same issue.. have you had any progress with this?
> 

-- 
View this message in context: http://www.nabble.com/Error-in-Integrating-JBoss-4.2-and-Solr-1.3.0%3A-tp20202032p21686321.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Error in Integrating JBoss 4.2 and Solr-1.3.0:

Posted by sbutalia <sb...@gmail.com>.
I'm having the same issue.. have you had any progress with this?
-- 
View this message in context: http://www.nabble.com/Error-in-Integrating-JBoss-4.2-and-Solr-1.3.0%3A-tp20202032p20234054.html
Sent from the Solr - User mailing list archive at Nabble.com.