Hello,
I'm new on this mailing list and I have a problem when running on my java app :
session.execute("CREATE DB test inputFolder");
because after 20 minutes (my input folder is something like 800 Mo). I got this error message in my console :
java.io.IOException: Stream Closed java.io.FileOutputStream.writeBytes(Native Method) java.io.FileOutputStream.write(FileOutputStream.java:305) org.basex.server.Log.write(Log.java:74) org.basex.server.ClientListener.quit(ClientListener.java:240) org.basex.server.ClientListener.run(ClientListener.java:170)
What can I do to resolve this ?
Thanks a lot !
Johann
Johann,
thanks for the report. Generally, importing 800 mb of XML data shouldn't cause any major issues; did you manage to reproduce the problem/how does your complete Java code look like?
Best, Christian ___________________________
On Fri, Jan 27, 2012 at 11:58 AM, Johann LEGAYE johann.legaye@4dconcept.fr wrote:
Hello,
I'm new on this mailing list and I have a problem when running on my java app :
session.execute("CREATE DB test inputFolder");
because after 20 minutes (my input folder is something like 800 Mo). I got this error message in my console :
java.io.IOException: Stream Closed java.io.FileOutputStream.writeBytes(Native Method) java.io.FileOutputStream.write(FileOutputStream.java:305) org.basex.server.Log.write(Log.java:74) org.basex.server.ClientListener.quit(ClientListener.java:240) org.basex.server.ClientListener.run(ClientListener.java:170)
What can I do to resolve this ?
Thanks a lot !
Johann _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Le vendredi 27 janvier 2012 14:59:30, Christian Grün a écrit :
Johann,
thanks for the report. Generally, importing 800 mb of XML data shouldn't cause any major issues; did you manage to reproduce the problem/how does your complete Java code look like?
Best, Christian ___________________________
On Fri, Jan 27, 2012 at 11:58 AM, Johann LEGAYE johann.legaye@4dconcept.fr wrote:
Hello,
I'm new on this mailing list and I have a problem when running on my java app :
session.execute("CREATE DB test inputFolder");
because after 20 minutes (my input folder is something like 800 Mo). I got this error message in my console :
java.io.IOException: Stream Closed java.io.FileOutputStream.writeBytes(Native Method) java.io.FileOutputStream.write(FileOutputStream.java:305) org.basex.server.Log.write(Log.java:74) org.basex.server.ClientListener.quit(ClientListener.java:240) org.basex.server.ClientListener.run(ClientListener.java:170)
What can I do to resolve this ?
Thanks a lot !
Johann _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Thank you for your response Christian.
Each time I launch my code, I get the same error after several minutes of importing.
Here is my java code :
BaseXServer server; server = new BaseXServer();
session = new BaseXClient("localhost", 1984, "admin", "admin");
session.execute("CREATE DB mydatabase inputFolder");
I get the error at this moment...
Thanks; I'll try to generate a similar scenario. Two more questions: are you working with the latest version/snapshot of BaseX? Which system are you working on? ____________________________
Thank you for your response Christian.
Each time I launch my code, I get the same error after several minutes of importing.
Here is my java code :
BaseXServer server; server = new BaseXServer();
session = new BaseXClient("localhost", 1984, "admin", "admin");
session.execute("CREATE DB mydatabase inputFolder");
I get the error at this moment...
basex-talk@mailman.uni-konstanz.de