network « Connection « Java Database Q&A





1. connecting to database through network using java application    stackoverflow.com

hey guys can you please help me again, i want my restaurant system to connect to database through network i.e. when waiter place order using handheld computer(PDA) and sending it to ...

2. What is a Connection in JDBC?    stackoverflow.com

What is a Connection Object in JDBC ? How is this Connection maintained(I mean is it a Network connection) ? Are they TCP/IP Connections ? Why is it a costly operation ...

3. odd jdbc connection hanging problem : network issues? How to fix?    stackoverflow.com

One of our customers has a newish problem: the application grinds to halt. Thread dump shows that all threads are hanging on network IO in jdbc calls. We/I have never seen ...

6. Io Exception: The Network Adapter could not establish the connection    coderanch.com

Hi, Even I am getting same problem. Did u guys were able to solve your problem. I tried to ping my host and I was getting packets from the host. I am also able to get the connectivity to the database using sqlplus. Error Code is 17002 This code worked fine before. I am not sure why I am getting this ...

7. Io exception: The Network Adapter could not establish the connection    coderanch.com

Originally posted by Jeanne Boyarsky: Kalyan, Welcome to JavaRanch! You are correct that you are sometimes having connectivity issues. Is there any pattern for when the error occurs? If it occurs once, does it work if you try again right away? Hi I am also facing same type of problem enviroment Weblogic vj++ for connecting to Oracle Application is quite stable ...

8. IO Exception :NetWork Adapter could not establish the connection    coderanch.com

last few days , i am facing below error in prodcution enviroment Io exception: The Network Adapter could not establish the connection java.sql.SQLException: Io exception: The Network Adapter could not establish the connection at oracle/jdbc/dbaccess/DBError.throwSqlException at oracle/jdbc/dbaccess/DBError.throwSqlException at oracle/jdbc/driver/OracleConnection. Application is j2ee based using weblogic as application server. this application is quite stable & after seeing the logs for last two ...

9. Losing Network Connection    coderanch.com

I have a couple of applications that are connecting to a DB2 database. Every once in a while, we will lose our network connection to the PC that one of these apps is running on. When the network connection comes back, everything on the PC works fine, except the application. It's like it is not picking back up the network connection ...





12. The Network Adapter Could not establish the Connection....    coderanch.com

Please Solve my problem import java.sql.*; // From java path import javax.sql.*; // From java path import oracle.jdbc.pool.*; // From Oracle path class Test { public static void main(String a[]) { try { OracleDataSource src = new OracleDataSource(); src.setDriverType("thin"); src.setServerName("localhost"); src.setPortNumber(1521); src.setDatabaseName("orcl"); // is this the name of DB we see at the time of installation ? i think something is ...

13. Unable to establish a network connection    coderanch.com

I have been struggling all day to make a JDBC connection to my Oracle database. Here is the connection code I have: * Creates a JDBC connection to the database. * * @return The statement associated with this connection instance. */ private Statement connectToDB() { Statement stmt = null; try { // Load the JDBC driver Class.forName("oracle.jdbc.driver.OracleDriver"); // Define the connection ...

14. The Network Adapter could not establish the connection in jdbc connection    coderanch.com

Hi, Actually I installed VM ware and installed Winows Xp sp2 in that VM ware. later i installed Oracle. it is listening to port 1521 only. but i could not find where i am getting error. If anybody know about this problem, can help to me to resolve this error. Advanced thanks to all

16. java.sql.SQLException: Io exception: The Network Adapter could not establish the connection    coderanch.com

A sample hibernate cnfg file i used in my application to connect to mysql, which is working fine... May be you can refer to this too.. com.mysql.jdbc.Driver jdbc:mysql://localhost:3306/dbhibernate root **** 1 org.hibernate.dialect.MySQL5Dialect thread true ...





17. The Network Adapter could not establish the connection    coderanch.com

Hi There, We have an application with client -server model. Application server uses JBoss as web server and the DB uses Oracle 10g as database. Currently we are facing a peculiar problem. Intermittently [and suprisingly at off-peak hours] we get the below mentioned error for few seconds and everything works fine thereon. This happens even though we have tried to run ...

18. how to connect db in local network    forums.oracle.com

Let me see if I got what you mean. You are trying to connect to your database from the localhost(works fine) and from another computer in the same network(error). Well, and all I that you are changing in your code is String Url? When you connect from the localhost, all you need it is to create a Connection object. But to ...