Re: [Dspace-tech] Pxpdf-mediafilter configuration
Morning from Nairobi, Robert. :) Here are the notes I took when I prepared our servers for Xpdf thumbnails: https://gist.github.com/alanorth/b71a458e9b83c3a8015a They are basically a copy paste able version of the ones in the DSpace docs Helix linked to. Alan On 02/06/2014 05:14 PM, helix84 wrote: I see. Did you skip this step? https://wiki.duraspace.org/display/DSDOC4x/Configuration+Reference#ConfigurationReference-Fetchandinstalljai_imageioJAR If you didn't, did you do it under the same user as you're building DSpace? Above you're building DSpace as root, so in that scenario you'd also need to install jai_imageio to root's ~/.m2/. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Alan Orth alan.o...@gmail.com http://alaninkenya.org http://mjanja.co.ke I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. -Bjarne Stroustrup, inventor of C++ GPG Public Key: 0xf92c4bd91084bb5de14e20be9470dd588dd1026c signature.asc Description: OpenPGP digital signature -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Pxpdf-mediafilter configuration
Also, you will need to enable Xpdf in dspace.cfg... just in case the docs don't make sense, here's my commit which does this for our DSpace: https://github.com/ilri/DSpace/commit/30c1460bb17d5e357a4002503da8cc066c823449 Alan On 02/07/2014 11:12 AM, Alan Orth wrote: Morning from Nairobi, Robert. :) Here are the notes I took when I prepared our servers for Xpdf thumbnails: https://gist.github.com/alanorth/b71a458e9b83c3a8015a They are basically a copy paste able version of the ones in the DSpace docs Helix linked to. Alan On 02/06/2014 05:14 PM, helix84 wrote: I see. Did you skip this step? https://wiki.duraspace.org/display/DSDOC4x/Configuration+Reference#ConfigurationReference-Fetchandinstalljai_imageioJAR If you didn't, did you do it under the same user as you're building DSpace? Above you're building DSpace as root, so in that scenario you'd also need to install jai_imageio to root's ~/.m2/. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Alan Orth alan.o...@gmail.com http://alaninkenya.org http://mjanja.co.ke I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. -Bjarne Stroustrup, inventor of C++ GPG Public Key: 0xf92c4bd91084bb5de14e20be9470dd588dd1026c signature.asc Description: OpenPGP digital signature -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Pxpdf-mediafilter configuration
Hello Guys, I am configuring Pxpdf-mediafilter on my ubuntu dspace 3.2 server, it's not working. Below are my logs. Kindly help [INFO] DSpace SOLR :: Local Customizations [INFO] DSpace OAI 2.0 :: Local Customizations [INFO] DSpace Assembly and Configuration [INFO] [INFO] [INFO] Building DSpace Addon Modules 3.2 [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ modules --- [INFO] [INFO] [INFO] Building DSpace Kernel :: Additions and Local Customizations 3.2 [INFO] [INFO] [INFO] Reactor Summary: [INFO] [INFO] DSpace Addon Modules .. SUCCESS [0.667s] [INFO] DSpace Kernel :: Additions and Local Customizations FAILURE [1.212s] [INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SKIPPED [INFO] DSpace LNI :: Local Customizations SKIPPED [INFO] DSpace JSP-UI :: Local Customizations . SKIPPED [INFO] DSpace SWORD :: Local Customizations .. SKIPPED [INFO] DSpace SWORD v2 :: Local Customizations ... SKIPPED [INFO] DSpace SOLR :: Local Customizations ... SKIPPED [INFO] DSpace OAI 2.0 :: Local Customizations SKIPPED [INFO] DSpace Assembly and Configuration . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 2.762s [INFO] Finished at: Fri Jan 31 11:41:04 EAT 2014 [INFO] Final Memory: 8M/19M [INFO] [ERROR] Failed to execute goal on project additions: Could not resolve dependencies for project org.dspace.modules:additions:jar:3.2: Failure to find javax.media:jai_core:jar:1.1.2_01 in http://oss.sonatype.org/content/repositories/releases/ was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-releases has elapsed or updates are forced - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn goals -rf :additions -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Pxpdf-mediafilter configuration
Try it again with: mvn -U clean package Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Pxpdf-mediafilter configuration
Thanks for your response with mvn -U clean package build runs successfully but sudo mvn -Pxpdf-mediafilter-support package trying to enable that package it fails. Kind Regards, Robert On Thu, Feb 6, 2014 at 4:22 PM, helix84 heli...@centrum.sk wrote: Try it again with: mvn -U clean package Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Robert Achang'a Onyari box 53174, 00200 Nairobi, Kenya. +254 726240903 -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Pxpdf-mediafilter configuration
It should be within the same mvn run: mvn -U clean package -Pxpdf-mediafilter-support Alternatively, delete your ~/.m2/ directory to force maven to download all dependencies again. Do you have any reason to run maven as root? There's no need to do so. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Pxpdf-mediafilter configuration
Actually i have run it before while troubleshooting. i deleted ~/.m2/repository and downloaded afresh and i didn't work. I have done it again today, check the error message below Downloaded: http://repo.maven.apache.org/maven2/org/apache/ant/ant/1.7.0/ant-1.7.0.jar(1260 KB at 120.2 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/com/ibm/icu/icu4j/3.8/icu4j-3.8.jar(4350 KB at 95.2 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/apache/pdfbox/pdfbox/1.6.0/pdfbox-1.6.0.jar(3735 KB at 36.4 KB/sec) [INFO] [INFO] Reactor Summary: [INFO] [INFO] DSpace Addon Modules .. SUCCESS [1:09.478s] [INFO] DSpace Kernel :: Additions and Local Customizations FAILURE [9:45.998s] [INFO] DSpace XML-UI (Manakin) :: Local Customizations ... SKIPPED [INFO] DSpace LNI :: Local Customizations SKIPPED [INFO] DSpace JSP-UI :: Local Customizations . SKIPPED [INFO] DSpace SWORD :: Local Customizations .. SKIPPED [INFO] DSpace SWORD v2 :: Local Customizations ... SKIPPED [INFO] DSpace SOLR :: Local Customizations ... SKIPPED [INFO] DSpace OAI 2.0 :: Local Customizations SKIPPED [INFO] DSpace Assembly and Configuration . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 10:59.075s [INFO] Finished at: Thu Feb 06 17:00:19 EAT 2014 [INFO] Final Memory: 10M/26M [INFO] [ERROR] Failed to execute goal on project additions: Could not resolve dependencies for project org.dspace.modules:additions:jar:3.2: The following artifacts could not be resolved: com.sun.media:jai_imageio:jar:1.0_01, javax.media:jai_core:jar:1.1.2_01: Could not find artifact com.sun.media:jai_imageio:jar:1.0_01 in sonatype-releases (http://oss.sonatype.org/content/repositories/releases/) - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command On Thu, Feb 6, 2014 at 4:44 PM, helix84 heli...@centrum.sk wrote: It should be within the same mvn run: mvn -U clean package -Pxpdf-mediafilter-support Alternatively, delete your ~/.m2/ directory to force maven to download all dependencies again. Do you have any reason to run maven as root? There's no need to do so. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Robert Achang'a Onyari box 53174, 00200 Nairobi, Kenya. +254 726240903 -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Pxpdf-mediafilter configuration
I see. Did you skip this step? https://wiki.duraspace.org/display/DSDOC4x/Configuration+Reference#ConfigurationReference-Fetchandinstalljai_imageioJAR If you didn't, did you do it under the same user as you're building DSpace? Above you're building DSpace as root, so in that scenario you'd also need to install jai_imageio to root's ~/.m2/. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette