I have an interesting problem. First, here's the environment:

Linux 2.2 (Redhat 7)
Apache 1.4 (not involved in this example)
Tomcat 3.2.1
Macromedia Ultradev 4 for development
MySQL 3.30
Mm.mysql driver for JDBC

I can create a database connection in Ultradev, and test it, and it returns
proper values. I am selecting a date, a username, and some text. In the
test, the values are fine. When I "go live" and connect to the server
(http:://hostname:8080/something.jsp - bypassing Apache), then the page
displays the date properly, but the username and text are horribly screwed
up. Here's what it looks like:

Date/Time    User    Activity
2001-01-10 10:12:20.0    [B@8b1e6    [B@578dfb
2001-01-10 10:12:20.0    [B@2a987d    [B@13bc1
2001-01-10 10:12:21.0    [B@7a36a2    [B@18c6f3
2001-01-10 10:12:21.0    [B@2d8ecd    [B@7a5e5e
2001-01-10 10:12:21.0    [B@497062    [B@716fa0
2001-01-10 10:12:21.0    [B@57807a    [B@33cac9
2001-01-10 10:12:21.0    [B@467248    [B@78dc08
2001-01-10 10:12:21.0    [B@35c22f    [B@5fd90f
2001-01-10 10:12:21.0    [B@238785    [B@1646fd
2001-01-10 10:12:21.0    [B@ebe18    [B@62433b
2001-01-10 10:12:21.0    [B@2be654    [B@1ea173
2001-01-10 10:12:21.0    [B@79a49f    [B@270107

It could be that the driver is doing something wrong (but why did it work
during the test?), but it appears more likely that tomcat is doing something
to the data: perhaps expecting Unicode?

Any suggestions are appreciated.
-- 
Glen Campbell
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to