Home > Archive > MySQL Java > August 2005 > MacOS issues









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author MacOS issues
Lisa N. Michaud

2005-08-31, 8:23 pm

OK, it's time for another one of my really stupid questions:

I've finally installed my applet and DB on a server and, much to my
shock, it does not work when accessed from a Mac (on any of these
three browsers: Firefox, IE, or Safari).

I can't for the life of me find any kind of Java Console to see
what's up, aside from the error message that there was a NullPointer
exception. I'm thinking that it failed to connect to the DB, so I'm
wondering: is there anything about the JRE on MacOS that doesn't get
along nicely with ConnectorJ (version 3.1.10)? (I did update the JRE
version to 1.5 on the Mac I was using to test.)

The applet in question is here:

http://kingalfred.wheatoncollege.edu/tutor.html

(And yes, it does take FOREVER to load.) It works just fine when
accessed from a PC. Any help would be appreciated. Thanks!

--lisa

Lisa N. Michaud, Assistant Professor of Computer Science
Department of Mathematics and Computer Science
Wheaton College, Norton, Massachusetts
lmichaud@wheatoncoll
ege.edu
http://cs.wheatoncollege.edu/lmichaud


--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=m...sie.nctu.edu.tw

Gorazd Golob

2005-08-31, 8:23 pm


did you check if you have .java.policy file in your home directory - where
you allow some things that are not allowed for java on system. This
shouldn't be jconnector or db issue.

On Wed, 31 Aug 2005, Lisa N. Michaud wrote:

> OK, it's time for another one of my really stupid questions:
>
> I've finally installed my applet and DB on a server and, much to my shock, it
> does not work when accessed from a Mac (on any of these three browsers:
> Firefox, IE, or Safari).
>
> I can't for the life of me find any kind of Java Console to see what's up,
> aside from the error message that there was a NullPointer exception. I'm
> thinking that it failed to connect to the DB, so I'm wondering: is there
> anything about the JRE on MacOS that doesn't get along nicely with ConnectorJ
> (version 3.1.10)? (I did update the JRE version to 1.5 on the Mac I was
> using to test.)
>
> The applet in question is here:
>
> http://kingalfred.wheatoncollege.edu/tutor.html
>
> (And yes, it does take FOREVER to load.) It works just fine when accessed
> from a PC. Any help would be appreciated. Thanks!
>
> --lisa
>
> Lisa N. Michaud, Assistant Professor of Computer Science
> Department of Mathematics and Computer Science
> Wheaton College, Norton, Massachusetts
> lmichaud@wheatoncoll
ege.edu
> http://cs.wheatoncollege.edu/lmichaud
>
>
> --
> MySQL Java Mailing List
> For list archives: http://lists.mysql.com/java
> To unsubscribe: http://lists.mysql.com/java? unsub=...fo
rum.si

>
>
>


--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=m...sie.nctu.edu.tw

Lisa N. Michaud

2005-08-31, 8:23 pm


On Aug 31, 2005, at 3:09 PM, Gorazd Golob wrote:

>
> did you check if you have .java.policy file in your home directory
> - where you allow some things that are not allowed for java on
> system. This shouldn't be jconnector or db issue.


I have found a java.policy file at

.... but I'm not certain from what little documentation I've found
online so far what I should do with it.

I *did* find out how to turn on the Java Console, so now I have a
full error message:

SQLException connecting to DB: Communication link failure:
java.io.IOException, underlying cause: Unexpected end of input stream

It is indeed happening right when I'm trying to open the connection.
And again, this is not an error that happens under Windows....

--lisa


Lisa N. Michaud, Assistant Professor of Computer Science
Department of Mathematics and Computer Science
Wheaton College, Norton, Massachusetts
lmichaud@wheatoncoll
ege.edu
http://cs.wheatoncollege.edu/lmichaud


--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=m...sie.nctu.edu.tw

Gorazd Golob

2005-08-31, 8:23 pm

This can be issue with jdbc driver. If you are using mysql 4.1 or above
you need jconnector 3.1. I've got same issues when using 3.0 with mysql
4.1.



On Wed, 31 Aug 2005, Lisa N. Michaud wrote:

>
> On Aug 31, 2005, at 3:09 PM, Gorazd Golob wrote:
>
>
> I have found a java.policy file at
>
> ... but I'm not certain from what little documentation I've found online so
> far what I should do with it.
>
> I *did* find out how to turn on the Java Console, so now I have a full error
> message:
>
> SQLException connecting to DB: Communication link failure:
> java.io.IOException, underlying cause: Unexpected end of input stream
>
> It is indeed happening right when I'm trying to open the connection. And
> again, this is not an error that happens under Windows....
>
> --lisa
>
>
> Lisa N. Michaud, Assistant Professor of Computer Science
> Department of Mathematics and Computer Science
> Wheaton College, Norton, Massachusetts
> lmichaud@wheatoncoll
ege.edu
> http://cs.wheatoncollege.edu/lmichaud
>
>
> --
> MySQL Java Mailing List
> For list archives: http://lists.mysql.com/java
> To unsubscribe: http://lists.mysql.com/java? unsub=...fo
rum.si

>
>


--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=m...sie.nctu.edu.tw

Lisa N. Michaud

2005-08-31, 8:23 pm


On Aug 31, 2005, at 3:04 PM, Lisa N. Michaud wrote:


>
> The applet in question is here:
>
> http://kingalfred.wheatoncollege.edu/tutor.html
>


Oh, I forgot - our admin types aren't allowing outside connections
yet. Sorry for anyone who was trying to be helpful and test it for me.

On Aug 31, 2005, at 4:07 PM, Gorazd Golob wrote:

> This can be issue with jdbc driver. If you are using mysql 4.1 or
> above you need jconnector 3.1. I've got same issues when using 3.0
> with mysql 4.1.
>
>
>


I have jconnector 3.1.10, mysql 4.1.12a-nt.

--lisa


Lisa N. Michaud, Assistant Professor of Computer Science
Department of Mathematics and Computer Science
Wheaton College, Norton, Massachusetts
lmichaud@wheatoncoll
ege.edu
http://cs.wheatoncollege.edu/lmichaud


--
MySQL Java Mailing List
For list archives: http://lists.mysql.com/java
To unsubscribe: http://lists.mysql.com/java?unsub=m...sie.nctu.edu.tw

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com