Launched fine here on r1475855 and the following environment
Maven 3.0.4
OpenJDK 1.6.0_24 i386
CrunchBang Linux i386 kernel 3.2.0-4-686-pae
...but before we investigate further: are those all the arguments you've
set for your JVM/Stanbol?
did you ever set the permanent generation size? The default is not
enough for the full launcher. If you did not set it, it might just by
chance have gone out of memory at the time of activating the
ontologymanager.servicesapi bundle.
Try also to pass
-XX:MaxPermSize=192m
alongside the max heap ( -Xmx)
IIRC from my VisualVM benchmarks, 192 megabytes is kind of a borderline
value for the full launcher. If it is not enough, try 256m or 320m but
try to be conservative. If you are not activating additional custom
bundles, you won't need a larger permanent generation than the one
necessary for getting Stanbol running.
Best,
Alessandro
On 25/04/2013 18:02, Alessandro Adamou wrote:
That's odd. Let me try a fresh rebuild/launch.
Alessandro
On 25/04/2013 18:00, MJ wrote:
Hi,
I searched the mailing list archives, but didn't find any useful tips
to resolve my problem.
I built the subversion snapshot using Maven 3 and Sun JDK 1.7 on
FreeBSD using Linux emulation layer. I tried to run with Sun JDK, but
alas KqueueSelectorProvider is non-existent, so I switched to running
with OpenJDK since I really need the event-based I/O.
Anyhow, I tried starting Stanbol with Sun JDK 1.7, OpenJDK 1.6, and
OpenJDK 1.7, all with exactly the same problem.
The startup command line:
/usr/local/openjdk7/bin/java -Xmx1g -jar
/usr/local/infra/stanbol-svn/launchers/full/target/org.apache.stanbol.launchers.full-0.10.0-SNAPSHOT.jar
The problem:
ERROR: Bundle org.apache.stanbol.enhancer.engines.refactor [40]:
Error starting
slinginstall:org.apache.stanbol.enhancer.engines.refactor-0.10.0-SNAPSHOT.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.stanbol.enhancer.engines.refactor [40]: Unable to resolve
40.0: missing requirement [40.0] package;
(&(package=org.apache.stanbol.ontologymanager.servicesapi.collector)(version>=0.10.0)(!(version>=1.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.stanbol.enhancer.engines.refactor [40]: Unable to resolve
40.0: missing requirement [40.0] package;
(&(package=org.apache.stanbol.ontologymanager.servicesapi.collector)(version>=0.10.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:722)
25.04.2013 19:42:16.289 *INFO * [main] Startup completed
I would be highly appreciative if somebody would advise me on how to
get the Ontology Manager going. The Ontology Manager is actually the
most important reason for my using Stanbol.
Thank you,
Mike
--
Alessandro Adamou, Ph.D.
Knowledge Media Institute
The Open University
Walton Hall, Milton Keynes MK7 6AA
United Kingdom
Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, 40127 Bologna
Italy
"I will give you everything, just don't demand anything."
(Ettore Petrolini, 1917)
Not sent from my iSnobTechDevice