permaculture playing cards*
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
Author

using JDBC in WEBLOGIC

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 ...

thanks
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
drifter
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: http://aspose.com/file-tools
 
subject: using JDBC in WEBLOGIC