By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,939 Members | 1,638 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,939 IT Pros & Developers. It's quick & easy.

need help about aglets

P: 1
we are working in IBM aglets 2.0.2 with mysql 4.0.2.
When we try to access database through tahiti server i.e.aglets we get following error.

java.net.SocketException
MESSAGE: java.security.AccessControlException: access denied (java.net.SocketPer
mission 127.0.0.1:3306 connect,resolve)

STACKTRACE:

java.net.SocketException: java.security.AccessControlException: access denied (j
ava.net.SocketPermission 127.0.0.1:3306 connect,resolve)
at com.mysql.jdbc.StandardSocketFactory.connect(Stand ardSocketFactory.ja
va:143)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:225)
at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:1805)
at com.mysql.jdbc.Connection.<init>(Connection.java:4 52)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java
:411)
at java.sql.DriverManager.getConnection(DriverManager .java:525)
at java.sql.DriverManager.getConnection(DriverManager .java:193)
at Login1.actionPerformed(Form1.java:137)
at java.awt.Button.processActionEvent(Button.java:388 )
at java.awt.Button.processEvent(Button.java:356)
at java.awt.Component.dispatchEventImpl(Component.jav a:3955)
at java.awt.Component.dispatchEvent(Component.java:38 03)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 463)
at java.awt.EventDispatchThread.pumpOneEventForHierar chy(EventDispatchTh
read.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:157)

at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:149)

at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:110)


** END NESTED EXCEPTION **


SQLState: 08S01
VendorError: 0

Please help us.
is there we have to take some permission? if so how???
Apr 3 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.