Am 08.08.2012 15:42, schrieb Alessandro Adamou:
On 8/8/12 3:07 PM, Melanie Reiplinger wrote:
oh, sorry. I should have known that by now (especially since the log
says it tried to install to that address via POST).
now the build succeeded, but the ontologymanager is gone (can't
address it any more, neither in the browser nor via curl).
Does it have to be launched separately now?
No, but perhaps your running Stanbol is older than I thought. I might
be wrong, but it looks like some mandatory passage in the
update-build-install process is missing.
I always skip the tests in doing the global mvn clean install
(-DskipTests), because whenever I let it do the test, the build fails.
Please check [stanbol-host]/system/console/components for the
components that start with org.apache.stanbol.ontologymanager
I guess they are unsatisfied now. Most likely this is because their
dependencies need to be upgraded too.
you're right:
org.apache.stanbol.ontologymanager.ontonet.impl.clerezza.ClerezzaOntologyProvider
<http://lnv-89012.dfki.uni-sb.de:9001/system/console/components/139> active
org.apache.stanbol.ontologymanager.ontonet.impl.clerezza.OntologySpaceFactoryImpl
<http://lnv-89012.dfki.uni-sb.de:9001/system/console/components/140> active
org.apache.stanbol.ontologymanager.ontonet.impl.OfflineConfigurationImpl
<http://lnv-89012.dfki.uni-sb.de:9001/system/console/components/138> active
org.apache.stanbol.ontologymanager.ontonet.impl.ONManagerImpl
<http://lnv-89012.dfki.uni-sb.de:9001/system/console/components/142>
unsatisfied
org.apache.stanbol.ontologymanager.ontonet.impl.session.SessionManagerImpl
<http://lnv-89012.dfki.uni-sb.de:9001/system/console/components/141>
unsatisfied
org.apache.stanbol.ontologymanager.registry.impl.RegistryManagerImpl
<http://lnv-89012.dfki.uni-sb.de:9001/system/console/components/146> active
org.apache.stanbol.ontologymanager.web.OntologyManagerWebFragment
<http://lnv-89012.dfki.uni-sb.de:9001/system/console/components/148>
unsatisfied
You may want to do the same build-and-install trick for commons/owl .
If that isn't enough then I'm afraid your stanbol launcher is outdated.
commons/owl was not updated, seemed to be at most recent revision (At
revision 1370791).
Then how can I make sure an up-to-date launcher is built?
I already did a complete re-installation but since you assume my
launcher is too old, how can I solve this?
usually, after the checkout, I do
mvn clean install -DskipTests
in the stanbol home. It worked for me all the time up to now. Is that
not enough?
(note that when you build the whole stack, the launcher must be
stopped if you're running it from the module directory - otherwise the
"clean" directive won't remove the old Jar and cannot create the
updated one!).
Alessandro
Am 08.08.2012 14:38, schrieb Alessandro Adamou:
On 8/8/12 2:10 PM, Melanie Reiplinger wrote:
then I did:
mvn clean install -PinstallBundle -Dsling.url=[stanbol]/system/console
for which I get a build error with:
[INFO] Installation on : [path-to-stanbol]/system/console failed,
cause: host parameter is null
[stanbol] is the absolute path to the dir where stanbol is located,
right? The path seems right to me, at least in the log
No, it's the HTTP host. Stanbol must be running on that host while
you run Maven. I don't know if you're using that
http://lnv-89012.dfki.uni-sb.de:9001 host that I read on some of
your messages, but if so the value for sling.url would be:
http://lnv-89012.dfki.uni-sb.de:9001/system/console
(or even http://localhost:9001/system/console if you are running
Maven on the same machine where Stanbol is running)
I apologize for not being clearer earlier.
Alessandro
--
M.Sc. Alessandro Adamou
Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, 40127 Bologna - Italy
Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC)
National Research Council (CNR)
Via Nomentana 56, 00161 Rome - Italy
"I will give you everything, just don't demand anything."
(Ettore Petrolini, 1917)
Not sent from my iSnobTechDevice
--
M.Sc. Alessandro Adamou
Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, 40127 Bologna - Italy
Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC)
National Research Council (CNR)
Via Nomentana 56, 00161 Rome - Italy
"I will give you everything, just don't demand anything."
(Ettore Petrolini, 1917)
Not sent from my iSnobTechDevice