Users connected to database-check

Just a basic question, looking for sql command to check which users are connected & active/inactive at the database.

This query will give you all the information like os process id, what is the session program machine from which session started. session start time etc. session status
column sid format 9999
column serial# format 999999
column username format A9
column schemaname format A8
column osuser format a15
column machine format a20
column terminal format a10
column LOGONDATE format a20
col program for a12
select a.sid, a.serial#, b.spid, substr(a.program,1,12) Program, a.username,to_char(a.logon_time,'DD-MM HH24:MI:SS') LogonDate, a.osuser, a.machine, a.status
from v$session a, v$process b where a.paddr = b.addr AND A.USERNAME IS NOT NULL
order by status,osuser

Similar Messages

  • How to find the number of users  connected to database from OS level(Linux)

    Hi All,
    Could anyone know , how to find the number of users connected to database without connecting with sql*plus
    is there any command to find it?
    example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
    oracle version:- 10g,11g
    Operating System:- OEL4/OEL5/AIX/Solaris
    any help will be appreciated.
    Thanks in advance.
    Thank you.
    Regards,
    Rajesh.

    Excellent.
    Tested, works as long as you set the ORACLE_SID first ( to change databases )
    ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
    Thanks!
    select OSUSER
        from V$SESSION
    where AUDSID = SYS_CONTEXT('userenv','sessionid')
        and rownum=1;Best Regards
    mseberg

  • SYS user connects at database level, is it correct?

    My senior colleague has given me following information about the sys user. I want to know, is it correct?
    Since SYS user connects at the database level, therefore, on killing the active session of the SYS user,only the current statement is cancelled. The database session does not disconnect. Instead it continues to run the remaining statements in the script file in case we are running a script file containing a lot of SQL statements.
    Moazzam

    Moazzam wrote:
    My senior colleague has given me following information about the sys user. I want to know, is it correct?
    Since SYS user connects at the database level, therefore, on killing the active session of the SYS user,only the current statement is cancelled. The database session does not disconnect. Instead it continues to run the remaining statements in the script file in case we are running a script file containing a lot of SQL statements.Running a SQL script very likely means SQL*Plus is used. One of two types of Oracle sessions will be created via sqlplus. A dedicated session. Or a shared server session.
    A dedicated session can also be local (sqlplus connects "directly" to the dedicated server process), or remote (sqlplus connects via tcp/ip to the dedicated server process).
    A server session is usually "killed" using the alter system kill session command. Despite the differences between shared and dedicated server connections, the end result is the same. The session terminates abnormally (session UGA will be released, session will be cleaned up, rolled back, etc) - and the session ceases to exist.
    So irrespective of how that sqlplus session runs that script - the session, when killed, will cause a sqlplus failure. And no subsequent script commands would be executed by that Oracle session.
    What can happen is that sqlplus continues running, continues reading the script, and continues submitting commands to be executed. However, with the server session killed, there is no server process to service the commands submitted by the sqlplus client. In this case, sqlplus will throw the error "+SP2-0640: Not connected+" after each of the commands it tries to execute after the server session was killed.
    The only time when sqlplus will be able to continue is when the session is not killed, but interrupted. The Oracle Call Interface (OCI) supports a OCIBreak() call - allowing the client to interrupt-and-abort the request that its server session is currently executing.
    For example, sqlplus sends a OCIBreak() while it waits for a server response (e.g. waiting for the answer to a SQL select query), when the user presses Ctrl-Break to abort that request.
    In this case, the session still exists - and the client can issue a new request that the session will service. But an OCIBreak() cannot be triggered (to my knowledge) externally from another Oracle session. You need to send the client process a "break request" (like a Ctrl-Break keystroke) in order to trigger that client process to make an OCIBreak() call to Oracle and interrupt its server process.

  • To trace the users connecting to database

    Hi ,
    can any body help me on tracing the users who are connected to a database at a particular period of time.?
    thanks

    soundar wrote:
    these details on the audit where it gets recorded..?
    it's in audit trail file in the same directory as background process trace files or some where else..?It depends on the setting. If it is set to DB then it will be sent to the SYS.AUD$ table. This table doesn't need to be accessed directly. You can use the DBA_AUDIT_TRAIL view to get a more friendly look at the audit information.
    If it is set to OS it will go to the operating systems audit trail.
    It may be worth it to look at the documentation :)
    [Initialization Parameters: AUDIT_TRAIL|http://download.oracle.com/docs/cd/A84870_01/doc/server.816/a76961/ch111.htm]

  • Users connected to database

    Hi,
    How can we find who are the users currently using/connected to the database?
    Regards
    Balu.

    BalaKrishna Reddy Avuthu wrote:
    Thanks guys it is working........
    Thank you very much.
    I would like to find out the SID name/Connection string too.
    Where do I get it?
    Balu.
    Edited by: BalaKrishna Reddy Avuthu on Apr 11, 2009 5:04 PMNow that you know about the v$session and gv$session views, you could do some further research on your own. Go to tahiti.oracle.com, drill down to your product and version, the take a look at the Reference Manual. It will detail the entire data dictionary. Just look down through the list of v$ (or gv$) views for stuff that looks likely to have what you are looking for, then read up on those views.

  • How to connect to database in JSP

    Hi, all.
    I am using J2EE and cloudscape. I have written all the EJB classes. But now i have no idea that how to connect to database in jsp such as i get user ID from portal, then i connect to database check the existence of user ID and the password then return true or false value. how to write all this in jsp?
    Thanks very much!
    yayun

    this is the required code
    i hope this will help u
    <html>
    <head>
    </head>
    <body>
    <%@ page import="java.sql.*" %>
    <%
    try
    String fu=request.getParameter("username");
    String fp=request.getParameter("password");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection Con=DriverManager.getConnection("jdbc:odbc:wind","","");
    Statement stmt=Con.createStatement();
    ResultSet rs=stmt.executeQuery("select * from table1 where username='"+fu+"' and password='"+fp+"'");
    if(rs.next())
    %>
    <jsp:forward page="success.jsp"/>
    <%
    else{
    %>
    <jsp:forward page="unsuccess.jsp"/>
    <%
    catch(Exception e)
    %>
    </body>
    </html>

  • [BO XI 3.0] - Connection to database "BusinessObjects credential mapping "

    Hello,
    I have an strange issue regarding database connection. Users connect to database with database U and P. So in CMC we select "Enable Data Source Credentials for Business Objects Universes" and enter U and P to connect to database. In universe we choose "Use BusinessObjects credential mapping" and when we test it the server is responding. We create Deski report and we get the data from database. We publish this report to repository and when we want to refresh we get an error "SetPrompts failed - invalid username/password.....", then we convert this document in webi report and works fine
    Any suggestions?
    Configuration:
    - MS windows server 2003 with SP2
    - BO XI 3.0 with FP1 and FP2
    - Oracle database 10gR2 (also test with 9i)
    Regards,
    Gregor

    This is a BUG. You must install Fix pack 3 and works fine!
    Regards,
    Gregor

  • TS2972 Status: sharing on, no users connected

    Hello, I am trying to connect 2  windows pc's with the itunes sharing.  One PC is win 8 and the other is win 7 and both have itunes 11 installed and sharing enabled. 
    Icannot see the libraries on either machine.
    When I go into preferences, it says Status: sharing on, no users connected.
    I checked the mcafee virus firewall and Itunes is in there.
    what next?

    I have exactly the same problem but with a Macbook Pro (not Windows!).
    Neither my iphone or my girlfriends ipad can see the homeshared iTunes from the Macbook Pro and the Macbook Pro doesn't list any devices under Shared in iTunes.
    All signed in with the same iTunes login, no problems or errors with passwords.
    All three devices are accessing the same Wifi network with no problems, all able to stream iplayer video easily, so no connection issues.
    Apple Firewall on but itunes is listed as allowing incoming connections and firewall not set to block all incoming connections (I even tried turning off the firewall completely but no success).
    Macbook Pro homesharing turned on first, then the iphone, then the iPad.
    Everything turned off several times (incl home sharing on its own, then plus iTunes, and then same plus power) and back on again.
    Router reset.
    Router reset plus the above combinations of turning off and on.
    Any ideas, the only comments I can find are from smug Apple users blaming Windows for this issue, but I have all Apple??!!!

  • Error: unable to connect to database using user system. please check privil

    Hi All,
    i have 2 oracle databases in my system (ORCL,RR). i am able to connect both databases i sql prompt. but in ggsci prompt not able to connect rr database due to below error
    dblogin userid system, password tiger.
    Error: unable to connect to database using user system. please check privil
    Can you please help me to connect RR database also in GGSCI promt.
    Thanks
    Raja

    Did you try with RR database tns name or sid while connecting ?
    If No then try this ,
    GGSCI (ATP) 6> DBLOGIN USERID SYSTEM@<tns alias name>
    Password:
    Successfully logged into database.
    HTP
    Annamalai.

  • Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver

    Trying to Install RMS application 13.2.2 and I get past the pre-installation checks and when I get to the Data Source details and enter the data source details with the check box checked to validate the schema/Test Data Source I get the following error:
    Error Connecting to database URL jdbc:oracle:oci:@rmsdbtst as user rms13 java.lang.Exception:UnsatisfiedLinkError encountered when using the Oracle driver. Please check that the library path is set up properly or switch to the JDBC thin client oracle/jdbc/driver/T2CConnection.getLibraryVersioNumber()
    Checks performed:
    RMS Application code location and directory contents:
    [oracle@test-rms-app application]$ pwd
    /binary_files/STAGING_DIR/rms/application
    [oracle@test-rms-app application]$ ls -ltr
    total 144
    -rw-r--r-- 1 oracle oinstall   272 Dec 7  2010 version.properties
    -rw-r--r-- 1 oracle oinstall   405 Jan 16 2011 expected-object-counts.properties
    -rw-r--r-- 1 oracle oinstall   892 May 13 2011 ant.install.properties.sample
    -rw-r--r-- 1 oracle oinstall 64004 Jun  6  2011 build.xml
    drwxr-xr-x 9 oracle oinstall  4096 Jun 16 2011 rms13
    drwxr-xr-x 3 oracle oinstall  4096 Jun 16 2011 installer-resources
    drwxr-xr-x 3 oracle oinstall  4096 Jun 16 2011 antinstall
    drwxr-xr-x 2 oracle oinstall  4096 Jun 16 2011 ant-ext
    drwxr-xr-x 5 oracle oinstall  4096 Jun 16 2011 ant
    -rw-r--r-- 1 oracle oinstall 11324 Dec 18 09:18 antinstall-config.xml.ORIG
    -rwxr-xr-x 1 oracle oinstall  4249 Dec 18 10:01 install.sh
    drwxr-xr-x 4 oracle oinstall  4096 Dec 18 10:06 common
    -rw-r--r-- 1 oracle oinstall 16244 Dec 19 10:37 antinstall-config.xml
    -rw-r--r-- 1 oracle oinstall   689 Dec 19 10:37 ant.install.log
    [oracle@test-rms-app application]$
    Application installation:
    [oracle@test-rms-app application]$ ./install.sh
    THIS IS the driver directory
    Verified $ORACLE_SID.
    Verified SQL*Plus exists.
    Verified write permissions.
    Verified formsweb.cfg read permissions.
    Verified Registry.dat read permissions.
    Verified Java version 1.4.2.x or greater. Java version - 1.6.0
    Verified Tk2Motif.rgb settings.
    Verified frmcmp_batch.sh status.
    WARNING: Oracle Enterprise Linux not detected.  Some components may not install properly.
    Verified $DISPLAY - 172.16.129.82:0.0.
    This installer will ask for your "My Oracle Support" credentials.
    Preparing installer. This may take a few moments.
    Your internet connection type is: NONE
    Integrating My Oracle Support into the product installer workflow...
         [move] Moving 1 file to /binary_files/STAGING_DIR/rms/application
    Installer preparation complete.
    MW_HOME=/u01/app/oracle/Middleware/NewMiddleware1034
    ORACLE_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/as_1
    ORACLE_INSTANCE=/u01/app/oracle/Middleware/NewMiddleware1034/asinst_1
    DOMAIN_HOME=/u01/app/oracle/Middleware/NewMiddleware1034/user_projects/domains/rmsClassDomain
    WLS_INSTANCE=WLS_FORMS
    ORACLE_SID=rmsdbtst
    JAVA_HOME=/u01/app/oracle/jrockit-jdk1.6.0_45-R28.2.7-4.1.0
    Launching installer...
    To make sure I have connectivity from the app server to the database (on a database server) here are the steps followed:
    [oracle@test-rms-app application]$ tnsping rmsdbtst
    TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 19-DEC-2013 10:41:40
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = test-rms-db.vonmaur.vmc)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = rmsdbtst)))
    OK (0 msec)
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ sqlplus rms13@rmsdbtst
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Dec 19 10:46:18 2013
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ ping test-rms-db
    PING test-rms-db.vonmaur.vmc (192.168.1.140) 56(84) bytes of data.
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=1 ttl=64 time=0.599 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=2 ttl=64 time=0.168 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=3 ttl=64 time=0.132 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=4 ttl=64 time=0.158 ms
    64 bytes from test-rms-db.vonmaur.vmc (192.168.1.140): icmp_seq=5 ttl=64 time=0.135 ms
    --- test-rms-db.vonmaur.vmc ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4001ms
    rtt min/avg/max/mdev = 0.132/0.238/0.599/0.181 ms
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ uname -a
    Linux test-rms-app.vonmaur.vmc 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
    [oracle@test-rms-app application]$
    [oracle@test-rms-app application]$ cat /etc/*-release
    Enterprise Linux Enterprise Linux Server release 5.3 (Carthage)
    Red Hat Enterprise Linux Server release 5.3 (Tikanga)
    [oracle@test-rms-app application]$
    The database is created and all the batch file scripts have been successfully deployed.  Now working on the application server.  The  Weblogic server is installed and 11g forms and reports are installed successfully.
    Any help would be helpful.
    Thanks,
    Ram.

    Please check MOS Notes:
    FAQ: RWMS 13.2 Installation and Configuration (Doc ID 1307639.1)

  • (Cisco Historical Reporting / HRC ) All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054

    Hi All,
    I am getting an error message "All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054"  when trying to log into HRC (This user has the reporting capabilities) . I checked the log files this is what i found out 
    The log file stated that there were ongoing connections of HRC with the CCX  (I am sure there isn't any active login to HRC)
    || When you tried to login the following error was being displayed because the maximum number of connections were reached for the server .  We can see that a total number of 5 connections have been configured . ||
    1: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Current number of connections (5) from historical Clients/Scheduler to 'CRA_DATABASE' database exceeded the maximum number of possible connections (5).Check with your administrator about changing this limit on server (wfengine.properties), however this might impact server performance.
    || Below we can see all 5 connections being used up . ||
    2: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:[DB Connections From Clients (count=5)]|[(#1) 'username'='uccxhrc','hostname'='3SK5FS1.ucsfmedicalcenter.org']|[(#2) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#3) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#4) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#5) 'username'='uccxhrc','hostname'='47BMMM1.ucsfmedicalcenter.org']
    || Once the maximum number of connection was reached it threw an error . ||
    3: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Number of max connection to 'CRA_DATABASE' database was reached! Connection could not be established.
    4: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Database connection to 'CRA_DATABASE' failed due to (All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054.)
    Current exact UCCX Version 9.0.2.11001-24
    Current CUCM Version 8.6.2.23900-10
    Business impact  Not Critical
    Exact error message  All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054
    What is the OS version of the PC you are running  and is it physical machine or virtual machine that is running the HRC client ..
    OS Version Windows 7 Home Premium  64 bit and it’s a physical machine.
    . The Max DB Connections for Report Client Sessions is set to 5 for each servers (There are two servers). The no of HR Sessions is set to 10.
    I wanted to know if there is a way to find the HRC sessions active now and terminate the one or more or all of that sessions from the server end ? 

    We have had this "PRX5" problem with Exchange 2013 since the RTM version.  We recently applied CU3, and it did not correct the problem.  We have seen this problem on every Exchange 2013 we manage.  They are all installations where all roles
    are installed on the same Windows server, and in our case, they are all Windows virtual machines using Windows 2012 Hyper-V.
    We have tried all the "this fixed it for me" solutions regarding DNS, network cards, host file entries and so forth.  None of those "solutions" made any difference whatsoever.  The occurrence of the temporary error PRX5 seems totally random. 
    About 2 out of 20 incoming mail test by Microsoft Connectivity Analyzer fail with this PRX5 error.
    Most people don't ever notice the issue because remote mail servers retry the connection later.  However, telephone voice mail systems that forward voice message files to email, or other such applications such as your scanner, often don't retry and
    simply fail.  Our phone system actually disables all further attempts to send voice mail to a particular user if the PRX5 error is returned when the email is sent by the phone system.
    Is Microsoft totally oblivious to this problem?
    PRX5 is a serious issue that needs an Exchange team resolution, or at least an acknowledgement that the problem actually does exist and has negative consequences for proper mail flow.
    JSB

  • Unable to connect to database as apps user

    ORA-12203: TNS:unable to connect to destination .
    when iam trying to connect to database as apps user iam getting this error..
    as sysdba i could connect...database listener is up and application services are also up....but couldnt connect to database as apps user? how to resolve this issue.

    ORA-12203: TNS:unable to connect to destination .
    when iam trying to connect to database as apps user iam getting this error..What is your EBS release? OS? DB version?
    as sysdba i could connect...database listener is up and application services are also up....but couldnt connect to database as apps user? how to resolve this issue.Are you trying to connect remotely? Can you connect from the application tier node as apps user?
    Please run Autoconfig on both tier nodes, bounce the services and check then.
    Thanks,
    Hussein

  • *** ERROR = Connect to database failed, rc = -4008 (POS(1) Unknown user na

    Hello
    I have just finished a dbcopy of Maxdb 7.6  to a new system with initilization.i can bring the db online. I have  ran the xuser command to fix the db users as below command as per note 39439
    i changed them in home dir of sidadm,sqdsid
                          xuser -U DEFAULT -u SAP<SID>,<password> -d <database_name> -n <database_server> -S SAPR3 -t 0 -I 0 set
    c) DBM user: for example, CONTROL.
                           xuser -U c -u CONTROL,<password> -d <database_name> -n <database_server> -S INTERNAL set
    d) SYSDBA user: for example, SUPERDBA.
                           xuser -U w -u SUPERDBA,<password> -d <database_name> -n <database_server> -S INTERNAL set 
    But iam having the below error now when trying to bring the SAP system up in dev_w0
    C  Try to connect (DEFAULT) onconnection 0 ...
    C
    C Mon Dec 19 21:46:11 2011
    C  *** ERROR => Connect to database failed, rc = -4008 (POS(1) Unknown user name/password combinati
    on)
    [dbsdbsql.cpp 137]
    B  ***LOG BY2=> sql error -4008  performing CON [dbsh#3 @ 1208] [dbsh    1208 ]
    B  ***LOG BY0=> POS(1) Unknown user name/password combination [dbsh#3 @ 1208] [dbsh    1208 ]
    B  ***LOG BY2=> sql error -4008  performing CON [dblink#8 @ 433] [dblink  0433 ]
    B  ***LOG BY0=> POS(1) Unknown user name/password combination [dblink#8 @ 433] [dblink  0433 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1537]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10837]
    M
    is there something  that i missed somewhere?
    Any ideas welcome

    erpsyscs1:cs1adm 46> xuser list
    XUSER Entry  1
    Key         :DEFAULT
    Username    :SAPCS1
    UsernameUCS2:S.A.P.C.S.1. . . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :CS1
    Nodename    :erpsyscs1
    Sqlmode     :SAPR3
    Cachelimit  :-1
    Timeout    
    Isolation  
    Charset     :<unspecified>
    XUSER Entry  2
    Key         :c
    Username    :CONTROL
    UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :CS1
    Nodename    :erpsyscs1
    Sqlmode     :INTERNAL
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>
    XUSER Entry  3
    Key         :c_J2EE
    Username    :CONTROL
    UsernameUCS2:C.O.N.T.R.O.L. . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :CS1
    Nodename    :erpsyscs1
    Sqlmode     :SAPR3
    Cachelimit  :-1
    Timeout    
    Isolation  
    Charset     :<unspecified>
    XUSER Entry  4
    Key         :w
    Username    :SUPERDBA
    UsernameUCS2:S.U.P.E.R.D.B.A. . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :CS1
    Nodename    :erpsyscs1
    Sqlmode     :INTERNAL
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>

  • How a user of external database can be connected to other database

    Hi
    I have two databases A and B. I have one user XYZ on database B.we want user XYZ to be connected to database A and also wants to create few tables on database A. Can you please tell me what are list of steps i need to perform.
    Regards,
    RJ.

    You can create a database link between database A and B to manipulate data in database A while connected to B. But you cannot create tables using database links. It does not allow DDLs in remote database. Tranparent gateway is a database link between oracle and some other database.
    Syntax is to create the link in B is
    create database link <name> connect to <user_in_A> identified by <password_in_A> using 'A';

  • "Failed to connect backend system.Check your system definition and user pri

    Hi Experts,
    I am a BW Consultant working on Portal & Visual Composer (7.0)
    As a Developer i got SAP_ALL & SAP_J2EE_ADMIN roles in BW and System Admin and VC role in Portal.
    In Portal Created/Published iviews for BW Queries (Transaction) and Published them to a role (role1) in portal.
    In Visual Composer i developed Dashboard reports on BW Queries ,made them public and deployed them to a portal role(role 1) in portal.
    I assigned portal role to my self and tested the queries and dashboards in portal everything is working perfectly.
    In VC i can see 3 different systems defined in Portal
    I created a Test user (with profile of end user) in BW,Testuser is authorised to view all the reports in BW and All data in all data targets and in portal testuser is assigned with Role1 and VC Role.
    (Note: In BW Testuser doesn't had J2EE_ADMIN role).
    Portal:
    When i login to portal as testuser and tries to execute the BW Queries (Transaction) and it working perfectly.
    When i tried to execute Dashboard reports developed in Visual Composer it gives me an error
    "Failed to connect backend system.Check your system definition and user priviliges"
    In Visual Composer i logged in as testuser (as test user got VC role assigned) i can't see any list of avaliable systems under "Find Data"
    When i modified testuser profile in BW and updated with SAP_J2EE_ADMIN then i can execute the dashboard report but at the same time testuser got more than what he should have like user admin,system admin...etc
    I searched the sdn and find some similar threads ...but nothing was useful
    Please update me what went wrong and how to fix this...
    Thanks in advance

    Hi,
    Refer,
    Visual composer
    Failed to connect to backend system. Check your system definition and user
    Regards,
    P.Manivannan.

Maybe you are looking for

  • How do i import contacts from my hotmail account

    how do i import contacts from my hotmail account? Every time i try, there's a message that keeps popping up saying that it can't do because the contacts aren't separated by commas...????? Please help, i'm a recent "switcher" thanks

  • Ipod 4g shut down and will not turn on or charge

    Greetings, yesterday my ipod nano 4g played some music and shut itself off after being in my vehicle during the day although not in direct sunlight. I had thought that it ran out of charge and took it home and hooked it up to my computer as I normall

  • Lumia 800, can't see Google ads

    With  Lumia 800, I can't see Google ads, but with Lumia 920 I see. For example, try this site: http://www.jouluradio.com/ Both phones using IE and setting: Desktop version

  • Strange cover flow behavior

    Just got a 32 GB iPod Touch, and I'm encountering an odd bug with cover flow. For example: say I want to play Amy Winehouse's "Back to Black". If I choose the album from list view, the correct artwork comes up. If I flip horizontal and look at cover

  • Outlook 2013 / Exchange 2013 : Shared mailboxes - Mail stuck in outbox (non-cached), Mail sends but doesn't get received (cached).

    Hello, We are currently experiencing some weird behaviour in Outlook 2013 since we added Shared Mailboxes. When we run Outlook 2013 with cached mode enabled: - I create a new e-mail and send it. - The e-mail goes to the outbox, and get's 'send'. - No