tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Brownell <>
Subject Re: Tomcat on IBM OS/390?
Date Fri, 19 Nov 1999 09:19:30 GMT
"Preston L. Bannister" wrote:
> >From the thundering silence I assume the answer is "no" :).
> I tried running the 1999/11/17 current version (from CVS) of
> Tomcat on OS/390.  It failed on trying to parse server.xml,
> because I'd translated server.xml to EBCDIC.

[ You omitted the diagnostic, but I know what _should_ happen... ]

First try it without transcoding anything at all.  It should
work just fine.  If it doesn't, that's a bug.

Then if that works, try the transcoding but make sure you give
the appropriate XML declaration, like

	<?xml version='1.0' encoding='EBCDIC-CP-US'?>

If you don't provide such a declaration, things are pretty
much guaranteed to break -- as in, if they don't, it's a bug.

>	  It seems like readable text on ASCII machines should
> be readable text on EBCDIC machines.  This
> means that ASCII text files should become EBCDIC on EBCDIC machines.
> Should *.xml be UTF8 on EBCDIC machines?  Seems a bit awkward
> for the administrator, but that's how I read the intent from my XML
> book.

EBCDIC should work just fine -- if, and only if, you declare
it correctly.  That XML book would be wrong; use whatever
encoding you really want, but if it's not UTF-8 or UTF-16
(or honest 7-bit ASCII) you _must_ declare its encoding.

- Dave

> So I translated all the *.xml and *.dtd files back to ASCII
> (unique file extensions help when doing this BTW).  Got a
> bit further... (we have a slow 390 box, so tests take a while :).
> > -----Original Message-----
> > From: Preston L. Bannister []
> > Sent: Thursday, November 11, 1999 3:36 PM
> > To:
> > Subject: Tomcat on IBM OS/390?
> >
> >
> > Has anyone attempted to run Tomcat on IBM OS/390?
> >
> > No point in repeating work already done (if done :).
> >
> > About the only issue *should* be character sets...
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message