I am developing a web application for the Tomcat application server, where I make use of a database TDB. I am using Jena to store the triples in a directory. My problem is that when you put the application in ficheiro.war can not be written to this directory and during application will be added new triple.
I wanted to put my web application in the cloud and for this I used the CloudFoundry and I can deploy without problems. The problem is that the use of the database TDB.
Can I put the directory somewhere in the cloud and read and write with the Jena from my web application there?
Thanks in advance
asked 27 Dec '12, 13:41
You may need to change the security settings of your tomcat installation to make access to the database directory possible. Sometimes the settings are to only allow access to the web application area ... and hence the WAR file only.
Another way round this is to run Fuseki separately and access it via HTTP - this is, in effect, a 3 tier architecture style.
answered 28 Dec '12, 08:42
The main idea was to have the Fuseki as "database server". But they did not find anything in the hosting cloud. Is there any cloud solution for housing the TDB?
answered 28 Dec '12, 09:48
I have a similar problem: when I run my web application (in which I use jena TDB to store data) with tomcat in eclipse I have no problem and I store my data in the chosen directory. But when I export my web application in .war and I run tomcat, the storage does not occur.
PS: Hi Andy , I'm Amira Sifaoui who I have the problem of Fuseki as a web application
Thank you !
answered 01 Aug, 10:59