Can we by pass Tnsnames entry for connection
Hi ,
This is my tnsnames.ora entry.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = Oracleserver)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
I want to by pass this information from my front end application like this.
Is this possible? Or any other solution.
Scott/tiger@oracleserver:1521:ORCL
Hi Billy,
Thanks for help i'm still facing problem.
D:\oracle\product\10.2.0\client_1>sqlplus scott/tiger@"(DESCRIPTION = (ADDRESS_L
IST = (ADDRESS = (PROTOCOL=TCP)(HOST=oracle-server)(PORT=1521))) (CONNECT_DATA =
(SID=ORCL) (SERVER=dedicated)))";
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Apr 3 16:20:57 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL*Plus: Release 10.2.0.1.0 - Production
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Usage 1: sqlplus -H | -V
-H Displays the SQL*Plus version and the
usage help.
-V Displays the SQL*Plus version.
Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
<option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
-C <version> Sets the compatibility of affected commands to the
version specified by <version>. The version has
the form "x.y[.z]". For example, -C 10.2.0
-L Attempts to log on just once, instead of
reprompting on error.
-M "<options>" Sets automatic HTML markup of output. The options
have the form:
HTML ON [HEAD text] [BODY text] [TABLE text]
[ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] ON]
-R <level> Sets restricted mode to disable SQL*Plus commands
that interact with the file system. The level can
be 1, 2 or 3. The most restrictive is -R 3 which
disables all user commands interacting with the
file system.
-S Sets silent mode which suppresses the display of
the SQL*Plus banner, prompts, and echoing of
commands.
<logon> is: (<username>[<password>][@<connect_identifier>] | /)
[AS SYSDBA | AS SYSOPER] | /NOLOG
Specifies the database account username, password and connect
identifier for the database connection. Without a connect
identifier, SQL*Plus connects to the default database.
The AS SYSDBA and AS SYSOPER options are database administration
privileges.
The /NOLOG option starts SQL*Plus without connecting to a
database.
<start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
Runs the specified SQL*Plus script from a web server (URL) or the
local file system (filename.ext) with specified parameters that
will be assigned to substitution variables in the script.
When SQL*Plus starts, and after CONNECT commands, the site profile
(e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
(e.g. login.sql in the working directory) are run. The files may
contain SQL*Plus commands.
Refer to the SQL*Plus User's Guide and Reference for more information.
D:\oracle\product\10.2.0\client_1>
Similar Messages
-
Cleint tnsnames.ora for connecting to RAC instance
Dear all,
DB:10.2.0.1
o/s:redhat 5.6
2node rac cluster
I am getting ERROR: ORA-12170: TNS:Connect timeout occurred when trying to connect to rac instance.the timeout frequency is very less once in 10 times.
cleint tnsname.ora
RACTEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.25)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.27)(PORT = 1521))
(FAILOVER= TRUE)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = RACTEST)
RegardsTry to connect straight to the nodes. One node at the time. You can add new tnsnames entries for all RAC nodes so you can connect only one node not the whole RAC.
example:
RACTEST1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.25)(PORT = 1521))
(CONNECT_DATA =
(SERVER = dedicated)
(SERVICE_NAME = RACTEST)
(INSTANCE_NAME = RACTEST1)
RACTEST2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.27)(PORT = 1521))
(CONNECT_DATA =
(SERVER = dedicated)
(SERVICE_NAME = RACTEST)
(INSTANCE_NAME = RACTEST2)
If both nodes are working then problem is probably in network / firewall.
Usually this kind of problems comes because one node's database instance is somehow broken. And if that is the problem correction is restart failing instance.
Edited by: Simo Kemppinen on Jul 15, 2012 12:58 PM
Edited by: Simo Kemppinen on Jul 15, 2012 12:59 PM -
Lock: Can't get shadow database entry for root
Hi all--
posting this here since I'm having trouble with a Solaris release version and not OpenSolaris. Plus, Rich makes it pretty clear not to bug him with questions about this program! :-D
Anyway I've been using Rich Teer's lock program on Solaris 10 (and 9) and it's been great. http://www.rite-group.com/rich/sw/lock.html
But now that I've built a new machine with the latest general Solaris 10 x86 release (Solaris 10 8/07 s10x_u4wos_12b X86) the portion of lock that gets info from the shadow file doesn't seem to work:
if I enter the incorrect password (to either lock or lock -p) I get:
lock: Can't get shadow database entry for root: Error 0
Rich discusses the background on his lock program in this article:
http://developers.sun.com/solaris/articles/program_privileges.html
...but it's over my head.
Anyone have some guidance on this? I'd really like to use this program in my work environment. thanks! ..and happy Thanksgiving!
-MattFuther information on this problem OS is Windows XP PRO SP2
Jer, I have tried stopping and stating the database many times to no avail. I even stop the listener first before trying a restart, see below
I need some one to tell me what or where to look next Are there log files could I have some sort of trace report that might tell me more etc...?
M:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleXETNSListener
The requested service has already been started.
More help is available by typing NET HELPMSG 2182.
M:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleServiceXE
The OracleServiceXE service is starting........................................
The OracleServiceXE service was started successfully.
M:\oraclexe\app\oracle\product\10.2.0\server\BIN>netstat -a
Active Connections
Proto Local Address Foreign Address State
TCP HPPavillonXP:135 HPPavillonXP:0 LISTENING
TCP HPPavillonXP:445 HPPavillonXP:0 LISTENING
TCP HPPavillonXP:1521 HPPavillonXP:0 LISTENING
TCP HPPavillonXP:1981 HPPavillonXP:0 LISTENING
TCP HPPavillonXP:2869 HPPavillonXP:0 LISTENING
TCP HPPavillonXP:1025 HPPavillonXP:0 LISTENING
TCP HPPavillonXP:1045 HPPavillonXP:0 LISTENING
TCP HPPavillonXP:1048 HPPavillonXP:0 LISTENING
TCP HPPavillonXP:139 HPPavillonXP:0 LISTENING
TCP HPPavillonXP:1389 by2m6-cs99.msgr.hotmail.com:1863 ESTABLISHED
TCP HPPavillonXP:139 HPPavillonXP:0 LISTENING
UDP HPPavillonXP:445 *:*
UDP HPPavillonXP:500 *:*
UDP HPPavillonXP:1030 *:* -
How can I add a new entry for determining a requirement type
Dear Friends,
How can I add a new entry for determining a requirement type
via Item Category + MRP type, I see no new entries selection.
This is in Avb Check & TOR-> TOR-> Determination of req type using transaction.
Please help.
Regards
Ravi.Availability Check and Transfer of Requirements > Transfer of Requirements > Define Requirements Types ?
Just one node above?
Never mind, you need to add entry on item category:S -
How can I define the possible entries for "invoicing process" at fkkinv_ma?
At the transaction code fkkinv_ma, I fill in the fields "Date ID" and "Identification" but I have a problem with the field of "Invoicing Process". When I psh theF4 button, there comes no search help. What should I do? Should I define the possible entries first? If I should, how can I define the possible entries for "invoicing process"? How is the customization done?
Thanks in advance for the answers.You have to define them in the IMG
Financial Accounting (new)
Contract Account Recievable and Payable
Business Transactions
Invoicing
Invoice Types
You have to set up a number range, decide what type of Financial transactions should not be invoiced -- like Dunning Charges
then you have to have a developer create the form and form class of invoice. -
Pass single entry for GRIR clearing
Dear Expert,
I want single entry for GRIR clearing by F.13 in spite of multiple Clearing entries, can anyone tell me how to configure this?
Regards,
Saurabh ChaplotHi
System groups the items based on clearing criteria in OB74. The purpose of this setup is to correctly match the open items during clearing. If this is not the case, open items cannot be related to open Purchase orders. If this requirement is only for specific cases, then better use manual classic clearing transactions. -
Can't 2 pass be done for store only members ?
Time Location Sales COGS Gross Margin
2010Jan Santa Fe 982 534 448
2010Feb Santa Fe 239 164 75
2010Mar Santa Fe 913 738 175
2010Apr Santa Fe 478 492 -14
2010May Santa Fe 149 125 24
2010Jun Santa Fe 908 903 5
2010Jul Santa Fe 193 184 9
2010Aug Santa Fe 110 184 -74
2010Sep Santa Fe 740 503 237
2010Oct Santa Fe 620 449 171
2010Nov Santa Fe 927 832 95
2010Dec Santa Fe 284 188 96
2010 Santa Fe #Missing #Missing 1247
I need to calculate the total sales and COGS for Sante Fe where I am seeing #Missing. So I set 2010 as two-pass calc. But it is not calculating total sales and total COGS becuase they are "Store Only". However, Gross margin which is Dynamic calc gets totaled in the bottom.
How can I calculate total sales and COGS for Santa Fe in 2010 ?You can use two pass on non-dynamic account dimension members. You would have to run in your calculation script two commands
First your agg, Calc all, calc dim or wahtever you do then you would have to run a calc twopass.
If you look at the DBAG, you can also find if you make your calculation script your default calc, then you might get away from having to do a calc twopass as there is logic built into the default to do two pass calculations in one pass -
Hi,
Could anybody give me an example tns entry for a SQL server. I have already created the ODBC datasource.
Thanks in advance.
Regards,
Samujjwal Basuhttp://www.dbforums.com/showthread.php?t=1298771
HTH... -
I used the wrong password to join my new belkin wifi. Now that I have the correct password, I can not get the to the join screen with the space to type in the password. I continue to get the unable to join message. I have put the touch to sleep and I have turned on and off the wifi and join options on the Network screen page. Does anyone know how to get pass this block of the wrong password to a new page that will allow me to type in the correct password. I see there is a option that asks if I want to reset the network settings.. is that what I should do? and what does it erase when I do that? Thanks for any input anyone has.
Yes. Reset network settings. Head to Settings -> General -> Reset and tap Reset Network Settings.
B-rock -
DSN Entry for Connection to an Excel-Sheet
hi,
i must create a DSN entry on unix to connect to an excel sheet. adding a new dsn entry on windows is the following way: Start | Settings | Control Panel | Administrative
Tools and so on. Has anybody an idea how to create a dsn entry on unix?
regards,
thomasas far as I know, UNIX does not natively support ODBC.
check for other solution such as open source at link:
http://en.wikipedia.org/wiki/UnixODBC
Good luck. -
Can I set a time limit for connection to a certain WLAN?
I would like to set a time limit for how long a client can be continously connected to the WLAN that provides my guest internet access. The user name/password is hosted on my ACS and authentication is provided by my Cisco NAC. I am using 5508 controllers (7.02) and WCS.
Somewhere in this combination of stuff, there has to be a way to set a two hour time limit.If you are looking for your guest to get kicked off which requires them to log back in .. One option would be to set the WLAN session timeout to 2 hours.
"Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin
"I'm in a serious relationship with my Wi-Fi. You could say we have a connection." -
Tnsnames entry in install guide for apps 7.9.5.2
The manual has this section below. Is ipc-ora for the EBS database and ipc-gw is the DW database ?
Are these sample names or they must be used and the SIDs replaced?
4.3.3.2 How to create a TNSNAMES Entry for your Oracle EBS 11.5.10 data source
Oracle EBS 11.5.10 source data is accessed through a Database Link (DBLINK) drawn
from the ODI_REP_7952 schema on the Oracle Business Analytics Warehouse
database instance to the schema on the EBS 11.5.10 database instance. You need to
enable this connection by creating an entry in the tnsnames.ora file in your Oracle
Business Analytics Warehouse database instance.
The file tnsnames.ora is located in <ORACLE_HOME>\NETWORK\ADMIN
directory on the machine hosting your Oracle Business Analytics Warehouse database
instance.
Example TNS entries:
ipc-ora=(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)
(KEY=ORCL))
(CONNECT_DATA=(SID=ORA102))
(HS=)
ipc-gw=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=IPC)
(KEY=ORCL)
(CONNECT_DATA=(SID=drdahoa1))
(HS=)
)Hi Gurusank,
Thanks for the response, but i am having Dedicated services. See response below
Result of lsnrctl services:
LSNRCTL for 32-bit Windows: Version 10.2.0.4.0 - Production on 12-NOV-2009 11:27
:34
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=INRAVI0091.company.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 READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:557 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: INRAVI0091, pid: 2512>
(ADDRESS=(PROTOCOL=tcp)(HOST=INRAVI0091.company.com)(PORT=
49159))
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:557 refused:0 state:ready
LOCAL SERVER
The command completed successfully
Any other thoughts?? -
I can´t find the WPS button for connecting to a Canon printer wireless. Somebody who can help me?
There is no WPS button on the Time Capsule.
You might be able to get the printer to connect using the following method:
Open Macintosh HD > Applications > Utilities > AirPort Utility
Click the Time Capsule icon, then click Edit
Click the Base Station menu at the very top of the computer screen. Do not click the Base Station tab in the center of the screen.
Click Add Printer and then select the First Attempt method, then click Continue
The Time Capsule will search for you printer. If it finds it, click Done
If this method does not work for your pinter, you will need to follow the manufacturer's instructions for manually connecting the printer to the wireless network. -
Problem in passing Journal Entry with Business partner
I intend to pass journal entry for a particular Business partner but business partner is a control account how should I pass journal entry for that particular BP.
Need for this entry is for adjusting some G/L accounts with BP accounts.Hi Monica,
Here's a short example of how to use a business partner in a journal entry.
Dim oJnl As SAPbobsCOM.JournalEntries
oJnl = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oJournalEntries)
oJnl.DueDate = Now
oJnl.Lines.ShortName = "C1000"
oJnl.Lines.Debit = 100
oJnl.Lines.Add()
oJnl.Lines.AccountCode = "100000"
oJnl.Lines.Credit = 100
If oJnl.Add <> 0 Then
oApplication.MessageBox(oCompany.GetLastErrorDescription)
Else
oApplication.MessageBox("Success")
End If
Hope it helps,
Adele -
How can I find exact username if I connected with sysdba privilege?
I granted sysdba privilge to a database user. I can connect that user as sysdba. From that users session, 'show user' command showing "SYS" and also username from v$session is also showing "SYS". How can I find actual username used for connecting the database as sysdba?
Steve Abrahamuser10247588 wrote:
Thanks for the replay..
But my requirement is that in our production system auditors want to give separate username for each administrators (they are not recommending sys and system).
Normal dba privilege is not a problem. But for sysdba privilege every users are showing the user "SYS". How we can I identify which user is login to the database for a particular work if they connected as sysdba. How can I find which user did that (not just want the username "SYS", because all the administrators are identified by sys if they are connected as sysdba). If auditing is enabled how can I find the exact username. Because we are planning to give sysdba privilege to some of the administrators.
Also, is there any option to find the username, if one user is initiate shutdown of the database?First Please close the thread and keep questioning in only one thread.
then do not connect as sysdba
Maybe you are looking for
-
Hello, My program send a table to a method that save table values in disk ".doc", there is a way to format some strings to be bold in the end file?? Here is the Code: import java.io.*; import javax.swing.*; public class test{ public test( JTabl
-
The new column designed not appears in the form
Dear All Gurus/Experts, I created new column directly in the database stored in the SQL server 2000,in table IGN1, right click --> select design table, then right click --> insert column, I write U_copqty, numeric data type, 9 is its length and allow
-
How to block changes in system generated Plan orders
Hi, As after MRP RUN we get Planned order generated by the system, with type LP , I have a requirement that system generated plan order quanity cannot be cnhage by the user if plan order is generated for quanity 85 user should not make it 100 no q
-
Plz. Help in query. (Urgnet)
Hi, I have a table in which records are as follows Invoice Nbr. Item Rate Amount 946862 Bis-20 735 2940 946862 Bis-20 504 5040 I want to wirte the query to display the records like Invoice Nbr. Item Rate
-
BEA and WebGain Accelerate Time-to-Market for E-Commerce Solutions with Integrated E-Commerce Development Environment for BEA WebLogic BEA Resells New WebGain Studio to Enable Customers to Speed Development of Java and Web-Based Applications SAN JOSE