Find user connections on an hourly basis

Hi ,
How to find number of connections on an hourly basis over this time period '28-SEP-12'.

Hi,
if your license covers the Diagnostic Pack, then you can run an AWR report -- it has logon statistics, or query DBA_HIST_SYSSTAT manually:
select snap_id, value - lag(value) over (order by snap_id) logons
from DBA_HIST_SYSSTAT
where stat_name like 'logons cumulative'
order by snap_id desc;Best regards,
Nikolay

Similar Messages

  • Find user connect DB information

    Hi Experts,
    I try to run lsnrctl server to generate user connecttion to DB file.
    Where can I find this file?
    Do we have any way to find user conneced to DB information?
    Thanks,
    Jim
    Edited by: user589812 on Feb 4, 2009 12:52 PM
    Edited by: user589812 on Feb 4, 2009 1:01 PM

    user589812 wrote:
    Sorry. I means taht can we have any way to find record of user connected DB .
    Thanks
    JImDepending on exactly what information you want in this "record fo user connected to DB", you might start with the file 'listener.log', normally found at $ORACLE_HOME/network/log.
    Beyond that you'll need to implement auditing.
    V$session will show current connections, not what someone did last week.

  • Failed to find user: connect to new vcenter nexus 1000v

    I upgraded my vsm from  4.2(1)SV2(1.1a) to 
    5.2(1)SV3(1.1)
    but when I changed my vcenter and connect
    I got the error 
    cannot find USer.
    but the dvs got created fine in the new vcenter
    any idea?

    What is the path and start page that you have specified on
    the first page of the FlashHelp layout dialog?
    --Ben

  • 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

  • 9i can't connect to a data base, even when I use another user's tnanames.or

    I can't connect to a data base, even using tnsping with a tnanames.ora file that I copied from a user's PC that was able to connect. It's a new install of 9i on my PC. What did I miss? I'm on a Win 2000 box and Oracle is on a UNIX server.
    Here's the description from the tnsnames.ora file:
    HISTA02A =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bkodv1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = HISTA02)
    The file is from the previous version 8.1.7, should that matter? 9.2.0.1 is the server now.

    Yes, I even pinged it to make sure. When I do a tnsping HISTA02 I get :
    C:\>tnsping HISTA02
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 28-FEB-2007 14:25:53
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    C:\Local\network\ADMIN\sqlnet.ora
    TNS-03505: Failed to resolve name
    My SQLNT.ora looks like this:
    # SQLNET.ORA Network Configuration File: C:\orant\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DEFAULT_DOMAIN = cboent.cboe.com
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)

  • Error message, Cannot find iTunes Connect user

    I cant access my I tunes from my Iphone, I get the following. Authentication Error. Cannot find iTunes connect user (2002)(2002)

    Hello wallydt,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/ts3694
    Check USB connections
    If there’s an issue with the USB port, cable, dock, or hub, or if the device becomes disconnected during restore, try troubleshooting the USB connection, then troubleshooting your security software.
    Common errors: 13, 14, 1600-1629, 1643-1650, 2000-2009, 4000, 4005, 4013, 4014, 4016, “invalid response”, and being prompted to restore again after a restore completes.
    To narrow down the issue, you can also change up your hardware:
    Use another USB cable.
    Plug your cable into a different USB port on your computer.
    Try a different dock connector (or no dock).
    Add (or remove) a USB hub between your device and computer.
    Connect your computer directly to your Internet source, with no routers, hubs, or switches.
    If you see your error after changing your USB connections, continue to the next section to troubleshoot your hardware.
    Best of luck,
    Mario

  • How do I find the users connected via afptcp

    I want to find the list of users connected to an OES2 Linux server.

    Originally Posted by ataubman
    Start with the documentation Novell Documentation . If you have further issues, please start your own fresh thread with full problem and system details, as your problem has nothing to do with the OP's.
    I've already looked at the documentation and have another thread going, I'm just looking for any info from any source. That source may be watching this thread and not the other.

  • Is my Hard Drive safe when connected directly to the Base Station?

    I just recently bought the new Airport Extreme with USB to connect and external hard drive.
    I've successfully connected everything with no problem. However, I see on the Airport utility-> Disks-> that there are 3 Users connected. I setup the Hard Disk to be accessed only by users with accounts. And I only have 1 user account. And on the finder I see that the airport mounted 2 HD. 1 is the main base station drive and 2 is named after the account name. I also hear constant hard drive activity even when my macbook pro is off.
    So my question is..
    1. Is it normal to have 3 users connected? Logically, 2 might sound right because 1 to the main ext (shared) drive and 1 to the account. But 3 is weird.
    2. Is the hard drive activity normal? Or maybe there's really 1 person connected to my base wirelessly without my knowledge?
    By the way, I used WPA2 encryption, so I don't think someone is hacking my base.
    Macbook Pro Mac OS X (10.4.6)
    Macbook Pro Mac OS X (10.4.6)
    Macbook Pro   Mac OS X (10.4.6)  

    jrie818,
    The location you're describing (Airport Utility->Disks), and then under the Disks subtab therein will reveal the hard drive(s) and the partition volumes it has, but not the user accounts. User accounts are found under the Accounts subtab. Are you referring to there?
    For the hard drive activity you could add the volume(s) to the Privacy tab of the Spotlight system preferences pane if you'd prefer for your computer(s) to not index the drive.
    Regards,
    Chris

  • Safari crashing on an hourly basis

    My Safari, v. 6.2.2 is lately crashing too frequently, almost on an hourly basis... The beach ball is turning, and when I switch to the Finder and back to Safari it would not respond to the pointer, I must quit Safari and launch it again... Short of switching to Chrome as my default browser, is there a solution?  I already reset Safari by removing all website data. Still, no improvement.
    Please help..... Thanks!

    Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test.
    Do a backup.
    Quit the application.
    In Finder hold down the option/alt key while selecting the Go menu item. Select Library. Then go to Preferences/com.apple.Safari.plist. Move the .plist to your desktop.
    Restart the computer, open the application and test. If it works okay, delete the plist from the desktop. 
    If the application is the same, return the .plist to where you got it from, overwriting the newer ones.
    If you want to make your user library permanently visible, run the below command in Applications/Utilities/Terminal.
    chflags nohidden ~/Library/
    You will need to do that after any updates.

  • Error occurred while finding users using API with custom field

    Hi All,
    I am getting the following error while searching user using API with custom attribute. Did anybody faced the same problem before ?
    Hashtable<Object,Object> env = new Hashtable<Object,Object>();
    env.put("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory");
    env.put(OIMClient.JAVA_NAMING_PROVIDER_URL, "t3://localhost:14000");
    System.setProperty("java.security.auth.login.config","C:\\Oracle\\Middleware\\Oracle_IDM1\\designconsole\\config\\authwl.conf");
    System.setProperty("OIM.AppServerType", "wls");
    System.setProperty("APPSERVER_TYPE", "wls");
    tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env, "xelsysadm", "Weblogic123$");
    OIMClient client = new OIMClient(env);
    client.login("xelsysadm", "Weblogic123$".toCharArray());
    SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
    tcUserOperationsIntf moUserUtility = (tcUserOperationsIntf)ioUtilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    Hashtable mhSearchCriteria = new Hashtable();
    mhSearchCriteria.put("USR_UDF_ACTUALSTARTDATE",formatter.format(date));
    tcResultSet moResultSet = moUserUtility.findAllUsers(mhSearchCriteria);
    printTcResultSet(moResultSet,"abcd");
    log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).
    log4j:WARN Please initialize the log4j system properly.
    Exception in thread "main" Thor.API.Exceptions.tcAPIException: Error occurred while finding users.
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl_1036_WLStub.findAllUsersx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at com.sun.proxy.$Proxy2.findAllUsersx(Unknown Source)
    at Thor.API.Operations.tcUserOperationsIntfDelegate.findAllUsers(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
    at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
    at com.sun.proxy.$Proxy3.findAllUsers(Unknown Source)
    at oim.standalone.code.OIMAPIConnection.usersearch(OIMAPIConnection.java:209)
    at oim.standalone.code.OIMAPIConnection.main(OIMAPIConnection.java:342)
    Caused by: Thor.API.Exceptions.tcAPIException: Error occurred while finding users.
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.findAllUsers(tcUserOperationsBean.java:4604)
    at Thor.API.Operations.tcUserOperationsIntfEJB.findAllUsersx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1614.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy347.findAllUsersx(Unknown Source)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl.findAllUsersx(Unknown Source)
    at Thor.API.Operations.tcUserOperationsIntf_e9jcxp_tcUserOperationsIntfRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Thank you

    Hi J,
    Thanks for the reply. But the code is working fine for OOTB attributes and  for 11g API i am getting permission exception
    Exception in thread "main" oracle.iam.platform.authz.exception.AccessDeniedException: You do not have permission to search the following user attributes: USR_UDF_ACTUALSTARTDATE.
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.search(UserManagerImpl.java:1465)
    at sun.reflect.GeneratedMethodAccessor1034.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy366.search(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManagerEJB.searchx(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1449.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at com.sun.proxy.$Proxy365.searchx(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl.searchx(Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemoteImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: oracle.iam.identity.exception.SearchAttributeAccessDeniedException: You do not have permission to search the following user attributes: USR_UDF_ACTUALSTARTDATE.
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.search(UserManagerImpl.java:1462)
    ... 44 more

  • Max no. of users connections in essbase

    Hi All,
    How can i find what is the max. no. of users connections is allowed for essbase. If there is some setting in EAS console or we can define it through MAXL. We are using very old version (version 6- using ESSCMD commands). We have already provided access to about 475 users. 200 more users are waiting for access.
    Thanks,
    Anchit

    Herewith the relevant parameter you can define in your ESSBASE.CFG - it should answer your question:
    MAXLOGINS
    Sets a limit on the number of user sessions that can be connected to the Essbase Server at any one time.
    Syntax
    MAXLOGINS n
    n Any integer from 1000 to 1048575 is valid. The default value is 10000.
    Description
    This setting limits the maximum number of user sessions allowed to connect to the Essbase Server at any one time. This number includes multiple instances of the same user.
    You may wish to adjust the value of MAXLOGINS to match computer resources, or to more closely manage concurrent ports and user sessions. A concurrent port is used for each unique combination of client machine, Essbase Server and login name. For example, the same user > with five open Excel worksheets connected to the same Essbase Server use one port, but five sessions.
    Notes
    Increasing the value of MAXLOGINS increases memory use approximately 6 bytes per user session.
    If the setting is less than the minimum value, 1000, the value is assumed to be 1000.
    Example
    MAXLOGINS 50000
    increases the maximum number of simultaneous logins possible, from the default of 10000 to 50000. > Kind regards
    André

  • App store:ConnectionManager::invoke::Failed to find service connection url.

    I can log into Apple with user name and password but can't log into App Store. Used it earlier to update Aperture.
    Now i get this:ConnectionManager::invoke::Failed to find service connection url.

    Check GateKeeper ...
    Open Sysem Preferences > Security & Privacy then select the General tab.
    Select:  Mac App Store and identified developers
    If that area is greyed out, click the padlock icon to make changes. You may be prompted for your admin password.
    OS X: About Gatekeeper
    If that didn't help, disable anti virus software if installed. Then try logging in.
    And try deleting the cache associated with the App Store.
    Quit the App Store if it's open.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Caches/com.apple.appstore/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Relaunch the App Store and try logging in.

  • PLEASE REPLY ASAP.Unbale to connect to oracle data base using JSP.

    hi,
    I am not able to connect to oracle data base using JSP. PFB the code and out put.
    <html>
    <!--Importing the Packages-->
    <%@ page import = "java.sql.*" %>
    <body>
    <%
    try
         out.println("hi<br>");
    Connection conn = DriverManager.getConnection("jdbc:oracle:oci:@xxx.xxx.xx.xxx:xxxx:flstr800","user","paswordd");
         out.println("connected<br>");
    catch (SQLException e)
    out.println("ERROR: failed to connect!");
    out.println("ERROR: " + e.getMessage());
    e.printStackTrace();
    return;
    %>
    </body>
    </html>
    OUTPUT:
    hi
    ERROR: failed to connect! ERROR: No suitable driver found for jdbc:oracle:oci:@host:port
    Please guide me on this issue.
    Edited by: user10997061 on Apr 10, 2009 4:27 AM

    I definitely do not know much about JSP but
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html
    indicates
    <quote>
    This URL connects to the same database using the the OCI driver and the SID inst1 without specifying the username or password.
    jdbc:oracle:oci:@myhost:1521:inst1
    <quote>
    I do not see the port information in your connect string. Is that an issue?

  • Find all connections in a package

    Hi,
    I have 100 + packages in my server ( 2005 ). Due to some user requirement , i need to find the connection Names in all the packages and also the connection is ADO or OLEDB etc.
    Is there any solution to find all at once?
    I dont want to open all 100 packages 1 by 1 ...
    Please help if there is solution.
    Abhishek

    This link has solution for Sql server 2008 however please check if you can simulate it for your version. 
    http://thebakingdba.blogspot.com/2013/05/ssis-finding-your-connection-strings-in.html
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

  • Limiting the number of users/connections

    We currently have a very large user community (120000)who will be accessing the portal for ESS/MSS functionality.
    We would like to limit the number of users to around 20000. Any more connections should get a nice error message (rather than a standard IE no more connections or a time out message).
    We can obviously throttle the number of connections via the load balancer or via max connections in unix. Is there any method in the Portal itself, that will automatically direct the users to a seperate web page in the event of pre determined number of users/connections being reached.
    I have search high and low but can't find a solution.
    Thanks in advance
    Fenton

    Hi Tim,
    No, there is nothing like this as a standard functionality within the portal. Similar requests are regulary asked on SDN (like: restrict the number of users logging in as you ask, restrict the number of parallel logins of one user, and things like this).
    A possibility would be to implement your own login module which tries to check how many users are online. All techniques - independent if on portal or on WAS side - that try to count this have the problem that they cannot be sure who is "online" as you have no definite information if a user is online or not; one can only use more or less heuristic methods.
    Hope it helps
    Detlev

Maybe you are looking for