Re: Problem with mysql jdbc Connector

2002-10-13 Thread Mark Matthews

janesh wrote:

 HI
 I am accessing mysql through Websphere 5.0 through jsp file . it says
 SQLException: Cannot connect to MySQL server on host:3306. Is there
 a MySQL server running on the machine/port you are trying to connect to?
 (java.security.AccessControlException)
 SQLState: 08S01
 VendorError: 0
 This exception is also listed in Your mysql driver Readme file , 
 resolution
 for this is not clear.
 Since i am using same machine , and other parameters are correct , i am
 unable to find the solution
 Please get back to me with relevant solution.
 Thanks
 Janesh 


Does WebSphere 5.0 implement security policies? If so, you might not 
have a socket-connect security policy in your JSP.

The java.security.AccessControlException is always thrown from a 
security manager. My guess is WebSphere 5.0 has a custom one or has 
configured the JVM to disallow socket access. You'll have to check your 
WebSphere-5.0 docs to see.

I have run the driver in WebSphere-4.0 and WebSphere-5.0 developer 
edition with no issues, so it must be something related to your 
WebSphere config.

-Mark




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Problem with mysql jdbc Connector

2002-10-11 Thread janesh

HI
I am accessing mysql through Websphere 5.0 through jsp file . it says
SQLException: Cannot connect to MySQL server on host:3306. Is there
a MySQL server running on the machine/port you are trying to connect to?
(java.security.AccessControlException)
SQLState: 08S01
VendorError: 0
This exception is also listed in Your mysql driver Readme file , resolution
for this is not clear.
Since i am using same machine , and other parameters are correct , i am
unable to find the solution
Please get back to me with relevant solution.
Thanks
Janesh



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php