You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by David Riccitelli <da...@interact.it> on 2011/06/26 15:06:42 UTC

error compiling refactor engine

I can't compile anymore the refactor engine (./enhancer/engines/refactor) -
r1138529 - because of this issue:
 https://issues.apache.org/jira/browse/STANBOL-214

Is there a workaround or an alternative?

BR
David

-- 
David Riccitelli

Interact SpA
Via A. Bargoni 78 (scala F)
00153 Roma

T +39 06 58318 301
F +39 06 58318 303

Re: error compiling refactor engine

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi

This is caused by a missing bundle that was recently added to allow
the detection of the mime type of documents uploaded to the
contenthub.

I have added the according bundle to the launcher with revision 1139835.

details at http://svn.apache.org/viewvc?rev=1139835&view=rev

best
Rupert

On Sun, Jun 26, 2011 at 6:27 PM, David Riccitelli
<da...@interact.it> wrote:
> Seems fine.
>
> I ignored this error that is happening when launching with 'java -Xmx1g -jar
> launchers/kres/target/org.apache.stanbol.launchers.kres-0.9-SNAPSHOT.jar':
> ERROR: Bundle org.apache.stanbol.contenthub.web [54]: Error starting
> slinginstall:org.apache.stanbol.contenthub.web-0.9-SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.stanbol.contenthub.web [54]: Unable to resolve 54.0: missing
> requirement [54.0] package; (package=eu.medsea.mimeutil))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.stanbol.contenthub.web [54]: Unable to resolve 54.0: missing
> requirement [54.0] package; (package=eu.medsea.mimeutil)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
> at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
> at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
> at java.lang.Thread.run(Thread.java:680)
>
>
> On Sun, Jun 26, 2011 at 7:03 PM, David Riccitelli <
> david.riccitelli@interact.it> wrote:
>
>> Thanks Rupert,
>>
>> I'll try right away!
>>
>> David
>>
>>
>> On Sun, Jun 26, 2011 at 6:53 PM, Rupert Westenthaler <
>> rupert.westenthaler@gmail.com> wrote:
>>
>>> Hi David
>>>
>>> I have updated the Engine to the new API, removed the unused import
>>> and also commented to unused dependencies in the POM file.
>>> Now the engine compiles against the current version of Apache Stanbol.
>>>
>>> best
>>> Rupert Westenthaler
>>>
>>> On Sun, Jun 26, 2011 at 4:36 PM, Rupert Westenthaler
>>> <ru...@gmail.com> wrote:
>>> > Hi David
>>> >
>>> > I will update this Engine to use the updated API of the Entityhub.
>>> >
>>> > best
>>> > Rupert
>>> >
>>> > On Sun, Jun 26, 2011 at 3:06 PM, David Riccitelli
>>> > <da...@interact.it> wrote:
>>> >> I can't compile anymore the refactor engine
>>> (./enhancer/engines/refactor) -
>>> >> r1138529 - because of this issue:
>>> >>  https://issues.apache.org/jira/browse/STANBOL-214
>>> >>
>>> >> Is there a workaround or an alternative?
>>> >>
>>> >> BR
>>> >> David
>>> >>
>>> >> --
>>> >> David Riccitelli
>>> >>
>>> >> Interact SpA
>>> >> Via A. Bargoni 78 (scala F)
>>> >> 00153 Roma
>>> >>
>>> >> T +39 06 58318 301
>>> >> F +39 06 58318 303
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > | Rupert Westenthaler             rupert.westenthaler@gmail.com
>>> > | Bodenlehenstraße 11                             ++43-699-11108907
>>> > | A-5500 Bischofshofen
>>> >
>>>
>>>
>>>
>>> --
>>> | Rupert Westenthaler             rupert.westenthaler@gmail.com
>>> | Bodenlehenstraße 11                             ++43-699-11108907
>>> | A-5500 Bischofshofen
>>>
>>
>>
>>
>> --
>> David Riccitelli
>>
>> Interact SpA
>> Via A. Bargoni 78 (scala F)
>> 00153 Roma
>>
>> T +39 06 58318 301
>> F +39 06 58318 303
>>
>>
>
>
> --
> David Riccitelli
>
> Interact SpA
> Via A. Bargoni 78 (scala F)
> 00153 Roma
>
> T +39 06 58318 301
> F +39 06 58318 303
>



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Re: error compiling refactor engine

Posted by David Riccitelli <da...@interact.it>.
Seems fine.

I ignored this error that is happening when launching with 'java -Xmx1g -jar
launchers/kres/target/org.apache.stanbol.launchers.kres-0.9-SNAPSHOT.jar':
ERROR: Bundle org.apache.stanbol.contenthub.web [54]: Error starting
slinginstall:org.apache.stanbol.contenthub.web-0.9-SNAPSHOT.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.stanbol.contenthub.web [54]: Unable to resolve 54.0: missing
requirement [54.0] package; (package=eu.medsea.mimeutil))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.stanbol.contenthub.web [54]: Unable to resolve 54.0: missing
requirement [54.0] package; (package=eu.medsea.mimeutil)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:680)


On Sun, Jun 26, 2011 at 7:03 PM, David Riccitelli <
david.riccitelli@interact.it> wrote:

