[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Sun Cobalt Developer Kit and MySQL on Raq3
- Subject: [cobalt-developers] Sun Cobalt Developer Kit and MySQL on Raq3
- From: Donald Atkins <datkins23@xxxxxxxxx>
- Date: Wed Aug 8 10:53:28 2001
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hello Developers,
I installed the Sun Cobalt Developer Kit on a Raq 3. It serves up pages fine but I
am having trouble connecting to the mysql db I have on the machine. I keep running
into the following error:
SQLException: Cannot connect to MySQL server on localhost:3306. Is there a MySQL
server running on the machine/port you are trying to connect to?
(java.security.AccessControlException)
I am able to access the db fine from a command line Java program. I am assuming the
Java security sandbox under Tomcat is trying to protect my server. I have tried
adding various CodeBase permissions to the tomcat.policy.custom file. I usually end
up having to reboot the server. I thought about opening up the permissions to
everything but I figure I would eventually regret it. Has anybody gotten this to
work? If so could you please give me some hints or a snippet?
Thanks for any help,
Don Atkins
datkins23@xxxxxxxxx
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/