Connection string & host string
Hello,
What is difference between connection string and host string?
Could someone please clarify it.
Regards
Krishna
In tnsnames.ora file in host part whether we have to specify host name or host IP Address?
ORION.SSAPL01=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = [b]sagardomain.SSAPL01)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
or HOST = 10.15.1.111
Message was edited by:
KRKP
Similar Messages
-
Changing connection string host from localhost to IP address produces error
Hi all,
First of all, thanks in advance for your help. Second, I know next to nothing about Oracle database administration, so please be patient, but I want to understand things, rather than just running down the Google rabbit hole with guess-and-check until things happen to work and I don't know why.
I've got a connection string that I'm using to connect to a local Oracle database I'm using for testing. I have the 11g installed and the 11.1.0.7 64-bit client (as my application is a 64-bit application) installed, both locally on my development machine. I've got a connection working using the following connection string:
Data Source=(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = mywindowslogin.path.to.me)));User Id=********;Password=********;However, when I change "localhost" to my IP address, my computer name, or anything else, I get "ORA-12541: TNS:no listener".
The tnsnames.ora in my database home is as follows - it was set up for me automatically when I installed the database. mywindowslogin.path.to.me doesn't point to anywhere, which I assume is correct, but my computer is on the path.to.me domain.
LISTENER_MYWINDOWSLOGIN =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
MYWINDOWSLOGIN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mywindowslogin.path.to.me)
)How can I resolve this issue?
Edited by: Don on Jul 14, 2010 8:31 AMDoes setting the environment variable affect all installations? Only two of my four Oracle Homes have a tnsnames.ora file, or event a NETWORK/ADMIN location, so I'm not sure where to put tnsnames.ora in those Homes. I copied the tnsnames.ora for my database to the one other Home that had a NETWORK/ADMIN location, but I'm still getting "ORA-12541: TNS:no listener" if I don't use "localhost" as the host.
Thanks!
Edited by: Don on Jul 14, 2010 12:08 PM -
Change local connection string on remote server
Hello,
I have searched every post and tried every connection string there but can't figure out how to connect to my database on my remote server. I am using Visual Developer 2005 Express Edition in C# and uploading it to a Windows server running asp.net 2.0. The domain has not resolved yet.
I am so new to this and have followed many tutorials step by step but none of them address this issue. They just show how to upload it to the server.
Do I need to use the SQL server provided by my host or can the database stay in the App_Data folder?
My local connection string works locally:
<add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\add_newSQL.mdf;Integrated Security=True;User Instance=True"
providerName="System.Data.SqlClient" />
When I uploaded to my server I changed \SQLEXPRESS to (local) as advised in the forum.
<add name="ConnectionString" connectionString="Data Source=(local);AttachDbFilename=|DataDirectory|\add_newSQL.mdf;Integrated Security=True;User Instance=True"
providerName="System.Data.SqlClient" />
When I debug a page I get the <customErrors mode="Off"/>
error message even thought I have already set it in my remote web.config file which may be causing problems itself:
<configuration>
<appSettings/>
<connectionStrings>
<add name="ConnectionString" connectionString="Data Source=(local);AttachDbFilename=|DataDirectory|\add_newSQL.mdf;Integrated Security=True;User Instance=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
<system.web>
<customErrors mode="Off" />
<compilation debug="false" />
<authentication mode="Windows" />
</system.web>
</configuration>
Thanks for any help you can offer. I wish I could find someone to hire to do this part for me or teach me how over the phone. Any suggestions?Is this still an issue?
Thanks!
Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Hello all
This is Charitha Sharma
i want to know how to and where to store connection string in my applications
we are using multi user environment model system ( network model ) 10 clients connects to server
tech is VB2005 AND ORACLE
i dont want to embedd username and password and host name in connection string
please guide me in real time application developement which one is better one
DSN OR WRITING IT IN ANY FILE OR ......
IF DSN HOW TO ACCESS ITS VALUES IN VB?
OR
WHICH WAY I CAN COMPLETE THIS TASK
THANK YOUFirst see whether you've some other configurations also set inside the package for the same properties? ie direct configuration for connection manager properties.
Secondly see if its executed from a job and you're overriding the values through the job properties.
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Connection string fails in CS3
Please tell me how to correct the following connection string
to my database found at
www.lazardev.com/homepage/cosmatic/database/cosmaticdb.mdb.
The sting I'm using is
"Provider=Microsoft.Jet.OLEDB.4.0;data
source=www.lazardev.com/homepage/cosmatic/database/cosmaticdb.mdb"
I'm using Dreamweaver CS3.
CliffThis works in an IIS server:
"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:\Inetpub\wwwroot\001145\ylac611b\HomePage\Cosmatic\ASP\cosmaticdb.mdb"
1. Type part exactly, including the double quote :
"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:\Inetpub\wwwroot
2. Get this part from your ISP:
\001145\ylac611b
the first six numbers are the host computer
the second six characters replace your domain
3. The last part is the path after your domain name:
\HomePage\Cosmatic\ASP\cosmaticdb.mdb"
Include the double quote.
Ask your ISP if your are in an IIS system. -
ISQL*PLUS dynamic reports - how to pass connect string in the URL
When we run dynamic reports thru ISQL*PLUS, does anyone know how
to pass the connect string info in the URL
The following is the code from ISQL*PLUS users guide but it
dosen't show how to pass the connect string
when I tried to pass hr/your_secret_password@dbserver for userid
I got an error msg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<HTML>
<HEAD>
<TITLE>iSQL*Plus Dynamic Report</TITLE>
</HEAD>
<BODY>
<H1>iSQL*Plus Report</H1>
<H2>Query by Employee ID</H2>
<FORM METHOD=get ACTION="http://host.domain/isqlplus">
<INPUT TYPE="hidden" NAME="userid"
VALUE="hr/your_secret_password">
<INPUT TYPE="hidden" NAME="script"
VALUE="http://host.domain/employee_id.sql">
Enter employee identification number: <INPUT TYPE="text"
NAME="eid" SIZE="10">
<INPUT TYPE="submit" VALUE="Run Report">
</FORM>
</BODY>
</HTML>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks
JayThe form you use should work when your change
"hr/your_secret_password" to a valid username, password
and connect identifier like "hr/hr@MYDB". Don't forget to
configure MYDB in your tnsnames.ora file on the machine that has
the iSQL*Plus server.
What was the error you got?
The full URL syntax did seem to go missing from the 9.0.1 doc.
See below for the full syntax. This should be appearing in a
forthcoming FAQ.
- CJ
What syntax can I use to run an iSQL*Plus Dynamic Report?
You can run a dynamic report by entering the report URI in the
location field of your browser, or by making the report server a
link or the action for an HTML form. The iSQL*Plus 9i Release 1
documentation has examples of these.
The general syntax for running a dynamic report is:
{uri}?[userid=logon&]script=location[¶m...]
where uri
Represents the Uniform Resource Identifier (URI)
of the iSQL*Plus Server, for example:
http://host.domain/isqlplus
where logon
Represents the log in to the database to which you
want to connect:
{username[/password][@connect_identifier]}
where location
Represents the URI of the script you want to run.
The syntax is:
http://[host.domain/script_name]
The host serving the script does not have to be
the same as the machine running the iSQL*Plus server.
where param
Specifies the named parameters for the script you
want to run.
Named parameters consist of varname=value pairs.
iSQL*Plus will define the variable varname to equal value prior
to executing the script e.g.
...script=http://server/s1.sql&var1=hello&var2=world
This is equivalent to the SQL*Plus commands:
SQL> define var1=hello
SQL> define var2=world
SQL> @http://server/s1.sql
iSQL*Plus, SQL*Plus and SQL keywords are reserved
and must not be used as the variable names (varname). Note also,
that since variables are delimited by the ampersand character,
there is no requirement to enclose space delimited values with
quotes. However, to embed the ampersand character itself in the
value, it will be necessary to use quotes.
For compatibility with older scripts using the &1
variable syntax, varname may be replaced with the equivalent
variable position as in:
...script=http://server/s1.sql&1=hello&2=world
Note the & is the URL parameter separator and not
related to the script's substitution variable syntax.
Commands and script parameters may be given in any
order in the dynamic report URI. However, please note that if any
parameters begin with reserved keywords such as "script" or
"userid" then it may be interpreted as a command rather than a
literal parameter. -
ORA-01034: ORACLE not available when connect with connect string
Hi,
Database version is- 10.1.0.5.0 on Veritas Cluster, We are able to connect without giving connect string. but when we provide connect string as orcl it gives
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
when we do tnsping it works
$ tnsping orcl
TNS Ping Utility for Linux: Version 10.1.0.5.0 - Production on 08-MAY-2013 15:00:40
Copyright (c) 1997, 2003, Oracle. All rights reserved.
Used parameter files:
/D01/OIDTEST/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = cluster_hostname)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl.test.com)))
OK (0 msec)
tnsnames.ora entry :-
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = cluster_hostname)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.test.com)
listener.ora entry:-
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = orcl.test.com)
(ORACLE_HOME = /D01/OID)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = cluster_hostname)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
listener log contains
08-MAY-2013 14:47:03 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl.test.com)(CID=(PROGRAM=sqlplus)(HOST=physical_hostname)(USER=oraprod))) * (ADDRESS=(PROTOCOL=tcp)(HOST=xx.yy.zz.xx)(PORT=63969)) * establish * orcl.test.com * 0
08-MAY-2013 14:50:49 * ping * 0
08-MAY-2013 14:51:21 * 12502
TNS-12502: TNS:listener received no CONNECT_DATA from client
WARNING: Subscription for node down event still pending
08-MAY-2013 14:51:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=physical_hostname)(USER=oraprod))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168822016)) * status * 0
can you please advice.
Thanks
Edited by: user10702579 on May 8, 2013 11:09 AMHi,
lsnrctl services
LSNRCTL for Linux: Version 10.1.0.5.0 - Production on 09-MAY-2013 08:26:47
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cluster_hostname.test.com)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 1 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfully
$
Thanks -
Hi,
I'm trying to connect to a MS SQL database on an account I
have hosted through GoDaddy.com. It's beginning to drive me a
little loopy. Their server is so different from other webhosts I've
used. Does anyone know how to write the connection string in a
web.config file so that my current applications will work?
Thanks!You will of course have to update with the info they sent
you, but this
should work:
<connectionStrings>
<add name="Personal" connectionString="
Server=whsql-v04.prod.mesa1.secureserver.net;
Database=DB_675;
User ID=user_id;
Password=password;
Trusted_Connection=False"
providerName="System.Data.SqlClient" />
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="
Server=whsql-v04.prod.mesa1.secureserver.net;
Database=DB_675;
User ID=user_id;
Password=password;
Trusted_Connection=False"
providerName="System.Data.SqlClient" />
</connectionStrings>
"jroxit333" <[email protected]> wrote in
message
news:e7ped7$8ag$[email protected]..
>
>
> Hi,
>
> I'm trying to connect to a MS SQL database on an account
I have hosted
> through
> GoDaddy.com. It's beginning to drive me a little loopy.
Their server is
> so
> different from other webhosts I've used. Does anyone
know how to write
> the
> connection string in a web.config file so that my
current applications
> will
> work?
>
> Thanks!
> -
WorkflowCA: TNS Connection String format not recognised
When I launch the scripts /wfinstall.csh, I get following error message:
[oracle@blmcqb install]$ Workflow Configuration Assistant - Linux
4
Parameter "wfdir" = /oracle/product/10.2.0/MPROD/wf
Parameter "orahome" = /oracle/product/10.2.0/MPROD
WorkflowCA: /oracle/product/10.2.0/MPROD/wf/install/workflow.log
WorkflowCA:
WorkflowCA: Workflow Configuration in progress...
WorkflowCA: Thu Mar 08 14:51:26 EST 2007
WorkflowCA:
WorkflowCA: Screen width -1024-, screen height -768-
WorkflowCA: TNS Connection String format not recognised
WorkflowCA:
WorkflowCA: Graphics User Interface mode
WorkflowCA:
WorkflowCA: Thu Mar 08 14:51:58 EST 2007
WorkflowCA: Invalid connect methodTWO_TASK=]
WorkflowCA: Terminating..
However, I can access the database without any problem:
[oracle@blmcqb install]$ tnsping OWBLAB
TNS Ping Utility for Linux: Version 10.2.0.3.0 - Production on 08-MAR-2007 15:01:24
Copyright (c) 1997, 2006, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = blmcqb)(PORT = 1522))) (CONNECT_DATA = (SERVICE_NAME = OWBLAB)))
OK (0 msec)
[oracle@blmcqb install]$ sqlplus sys/rootpasswd@owblab as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on Thu Mar 8 15:02:05 2007
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> select name, open_mode from v$database;
NAME OPEN_MODE
OWBLAB READ WRITE
Does any expert has any idea?I got the same error. Then I gave whole string to ./wfinstall and then the Installation pass ok!
Like: (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = rubik.my.domain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = rubikdb.my.domain)))
Best Regards Antti -
BIAPPS 7.9.6.3 Informatica connect string to PeopleSoft FINSCM issue
I receive tns error when Informatica Workflow runs mappings:
MAPPING> DBG_21075 Connecting to database [PSFTFS.peoplesoft.com], user [SYSADM]
MAPPING> CMN_1761 Timestamp Event: [Sun May 06 18:04:10 2012]
MAPPING> CMN_1022 Database driver error...
CMN_1022 [
Database driver error...
Function Name : Logon
ORA-12154: TNS:could not resolve the connect identifier specified
I created an Application Connection (versus relational) in Informatica Workflow Manager as:
Name:PSFT_9_1_FINSCM
User:SYSADM
Connect String:PSFTFS.peoplesoft.com
The DAC is able to connect to both Informatica repository and integration service ok. I have 11gClient installed and can tsnping and sqlplus to the PeopleSoft database PSFTFS and also can connect using sqldeveloper:
I am able to tnsping PSFTFS
tnsping PSFTFS # nacgdbobil002 - ok
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = nacxxxxxx.oracle.com)(PORT = 10200))
(CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = PSFTFS)))
OK (60 msec)
Also I can connect using sqlplus using full connect string:
sqlplus PSFTFS.peoplesoft.com #nacgdbobil002 - ok
/u100/app/TSTOBI/aptestob2/ora11gClient/product/11.2.0/client_2/bin
sqlplus 'SYSADM/SYSADM@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=nacxxxxxx.oracle.com)(PORT
=10200)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=PSFTFS.peoplesoft.com)))'
The connect string field will not hold all the characters for the full connect string listed above. So should I use a connect string like:
PSFTFS:10200/PSFTFS.peoplesoft.com ??
Do I also need to create a relational connection with the same name as the application connection??
Any other suggestions to get the connection to work for Informatica Workflows?
Thankssolved by adding .peoplesoft.com to tns service name
-
Connect string for scott/tiger
i've personal oracle 8i with only scott/tiger schema on my pc. i installed forms 6i. when i try to connect to my scott/tiger schema it gives me tns listener error. i'm using scott/tiger as username/password. i tried keeping Host string null and 'ORCL' but no luck....
any help is appreciated
thank you very much
---himanshuHimanshu,
When u have the default database and Oracle Forms on the same machine, from SQL prompt it will connect to the database without any connect string. But when u connect from Forms u NEED to have a TNS entry. Open explorer --> Oracle Home directory --> Network --> Admin and u will find the Tnsnames.ora Open this file and create a new TNS entry ( u will find examples ) Give ur machine IP address/or user name and SID ( which will be ORCL by default ) save this file. Then connect from Forms it will connect. Good luck
orcl.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = your machine IP)
(Port = 1521)
(CONNECT_DATA = (SID = ORCL)
now orcl is ur TNS name -
Where to Hard Code the Connection String.....
Hi,
We just give the url to the user and when the user clik it.
The Application form login will appear and user should login before they
can use the system.
When our DBA setup in the production they give us the url and
when I click it the Database login screen appear before it goes to
the Application form login.
My problem is how to bypass that Database Login Screen and where to hardcode
the connection string in which file in the server.
Thanks.
Regards,
JunWe are hardcoding the userId (Connection) details in the formsweb.cfg, wil it create any issues to our security system.
From the application link, i couldnt get the userid details, as all the other
details like
serverArgs="escapeParams=true module=frm_login.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record= tracegroup= log= term=D:\Applns\OracleForms\forms\fmrweb_.res"
separateFrame="true"
splashScreen="no"
background="no"
lookAndFeel="Oracle"
colorScheme="blue"
serverApp="default"
logo="false"
imageBase="codebase"
formsMessageListener=""
recordFileName=""
EndUserMonitoringEnabled=""
EndUserMonitoringURL=""
heartBeat=""
were visible (view Source) but userid= sso_userid=%20, i think this points to
basejini.htm, which doesnt contain the userid details ..
am i correct .. please render your thoughts over this.
Many Thanks
Deepa
Message was edited by:
Deepa.ibs -
Correct OCCI connection String
Hi,
I trying to write some small application on a 32bit Centos machine, with g++ and OCCI, I have correctly setup the library linking and have some sample code running alright, however I don't seem to be able to get a correct connection string to connect to a remote 11g database (11.0.2.3).
below are codes that I have tried.
[code]
#include <occi.h>
#include <iostream>
using namespace std;
using namespace oracle::occi;
int main(){
string userName = "user";
string password = "STRONGPW";
string connectString = "";
try{
Environment *env = Environment::createEnvironment();
cout << "before create connection\n";
Connection *conn = env->createConnection(userName, password, connectString);
Environment::terminateEnvironment(env);
}catch(exception& e){
cout << e.what();
[/code]
I have double confirmed the username and password, and whenever it goes the createConnection method, it will throw exception error,
I am compiling and running as root, I have tried all sort of connection strings
connectionString = "";
ORA-12546: TNS:permission denied
connectString = "TCP://192.168.1.2:1522"; // I did also try "tcp://192.168.1.2:1522"
ORA-12154: TNS:could not resolve the connect identifier specified (192.168.1.2 being host machine, 1522 being listening port)
connectString = "User Id=user;Password=STRONGPW;Data Source=ORCL222";
ORA-12154: TNS:could not resolve the connect identifier specified (ORCL222 being name specified in $ORACLE_HOME/network/admin/tnsnames.ora)
connectString = "DataSource=" // I did try "ORCL222="
" (DESCRIPTION ="
" (ADDRESS=(PROTOCOL = TCP)(HOST = 192.168.1.2)(PORT = 1522))"
" (CONNECT_DATA="
" (SERVICE_NAME = ORCL2)"
" (SERVER = DEDICATED)"
ORA-12154: TNS:could not resolve the connect identifier specified (ORCL2 being ORACLE service name)
did I miss anything? or is there any spacing in the connection string that I might have did wrongly?Hi Darryl,
Thanks for trying to answer, I found the answer in
Oracle® C++ Call Interface Programmer's Guide 10g Release 1 (10.1)
the correct connection string seems to be
192.168.1.2:1522/ORCL2 for my case -
Where to place safely connection string
Dear all,
I have build a desktop application which use actually an SQL server express 2008 R2 database accessible from the application through WCF endpoints. WCF endpoint are hosted in a Windows Service and contain the necessary connection string as Windows Authentication
so far.
We are now study the possibility to move our database to SQL azure in a simple manner. For that we have 2 possiblities
1 - The Windows Service host for WCF services for database connection remain local the to the PC running the application and then we change the connection string authentication method to SQL authentication but then user and password will be clearly visible
in config file
2 - We move the WCF service host somewhere in Azure but I guess it will be extra cost because they can be quite many hit to those end point due to the quantity of data the application may require
3 - Is there an other way to hide the connection string in Azure ?
Thnaks for info on the best solution to go
regardsHello,
Based on your description, you can try to
encrypt or decrypt sections of web configuration file.
You can refer to Wayne Walter Berry 's blog to understand how to encrypt web.config:
Securing Your Connection String in Windows Azure: Part 1
Securing Your Connection String in Windows Azure: Part 2
Securing Your Connection String in Windows Azure: Part 3
Securing Your Connection String in Windows Azure: Part 4
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
Adworker using wrong JDBC connect string during upgrade to 12.1.3
Our env
APPS - 12.1.2 - running on SLES 11
DB 11.2.0.3 - running on IMB System z
We cloned PROD to a new host (instance was previously on DB host - debsdb01 and app host debsap03)
The clone was made to debsdb04 - and app was reconfigured on debsap03
I got the app to start up and run before taking it down to apply the 12.1.3 patch.
However, in the process of the 12.1.3 patch, I see the following entry in the ADworker log files.
JDBC connect string from AD_APPS_JDBC_URL is
(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=hostname1.companyname.com)(PORT=1549)))(CONNECT_DATA=(SID=DEV3)))
where as it should be
JDBC connect string from AD_APPS_JDBC_URL is
(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=hostname4.companyname.com)(PORT=1535)))(CONNECT_DATA=(SID=DEV3)))
If I do an echo $AD_APPS_JDBC_URL on debspap03, it returns
JDBC connect string from AD_APPS_JDBC_URL is
(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=hostname4.companyname.com)(PORT=1535)))(CONNECT_DATA=(SID=DEV3)))
Where are the ADWORKERS getting the old value of the DB host name?
Any help would be appreciated.
Thanks
Edited by: 864641 on Sep 16, 2012 7:32 AMI believe figured out what the issue was.
I was (am) running the patch session from a VNC session that was established during the previous version of this instance - so the previous connect string was being used.
Once I killed the old VNC session and established a new one, I was able to retrieve the correct value for $AD_APPS_JDBC_URL from the command prompt.
Yes - the value of the $AD_APPS_JDBC_URL was showing the old value in the old VNC session.
Thanks for all of your input esp on a Saturday - when I thought I would have to wait until Monday to get this figured out.
Maybe you are looking for
-
Macbook Pro to Macbook Pro with Retina Display?
Hi I am an architect, I just bought a new Macbook Pro on January. I was wondering if there is a way of upgrading it or changing it for the new Retina display version?
-
the pull down menu list at the top of my firefox window has file, edit, view, history, bookmarks, yahoo!, tools, and help. on my other computer, my firefox does not have this in the pull down menu. is this a valid option for firefox? i keep getting a
-
Its is showing the wrong email... I can sign in on my computer but not the phone
-
How to get SYSDBA or SYSOPER credentials
Hi, I am having SYS credentials. But I want to know SYSDBA or SYSOPER credentials. How can I check in Database to get them? DB:11g. I am trying to connect using windows GUI it is asking for anyone of those SYSDBA or SYSOPER credentials
-
Any PIP available for Product Data Hub(PIM) integration with AppsR12
Dear All, We can a requirement to one of our customer, we need to implement MDM(CDH,PIM) and we need to integrate this with other spoke systems like EBS. we want to know whether is there any PIP available for MDM(PDH or PIM) integration with Oracle A