Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using JDBC in WEBLOGIC

 
santosh akella
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i am new to weblogic and infact to j2ee.
i have made some simple prgs in jdbc...
i am thinking of starting with jdbc in weblogic , i have followed the steps given by bea .
but it is giving soome error like nullpointer exception when i am trying to connect oracle database in another system.
may be i am thinking it is due to the port no specification . how can i find out on which port is oracle database is running ...

thanks
 
Andy Hahn
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Typically databases listen on port 1433. if you are unser, you may want ot ask your DBA.
 
Carol Enderlin
drifter
Ranch Hand
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1521 more common in my experience with oracle. or 1522, 1526, etc. Hopefully you have someone to ask.
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Andy Hahn:
Typically databases listen on port 1433. if you are unser, you may want ot ask your DBA.


That's default port for MS SQLServer as 1521 is the default port for oracle. Usually on production environment the DBA configures the DB to listen in a different port.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic