Am 08.08.2012 13:53, schrieb Alessandro Adamou:
Hi Melanie,

On 8/8/12 1:07 PM, Melanie Reiplinger wrote:
Yes, but remember that you must also install the OSGi bundles, so

mvn clean install -PinstallBundle -Dsling.url=[stanbol]/system/console

I did a global update and mvn clean install last night, is this still necessary then?

Yes please (I added more logs this morning), but if you reinstalled it yesterday you should only need to cd ontologymanager and then run the above command.

Would you do that now? I added some more log messages to the session POST, so perhaps we may want to check the DEBUG log after you get a 400.

ok, here's the log it writes when I do the above command for some session S1:

08.08.2012 14:11:41.187 *DEBUG* [24517718@qtp-24391166-25] org.apache.stanbol.ontologymanager.web.resources.SessionResource post(FormDataMultiPart data) 08.08.2012 14:11:41.187 *DEBUG* [24517718@qtp-24391166-25] org.apache.stanbol.ontologymanager.web.resources.SessionResource Found body part of type class com.sun.jersey.multipart.FormDataBodyPart 08.08.2012 14:11:41.187 *ERROR* [24517718@qtp-24391166-25] org.apache.stanbol.ontologymanager.web.resources.SessionResource Nothing to do with session S1.

This is strange. Since revision 1367100 from over a week ago, the SessionResource does not log "Nothing to do with session {}" messages anymore, the line is commented out [1]. Are you sure your rebuilt bundles are being installed and activated for real?

To really be sure I won't miss anything, I did:

cd ontologymanager/
svn update
it only updated one source file:

U web/src/main/java/org/apache/stanbol/ontologymanager/web/resources/SessionResource.java

Updated to revision 1370743.

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

[INFO] Installing Bundle org.apache.stanbol.ontologymanager.ontonet([stanbol]/ontologymanager/ontonet/target/org.apache.stanbol.ontologymanager.ontonet-0.10.0-incubating-SNAPSHOT.jar) to :[stanbol]/system/console via POST

the first path is correct, but the second is non-existing.




best,
Alessandro

[1] http://svn.apache.org/viewvc/incubator/stanbol/trunk/ontologymanager/web/src/main/java/org/apache/stanbol/ontologymanager/web/resources/SessionResource.java?revision=1367100&view=markup


--
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

Reply via email to