Bug 949935 - Invalid module descriptor for solr module
Summary: Invalid module descriptor for solr module
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Configuration
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: DR4
: 6.0.0
Assignee: Horia Chiorean
QA Contact: Pavel Macik
URL:
Whiteboard:
: 949876 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-09 10:23 UTC by Jiri Pechanec
Modified: 2013-10-24 09:22 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-14 18:44:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker MODE-1895 0 Blocker Closed Hibernate Search's AS7 kit has incorrect dependencies for the Solr module 2013-10-24 10:43:41 UTC

Description Jiri Pechanec 2013-04-09 10:23:37 UTC
modules/system/layers/soa/org/apache/solr/3.6.2/module.xml contains resources that does not have physical representation, e.g.

<resource-root path="jcommons-io-1.4.jar" />

but there is a file commons-io-1.4.jar

Comment 1 Jiri Pechanec 2013-04-10 11:19:18 UTC
*** Bug 949876 has been marked as a duplicate of this bug. ***

Comment 2 Ryan Zhang 2013-04-10 12:04:55 UTC
This is a issue in Modeshape, it should be fixed at modeshape-distribution.
assign to hchiorea.

Comment 3 JBoss JIRA Server 2013-04-10 16:14:58 UTC
Horia Chiorean <hchiorea> made a comment on jira MODE-1895

Fixed Solr and Orm modules from the "patched" hibernate search distribution

Comment 4 JBoss JIRA Server 2013-04-10 16:53:47 UTC
Randall Hauch <rhauch> made a comment on jira MODE-1895

Rebased and merged into the 'master' branch.

Comment 5 Ryan Zhang 2013-04-11 03:32:58 UTC
Horia, please also change the Bugzilla status  to "Modified" after fixed.

Change the status as Modified.

Comment 6 Ryan Zhang 2013-04-11 04:28:37 UTC
I see that the root cause of this issue is in hibernate search.
It need to fix in hibernate search in future for good.

The problem seems need to be fixed in:
https://github.com/hibernate/hibernate-search/blob/master/hibernate-search-modules/src/main/modules/solr/module.xml

I would email sgrinove to comment here.(Sanne seems not recognize by Bugzilla yet)

Well, currently Horia 's fix should already sovle the problem in SOA 6.

Comment 7 Horia Chiorean 2013-04-11 05:07:53 UTC
This has been fixed in ModeShape's master branch, SHA1: 12181826f8315b63a0b9562cbb22ef5a22ba1ea8.

Yes, this needs to be fixed in Hibernate Search primarily. At the moment we're forced to patch their kit not only because of this, but because of other issues that make it EAP 6.1.0 incompatible.

Comment 8 Sanne Grinovero 2013-04-11 09:25:53 UTC
Thanks, merged in Hibernate Search

https://github.com/hibernate/hibernate-search/commit/6aeb40f1edb734ec8d5b49ec5de014c54b081615

Comment 9 Len DiMaggio 2013-05-06 18:46:03 UTC
This problem is still present in the April 29 DR3 respin - what is the functional impact of this bug?

/opt/local/SOA_servers/SOA6/DR3/jboss-eap-6.1/modules/system/layers/soa/org/apache/solr/3.6.2

ls -1
commons-codec-1.5.jar
commons-io-1.4.jar
commons-lang-2.6.jar
guava-r05.jar
module.xml
solr-analysis-extras-3.6.2.jar
solr-core-3.6.2.jar
solr-solrj-3.6.2.jar


Cat module.xml 
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Hibernate, Relational Persistence for Idiomatic Java
  ~
  ~ Copyright (c) 2012, Red Hat, Inc. and/or its affiliates or third-party contributors as
  ~ indicated by the @author tags or express copyright attribution
  ~ statements applied by the authors.  All third-party contributions are
  ~ distributed under license by Red Hat, Inc.
  ~
  ~ This copyrighted material is made available to anyone wishing to use, modify,
  ~ copy, or redistribute it subject to the terms and conditions of the GNU
  ~ Lesser General Public License, as published by the Free Software Foundation.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  ~ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
  ~ for more details.
  ~
  ~ You should have received a copy of the GNU Lesser General Public License
  ~ along with this distribution; if not, write to:
  ~ Free Software Foundation, Inc.
  ~ 51 Franklin Street, Fifth Floor
  ~ Boston, MA  02110-1301  USA
  -->
