Why the username is null V$ session?
HelloI'm working on oracle XE installed on XP. Connected to the DB using SQL * more. When I ask what follows.
Select the user name from V$ session;
Output:
Username
SYS
15 selected lines.
Why it shows the values null for the username. I opened one time SQL * more. No other session or connection to the DB.
can someone please suggest?
Username is null for background processes http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/intro.htm#sthref106
Edited by: P. Forstmann on 16 September. 2010 19:05
Tags: Database
Similar Questions
-
Why the cfreturn is null?
I have mandated a call to a cfc which is a ftp get into a local temporary file. Then he reads the file and is supposed to return the content of the file as a string cfreturn. I know the code works, when I remove CFC in a file usually cfm, it does exactly what is expected
However, in my proxy callBackHandler, the return of cfc is null.
< cfajaxproxy cfc = "ftpfunc" jsclassname = "jsobj" / >
function getFTP() {}
...
var instance = new jsobj();
instance.setCallbackHandler (ftpSuccess);
instance.setErrorHandler (ftpError);
instance.setReturnFormat ('plain');
instance.getJCL (lpar, remoteFile, userName, password);
}
function ftpSuccess (ftpReturn)
{
If (ftpReturn.length == 0)
Here thrown error: "ftpReturn is Null".
{
Alert ("your FTP get returned an empty file");
}
}
ion says:
Can I prevent it from executing onLoad?
Hi ion,
You're welcome and Yes. Can you please try this:
Application.CFC
----------------------
component {myIdName = "TestCFAjaxproxyCFC" ;}
Text.txt
----------------------
my text
MyCFC.cfc
----------------------
component {remote string function myCFCFunction (string required myArg) {return fileRead(expandPath("./text.txt")) & '-' & ARGUMENTS.myArg ;}}}}
index.cfm
----------------------
function myCallbackHandler(result) {
alert(result);
}
function myErrorHandler(statusCode, statusMsg) {
alert('Status: ' + statusCode + ', ' + statusMsg);
}
function myJSFunction() {
var instance = new myCFCJSObj();
instance.setCallbackHandler(myCallbackHandler);
instance.setErrorHandler(myErrorHandler);
instance.setReturnFormat('plain');
instance.myCFCFunction(document.getElementById("myfield").value);
}
//myJSFunction();
By clicking 'submit' should attract the attention of "my text-foobar.
Thank you
-Aaron
-
Question
Why don't Firefox4 restore any sessions that were open at the time? Before the update, I've been invited either ('SAVE AND QUIT'), or even if it closed UNEXPECTEDLY (crash etc) it STILL restored everything. New version does not offer "save and exit".Now, Firefox always stores the old session which you can access from the history menu by selecting "restore previous Session."
If you always open the last set of tabs, another approach is the following:
- Click on the orange button Firefox, then select options to open the options window
- Go to the general Panel
- Change the setting "When Firefox starts" to "show my windows and tabs from last time '.
-
Why can't I change the username to the server in the mail?
Just upgraded to El Capitan and now does not work my AOL e-mail account. The problem is the user name is incorrect by the name of the incoming server, but I can't change it because it is grayed out. Someone knows why?
I finally got to work in Yosemite, but I had to create an account with a username of @example. com The problem is caused by having to change from Verizon to AOL mail and the user name is always "[email protected]". I could get fixed and make any changes that I needed. I had to modify the plist to make changes, but apparently there was another place where El Capitan found the information and create a new account. The preferences file indicates the username for the incoming "[email protected]", as the original server the plist file doesn't seem to be the same thing now. I also made sure the box is unchecked to automatically manage settings.
Uncheck automatically detect and manage settings in the Advanced tab of the account preferences in Mail.
-
Why the JTable getTableCellRendererComponent parameter can be null?
Hello
I have a class that implements TableCellRenderer.
TableCellRender interface has a single method:
and this method accepts JTable as null - http://download.oracle.com/javase/1.3/docs/api/javax/swing/table/TableCellRenderer.html.getTableCellRendererComponentender (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
Why can we get null JTable?
When I run my program in the getTableCellRendererComponentender method, I run
But this code is failed because the table is null.this.size = table.getColumnModel().getColumn(column).getWidth();
The table is defined in fact but I do not know why is not not passing as a parameter to getTableCellRendererComponentender.
Thank you.In case it wasn't clear enough: what happens is that Swing tent paint the header that you have already removed the table (replacing it with a new one). This is the table of this header removed which is null parameter.
The new header is not added to a hierarchy of visible components, so it is not rendered.
DB
-
Why do I own this blocking session / blocked
Oracle 11.2.0.4 SE a 64-bit
Oracle Linux 5
We have a task that runs every 5 minutes to detect blocking sessions / blocked. When it detects an email with the details is sent. Conduct of query is the following:
select NVL(s1.username,''null'') username1, s1.machine machine1, s1.sid sid1, s1.osuser osuser1, s1.program program1, lo.object_id locked_object, NVL(s2.username,''null'') username2, s2.machine machine2, s2.sid sid2, s2.osuser osuser2, s2.program program2, sqlt.sql_text sql_text2 from v$lock l1, v$session s1, v$lock l2, v$session s2, v$locked_object lo, v$sqltext sqlt where s1.sid=l1.sid and s2.sid=l2.sid and l1.BLOCK=1 and l2.request > 0 and l1.id1 = l2.id1 and l2.id2 = l2.id2 and s1.sid = lo.session_id and s2.sql_address = sqlt.address and s2.sql_hash_value = sqlt.hash_value and sqlt.piece = 0
Normally things are fairly quiet except on the occasion one of my power forgot to engage users. But last week I started to have notification that a session belonging to me (ESTEVENS) was blocking one or more sessions held by me. Still, he arrives at 21:00 and fades within 5 minutes before the next review. The sql code associated with the blocked session is always the same. Here is a representative sample, with company data obscured.
Block user - ESTEVENS
Machine - myserver.mycompany.org
SID - 433
OSUSER - oracle
-PROGRAM [email protected] (J001)
OBJID - 12451
Blocked user - ESTEVENS
Machine - myserver.mycompany.org
SID - 200
OSUSER - oracle
-Program [email protected] (J002)
SQL: UPDATE HS_FDS_CLASS_DATE SET FDS_CLASS_DATE = SYSDATE WHERE FDS_
By comparing the time of the block and SIDS reported with DBA_SCHEDULER_JOB_RUN_DETAILS content, I was able to follow some scheduled tasks 'load '. These jobs do a SELECT... IN... OF < db_link >. Because the table is locked is HS_FDS_CLASS_DATE, I found notes 1536085.1 describing a bug with the use frequent or simultaneous to a db_link, supposed to be fixed in 11.2.0.4 but my experience says otherwise. However, I can deal with all that.
But my real question is how to get my username attached to these sessions?
Understand your question, I hope...
It happened to me, that if I use my "DBA1' to create one job to another user"USER1", my user name is indicated as the USER name in the session, but 'The ANALYSIS of the USER' are the owner of the task.
I think it's normal, but I still don't know why.
Edit: Duh! It seems that it is documented Overview of job creation
Because no
destination_name
attribute is specified, the task runs on the (local) database of origin. The job runs as the user who created the work.Kind regards
Juan M
-
Why the result of the download on IR is different from the list that we saw
APEX 4
Interactive report received 39 records, including sql like statement below:
For the flexible application, I put the dept element to change the filter above.select * from table from dept=NVL(:dept,dept)
but when I download to CSV for IR, I found the result more than 39 files, is not a number of records in the table.
If amended the statement of the following:
nothing has been uploaded. the result is null.select * from table from dept=:dept
Why it happen? How can I get the result like what we saw?
Please help me!
Thank you very much
YongThis article describes the problem of standard reports, but basically, it's the same thing for your report:
https://Apex.Oracle.com/pls/Apex/f?p=31517:117
What is: dept? What is a page or a component of demand? This point must be located in session state to be able to download what you see.
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Apress.com/9781430235125
https://Apex.Oracle.com/pls/Apex/f?p=31517:1
http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
------------------------------------------------------------------- -
Why the Desktop Cleanup Wizard brand most used icons used as ever?
No idea why my Desktop Cleanup Wizard marks my most that never used to use icons and offers to delete?
I can do anything except turn off reminders of 60 days?
Hello
Usually, the Office Assistant filter does not remove the icons, they are moved to a folder and you can put them on the desktop if you want. The folder that is automatically created the first time, the wizard removes icons is
C:\Documents and Settings\UserName\Desktop\Unused desktop shortcuts.But back to your question:
I put t know why the office cleaner chooses the most used icons on the desktop for cleaning but why don t you disable this feature?To stop the wizard to run automatically 60 days:
1. right click on an empty spot on the desktop and then click Properties to open the display properties dialog box.
2. click on the Desktop tab.
3. click on the desktop to open the desktop items dialog box customize.
4. Click to disable the wizard desktop cleanup run every box of 60 days.
5. click OK twice to close the dialog boxes.Please also check MS Web site that provides this information:
http://support.Microsoft.com/kb/320154 -
Why the widget of the film has stopped working?
Why the widget of the film has stopped working in Dashlane on iMac?
I'm on OS X 10.11.3, and I have set my movies Widget by following these steps:
- Open a terminal
- CD /Library/Widgets/Movies.wdgt/ (go to the directory of movies widget)
- sudo cp Movies.js Movies.js.bak (create a backup of the original file)
- sudo vim Movies.js (change the file)
- Find the line 40 (var gCurrPostalCode = null)
- Replace null with "YOUR_ZIP_CODE" (with quotes)
- Save and close the file (: wq)
- Log off then back on
-
Hello
I'm developing a program for the PXI-4472 acquisition on opensuse 11.4 device (linux 2.6.34).
I try to acquire analog data and to read in a wav file.
Configure the task of acquisition with the following functions:
DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0","OnboardClock",DAQmx_Val_Cfg_Default,-10.0f,10.0f,DAQmx_Val_Volts,NULL);
DAQmxCfgSampClkTiming(taskHandle,"",48000,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,48000);DAQmxDisableStartTrig (taskHandle);
I don't understand why the data stored in the wav file are not-10V,-10V but-5V, 5V... (the value of the gain is 0dB). (Perhaps a scale of 0.5?...)
Thanks for your help,
Amandine
You're right, in my example, I considered as unsigned data.
Concerning
-
Remote Desktop. Why the differences?
In this case I use Remote Desktop to connect a system from Vista Home Premium to Windows XP Professional on a local network. Still, it establishes a connection, but can behave in 3 different ways:
1. the session starts and works very well. After entering the password (I ask the password), it goes directly on the desktop of the remote PC
2. the session begins, then I am taken to the login screen of the normal remote PC (what you expect to see if you were working on this PC). When you enter the password, it then goes to the desktop.
3. I get the blah "can not load your profile...". ", where Windows will load a temporary profile that takes you back office. Logging and lumbering back to still seems to work, i.e. log on normally.
So, no show stopping issues, but why? Certainly why the difference between 1 and 2? Thoguh that you arrive at the same place, with 2, you get also present with all the other user accounts on this computer. For my part, it is not a constraint, but what happens if I don't want to have other possibilities of connection presented? Remote Desktop Client indicates the account to Log On with, so why present all others? On the question of the profile, there are a lot of intel available, but I have yet to find the cause in my configuration. It's exhausting rather than as a problem, but I would be very happy to eliminate this behavior.
Hello
You can check out the following link and check:
Remote Desktop connection: frequently asked questions
The problems of desktop remotely
Hope this information is useful.
-
When the user launches the application we get connect dialog asking the USER name: PASSWORD: STRING: values.
Once we enter these values, it will connect to this session. But I want to take the username before you actually connect to the database. How is it possible. I'll make a few validatios before opening SESSION or ONE CONNECTION.
IM using form 11g
Forms [32 bit] Version 11.1.2.1.0 (Production)
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
Oracle Toolkit Version 11.1.2.1.0 (Production)
PL/SQL Version 11.1.0.7.0 (Production)
Oracle V11.1.2.1.0 - Production procedure generator
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Query Oracle 11.1.2.1.0 - Production Designer
Oracle virtual graphics system Version 11.1.2.1.0 (Production)
The GUI tools Oracle Utilities Version 11.1.2.1.0 (Production)
Oracle Multimedia Version 11.1.2.1.0 (Production)
Oracle tools integration Version 11.1.2.1.0 (Production)
Common tools Oracle zone Version 11.1.2.1.0
Oracle CORE Production 11.1.0.7.0
Some how WE-ERROR now works. seems that I made a mistake. I capture the error ORA-2391 he and custom message display.
Thank you
-
Username is null in DBA_AUDIT_TRAIL
Hello
During the monthly review of audit, I noticed column username as null for some records in DBA_AUDIT_TRAIL, these are not made to sys as SYSTEM events are recorded in the operating system * aud files.
Please let me know the possible reasons for username be set to null. There is no job database (dbms_scheduler or dba_jobs) in DB.The OS username Username Host of the user Name of the action Owner of obj Name of the obj Return code S/N VM CREATE TABLE SALES MARKET_PRICE 955 S/N VM DROP TABLE SALES MARKET_PRICE 0 S/N VM CREATE TABLE SALES MARKET_PRICE 0 S/N VM CREATE TABLE SALES SALES_PRICE 955 S/N VM DROP TABLE SALES SALES_PRICE 0 S/N VM CREATE TABLE SALES SALES_PRICE 0 PS: object modified and overview of host name
Thanks in advance for your time and help
Concerning
I thought that the entries were for impdp when table_exists_action = replace clause has been used.
-
I have 3 ESXi 5.5 hosts, all connected to a single server vCenter, where we try to authenticate directly to the host by using the windows logon credentials. I have installation of the Administrators group of ESX and filled with the admin accounts that I want to be able to authenticate to the host. The Netbios name of the domain is tstdomain (for example) where the domain name is tstdomain.com. If I connect directly to a host and check the checkbox 'Use Windows Session Credentials', the vSphere client will default by using the Netbios name of tstdomain\adminusername and the connection will fail indicating that the username and/or password is incorrect. If I enter the domain name of tstdomain.com\adminusername, I am able to connect to the host without error.
Does anyone know how get past that this matter have the vSphere client uses the domain name or to use the Netbios name and connect with the credentials to active directory? I looked by editing the file/etc/hosts and checked that the SPN of the host is correct in active directory with the command hostname setspn - l, with no luck on one. I also tried to change the field of research for the Netbios name of tstdomain rather than the tstdomain.com domain name, also did not work.
Thanks in advance for your suggestions on how to correct the problem.
Seems that this issue was due to a slow network and the connection timeout when you try to talk to the domain controller. I am able to connect with windows creds now, but the connection is very slow. I increased the default period of 30 to 60 seconds to help work around the problem.
-
Hide the username / password when connecting to the database
I need to find a way to hide the user name / password when connecting to the database (via a script), or by encryption or any other method that hides this information when I connect to the database.
I use Oracle 11 g.
I tried with the portfolio method, but could not connect to the database of the error below, even the user name and password:
ERROR:
ORA-01017: invalid username / password; connection refused
I plugged this way (after the cover configuration):
sqlplus /@DB
Please help me.
Concerning
Luiza
Hi Luiza,
Try to find out why the portfolio method does not work, check the implementation using ref 340559.1 Note
Check also for example client and server versions / compatibility, evolves sec_case_sensitive_logon relevant parameter (as a test, because it must be true) etc.
Greetings,
Damage ten Monkshood
Maybe you are looking for
-
Satellite A30 will stop automatically
Hello I have a Toshiba Satellite A30 laptop.I'm trying to re - install the original windows home edition while I missed the latest windows and I don't have any OS on my laptop. First problem is, I'm not able to edit the topics from a hard disk to the
-
Nexus 7 &; Photosmart 5520
Hi all Hoping someone can help me here. I try to connect my Nexus 7 on my Photosmart 5520 and I can't manage it. I got it work using a Wifi network and an HP Eprint App, but I need to work in an environment without a WiFi network (on a truck). That I
-
The REPORT CYCLIQUE with myDAQ measure?
Hi all Sorry for my beginner question. Is it possible to measure the duty cycle with myDAQ? If Yes, could you give me some advice please how? I want to measure the temperature with temperature probe SMT 160-30 with duty cycle output. I tried the ana
-
living options volume and battery are grayed out.
My wife has a dell xps m1330. the volume and the icon of life batteries have work then dissappeared. I looked to where you would turn on them, but they grayed. I can't turn their back on. How do you get them back on?
-
I have data in the table as below:COL_A COL_B COL_Z1000 4 10101001