Get concurrent user amount from WebLogic Server 6.1

Does someone know how to get concurrent user amount from WebLogic Server 6.1
by writing AP.
thank for your help!

If each user in your system corresponds to an active session,
you can get a count of all the active session MBeans and that
will be your user count. I have used code like this:
import javax.management.*;
import weblogic.management.*;
import weblogic.management.runtime.*;
try {
//-- Get the domain's Admin MBean Home so we can ask it questions
weblogic.management.MBeanHome mbh =
weblogic.management.Helper.getAdminMBeanHome("system", "<password>",
"t3://localhost:7001");
//-- Get JUST the session runtime mbeans (one per active session)
Set sessionMBeans = mbh.getMBeansByType( "ServletSessionRuntime" ) ;
System.out.println( "Number ServletSessionRuntime MBeans: " +
sessionMBeans.size() );
} catch( Exception e ) {
System.out.println( "Exception: " + e);
e.printStackTrace();
Hope this helps!
--matt
"Esse" <[email protected]> wrote in message
news:[email protected]..
Does someone know how to get concurrent user amount from WebLogic Server6.1
by writing AP.
thank for your help!

Similar Messages

  • How can i get all the users from weblogic server?

    how can i get all the users from weblogic server?
    i have configurated a LDAP server using iPlanet and
    in weblogic server console i see those users from LDAP
    server. but how can i get all the users in my program
    from weblogic server instead of LDAP server?
    BTW,how to configure a RDBMSAuthenticator and what should i do
    in Oracle? which tables should i create? and how are their architectures?
    Thanks
    Daniel

    BTW, i use weblogic platform 8.1
    "Daniel" <[email protected]> дÈëÓʼþ
    news:[email protected]..
    how can i get all the users from weblogic server?
    i have configurated a LDAP server using iPlanet and
    in weblogic server console i see those users from LDAP
    server. but how can i get all the users in my program
    from weblogic server instead of LDAP server?
    BTW,how to configure a RDBMSAuthenticator and what should i do
    in Oracle? which tables should i create? and how are their architectures?
    Thanks
    Daniel

  • Getting User projects from Collab Server

    Hi, How can I retrieve user projects from collaboration server from a portlet using EDK?

    Hi,
    Here are two ways for your reference:
    1. Use ensureUser Method in the JS Client Object Model:
    http://msdn.microsoft.com/en-us/library/ff408786.aspx
    2. Use the SPServices
    jQuery library to achieve it.
    http://stackoverflow.com/questions/5542208/sharepoint-2010-use-spservices-to-get-a-users-id
    http://spservices.codeplex.com/wikipage?title=Users%20and%20Groups
    http://devspoint.wordpress.com/2012/07/17/jsrender-spservices-and-user-profiles/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Get the connected users count from sql server using powershell

    Hi,
    I am working on SharePoint 2013,I am having SQL server 2012.
    I want to get the Connected Users count from  sql server using power shell.
    Can any one please let me know how to implement.
    Thanks in advance.
    Regards,
    Phani Kumar R

    Sorry Tom, I dont like to hear "There is no way" :-(
    There is always a way in computer to get what you need (at least it is good as Rule of thumb). I am not sure we will find it here (in a voluntary supporting forum).
    Now we (or better the architect of their system) should think of the way :-)
    Of course doing so in the forum, while we do know the system and only got a glimpse on what is needed, is not the best idea. I will point some issues which can be related to a solution. Those are not a solotions as it is but something we can use for a solution
    once something look in the right way.
    * A web connects counter is one of the easier thing to do. The basic idea is just to use the connect event and the disconnect event an adding 1 or removing 1 from the counter. This is best to do in the application using static variable as any way the second
    the application is down the counter can be go to hell as we know there is no one connect (there for a counter do not use database usually). Using a web dot-net (or asp 3) application this is done most of the time using the global.asa/global.asax file, which
    include the application and session events. for example using the method Session_Start
    protected void Session_Start(object sender, EventArgs e) {
    // Code that runs when a new session is started
    * IIS have a build-in loging system where we can log each and every request/response or only logins users. There is lot we can do with this log files including data mining. Using small bulk insert script we can use the SQL agent to insert those logs to the
    database and get the information we need.
    * any web developer i want to believe know about the Fiddler application which we use to monitor traffic. A proxy is not the only way to to monitor traffic (it is not good for our case as this is in the client side), there are several option in the server
    side.
    * SQL trigger on logon can be use to get information on who is loging on and can be logging only specific source (like our sharepoint IP or any sharepoint application). This information (what is the application which connect to the server can be retrive
    in several solution without using a trigger as well)
    *** (I'll be brief ... I'm getting bored... probably the reader feel the same)
    * using extended events and/or profiler we can monitor any connection and save the data or just remember it in shared (static) variable (this
    blog show how to do it by the way). Again we can monitor specific application or use any filter in order to get only the sharepoint users
    .... and i can continue for several days more :-) ...
    "If there is a willing, then there's a way"
    "If you can't do it, Then someone else probably can"
    "Never say never"
    I hope this help somehow :-)
    [Personal Site] [Blog] [Facebook]

  • StatelessSession Example: We were unable to get a connection to the WebLogic server at t3://localhost:7001

    I have seen other related posts on this site but really no answers, the users seem to be left hanging.
    Anyway, I am trying to run the statelessSession example, with the WebLogic server running and listening
    on port 7001 on the current machine (i.e. localhost).
    Here is what I am seeing:
    c:\weblogic\myserver\clientclasses>java examples.ejb.basic.statelessSession.Client
    Beginning statelessSession.Client...
    We were unable to get a connection to the WebLogic server at t3://localhost:7001
    Please make sure that the server is running.
    System Configuration:
    Win2000, WebLogic 5.1, WL Sp2, Java 1.2.2, weblogic home==> c:\weblogic
    I have attached the weblogic.log.
    Regards,
    John

    Hello John,
    When I first install "weblogic", I am successfully able to run the examples, but after some time which I completely forget how I make them run, I install it again and encounter the same problem as you.
    After spending nearly a whole day on restarting computer, viewing ports etc. :) :(, I remember that I make weblogic run from the command line. First, in a console run setenv and startWebLogic tools which are located under weblogic directory and in an another console run setenv again(for possible errors, I want to be sure that it is correct again) and run your client as explained in the tutorials html pages.
    As seen, in computer science, simple things, not hard things, always cause you to lose time :)))
    Best regards
    Banu
    "John Pda" <[email protected]> wrote:
    >
    I have seen other related posts on this site but really no answers, the users seem to be left hanging.
    Anyway, I am trying to run the statelessSession example, with the WebLogic server running and listening
    on port 7001 on the current machine (i.e. localhost).
    Here is what I am seeing:
    c:\weblogic\myserver\clientclasses>java examples.ejb.basic.statelessSession.Client
    Beginning statelessSession.Client...
    We were unable to get a connection to the WebLogic server at t3://localhost:7001
    Please make sure that the server is running.
    System Configuration:
    Win2000, WebLogic 5.1, WL Sp2, Java 1.2.2, weblogic home==> c:\weblogic
    I have attached the weblogic.log.
    Regards,
    John

  • How to update Data Services (ALDSP 2.5) from WebLogic Server 9.2 correctly?

    Hi,
    I need to update some physical data service in ALDSP 2.5 on WLS 8.1 SP6 (8.1.6) via Static Mediator API from WebLogic Server 9.2 MP2 (9.2.2) application. I have reviewed the article about interoperability of ALDSP 2.5 and WLS 9 here:
    http://edocs.bea.com/aldsp/docs25/appdev/ejbclt.html#wp1090900
    Firstly, I had a problems with the interconnection between 9.2 client and ALDSP 2.5 due to some missed methods/classes. Finally, I've added the following libs to my WLS 9.2.2 pre-classpath in such an order:
    MyDSPProject-ld-client.jar (built with Ant script using XmlBeans 2.0)
    wlsdo.jar (from ALDSP 2.5)
    xbean.jar
    xqrl.jar
    wlxbean.jar
    ld-client.jar (from ALDSP 2.5)
    I do the update in the way shown in attached java file.
    After submit method call, I've got two copies of a new item added in the DB and also an exception that is shown in attached log-file.
    What is the possible cause of this issue?
    I use MySQL DBMS version 5.0.45.
    I've also tried MS SQL 2005 but it simply had the same results.
    DSP audit log is also attached.
    Thank you in advance!
    Best Regards,
    Vitalii Tiutiunnyk

    The problem is that your client is WLS server, and WLS server has network class loading disable (for security), and the result from the call requires a class that is not on the client. The call succeeds, but the the network class load for the result fails, and the WLS 9.2 framework (incorrectly) retries the call (and you get either a duplicate key exception or a second row inserted). Putting the server jar in the client classpath solves the problem.
    If you wanted more information or help, you can contact BEA Customer Support and tell them it is regarding the CR I mentioned.

  • How to get the Users Name from the SSL certificate?

    Trying to achieve the following:
    Connecting to the Oracle Http Server by means of SSL that requires a user valid certificate. Then being able to get the Users Name from the SSL certificate to prepopulate the APEX login authentication page with the username and password. Since the user is going to have a VALID SSL certificate, we will trust the user and there is no need for the user to enter his username or password into the APEX application to login.
    Does SSO do this or something else?

    Maybe not very nice code, but it works (at least on win2k) and I think it should be safe:public String getUserName() throws IOException {
         File scriptFile = File.createTempFile("script", ".js");
         FileWriter fw = new FileWriter(scriptFile);
         fw.write ("WScript.Echo(WScript.CreateObject('WScript.Network').UserName)");
         fw.flush();
         fw.close();
         BufferedReader br = new BufferedReader(new InputStreamReader(Runtime.getRuntime().exec("CSCRIPT.EXE \"" + scriptFile + "\" //Nologo").getInputStream()));
         String uName = br.readLine();
         br.close();
         scriptFile.delete();
         if (scriptFile.exists()) scriptFile.deleteOnExit();
         return uName;
    }

  • Need Weblogic.jar from Weblogic server 9.2

    Hi All,
    I need weblogic.jar from Weblogic server 9.2.
    but i dont want to download & install Weblogic Server 9.2.
    Is thereany way i can get only the .jar file?
    Thanks & Regards,
    BOB

    We are having this problem as well. I e-mailed BEA support, but they just said we needed to include the jar in the EAR (this is all supposed to be assembled automatically by the workshop).
    For us the issue seems to be the files not being put into the EAR automatically as they are with other types of projects. If we have to manually copy/jar up our class files then we might as well just use notepad and some batch files and skip BEA altogether.
    Edited by jmckitt at 09/18/2007 11:04 AM
    Edited by jmckitt at 09/18/2007 11:05 AM

  • Security Agent: Could not get the user record from OpenDirectory

    Hi,
    Two months ago I had to change my SSD due to a damage at the old one. In the Apple shop they installed OS X Lion with a image from their image-server.
    After that the Mac was quite slow in booting. With the old SSD (128 GB) booting takes 25 sec now it takes 75 sec.
    I tried different things to solve the problem without result. First I asked in the shop, then I googled the problem all with no real solution.
    Today now I searched in the log files. I found the following:
    09.02.12 11:03:07.861 SecurityAgent: Could not get the user record from OpenDirectory.
    09.02.12 11:03:07.861 SecurityAgent: Will sleep 3 seconds and try again (retryCount = 10)
    09.02.12 11:03:34.907 SecurityAgent: Could not get the user record from OpenDirectory.
    09.02.12 11:03:34.907 SecurityAgent: Will sleep 3 seconds and try again (retryCount = 1)
    09.02.12 11:03:34.907 SecurityAgent: Will sleep 3 seconds and try again (retryCount = 1)
    09.02.12 11:03:38.653 WindowServer: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    09.02.12 11:03:58.245 SecurityAgent: User info context values set for andi
    09.02.12 11:03:58.246 SecurityAgent: User info context values set for andi
    09.02.12 11:03:58.356 SecurityAgent: Login Window login proceeding
    09.02.12 11:03:58.356 SecurityAgent: Login Window login proceeding
    This operation takes 30 secs during the boot process. Can somebody help me, to solve this problem?
    Regards
    Andreas
    MacBook Pro, Mid 2009
    2.66 GHz Intel Core 2 Duo
    8GB 1067 MHz DDR3
    SAMSUNG SSD 830 Series , 256 GB
    OS X 10.7.3

    cece2bali wrote: "it seems that your mac tries to connect to a server while booting. This action will erase all your network configuration..."
    Where can I go to learn more about this 'erasure' of network configuration if the mac tries to connect to a server while booting?
    I get the same error message as the OP. My account is an Admin on the machine. It's configured to automatically log in on boot -- except sometimes it fails. It has a login-item which runs a bash script that makes an https request to a nearby machine. Maybe I should make this script sleep a while so the https action happens after the boot sequence is done? (unlike SmashHuevo, my user needs to be an Admin)

  • Unable to get a connection to the WebLogic server

     

    After reinstalling WLS and SP it still didn't work, however, after a 3rd
    reinstall in
    the DEFAULT directory of c:\weblogic, it finally worked! It would NOT work
    from c:\tools\weblogic. Who knows, maybe i didn't update a magic variable
    somewhere.
    -b
    "Bob Banks" <[email protected]> wrote in message
    news:397e0db2$[email protected]..
    Pablo, how did you fix your problem? Same thing happening here on Win2000,
    WLS5.1 SP4.
    Thx,
    -Bob
    "Pablo Corinkha" <[email protected]> wrote in message
    news:[email protected]..
    Trying to use the statelessSession EJB example. When attempting to run
    the client, I get the following message:
    Beginning statelessSession.Client...
    We were unable to get a connection to the WebLogic server at
    t3://localhost:7001
    Please make sure that the server is running.
    The WebLogic server is definitely running, though. I am able to access
    it using port 7001 from a browser. What could be wrong?

  • How to generate Operating system user list from windows server

    Hi,
    is it possible to extract the following report from windows server, if yes how to do it,
    1) Operating system User list from the server along with following details User Name, User Permission, Last Login date, User Status, 
    2) is it possible to include staff id, and staff name while creating any Operating system user

    Hi FBMUIIa,
    Would you please let us know current situation of this issue? Please refer to Mr X’s suggestion and check if
    can help you.
    Please also refer to following article and check if this script can help you.
    List Local
    User Accounts Using WMI
    In addition, regarding your current requirement, it seems that scripts will help you to achieve the target better.
    I suggest that you would post the question in
    Official Scripting Guys Forum or
    PowerShell Forum. I believe we will get a better assistance there.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Logical path for getting a Flat file from application server

    Hi All,
    We have loaded some .csv files to application server, what is the logical path we have to mention in the infopackage scheduler screen? please guide me how to give the path for getting a flat file from application server.
    Thanks,
    Sairam.

    Hi Sairam,
    I hope you know which location you have saved in the Application server.
    Now if you go to the Infopackage and click on the "External Data" tab, there you will see Radio Buttons for
    1) Client Workstation
    2) Application Server
    Choose the second radio button, then in the Field "Name of the File" you will be able to use the F4 help and browse AL11 transaction through this option. You can then choose the File.
    Hope this helps
    Regards,
    Praveen.

  • OAM SSO integration question:How can I get a user identity from ObSSOCookie

    We are building an OAM SSO solution. The App server is both on OAS and WLS. My question is that, after I get the ObSSOCookie from httprequest.
    I need to verify whether the ObSSOCookie is a valid one, and I also need to get user identity from the cookie and pass it to login module to populate user principal
    Of course, one way of doing that is to install access manager SDK and go from there. But we support multiple OS, it's a pain to add Access manager SDK to different installer for different OS.
    I am trying to use IdentityXML Functions which is a SOAP based webservice so that I don't need to worry about the OS platform. But I can't find a webService which returns user identity based on a valid ObSSOCookie. It seems that I can invoke webService with valide ObSSOCookie, but there is no way to get the user identity back. Am I missing something?
    Hope someone can help me out.
    Thanks.
    -Wei

    Ok. Sounds like you are a vendor trying to play well in an SSO environment.
    Here is what I tell OAM customers when they are evaluating software to see if it will cooperate with a system like OAM.
    Can the software's native authentication scheme be explicitly turned off (usually a configuration in a file)?
    Can the software be configured to accept a token of identity in the form of a Cookie or HeaderVar (also configurable in a file)?
    If the answer to both is yes, then the system is capable of 'third party trust' for authentication.
    From your perspective, your logic for login should be something like:
    Is my native authN turned off?
    If yes, can I find the cookie or header that I should be looking for?
    If yes, take the value and proceed to create user session for this identity per usual (except that you never evaluated the authN - you trust that it was done).
    If no, present the native AuthN scheme anyway.
    If you follow this pattern, you are in the good company of folks like PeopleSoft and Plumtree who had these types of integrations working long ago.
    Yes, there are other ways to do this but, in my humble opinion, this remains the most stable and effective pattern we see.
    What you ask for as the identity token value is up to you. It is often the login ID value that you would have used in your own authN procedure. There's nothing particularly sensitive about having a webgate set headers - they are only available to the server and not to the client. Cookie of course could be seen but can't be spoofed as the webgate has the final word on it's content.
    Mark

  • Populate User Name from Sharepoint Server to Certificate

    Hello:
    I work for a govt contractor and we are loading our CBT on a Sharepoint server. The server guys have created a hidden field within my HTML file called
    Input html ID: CBTUserName
    So when the user accesses the CBT from the Sharepoint Server (which is NOT an LMS) their User Name populate.
    Now I need to get that user name to populate in the Certificate so that users are NOT required to type their name. Our customer (military) does NOT want to ask users to type in their name they want it automatically populated from accessing the CBT through the server.
    HELP- I am a beginner and don't know where to start or what to do.
    Thank you!

    Oh and you can email me directly at [email protected]
    I appreciate any help I can get.

  • How to get the user name from Single Sign On Process?

    Post Author: sasikumar
    CA Forum: Authentication
    I am loging in Single Sign On Page. Then it goes to one JSP which lists out some links including InfoView link. While clicking InfoView link, I need to pass user name with the url for authentication. How and where can I get the user name?

    Care to be more specific what you mean with single sign-on? There are numerous ways this can be done.
    Just how you get the authenticated o/s user from within an Oracle session, depends on just how the actual authentication to Oracle was done in order to create that Oracle session.
    E.g. dealing in Oracle with a LDAP server is very different than dealing with a NT Primary/Secondary Domain Controller using o/s authentication, than dealing with a Java-based application server that does it own thing, etc.

