Results 1 to 3 of 3
Thread: connecting to remote SQL server
- 02-23-2009, 06:32 AM #1
Member
- Join Date
- Feb 2009
- Posts
- 1
- Rep Power
- 0
connecting to remote SQL server
How to connect to a remote database server(SQL server 2005) using JSP?
I know this connectivity for local host, but don't know how to do this for a remote database server.
I don't know how to check that the server is configured for outside access.
Is JTDS a solution for this problem? If so how to place the jar file in the classpath?
Thanks in advance.
- 02-23-2009, 08:29 AM #2
Senior Member
- Join Date
- Jun 2008
- Posts
- 2,366
- Rep Power
- 7
Change "localhost" in the URL to the server ip address/hostname, maybe? Have you even tried?
Speak with the administrators of the servers (and network because of possible firewall/proxy issues), or if they are yours, find correspondings forums, as those issues are system issues, and not Java issues.I don't know how to check that the server is configured for outside access.
Seeing as how that is a JDBC Driver for MS SQL Server (If I remember right), yes. Check the documentation for your app server / web container.Is JTDS a solution for this problem? If so how to place the jar file in the classpath?
Thanks in advance.Last edited by masijade; 02-23-2009 at 11:37 AM.
- 04-04-2009, 06:11 AM #3
Member
- Join Date
- Apr 2009
- Posts
- 8
- Rep Power
- 0
Similar Threads
-
Connecting to SQL Server 2008 DB
By Lyle in forum EclipseReplies: 1Last Post: 02-22-2009, 04:26 PM -
Applet connecting to server
By zenMarko in forum Java AppletsReplies: 1Last Post: 11-15-2008, 04:32 PM -
Connecting To SQL Server
By rmaadil in forum JDBCReplies: 7Last Post: 08-20-2008, 05:53 PM -
Connecting to a Web server
By Java Tip in forum java.netReplies: 0Last Post: 04-07-2008, 07:57 PM -
Java connecting to sql server 2005
By pelegk2 in forum JDBCReplies: 0Last Post: 04-05-2008, 09:17 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks