Questions tagged [service-name]

21 questions
295
votes
8 answers

How to connect to Oracle using Service Name instead of SID

I have a Java application that uses JDBC (via JPA) that was connecting to a development database using hostname, port and Oracle SID, like this: jdbc:oracle:thin:@oracle.hostserver1.mydomain.ca:1521:XYZ XYZ was the Oracle SID. Now I need to connect…
Jim Tough
  • 14,843
  • 23
  • 75
  • 96
13
votes
3 answers

How can I change the SID of an Oracle XE instance

I needed to change the SID of an Oracle XE database (not the Service Name) to match a production database. When I tried searching online, most of the pages were describing changing or adding a service name through tnsnames.ora; that's not what I…
Osama Al-Maadeed
  • 5,654
  • 5
  • 28
  • 48
3
votes
1 answer

Do I need to register my service name with IANA if I'm shipping a bonjour iOS app?

I'm listening to WWDC2012 Session 707 on Bounjour. At 15:25 into the session, the apple engineer explains that you need to register your bonjour service name with IANA before publishing. I found that the link in the presentation does not work, and…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
2
votes
2 answers

Oracle database connections - what are all the fields I need to fill in?

I'm used to using SQL Server and I'm now faced with connecting to Oracle. Can I get some completely unambiguous descriptions for what all the fields I need to fill in are? Specifically, I want to understand what these…
2
votes
2 answers

How can I get service_name and program list by ffmpeg-python

I have a ".ts" file. It is the baseband frame of a DVBS signal which have been recorded. It has some Programs and streams. I use FFmpeg to reconstruct the streams. When I use FFmpeg, this context is shown which contains service_name. How I can…
2
votes
2 answers

Change PostgreSQL service Name - Linux

I have two different PostgreSQL 10 servers running on the same system (using different ports) on a CentOS 6/7 system. Can someone tell me how to name these PostgreSQL services differently? Like when I run a ps on the system, it should show both the…
P_Ar
  • 377
  • 2
  • 9
  • 25
2
votes
1 answer

what differences SID and Service Name when use Oracle SQLDeveloper?

English is not my native please understand When I try to login like system/password as sysdba to oracle(linux) by sqldeveloper(window) It fail when through Service Name and return ORA-0131 :insufficient privileges but SID? successfully passed what…
Vert
  • 29
  • 1
  • 1
  • 7
1
vote
1 answer

K8s Nodeport is faster than service name?

I have 2 k8s application running in a single cluster. When it communicate with service name, it takes 12 seconds to transfer 1 GB data. When communicate with nodeport time is 8sec. Why the service name is slow? Why the nodeport give faster? Actually…
1
vote
1 answer

Connect Oracle DB using service_name instead of SID using ojdbc14.jar driver in WebLogic Server 6.1 SP1 with JDK 3

While Working on a legacy application that first file date back to year 2005. It used to create connection pool that is mapped to DataSource that application connects with, URL: jdbc:oracle:thin:@host.test.intranet:1521:service_name Driver…
Vishesh
  • 133
  • 3
  • 11
1
vote
0 answers

Docker compose service name and hostname

Recently I come across a docker-compose file with the below content: version: '3' services: serviceA: image: someService hostname: local_serviceA I know when calling different services amount the same network, we can refer to the service…
HKIT
  • 628
  • 1
  • 8
  • 19
1
vote
1 answer

SQLPLUS: How to connect using default service SYS$USERS

We have a legacy code which connectes to Oracle DB using SQLPLUS command: sqlplus "$USERNAME/$PASSWORD@//$HOST:$PORT/$SERVICE_NAME" Values of variables USERNAME, PASSWORD, HOST, PORT and SERVICE_NAME are configured using external properties file.…
user613114
  • 2,731
  • 11
  • 47
  • 73
1
vote
3 answers

JDBC - Cant connect to Oracle using Service Name

I have been trying to connect to this Oracle database with JDBC thin driver with the following syntax: var URL = "jdbc:oracle:thin:@//16.161.286.56:1522/Service_Name"; var USER = "user"; var PASS = "password"; var conn = Jdbc.getConnection(URL,…
Daniel Weigel
  • 1,097
  • 2
  • 8
  • 14
1
vote
1 answer

How to connect to oracle using service name in java

I need to connect to oracle db in java Connection con = DriverManager.getConnection("jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=hostname)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=servicename)))"); I am getting below…
Dolly
  • 97
  • 3
  • 18
1
vote
2 answers

Kubernetes NFS: Using service name instead of hardcoded server IP address

I was able to get it working following NFS example in Kubernetes. https://github.com/kubernetes/kubernetes/tree/master/examples/volumes/nfs However, when I want to automate all the steps, I need to find the IP and update nfs-pv.yaml PV file with the…
fatihonurIRL
  • 51
  • 1
  • 9
0
votes
1 answer

Renaming published WCF service library URL for consuming apps

I have a WCF service library project that I publish to a IIS hosted folder. After publishing, a svc is created in the folder and is consumed with a URL like this: http://mysite.com/services/This.Is.My.Namespace.ServiceClassName.svc How can I set…
Chris Klepeis
  • 9,783
  • 16
  • 83
  • 149
1
2