I want to add a big (150mb) xml file as a resource to my database. The machine is behind a reverse proxy, so the easiest way would be through the DBA. I have the file locally on the same machine I run Tomcat on, but when I run the db:add() query, I get a timeout (504 Gateway Time-out 504 Gateway Time-out nginx/1.2.1).
Is there a way of circumventing this? Perhaps instead of running the db:add() straight from the DBA, I should have it as a function in my XQrepo and trigger it somehow?
Kristian
Hi Kristian,
I want to add a big (150mb) xml file as a resource to my database. The machine is behind a reverse proxy, so the easiest way would be through the DBA. I have the file locally on the same machine I run Tomcat on, but when I run the db:add() query, I get a timeout (504 Gateway Time-out 504 Gateway Time-out nginx/1.2.1).
Have you tried to tweak the nginx/Tomcat settings?
Christian
basex-talk@mailman.uni-konstanz.de