Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 60627 invoked from network); 19 Nov 2005 03:04:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Nov 2005 03:04:09 -0000 Received: (qmail 94525 invoked by uid 500); 19 Nov 2005 03:04:03 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 94513 invoked by uid 500); 19 Nov 2005 03:04:03 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 94499 invoked by uid 99); 19 Nov 2005 03:04:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2005 19:04:02 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.96.26.251] (HELO mail.fallingonline.com) (68.96.26.251) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2005 19:05:35 -0800 Received: from localhost (localhost [127.0.0.1]) by mail.fallingonline.com (Postfix) with ESMTP id C148443B24 for ; Fri, 18 Nov 2005 21:03:44 -0600 (CST) Received: from mail.fallingonline.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03285-03 for ; Fri, 18 Nov 2005 21:03:40 -0600 (CST) Received: from [192.168.10.4] (unknown [192.168.10.4]) by mail.fallingonline.com (Postfix) with ESMTP id 607A143B04 for ; Fri, 18 Nov 2005 21:03:40 -0600 (CST) Mime-Version: 1.0 (Apple Message framework v746.2) In-Reply-To: <1132342991.5098.11.camel@knossos.elmet> References: <39066C4E-3ACC-41CB-A069-96D4988C53AA@fallingonline.com> <1132342991.5098.11.camel@knossos.elmet> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Ryan McGuinness Subject: Re: Betwixt: JRE compatabilities Date: Fri, 18 Nov 2005 21:03:42 -0600 To: "Jakarta Commons Users List" X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: by amavisd-new at fallingonline.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N An FYI for developers, cutting and pasting is not always a good thing, it can often times put non printable characters into a file. This is a problem I ran into when trying to use Betwixt with the IBM JDK. Here is a perl script for removing those characters: #!/usr/bin/perl -w use strict; sub cleanFile{ my $file = shift; } sub readDir{ my $dir = shift; my @dirs = (); if (-d $dir) { opendir CDIR, $dir; foreach my $file (readdir(CDIR)) { my $path = $dir . "/" . $file; if (-f $path) { #Clean the file my $clean = `tr -cd '\11\12\40-\176' < $path > $path`; } elsif (-d $path and not ($path =~ /[\.]|[\.\.]/)) { readDir($path); } } } } die "Usage $0 \n" if (not $ARGV[0] and not -d $ARGV[0]); &readDir($ARGV[0]); exit 1; On Nov 18, 2005, at 1:43 PM, robert burrell donkin wrote: > On Thu, 2005-11-17 at 21:39 -0600, Ryan R. McGuinness wrote: >> Which JRE's are betwixt compatible with? More directly, does it work >> with IBM JDK 1.3 (or 1.3 at all)? Which libraries are needed to make >> this work? > > the last betwixt release was compiled against using blackdown > 1.3.1. (i > don't have a 1.3.0 JDK which will run against my current kernel.) > >> This stems from the fact that I am running betwixt on AIX in >> WebSphere 5.1, and I am not getting any debugging out in my log >> files. The code is working fine in test, but when I deploy: BLAMMO no >> worky-worky. Any insight is appreciated. > > i recommend recompiling from source using the IBM 1.3 JDK JVM and > retrying. > > the 1.3 JRE you are using may not ship with JAXP: if it does not then > you need to download and install JAXP > (http://java.sun.com/webservices/jaxp/index.jsp) any version > compatible > with your JVM should work. > > - robert > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org