[Mulgara-general] "Couldn't construct node pool"
Don Undeen
donundeen at gmail.com
Tue Aug 5 19:22:54 UTC 2008
Hi, I'm trying to connect to a mulgara db using sesame 2.2beta1 API, and I'm
getting a "Couldn't construct node pool" error.
using:
openrdf-mulgara-1.3-beta
openrdf-mulgara-sail-2.2-beta2
sesame2.2beta2
Here's my code:
import org.openrdf.*;
import org.openrdf.repository.Repository;
import org.openrdf.repository.sail.SailRepository;
import org.openrdf.sail.memory.MemoryStore;
import org.openrdf.sail.mulgara.*;
import org.openrdf.OpenRDFException;
import org.openrdf.repository.RepositoryConnection;
import org.openrdf.rio.RDFFormat;
import javax.transaction.TransactionManager;
import java.io.File;
public class TestSesame {
/**
* @param args
*/
public static void main(String[] args) {
try{
File dataDir = new File("C:\\Documents and
Settings\\LocalService\\Application
Data\\Aduna\\OpenRDF\\Sesame\\repositories\\mulgaraTms\\");
Repository myRepository = new SailRepository(new
MulgaraStore(dataDir));
myRepository.initialize();
RepositoryConnection conn = myRepository.getConnection();
}catch(Exception e){
System.out.println("had error " +e.getMessage() );
}
}
}
The message I'm getting is:
had error org.mulgara.store.nodepool.NodePoolException: Couldn't construct
node pool
Does anyone know what this means?
thanks!!
don
full output below:
15:12:57.932 [main] INFO org.objectweb.jotm - JOTM started with a local
transaction factory which is not bound.
15:12:57.932 [main] INFO org.objectweb.jotm - CAROL initialization
15:12:57.948 [main] DEBUG o.o.c.u.c.ConfigurationRepository - Return empty
properties, URL is null
15:12:57.964 [main] DEBUG o.o.c.u.c.ConfigurationRepository - Build protocol
object for protocol name found 'cmi'.
15:12:57.979 [main] DEBUG o.o.c.u.c.ConfigurationRepository - Cmi is not
available, don't configure it.
15:12:57.979 [main] DEBUG o.o.c.u.c.ConfigurationRepository - Build protocol
object for protocol name found 'jeremie'.
15:12:57.979 [main] DEBUG o.o.c.u.c.ConfigurationRepository - Build protocol
object for protocol name found 'iiop'.
15:12:57.979 [main] DEBUG o.o.c.u.c.ConfigurationRepository - Build protocol
object for protocol name found 'irmi'.
15:12:57.979 [main] DEBUG o.o.c.u.c.ConfigurationRepository - Build protocol
object for protocol name found 'jrmp'.
15:12:57.979 [main] INFO o.o.c.u.c.ConfigurationRepository - No protocols
were defined for property 'carol.protocols', trying with default protocol =
'jrmp'.
15:12:58.182 [main] DEBUG org.objectweb.jotm - default constructor
15:12:58.198 [main] INFO org.objectweb.jotm.jta - JOTM 2.0.10
15:12:58.198 [main] DEBUG org.objectweb.jotm.jta -
TransactionFactory=org.objectweb.jotm.TransactionFactoryImpl at 1bd7848
15:12:58.198 [main] DEBUG org.objectweb.jotm.jta - Batch constructor
15:12:58.198 [main] DEBUG org.objectweb.jotm.jta - Clock constructor
15:12:58.214 [main] DEBUG org.objectweb.jotm.recovery -
TransactionRecoveryImpl constructor
15:12:58.214 [main] DEBUG org.objectweb.jotm.recovery - JOTM Recovery is
disabled
15:12:58.245 [main] DEBUG org.objectweb.jotm -
TransactionManager=org.objectweb.jotm.Current at 15093f1
15:12:58.245 [main] DEBUG org.objectweb.jotm.jta - timeout= 604800
15:12:58.245 [main] DEBUG org.objectweb.jotm.jta - Resetting transaction
timeout= 604800
had error org.mulgara.store.nodepool.NodePoolException: Couldn't construct
node pool
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mulgara.org/pipermail/mulgara-general/attachments/20080805/dcf126e8/attachment.htm>
More information about the Mulgara-general
mailing list