Frequently Asked Questions Frequenty Asked Questions

FAQs

Here you will find commonly asked questions of the ResCarta support team...

Latest JAVA ISSUES

 We have suggested using Oracle (previously Sun Microsystems) JAVA for many years, but recent events has changed our thinking.

Oracle will no longer provide free continuing support (updates) for OpenJDK LTS versions at https://jdk.java.net

AdoptOpenJDK does provide support at https://adoptopenjdk.net/ .

AdoptOpenJDK is now distributing OpenJDK msi installers. The installers will optionally updated the PATH and JAVA_HOME. We recommend removing Oralcle JAVA with the operating system supported method and installing OpenJDK 11 LTS.  Version 7.0.2 of the ResCarta Toolkit supports OpenJDK 11.

AdoptOpenJDK is also providing updates to OpenJDK 8.

The most asked question concerns the use of 32bit JAVA on a 64bit machine.  It you are using a 64bit operating system, download the 64bit JAVA from Oracle.  The current url for JAVA 8 from Oracle is.

http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html   

Take care not to update to unsupported versions of 9, or 10

For those running "ix" operating systems ...

$ sudo apt-get install openjdk-11-jdk

or 

$ su -c "yum install java-1.8.0-openjdk"

 

During the installation of the ResCarta Toolkit you will see that the installer selects 32bit or 64bit options based on your installed JAVA. If you run 32bit JAVA on a 64bit machine you will get poor performance and have access to only one gigabyte of memory.

Most ResCarta problems over the years involve early untested releases of JAVA by Oracle. See the history of releases at wikipedia.  If you see a release date within a day or two of another release date, chances are you will be experiencing some malfunction.  We advise updating JAVA only if you need to do so for some known reason.

https://en.wikipedia.org/wiki/Java_version_history#Java_SE_8

 

 

 

Ubuntu 20.04.2 and Data Conversion Tool

July 29, 2021

 

After upgrading or moving on to Ubuntu 20.04.2 the Data Conversion Tool fails using the tesseract module. 

You will encounter an error like...

 
 Error converting page 1 of SOMEFILENAME.tif: Unable to load library 'libtesseract.so.3': Native library (linux-x86-64/libtesseract.so.3) not found in resource path.
 
This is due to a change in UBUNTU and lack of libpng12-0  which has been a problem since 18.04.
 
We will correct this with the next full release of the Toolkit but until then (we are moving servers and office locations at present) please use the following fixes found on the internet.
 
 

Images gone when doing a search (2012-10)

When I browse items I can then open the imageviewer and see them.  But when I do a simple search and open a resulting object the image does NOT display.  I get a red line where the image should be. What's up with that?

This is due to an update to your JAVA jre.

 

Looks like a problem with the newest JAVA 1.7.0_07 (b11) in the 32bit version only. We have downloaded the 32bit, the 64bit and the Java Development kit (jdk) The 32bit version of (build 1.7.0_07-b11) is missing the JPEG decoder/encoder so when you go to overlay the color highlights on the page the program will fail

 

 

You can look in your log file to see if there is something like the

following ++++++++++++++++++++++++++++++++++++++++++++

Can't load standard profile: PYCC.pf

ResCarta-Web: Sorting metadata...(Done)

java.lang.IllegalArgumentException: Can't load standard profile: PYCC.pf

at java.awt.color.ICC_Profile.getInstance(Unknown Source)

at java.awt.color.ColorSpace.getInstance(Unknown Source)

+++++++++++++++++++++++++++++++++++++++

This code is not missing in  Oracle 64bit JAVA, or Linux or MAC versions. It also is not missing in the Oracle 32bit Windows Java Development Kit version.

 

The fix would be to  uninstall your Oracle JAVA  1.7.0_07 (b11)  32bit JRE  and replace it with the Oracle  32bit JDK

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

OR if you are running the Windows 7 64bit operating system.

 

The Cure would be to first uninstall your ResCarta tools 3.1.0, Uninstall your 32bit java. Use the 64bit IE browser and go to JAVA.COM and let the installer install a new 64bit version of Java then reinstall your ResCarta Tools 3.1.0.

(2012-10-03)

The Handle is Invalid

Windows7 with i7 processor gives error "The handle is invalid." while converting data.

When running systems with multiple core processors and lots of memory, you may have to tune your system for best performance by controlling the memory allocated to the Data Conversion tool in the "C:\Program Files\RcTools-3.0.#\bin\RcDct.l4j.ini" file  and the number of cores allowed by .RcTools\config\RcSystem.properties file in the users home directory.

If you encounter a "The handle is invalid" "error during processing, open the RcSystem.properties file and edit the number of cores from "0" to 2. See the line "org.rescarta.dct.maxThreads=0" and change this to "org.rescarta.dct.maxThreads=2".  Remove the directory that the Data conversion tool created in your RCDATA01 directory with any number of files that may have completed.  Restart the Data Conversion tool.

You should notice a reduction in speed of conversion but the conversion should complete.

To regain use of multiple cores, increase your system ram allowed in the "C:\Program Files\RcTools-3.0.#\bin\RcDct.l4j.ini" file.  Change the default "-Xmx1G" to  80% of your available memory.  So if you have 8gigs of ram change this to "-Xmx6G"  or six gigabytes.  Then increase the number of cores from "2" above until you can consistently process your data.

There is a dance that takes place during conversion between the processors and the number of files in a directory and the limit of usable memory.  In the  image below you can see two resulting RCDATA01 directories.  The one on the left used Six cores and Six gigs of ram while the one on the right used two cores and one gig of ram.  See the difference in the times of creation of the directories?  Six cores took 16 minutes while the two cores took 26 minutes to process the same raw data.

 

core error screen shot

ResCarta tools version 3.0.1 and above ship with a one gigabyte memory setting and the system core setting at "0" .  This works best for lower powered machines but can cause problems with more powerful systems.

Write us if you find this faq doesn't clear up your "handle" problem. This email address is being protected from spambots. You need JavaScript enabled to view it.

 

Ghostscript Hangs

When converting some pdf files my data conversion tool hangs and gives no error in the error logs.

This is a change in Ghostsrcipt in the 64bit windows version. The output warning that the file being converted is not created according to the PDF standards in now being directed to an error level. This causes the data conversion to wait for Ghostscript while Ghostscript waits for the data conversion tool.  We have released a correction in version 3.0.3 of the ResCarta Toolkit.