LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   java upgrade (https://www.linuxquestions.org/questions/linux-server-73/java-upgrade-4175493867/)

uptowndebbie 02-05-2014 06:09 PM

java upgrade
 
We are running a couple of Debian 3.1 32-bit servers and I was required to upgrade my old Java JRE1.5 for a recent software upgrade. Now none of the Java programs work.

I'm not sure if I'm missing something or if my operating system is too old. Thanks for any insight you can give me.

The new version is jre1.7.0_51. Here are a couple of the errors:

1) Java version

./java -version
Error: dl failure on line 863
Error: failed /opt/Oracle_Java/jre1.7.0_51/lib/i386/client/libjvm.so, because /opt/Oracle_Java/jre1.7.0_51/lib/i386/client/libjvm.so: cannot handle TLS data

2) sod

Error: dl failure on line 863
Error: failed /opt/Oracle_Java/jre1.7.0_51/lib/i386/client/libjvm.so, because /opt/Oracle_Java/jre1.7.0_51/lib/i386/client/libjvm.so: cannot handle TLS data


3) /home/earthworm/EIDS_v0.53/EIDS/server_init.sh start

Starting EIDS Notification Server - ERROR, unable to start EIDS Notification Server using command:
java -Djava.awt.headless=true -jar bin/ISTINotifServer.jar -a mbmgquake2.mtech.edu -p 39988 -y storage
Starting EIDS Server - ERROR, unable to start EIDS Server using command:
java -Djava.awt.headless=true -jar bin/QWServer.jar --configFile=conf/server.xml

~/EIDS_v0.53/EIDS
sparetire $ java -Djava.awt.headless=true
Error: dl failure on line 863
Error: failed /opt/Oracle_Java/jre1.7.0_51/lib/i386/client/libjvm.so, because /opt/Oracle_Java/jre1.7.0_51/lib/i386/client/libjvm.so: cannot handle TLS data

~/EIDS_v0.53/EIDS

r0b0 02-06-2014 06:32 AM

I am sure you are aware but still: Support for Debian 3.1 ended 5 years ago.

The error message "cannot handle TLS data" indicates a compatibility issue between your software (java7) and your libc. In other words, your server OS is too old.

uptowndebbie 02-06-2014 09:23 AM

Thanks
I'm in the arduous process of upgrading all servers in addition to my actual job.

tombelcher7 02-13-2014 06:54 AM

Some advice (dependent on complexity and size of apps):

I would suggest knocking up a non production virtual server for example on virtualbox and installing the latest Debian Stable Server and copying your java apps over to it. This way you can do some non-consequential tests to see how your software reacts to the new environment.

This way you can plan the migration / upgrade(s) more accurately so that you can liaise with the stakeholders in a more considered fashion.


All times are GMT -5. The time now is 12:54 AM.