Re: [djatoka-devel] djatoka windows install - 404/IOException
Status: Beta
Brought to you by:
rchute
From: Younos A. <You...@bi...> - 2010-08-19 11:28:19
|
Here.. I extracted this from a deployment instructions file that I created: For running on an Apache service the only way is to set the JAVA_OPTS in the registery as in: http://old.nabble.com/Re%3A-Installing-Tomcat-as-a-Windows-Service---JvmOptions---semicolons-p9507260.html Add the following Env Vars: CATALINA_OPTS = -Xms256m -Xmx1024m JAVA_OPTS = -Djava.awt.headless=true -Dkakadu.home="C:\Programs\adore-djatoka-1.1\bin\Win32" -Djava.library.path="C:\Programs\adore-djatoka-1.1\bin\Win32";%PATH% -DproxySet=true -DproxyPort=8002 -DproxyHost="proxy" OR if not a service, you can add this to catalina.bat rem DJATOKA settings set DJATOKA_HOME=C:\Programs\adore-djatoka-1.1 set KAKADU_HOME=C:\Programs\adore-djatoka-1.1\bin\Win32 set PATH=%PATH%;%KAKADU_HOME% rem Get standard djatoka environment variables set JAVA_OPTS=-Djava.awt.headless=true -Dkakadu.home="%KAKADU_HOME%" -Djava.library.path="%KAKADU_HOME%" -DproxySet=true -DproxyPort=8002 -DproxyHost=proxy rem END DJATOKA settings Best regards, Younos ABOULNAGA Software Development Engineer Bibliotheca Alexandrina Cell: +2 012 4490444 From: Reece, Michael [mailto:RE...@ec...] Sent: Tuesday, August 17, 2010 11:55 PM To: dja...@li... Subject: [djatoka-devel] djatoka windows install - 404/IOException I'm working though the installation and I'm unable to extract the region from the LOC .jp2 using http://<server>:8080/adore-djatoka/<http://%3Cserver%3E:8080/adore-djatoka/>. Clicking the update image button returns a broken image, open image in new windows give me a 404, and the djatoka.log is giving me the following error: 2010-08-17/17:33:26.679/EDT [http-8080-2] ERROR java.io.IOException: CreateProcess: null\kdu_expand.exe -quiet -i C:\tomcat6\temp\cache986535647517.jp2 -o C:\tomcat6\temp\pipe_519.ppm -reduce 3 -region {0.0,0.0},{1.122334455667789,0.9086778736937755} error=2 java.io.IOException: CreateProcess: null\kdu_expand.exe -quiet -i C:\tomcat6\temp\cache986535647517.jp2 -o C:\tomcat6\temp\pipe_519.ppm -reduce 3 -region {0.0,0.0},{1.122334455667789,0.9086778736937755} error=2 Any help would be appreciated! Michael |