Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem while connecting mysql db from weblogic server

Status
Not open for further replies.

nkmb

Programmer
May 10, 2006
33
US
Hi,
I am trying to configure a connection to mysql db from weblogic server.I'm getting following error.



Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.SocketException: Permission denied: connect STACKTRACE: java.net.SocketException: java.net.SocketException: Permission denied: connect at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:276) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2666) at com.mysql.jdbc.Connection.<init>(Connection.java:1531) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at weblogic.management.console.utils.JDBC.testConnection(JDBC.java:143) at weblogic.management.console.actions.mbean.JDBCConnectionPoolTestAction.prePerform(JDBCConnectionPoolTestAction.java:114) at weblogic.management.console.actions.mbean.DoMBeanWizardAction.perform(DoMBeanWizardAction.java:215) at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:182) at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) ** END NESTED EXCEPTION ** Last packet sent to the server was 0 ms ago.

somebody help me to get through the problem.
 
Can you connect outside the server? Looks like a user/pass problem.

Cheers,
Dian
 
Hi,

Yes,it is connected.Even i did JDBC program,with that also working.but while doing with weblogic server i am getting this problem.

Thanks,
nkmb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top