Maybe you are looking for

  • Execute link is not working in Web report

    Friends, " Execute" link is dead in   web my report. And also the selection screen is blank for style sheets. Do you have any idea about the cause? Joe

  • Cannot connect to EM on ODD guest from Windows host

    Hello, I cannot connect to the Enterprise Manager in my guest VM from my host. From a IE v8.0 browser, the recommended link https://192.168.56.101:1158/em fails to connect. I installed Oracle VM VirtualBox 4.0.4 on a Windows 7 laptop and imported the

  • "Mark as played" for podcasts doesnt work in itunes 11.1.3 and Mavericks

    Ever since updating to Mavricks, iTunes is not keeping track of my podcasts correctly. If I right click a podcast from the "Unplayed" list and choose "Mark As Played," nothing happens. the podcast stays in that list and the blue dot stays next to the

  • How to use the user Input in a tool tip

    Lets say I have two text boxes (Tb1 and Tb2).  I want the input the user types in Tb1 to be part of the Tool Tip of TB2.   So if the user types "Party" in Tb1, when you hover over Tb2 it say "Number for Party".  Does this make sense? Thanks!

  • Problem with Dev6 server

    HI, I've about 100 users running form6 on the web, some of them are running well, but others give an error("need estblish session"). Is there something to install in browser client ?. The client is running IE4,IE5. I use three-tier architecture. At t