Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Connection refused error running JSP on Jdev 10.1.3.0.3.3412 with MySL 5.0

475346Dec 8 2005 — edited May 8 2006
Hello,

I'm using Jdeveloper 10.1.3.0.3.3412 on a Mac with a MySQL database. In Jdeveloper i can make a connection to the database and create adf business components
I've made a JSP page with ADF on a single table. No errors when compiling. When I try to run the JSP Page using Embedded OC4J (on Mac OSX Tiger) I get the error:

5/12/09 00:45:50 java.net.ConnectException: Connection refused
05/12/09 00:45:50 at java.net.PlainSocketImpl.socketConnect(Native Method)
05/12/09 00:45:50 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
05/12/09 00:45:50 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
05/12/09 00:45:50 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
05/12/09 00:45:50 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
05/12/09 00:45:50 at java.net.Socket.connect(Socket.java:507)
05/12/09 00:45:50 at java.net.Socket.connect(Socket.java:457)
05/12/09 00:45:50 at java.net.Socket.<init>(Socket.java:365)
05/12/09 00:45:50 at java.net.Socket.<init>(Socket.java:207)
05/12/09 00:45:50 at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
05/12/09 00:45:50 at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
05/12/09 00:45:50 at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1041)
05/12/09 00:45:50 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:927)
05/12/09 00:45:50 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:98)
05/12/09 00:45:50 at java.lang.Thread.run(Thread.java:613)

What am I doing wrong? The embedded OC4J library is added to the project. I've tried to use the javac compiler. It looks like the OC4J instance cannot make a connection to the db.

Thanks,

Martin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 5 2006
Added on Dec 8 2005
3 comments
405 views