Ticket #635 (new defect)
NepomukConst.readNepomukLock throws java.io.IOException
| Reported by: | maxvoelkel | Owned by: | LeoSauermann |
|---|---|---|---|
| Priority: | normal | Milestone: | m36-redmeteor |
| Component: | comp-pimoservice | Version: | |
| Keywords: | Cc: |
Description
I get this
Exception in thread "main" java.io.IOException: Der Prozess kann nicht auf die Datei zugreifen, da ein anderer Prozess einen Teil der Datei gesperrt hat
at java.io.FileInputStream?.readBytes(Native Method) at java.io.FileInputStream?.read(FileInputStream?.java:177) at java.util.Properties$LineReader?.readLine(Properties.java:365) at java.util.Properties.load(Properties.java:293) at org.semanticdesktop.services.NepomukConst?.readNepomukLock(NepomukConst?.java:314) at org.semanticdesktop.nepomuk.clientservices.NepomukXmlRpcClient?.readAndVerifyNepomukIsRunning(NepomukXmlRpcClient?.java:81) at org.semanticdesktop.nepomuk.clientservices.NepomukXmlRpcClient?.<init>(NepomukXmlRpcClient?.java:76) at org.semanticdesktop.nepomuk.MaxHelloWorld?.main(MaxHelloWorld?.java:12)
when running the code from the summer school (it worked there!)
running against NIGHTLY BUILT 2008-10-02 of PSEW on Windows
public class MaxHelloWorld? {
public static void main(String[] args) throws Exception {
NepomukXmlRpcClient? client = new NepomukXmlRpcClient?(); PimoClient pimoClient = client.getPimoClient(); ClientSession session = pimoClient.createSession(); URI myTag = session.findOrCreateTag("myTag");
URI page = session.getOrCreateThingForOccurrence(new URIImpl(
"http://xam.de"));
session.addTag(page, myTag);
session.commit();
}
}
Currently we can not talk to the RDFRepository in PSEW and not integrate CDS and PIMO
