This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Grokking Bitcoin and have Kalle Rosenbaum on-line!
See this thread for details.
Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

how start the tnslistener / how edit connection string  RSS feed

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi master
sir i am useing jsp with oracle
my page give me right result in my system but when i test client system then system give me this error
*****
Database Log In Failed
TNS could not resolve service name
Verify that the TNS name in the connectstring entry of the DAD for this URL is valid.
****
sir i post my problem in java.sun forum he reply me as under
================
on your machine where your db is installed, start the tnslistener of your database, make sure that your connection string is pointing to that machine

jdbcracle:thin:@<ip or hostname of machine where your db is installed>: 1521:aamir
===========

please give me idea how i run my page in client system

tahnk's

aamir
 
author
Posts: 4106
24
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since this question is not really about JDBC and Oracle specific, moving it to Oracle forum.
 
ranger
Posts: 17344
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So in your test environment, where should Oracle be running? Is it just that your DBA set up a test server and that is where your tests should run, or is it an Oracle server version that is running on your local machine? I am assuming that the DBA has a test server. And you just don't have the correct URL for it, or the DBA doesn't have it running, either way you need to go to your DBA.

If it is running local, then you need to read up a bit more on Oracle on how to run the server.

Mark
 
Evil is afoot. But this tiny ad is just an ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!