dcsimg
TOMCAT - java.sql.SQLException: Io exception: Bad packet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   John_Green
Posted On:   Wednesday, June 4, 2003 01:09 AM

Hi




while trying to get a connection to oracle db


DataSource ds = (DataSource) envCtx.lookup("jdbc/EmployeeDB");


Connection conn = ds.getConnection();.....



i get the following exception :


java.sql.SQLException: Io exception: Bad packet .


any ideas what is causing that exception ?


thanx in advance.

Re: TOMCAT - java.sql.SQLException: Io exception: Bad packet

Posted By:   John_Green  
Posted On:   Wednesday, June 4, 2003 11:22 PM

no need to answer the question. problem solved.


fixed it by configuring the right port connecting to the db


in conf/server.xml
About | Sitemap | Contact