> Thanks Rupert,
>
> I'll try right away!
>
> David
>
>
> On Sun, Jun 26, 2011 at 6:53 PM, Rupert Westenthaler <
> rupert.westenthaler@gmail.com> wrote:
>
>> Hi David
>>
>> I have updated the Engine to the new API, removed the unused import
>> and also commented to unused dependencies in the POM file.
>> Now the engine compiles against the current version of Apache Stanbol.
>>
>> best
>> Rupert Westenthaler
>>
>> On Sun, Jun 26, 2011 at 4:36 PM, Rupert Westenthaler
>> <ru...@gmail.com> wrote:
>> > Hi David
>> >
>> > I will update this Engine to use the updated API of the Entityhub.
>> >
>> > best
>> > Rupert
>> >
>> > On Sun, Jun 26, 2011 at 3:06 PM, David Riccitelli
>> > <da...@interact.it> wrote:
>> >> I can't compile anymore the refactor engine
>> (./enhancer/engines/refactor) -
>> >> r1138529 - because of this issue:
>> >>  https://issues.apache.org/jira/browse/STANBOL-214
>> >>
>> >> Is there a workaround or an alternative?
>> >>
>> >> BR
>> >> David
>> >>
>> >> --
>> >> David Riccitelli
>> >>
>> >> Interact SpA
>> >> Via A. Bargoni 78 (scala F)
>> >> 00153 Roma
>> >>
>> >> T +39 06 58318 301
>> >> F +39 06 58318 303
>> >>
>> >
>> >
>> >
>> > --
>> > | Rupert Westenthaler             rupert.westenthaler@gmail.com
>> > | Bodenlehenstraße 11                             ++43-699-11108907
>> > | A-5500 Bischofshofen
>> >
>>
>>
>>
>> --
>> | Rupert Westenthaler             rupert.westenthaler@gmail.com
>> | Bodenlehenstraße 11                             ++43-699-11108907
>> | A-5500 Bischofshofen
>>
>
>
>
> --
> David Riccitelli
>
> Interact SpA
> Via A. Bargoni 78 (scala F)
> 00153 Roma
>
> T +39 06 58318 301
> F +39 06 58318 303
>
>


-- 
David Riccitelli

Interact SpA
Via A. Bargoni 78 (scala F)
00153 Roma

T +39 06 58318 301
F +39 06 58318 303

Re: error compiling refactor engine

Posted by David Riccitelli <da...@interact.it>.
Thanks Rupert,

I'll try right away!

David

On Sun, Jun 26, 2011 at 6:53 PM, Rupert Westenthaler <
rupert.westenthaler@gmail.com> wrote:

> Hi David
>
> I have updated the Engine to the new API, removed the unused import
> and also commented to unused dependencies in the POM file.
> Now the engine compiles against the current version of Apache Stanbol.
>
> best
> Rupert Westenthaler
>
> On Sun, Jun 26, 2011 at 4:36 PM, Rupert Westenthaler
> <ru...@gmail.com> wrote:
> > Hi David
> >
> > I will update this Engine to use the updated API of the Entityhub.
> >
> > best
> > Rupert
> >
> > On Sun, Jun 26, 2011 at 3:06 PM, David Riccitelli
> > <da...@interact.it> wrote:
> >> I can't compile anymore the refactor engine
> (./enhancer/engines/refactor) -
> >> r1138529 - because of this issue:
> >>  https://issues.apache.org/jira/browse/STANBOL-214
> >>
> >> Is there a workaround or an alternative?
> >>
> >> BR
> >> David
> >>
> >> --
> >> David Riccitelli
> >>
> >> Interact SpA
> >> Via A. Bargoni 78 (scala F)
> >> 00153 Roma
> >>
> >> T +39 06 58318 301
> >> F +39 06 58318 303
> >>
> >
> >
> >
> > --
> > | Rupert Westenthaler             rupert.westenthaler@gmail.com
> > | Bodenlehenstraße 11                             ++43-699-11108907
> > | A-5500 Bischofshofen
> >
>
>
>
> --
> | Rupert Westenthaler             rupert.westenthaler@gmail.com
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>



-- 
David Riccitelli

Interact SpA
Via A. Bargoni 78 (scala F)
00153 Roma

T +39 06 58318 301
F +39 06 58318 303

Re: error compiling refactor engine

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi David

I have updated the Engine to the new API, removed the unused import
and also commented to unused dependencies in the POM file.
Now the engine compiles against the current version of Apache Stanbol.

best
Rupert Westenthaler

On Sun, Jun 26, 2011 at 4:36 PM, Rupert Westenthaler
<ru...@gmail.com> wrote:
> Hi David
>
> I will update this Engine to use the updated API of the Entityhub.
>
> best
> Rupert
>
> On Sun, Jun 26, 2011 at 3:06 PM, David Riccitelli
> <da...@interact.it> wrote:
>> I can't compile anymore the refactor engine (./enhancer/engines/refactor) -
>> r1138529 - because of this issue:
>>  https://issues.apache.org/jira/browse/STANBOL-214
>>
>> Is there a workaround or an alternative?
>>
>> BR
>> David
>>
>> --
>> David Riccitelli
>>
>> Interact SpA
>> Via A. Bargoni 78 (scala F)
>> 00153 Roma
>>
>> T +39 06 58318 301
>> F +39 06 58318 303
>>
>
>
>
> --
> | Rupert Westenthaler             rupert.westenthaler@gmail.com
> | Bodenlehenstraße 11                             ++43-699-11108907
> | A-5500 Bischofshofen
>



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Re: error compiling refactor engine

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi David

I will update this Engine to use the updated API of the Entityhub.

best
Rupert

On Sun, Jun 26, 2011 at 3:06 PM, David Riccitelli
<da...@interact.it> wrote:
> I can't compile anymore the refactor engine (./enhancer/engines/refactor) -
> r1138529 - because of this issue:
>  https://issues.apache.org/jira/browse/STANBOL-214
>
> Is there a workaround or an alternative?
>
> BR
> David
>
> --
> David Riccitelli
>
> Interact SpA
> Via A. Bargoni 78 (scala F)
> 00153 Roma
>
> T +39 06 58318 301
> F +39 06 58318 303
>



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen