You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Gianluigi Di Vito <gi...@kit-digital.com> on 2013/01/24 16:52:21 UTC

Stanbol.war

Hi all,
I'm trying to deploy Apache Stanbol instance under Tomcat 6 on a Windows 7 virtual machine.

I followed all the steps in the getting started page and if I start the full launcher executing the jar file it works fine, but if I tried to deploy the launchers\full-war\target\stanbol.war file under Tomcat it seems to be ok but It doesn't start.

Checking in Tomcat log files I found a lot of errors likes this:

SEVERE: ERROR: Error starting slinginstall:C:\Windows\system32\stanbol\startup\27\org.apache.stanbol.commons.jobs.web-0.12.0-SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.stanbol.commons.jobs.web [71]: Unable to resolve 71.0: missing requirement [71.0] package; (&(package=org.apache.stanbol.commons.viewable)(version>=0.11.0)(!(version>=1.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.stanbol.commons.jobs.web [71]: Unable to resolve 71.0: missing requirement [71.0] package; (&(package=org.apache.stanbol.commons.viewable)(version>=0.11.0)(!(version>=1.0.0)))
                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:619)
Jan 24, 2013 1:48:13 PM org.apache.catalina.core.ApplicationContext log
SEVERE: ERROR: Error starting slinginstall:C:\Windows\system32\stanbol\startup\27\org.apache.stanbol.commons.namespaceprefix.provider.prefixcc-0.12.0-SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.stanbol.commons.namespaceprefix.provider.prefixcc [79]: Unable to resolve 79.0: missing requirement [79.0] package; (&(package=org.apache.stanbol.commons.namespaceprefix)(version>=0.11.0)(!(version>=1.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.stanbol.commons.namespaceprefix.provider.prefixcc [79]: Unable to resolve 79.0: missing requirement [79.0] package; (&(package=org.apache.stanbol.commons.namespaceprefix)(version>=0.11.0)(!(version>=1.0.0)))
                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:619)
Jan 24, 2013 1:48:13 PM org.apache.catalina.core.ApplicationContext log
Etc.

What is wrong? Could you please help me to fix it?

Many thanks,
Gianluigi Di Vito |  Software Engineer, R&D
+39 02 84278 465  Office  |  gianluigi.divito Skype

KIT digital  |  www.kitd.com<http://www.kitd.com/>  |  The Future of Television
Milan Office  |  Via Breda, 176 |  20126 Milano, Italy

[cid:266E708A-798C-4FCC-8CE5-E48CB9EBF17F]


RE: Stanbol.war

Posted by Gianluigi Di Vito <gi...@kit-digital.com>.
Hi Rupert,
thank you very much, now it works fine.

Gianluigi Di Vito |  Software Engineer, R&D
+39 02 84278 465  Office  |  gianluigi.divito Skype 
 
KIT digital  |  www.kitd.com  |  The Future of Television  
Milan Office  |  Via Breda, 176 |  20126 Milano, Italy
 


-----Original Message-----
From: Rupert Westenthaler [mailto:rupert.westenthaler@gmail.com] 
Sent: venerdì 25 gennaio 2013 06:33
To: dev@stanbol.apache.org
Subject: Re: Stanbol.war

Hi Gianluigi

I checked this with the current version (rev 1438326) and I can not confirm the above errors. I am using a different platform (Tomcat 7 on
MacOS) but as the reported errors are OSGI dependencies this should not make any difference.

In the last few days several version numbers of Bundles where changed as a result of the Stanbol Commons release. So maybe the missing dependency are a result of those version changes. In this case an update to the newest version ("svn up" and mvn clean install" should solve your problem).

However I am seeing an other error in the log. hat needs further investigation

25.01.2013 06:21:33.715 *ERROR* [FelixDispatchQueue] org.apache.clerezza.platform.config FrameworkEvent ERROR
(org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.clerezza.platform.config [89]: Unable to resolve 89.0:
missing requirement [89.0] package;
(package=org.apache.clerezza.platform.graphprovider.content))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.clerezza.platform.config [89]: Unable to resolve 89.0:
missing requirement [89.0] package;
(package=org.apache.clerezza.platform.graphprovider.content)
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)


best
Rupert

On Thu, Jan 24, 2013 at 4:52 PM, Gianluigi Di Vito <gi...@kit-digital.com> wrote:
> Hi all,
>
> I’m trying to deploy Apache Stanbol instance under Tomcat 6 on a 
> Windows 7 virtual machine.
>
>
>
> I followed all the steps in the getting started page and if I start 
> the full launcher executing the jar file it works fine, but if I tried 
> to deploy the launchers\full-war\target\stanbol.war file under Tomcat 
> it seems to be ok but It doesn’t start.
>
>
>
> Checking in Tomcat log files I found a lot of errors likes this:
>
>
>
> SEVERE: ERROR: Error starting
> slinginstall:C:\Windows\system32\stanbol\startup\27\org.apache.stanbol
> .commons.jobs.web-0.12.0-SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle 
> org.apache.stanbol.commons.jobs.web [71]: Unable to resolve 71.0: 
> missing requirement [71.0] package;
> (&(package=org.apache.stanbol.commons.viewable)(version>=0.11.0)(!(ver
> sion>=1.0.0))))
>
> org.osgi.framework.BundleException: Unresolved constraint in bundle 
> org.apache.stanbol.commons.jobs.web [71]: Unable to resolve 71.0: 
> missing requirement [71.0] package;
> (&(package=org.apache.stanbol.commons.viewable)(version>=0.11.0)(!(ver
> sion>=1.0.0)))
>
>                 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:619)
>
> Jan 24, 2013 1:48:13 PM org.apache.catalina.core.ApplicationContext 
> log
>
> SEVERE: ERROR: Error starting
> slinginstall:C:\Windows\system32\stanbol\startup\27\org.apache.stanbol
> .commons.namespaceprefix.provider.prefixcc-0.12.0-SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle 
> org.apache.stanbol.commons.namespaceprefix.provider.prefixcc [79]: 
> Unable to resolve 79.0: missing requirement [79.0] package;
> (&(package=org.apache.stanbol.commons.namespaceprefix)(version>=0.11.0
> )(!(version>=1.0.0))))
>
> org.osgi.framework.BundleException: Unresolved constraint in bundle 
> org.apache.stanbol.commons.namespaceprefix.provider.prefixcc [79]: 
> Unable to resolve 79.0: missing requirement [79.0] package;
> (&(package=org.apache.stanbol.commons.namespaceprefix)(version>=0.11.0
> )(!(version>=1.0.0)))
>
>                 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:619)
>
> Jan 24, 2013 1:48:13 PM org.apache.catalina.core.ApplicationContext 
> log
>
> Etc.
>
>
>
> What is wrong? Could you please help me to fix it?
>
>
>
> Many thanks,
>
> Gianluigi Di Vito |  Software Engineer, R&D
>
> +39 02 84278 465  Office  |  gianluigi.divito Skype
>
>
>
> KIT digital  |  www.kitd.com  |  The Future of Television
>
> Milan Office  |  Via Breda, 176 |  20126 Milano, Italy
>
>
>
>



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

Re: Stanbol.war

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

I checked this with the current version (rev 1438326) and I can not
confirm the above errors. I am using a different platform (Tomcat 7 on
MacOS) but as the reported errors are OSGI dependencies this should
not make any difference.

In the last few days several version numbers of Bundles where changed
as a result of the Stanbol Commons release. So maybe the missing
dependency are a result of those version changes. In this case an
update to the newest version ("svn up" and mvn clean install" should
solve your problem).

However I am seeing an other error in the log. hat needs further investigation

25.01.2013 06:21:33.715 *ERROR* [FelixDispatchQueue]
org.apache.clerezza.platform.config FrameworkEvent ERROR
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.clerezza.platform.config [89]: Unable to resolve 89.0:
missing requirement [89.0] package;
(package=org.apache.clerezza.platform.graphprovider.content))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.clerezza.platform.config [89]: Unable to resolve 89.0:
missing requirement [89.0] package;
(package=org.apache.clerezza.platform.graphprovider.content)
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)


best
Rupert

On Thu, Jan 24, 2013 at 4:52 PM, Gianluigi Di Vito
<gi...@kit-digital.com> wrote:
> Hi all,
>
> I’m trying to deploy Apache Stanbol instance under Tomcat 6 on a Windows 7
> virtual machine.
>
>
>
> I followed all the steps in the getting started page and if I start the full
> launcher executing the jar file it works fine, but if I tried to deploy the
> launchers\full-war\target\stanbol.war file under Tomcat it seems to be ok
> but It doesn’t start.
>
>
>
> Checking in Tomcat log files I found a lot of errors likes this:
>
>
>
> SEVERE: ERROR: Error starting
> slinginstall:C:\Windows\system32\stanbol\startup\27\org.apache.stanbol.commons.jobs.web-0.12.0-SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.stanbol.commons.jobs.web [71]: Unable to resolve 71.0: missing
> requirement [71.0] package;
> (&(package=org.apache.stanbol.commons.viewable)(version>=0.11.0)(!(version>=1.0.0))))
>
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.stanbol.commons.jobs.web [71]: Unable to resolve 71.0: missing
> requirement [71.0] package;
> (&(package=org.apache.stanbol.commons.viewable)(version>=0.11.0)(!(version>=1.0.0)))
>
>                 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:619)
>
> Jan 24, 2013 1:48:13 PM org.apache.catalina.core.ApplicationContext log
>
> SEVERE: ERROR: Error starting
> slinginstall:C:\Windows\system32\stanbol\startup\27\org.apache.stanbol.commons.namespaceprefix.provider.prefixcc-0.12.0-SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.stanbol.commons.namespaceprefix.provider.prefixcc [79]: Unable to
> resolve 79.0: missing requirement [79.0] package;
> (&(package=org.apache.stanbol.commons.namespaceprefix)(version>=0.11.0)(!(version>=1.0.0))))
>
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.stanbol.commons.namespaceprefix.provider.prefixcc [79]: Unable to
> resolve 79.0: missing requirement [79.0] package;
> (&(package=org.apache.stanbol.commons.namespaceprefix)(version>=0.11.0)(!(version>=1.0.0)))
>
>                 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:619)
>
> Jan 24, 2013 1:48:13 PM org.apache.catalina.core.ApplicationContext log
>
> Etc.
>
>
>
> What is wrong? Could you please help me to fix it?
>
>
>
> Many thanks,
>
> Gianluigi Di Vito |  Software Engineer, R&D
>
> +39 02 84278 465  Office  |  gianluigi.divito Skype
>
>
>
> KIT digital  |  www.kitd.com  |  The Future of Television
>
> Milan Office  |  Via Breda, 176 |  20126 Milano, Italy
>
>
>
>



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