This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes using JDBC in WEBLOGIC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "using JDBC in WEBLOGIC" Watch "using JDBC in WEBLOGIC" New topic


santosh akella
Ranch Hand

Joined: Oct 24, 2004
Posts: 32
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 ...

Andy Hahn
Ranch Hand

Joined: Aug 31, 2004
Posts: 225
Typically databases listen on port 1433. if you are unser, you may want ot ask your DBA.
Carol Enderlin
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
1521 more common in my experience with oracle. or 1522, 1526, etc. Hopefully you have someone to ask.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
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.
I agree. Here's the link:
subject: using JDBC in WEBLOGIC
It's not a secret anymore!