Configuring usernames/passwords in Oracle DB
Hi,
I have the latest Weblogic 8.1. The usernames/passwords are stored in a table
in Oracle database.
Can someone explain to me (point me in the right direction in documentation) how
to configure Weblogic to look up those usernames/passwords/roles in the Oracle
DB?
Currently, we have a web application that uses declarative security and I want
Weblogic to look up the usernames/passwords/roles automatically.
I know in Tomcat you can specify the datasource JNDI and tell it (in the xml DD)
which table/column to user for usernames/passwords and which table/column to use
to look up roles of those users. There has got to be something like this in Weblogic.
I was a bit scared when I read in one of the documents that RDBMS is being deprecated.
I must not be understanding the context of this properly.
Could someone help?
Thanks,
Yaakov.
So that we may better diagnose DOWNLOAD problems, please provide the following information.
- Browser + Version: internet explorer
- O/S + Version: windows 98
- Error Msg: shared memory does not exist/cannot connect to oracle server
Compared to all of you, I'm a very naive computer user. I've successfully downloaded the oracle 8i personal version. When I try to get into sql+, I can't seem to figure out a username and password. I loooked up some sort of usernames/passwords in a document about this thing and have tried all of the following many different times, in many different ways, for several hours now: scott/tiger, system/manager, sys/change_on_install. The scott/tiger works just fine at the university I attend, of course. If anybody has any suggestions, ideas for a dummy, thank you soooooooooooooooooooooooooooooooooooooooooooo much! Hi,
I suspect, there is no database that is running for you to get connected to. You can try this.
From dos prompt
c:\> set oracle_sid = your_db_name
c:\> sqlplus scott/tiger
HTH
Similar Messages
-
Hi
I did an oracle Upgrade from Oracle Upgrade 9.2.06 to 10.2 as per SAP Documentation.
and after the upgrade was successful i changed the password of SAPABT (sapowner)
and now it is giving an error in work folder <b>dev_wo</b>
while connecting can any one help please ?
Tue Feb 06 18:55:20 2007
C Client NLS settings: AMERICAN_AMERICA.WE8DEC
C Logon as OPS$-user to get SAPABT's password
C Connecting as /@ABT on connection 0 (nls_hdl 0) ... (dbsl 640 110706)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 WE8DEC 1 044FAB58 045000D4 044FF95C
C Attaching to DB Server ABT (con_hdl=0,svchp=044FF8A8,svrhp=04503F14)
C Starting user session (con_hdl=0,svchp=044FF8A8,srvhp=04503F14,usrhp=08C48D68)
C Now '/@ABT' is connected (con_hdl 0, nls_hdl 0).
C Got SAPABT's password from OPS$-user
C Disconnecting from connection 0 ...
C Close user session (con_hdl=0,svchp=044FF8A8,usrhp=08C48D68)
C Now I'm disconnected from ORACLE
C Connecting as SAPABT/<pwd>@ABT on connection 0 (nls_hdl 0) ... (dbsl 640 110706)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 WE8DEC 1 044FAB58 045000D4 044FF95C
C Starting user session (con_hdl=0,svchp=044FF8A8,srvhp=04503F14,usrhp=08C48D68)
C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
[dboci.c 4473]
C *** ERROR => CONNECT failed with sql error '1017'
[dbsloci.c 11297]
B ***LOG BY2=> sql error 1017 performing CON [dbsh#3 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#3 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 1017 performing CON [dblink#2 @ 419] [dblink 0419 ]
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#2 @ 419] [dblink 0419 ]
M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1284]SQL> connect / as sysdba
Connected.
SQL> SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'SAPUSER';
OWNER
OPS$CTSINTCOSNW5\ABTADM
SQL> SELECT OWNER, TABLE_OWNER, TABLE_NAME FROM DBA_SYNONYMS WHERE SYNONYM_NAME
= 'SAPUSER';
OWNER TABLE_OWNER
TABLE_NAME
OPS$CTSINTCOSNW5\SAPSERVICEABT OPS$CTSINTCOSNW5\ABTADM
SAPUSER
SQL>
Followed the note 400241 Problems with ops$ or sapr3 connect to Oracle
Problem got solved via the
Updating BR * Tools
brconnect -u / -c -f stats -t all -f collect -p 4 in Oracle Database Guide 4.3.6 BRCONNECT
Call BRTOOLS, Select Additional Functions --> Change password for database user.
in my case it is sapabt user
Thanks for the quick reply -
Username/Password for Oracle Portal Schema
hi,
I've found a way to change the complete layout of the portal pages (was my request yesterday) by using the Dreamweaver MX extension for building unstructured UI templates but in the configuration of the web service to use, I have to set some values, in brief the schema's username and password and it's written that I can read the Oracle AS documentation to know how to find out these 2 values but I'm reading it since yesterday and I can't find a way to get them.
Does anyone knows how I could?
Thanks.
D.D.
The value of the portal schema passwrod is stored in Oracle Internet Directory. You could use Oracle Directory Manager to query this or try this shell script for unix:
#!/bin/ksh
echo "\n================================"
echo "\n Get Schema Password From OID"
echo "\n================================"
echo "\nEnter the password of the cn=orcladmin user (usually the ias installation password): \c"
stty -echo
read OIDPW
stty echo
if [[ -z $OIDPW ]]; then
echo "OID Admin password required!"
else
echo "\nEnter the name of the Host on which OID is installed : \c"
read OIDHOST
if [[ -z $OIDHOST ]]; then
echo "No OID host specified!"
else
echo "\nEnter the OID Listen Port (default 3060): \c"
read OIDPORT
if [[ -z $OIDPORT ]]; then
echo " - No OID Port specified, using default"
OIDPORT=3060
fi
echo "\nEnter the desired Oracle schema name (default orasso): \c"
read DBUSERNAME
if [[ -z $DBUSERNAME ]]; then
echo " - No schema value entered, using default"
DBUSERNAME=orasso
fi
echo "\nLooking up the ${DBUSERNAME} schema password from $OIDHOST:$OIDPORT"
echo "\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
$ORACLE_HOME/bin/ldapsearch -h $OIDHOST -p $OIDPORT -D "cn=orcladmin" -w "$OIDPW" -b "cn=IAS Infrastructure Databases,cn=IAS,cn=Products,cn=OracleContext" "orclResourceName=$DBUSERNAME" orclpasswordattribute
echo "\n<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"
fi
fi -
Default username and password for Oracle EM
Hi all
I am running Oracle database server using the VM template 'Database App Development VM'. I have started the EM from the console and able to access it through browser. I used username and password as 'oracle'. But it is saying that 'user name or password are not valid'. Can you tell me what are the credentials to enter into the EM?
Thanks,
GaneshBased on my install on a VirtualBox under Ubuntu, it looks like it comes pre-configured. As the Database Instance is already there and started up without any issues.
However I don't see anything about installing or configuring EM.
Any hints on where to find documentation related to OEM and the "Database App Development VM" install would be greatly appreciated.
Joe -
i changed my sim on my iPhone n reconfigured iMessage, it configured with my number but when i sign in with my apple id it says username/password is wrong while in all other things like FaceTime, App Store it worked with the same id and password..
can anyone help me to solve this issuei just opened my ipad, started my apple account/I.D. and realized I put the wrong e mail. I was having trouble correcting my I.D on the Ipad so I went to my laptop and make the proper changes/slash e mail address I wanted for my apple ID. I got back to my ipad and try to download an app I can't because I have to sign in my apple account and I can't because it still has the irrelivant I.D/email address..
So, i did what you said.. went to setting>app store> tapped on my e mail.. it asked me to sign in (with my invalid emails address showing). I signed in with the password I had created. It said "incorrect".. I went to reset password. I reset password, tried to sign in and it says again "unvalid password".. this is getting irritating. I have been asking and no one knows what to do. -
Oracle apps r12 username,password field doesn't appear in arabic interface
Dear all,
I can find the username,password in ENGLISH interface in oracle apps R12 but when i switch to arabic interface i could not find the username,password field.
Can anybody face this issue and can reply to me.
Thanks & regards,Please post the details of the application release, database version and OS.
What is the application/database characterset?
I can find the username,password in ENGLISH interface in oracle apps R12 but when i switch to arabic interface i could not find the username,password field.
Can anybody face this issue and can reply to me.Do you mean you get a blank page for the Arabic login page? If yes, have you tried to recompile JSP files manually and see if it helps?
Thanks,
Hussein -
---cmd prompt------------------------
H:\>sqlplus scott/tiger
SQL*Plus: Release 10.2.0.3.0 - Production on Sun Mar 28 16:54:53 2010
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>
-------------ASP -------------------------
<%@ Language="JScript" %>
<%
var uname=Request.Form("un");
var upwd=Request.Form("pwd");
Response.Write("User Name is " + uname + "<br>" + "password is " + upwd);
var sql = "select * from emp";
var conn = Server.CreateObject("ADODB.Connection");
var rs = Server.CreateObject("ADODB.Recordset");
conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID='uname';PWD='upwd';";
rs.Open(sql, conn, 3, 3);
%>
------------------Error------------------
User Name is scott
Password is tiger
Microsoft OLE DB Provider for ODBC Drivers error '80040e4d'
[Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied
/prc/main.asp, line 11
variable uname has valid username that is 'scott' and variable upwd as valid password ie 'tiger' both entered by the user.
with the same username and password i am able to connect to the database from the command prompt.
but when i tried using odbc through ASP(javascript) i am getting above error.
and one more thing if i mention username and password directly in UID and PWD it works but when i pass it through variables it wont work.
since variables have username and password it has to take from it directly...........manually i cant give,dynamically it has to take.
plz help me out....how i can pass the parameter to that UID and PWD.
conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID='uname';PWD='upwd';";
help plz
conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID='uname';PWD='upwd';"; --- does not work
conn.Open = "Driver={Oracle in OraDb10g_home1};DBQ=tcp;UID=scott;PWD=tiger;"; --- works
but i want the 1st statement to work........since user gives the password and username dynamically.
Thanks
Veeresh Sconn.Open("DSN=tcp;UID="+uname+";PWD="+upwd+";");
this solved me
thanks for all who had vied this..
veeresh -
Invalid username/password in case of oracle os authentication
Hi,
I am trying to connect to database using oracle local os authentication. REMOTE_OS_AUTHENT = false
I am using oracle 11g.
here is the code
I am trying in two ways :-
1. OracleDataSource
OracleDataSource ods = new OracleDataSource();
String url = "jdbc:oracle:oci:@";
ods.setURL(url);
ods.setDatabaseName("oradg");
Connection conn = ods.getConnection();
In this case it always connects to the default ORACLE_SID which is set in the environment.
2. Simple JDBC connection
String url = "jdbc:oracle:oci:@oradg";
Connection con = Drivermanager.getconnection(url,props);
in this case it always says "invalid username/password"
Please help me to resolve the problem.
Thanksuser10839503 wrote:
2 using the oracle account for this is a VERY BAD IDEA
i have another os user called demo which has the same issue.
REMOTE_OS_AUTHENT any way i dont want to use.
3 always connecting to the database server is a VERY BAD IDEA
i am not very clear on this can u please elaborate it?
I dont want to use any username and password for os authentication in the code.
The problem is if ORACLE_SID is set in the environment then code works fine. But I want to set the sid in the code itself.
Because if i set in the environment then at a time only one sid will be used.
But why you want to hard code the SID in the first place anywhere? Why not to use the Services ?
Aman.... -
Passing Username/Password from .xsql to Oracle
Is there any other way to connect to the Oracle than hardcoding username, password, dburl and driver in the XSQLConfig.xml file?
Can I use parameters in .xsql files?
The idea is that every web user connects to DB like himself, so I am looking for a way to pass Username/Password from web application to the Oracle using xsql files on every connection.
Thanks in advance.
Oleg.<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
Most web applications connect as a single backend database user to maximize the benefit of connection pooling.<HR></BLOCKQUOTE>
While that may be true for publically accessible sites, I've found many, many internal web-apps need user authentication (login, whatever). In fact, the inability to do this easily has tipped some of our projects away from web-apps.
null -
Validate web service username and password against Oracle EBS
Hi,
We have a requirement to pass username/password to a SOA webservice that needs to be validated against Oracle E-Business Suite (EBS) login credentials. The EBS users are not integrated with SOA Weblogic server. In EBS, the standard PL/SQL procedure FND_WEB_SEC.VALIDATE_LOGIN(user_name, password) can be used for validation. Appreciate if someone can provide input on validating the username and password as part of web service security header using any OWSM policy.
Thanks!I'm guessing that you are trying to call an EBS API and are using FND_WEB_SEC to test that the user account is valid in FND_USER first before executing the API call. In that instance, you'll likely need to use the Oracle Applications Adapter for EBS if you want to authenticate the user through FND_USER.
If you've not purchased that adapter, you could use a simple BPEL process, with a regular database adapter to firstly call the FND_WEB_SEC package to authenticate. Pass the response from eBS into a bpel variable, add a bpel switch based on the outcome of that variable either execute the API call or throw an authentication error if the call failed.
You can wrap all this up into one web service that then calls this bpel process, taking the username and password as as input parameters.
Phil -
Username and password for oracle financials
Hi,
Can anyone help me in finding out the username and password for oracle financials application.
Thanks in advance
JayaMany Applications users are predefined in the Vision Demo database. The following username/password pairs have System Administrator responsibility:
- SYSADMIN/sysadmin
- MFG/welcome
- OPERATIONS/welcome
- SERVICES/welcome
- MRC/welcome
- HRMS/welcome
If you have a fresh database, you can try SYSADMIN and/or OPERATIONS account.
All application users are defined in FND_USER table. -
Is there defaut username and password in oracle 10g
hello
is there default user and password in oracle 10 g ?Not sure exactly what you asking.
At least Oracle has two defaultDBA user SYSTEM and SYS
Database Administrator Usernames
Two user accounts are automatically created when Oracle Database is installed:
SYS (default password: CHANGE_ON_INSTALL)
SYSTEM (default password: MANAGER)
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dba.htm#sthref118 -
How can I get the username and password from Oracle Forms to PJC !
Dear Sir,
I have username,password and push button fields in oracle forms. When user clicks the push button, I need to get username and password field contents to my Pluggable Java Program to authenticate the user trying to login. How can I get those text field contents to my java program..? Looking forward from you soon sir.
Thanks in Advance,
S RamkumarI tried that trigger but nothing reflects. I write that method in WHEN_BUTTON_PRESSED trigger.
In the form module I written,
Set_Custom_Property('BL.USERNAME',1,'NAME','');
Set_Custom_Property('BL.PASSWORD',1,'PASS','');
Implementation class of the push button I gave my java class file name.
In Java Code I tried register the form fields like,
public static final ID userName = ID.registerProperty("NAME");
public static final ID passWord = ID.registerProperty("PASS");
In Java Code I tried get the contents from registered properties,
public boolean setProperty(ID property, Object value) {
if(property == userName) {
System.out.println("Just I wish to see the name entered" + value.toString());
if(property == passWord) {
System.out.println("Just I wish to see the pass entered" + value.toString());
But even System.out.println() is working.
What's wrong with this code sir ???
Can you tell me How to register and get those field values in Java ? -
OracleException ORA-1017: invalid username/password; logon denied at Oracle
Hi,
SYS@EHS06T>select from v$version;*
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
I have checked the PWADM and PWSYS account and tried to connect to the DB using sqlplus both. I didn’t got any error while connecting.
Also checked the Event viewer logs and found nothing.
But end user getting below error from application :
Message: Error saving emissions
Oracle.DataAccess.Client.OracleException ORA-1017: invalid username/password; logon denied at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck) at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src) at Oracle.DataAccess.Client.OracleConnection.Open() at Ess.Framework.DA.BulkOperations.InsertDataOracle(String tableName, DataTable table, Int32 timeout) at Ess.Framework.DA.BulkOperations.InsertData(String tableName, DataTable table) at Ess.ESuite.Air.BO.Calculator.Controller.SaveEmissions(List`1 list) at Ess.ESuite.Air.BO.Calculator.Controller.SaveCachedEmissions()
Request your assistance in solving this issue. Thanks!hi,
Try a SQL*Net trace on the client (your PC) for the connection that works and the one that does not. Compare to see what is different.
Client Side Tracing:
Your SQLNET.ORA file should contain the following lines to produce a client side trace file:
trace_level_client = 10
trace_unique_client = on
trace_file_client = sqlnet.trc
trace_directory_client =
regards, -
Oracle Business Intelligence Dashboard username / password
Hello
I am trying to access Business Intelligence Dashboard and it is prompting for a username / password. I have the administrator username/ password however it is not allowing me to login. Which username / password should i use to access the dashboard page.
Any help in this regard is appreciated.
Thanks
NavaneethHi,
i think you are new to OBIEE.
let me say something about it.
OBIEE has mainly two components on which users can work.
1.RPD. (Designing and syncronization from Database comes under this).
2.Presentation. (Dashboards,Answers and all other reports to the end user for analysis.)
What ever you have designed in the rpd of OBIEE can be viewed in Presentation.
To access rpd go to OracleBI/server/repository and click on your rpd.
the default path of the rpd is (OracleBI/server/repository).
You have many rpd's find the correct one.
you have to configure it for presentation.
it is a long process.
If you are using 10g you can login with user_name :Administrator and password :Administrator or empty.
Regards,
Lakshmipathi.
Edited by: Lakshmipathi on Jul 12, 2011 1:58 PM
Maybe you are looking for
-
How good is the java Ras Sdk in Business objects XI?
I have programmed some reports from scratch by using the java ras sdk. Somehow I have the feeling that new features of XI like dynamic image location, or running totals aren't so well supported as for example through the Crystal report Designer. Do
-
Upgradation of WAD to 7.0
Hi, I have created some buttons like EUR & USD using some Javascript codein 3.5 WAD ,now we are upgraded it in to 7.0 WAD so will the 7.0 WAd supports these buttons or is it mandatory to use the command buttons for creating buttons Thanks SVR
-
Return ORA-02019,ORA-02063 during update view base on DB Link
I created simple application base on view. When I try to update something I get ORA-02019,ORA-02063. Same update from SqlPlus works as expected. Help me, Stanislav.
-
I am trying to sync songs from itunes to my ipad and can't find my library on my ipad.
I am trying to sync songs from itunes to my ipad and can't find my library on my ipad. Can you help?
-
Getting After Effects project properties and metadata programatically
Hi, I'm building a render-farm and I'd like to extract some of the adobe after effects project fields from an .aep or .aepx file. To me it makes more sense to send the start and end frames to be rendered to each individual machine rather than depend