[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Upgrading the Java in RaQ 3



The Cobalt RaQ 3 and 4 server appliances ship with a version 1.2 Java Runtime Environment (JRE). (If you want to see the rpms themselves, they are ftp://ftp.cobaltnet.com/pub/products/raq3/RPMS/jre-1.2-v2.i386.rpm , and ftp://ftp.cobaltnet.com/pub/products/raq4/RPMS/jre-1.2-v2.i386.rpm , respectively.)

If you want to update the JRE, or install a complete JDK environment, you may encounter the following problems.

The Blackdown Java 1.2.2 VM or the IBM 1.3 JVM require glibc-2.1.2 or better. The RaQ 4 ships with glibc-2.1.3 -- so no problem. But the RaQ 3 ships with glibc-2.1.1.

The problem is that if you install glibc-2.1.3 onto a RaQ 3 then the Cobalt administrative Perl scripts break, due to a bug in the way the postgreSQL DBD for perl interacts with glibc 2.1.3.

There is a patch for this problem on a RaQ 3. It follows:

--->8---->8---->8 start of patch file ---->8---->8---->8
--- old Wed Jun 28 14:44:14 2000
+++ /usr/lib/perl5/site_perl/5.005/Cobalt/Meta.pm       Wed Jun 28
14:41:45 2000
@@ -424,7 +424,7 @@
     }

     my $res = $dbc->exec("SET CLIENT_ENCODING TO '$encoding'");
-    $ENV{ "PGCLIENTENCODING" } = $encoding;
+#    $ENV{ "PGCLIENTENCODING" } = $encoding;
 }

 ############### get_encoding
---->8----->8----->8 end of patch file ----->8----->8----->8