<module xmlns="urn:jboss:module:1.1" name="org.apache.solr" slot="3.6.2">
    <resources>
        <resource-root path="solr-analysis-extras-3.6.2.jar" />
        <resource-root path="solr-core-3.6.2.jar" />
        <resource-root path="solr-solrj-3.6.2.jar" />
        <resource-root path="guava-r05.jar" />
        <resource-root path="jcommons-io-1.4.jar" />
        <resource-root path="jcommons-codec-1.5.jar" />
        <resource-root path="jcommons-lang-2.6.jar" />
    </resources>
    <dependencies>
        <module name="org.apache.lucene" />
        <module name="org.jboss.logging" />
    </dependencies>
</module>
[ldimaggi@ldimaggi 3.6.2]$

Comment 10 Horia Chiorean 2013-05-06 19:27:10 UTC
The fact the problem is still present, is most likely due to the build not having picked up an updated version of the ModeShape kit. 

As stated above, the problem has been fixed on April 11th, in ModeShape's master branch.

Comment 11 Horia Chiorean 2013-05-07 13:16:01 UTC
Changing status to MODIFIED, this has been fixed in 3.2.0.Final. Should be re-tested with the new build.

Comment 12 Len DiMaggio 2013-05-14 18:44:24 UTC
Fixed in DR4:

commons-codec-1.5.jar
commons-codec-1.5.jar.index
commons-io-1.4.jar
commons-io-1.4.jar.index
commons-lang-2.6.jar
commons-lang-2.6.jar.index
guava-r05.jar
guava-r05.jar.index
module.xml
solr-analysis-extras-3.6.2.jar
solr-analysis-extras-3.6.2.jar.index
solr-core-3.6.2.jar
solr-core-3.6.2.jar.index
solr-solrj-3.6.2.jar
solr-solrj-3.6.2.jar.index


cat module.xml 

<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Hibernate, Relational Persistence for Idiomatic Java
  ~
  ~ Copyright (c) 2012, Red Hat, Inc. and/or its affiliates or third-party contributors as
  ~ indicated by the @author tags or express copyright attribution
  ~ statements applied by the authors.  All third-party contributions are
  ~ distributed under license by Red Hat, Inc.
  ~
  ~ This copyrighted material is made available to anyone wishing to use, modify,
  ~ copy, or redistribute it subject to the terms and conditions of the GNU
  ~ Lesser General Public License, as published by the Free Software Foundation.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  ~ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
  ~ for more details.
  ~
  ~ You should have received a copy of the GNU Lesser General Public License
  ~ along with this distribution; if not, write to:
  ~ Free Software Foundation, Inc.
  ~ 51 Franklin Street, Fifth Floor
  ~ Boston, MA  02110-1301  USA
  -->

<module xmlns="urn:jboss:module:1.2" name="org.apache.solr" slot="3.6.2">
    <resources>
        <resource-root path="solr-analysis-extras-3.6.2.jar" />
        <resource-root path="solr-core-3.6.2.jar" />
        <resource-root path="solr-solrj-3.6.2.jar" />
        <resource-root path="guava-r05.jar" />
        <!--//TODO author=Horia Chiorean date=4/10/13 description=https://issues.jboss.org/browse/MODE-1895-->
        <resource-root path="commons-io-1.4.jar" />
        <resource-root path="commons-codec-1.5.jar" />
        <resource-root path="commons-lang-2.6.jar" />
    </resources>
    <dependencies>
        <module name="org.apache.lucene" />
        <module name="org.jboss.logging" />
    </dependencies>

Comment 13 JBoss JIRA Server 2013-10-24 09:22:51 UTC
Randall Hauch <rhauch> updated the status of jira MODE-1895 to Closed


Note You need to log in before you can comment on or make changes to this bug.