How to integrate C++ server in weblogic

I have developed a C++ class implementing a kind of server. It
receives requests from clients, processes the requests (by
accessing ODBC databases), and returns the results back to the
client. Then it remains waiting for the next request, never
finishes.
Now I am trying to integrate this server into a Weblogic
environment to take benefit of scalability, availability,
performance, ...
I would like to know what are my choices:
a) I think that servlets are not suitable as I do not want my
server to finish execution after serving a request. But what
about servlets + EJBs. Could my server be implemented with a
combination of both?
In that case I suppose that I cannot take advantage of the JDBC
conection pool from my C++ class, can I? ...
b) I could make a java wrapper for my C++ functions in order to construct an RMI object. I wonder if this is possible.
c) I could implement my server as a CORBA object. Then the
weblogic server would have an active IIOP connection pool for
say 5 or 10 instances of my CORBA object. Do I really need to
purchase Weblogic Enterprise? Can I do something else with the
Weblogic Server?
In that case the ODBC connections would be established at the
CORBA startup time.
c) Other?
Thanks in advance.

Comments inline...
David Ruana wrote:
Eduardo, does your solution require the Weblogic Enterprise product or just the Weblogic Server?No, WLS will not work with WLE until the next point release of WLE.
Is a C++ ORB the same as a CORBA object?Yes.
>
>
On the other hand, I have wrapped the C++ class by means of JNI so that I have the corresponding java class available. Then the implementation of a RMI server is quite straightforward. I am just beginning with RMI but it seems far more easy that CORBA, isn't it?Yes, the only trouble is that iff your C++ object is colocated with the WLS server, you could take the whole server down iff the C++ code faults. What would also work, without this side effect, is if you wrapped the C++ code in a WLS client and bound the client side RMI server into the WLS server.
As I see it, the main advantage of this choice would be that the Weblogic Enterprise product would not be required (since Weblogic Server itself supports calling RMI from servlets, for example).
Please some further advise on this issue would be appreciated.
Thanks. David
Eduardo Ceballos <[email protected]> wrote:
Host your C++ server on a C++ ORB. BInd a reference to it into the COS Naming/WLS JNDI tree. Delegate calls from (into) the C++ object using WLS support for IIOP. This makes it so that the native code does not take down your server when (if) it goes south.
David Ruana wrote:
I have developed a C++ class implementing a kind of server. It
receives requests from clients, processes the requests (by
accessing ODBC databases), and returns the results back to the
client. Then it remains waiting for the next request, never
finishes.
Now I am trying to integrate this server into a Weblogic
environment to take benefit of scalability, availability,
performance, ...
I would like to know what are my choices:
a) I think that servlets are not suitable as I do not want my
server to finish execution after serving a request. But what
about servlets + EJBs. Could my server be implemented with a
combination of both?
In that case I suppose that I cannot take advantage of the JDBC
conection pool from my C++ class, can I? ...
b) I could make a java wrapper for my C++ functions in order to construct an RMI object. I wonder if this is possible.
c) I could implement my server as a CORBA object. Then the
weblogic server would have an active IIOP connection pool for
say 5 or 10 instances of my CORBA object. Do I really need to
purchase Weblogic Enterprise? Can I do something else with the
Weblogic Server?
In that case the ODBC connections would be established at the
CORBA startup time.
c) Other?
Thanks in advance.

Similar Messages

  • How  to integrate File Server with Portal??

    Hi all,
    can any one tell me that how interegate the File Server With Portal Server??
    In my portal server under home tab i have sub tab (second level navigation) of File server.Whe i click this tab it throws an syntax error
    ie
    System Error
    An exception occurred during the program execution. Below you will find technical information pertaining to this exception that you might want to forward to your system administrator.
    Exception Class  :: class com.sapportals.wcm.repository.NotSupportedException
    Exception Message  :: Not Implemented
    thease are the steps that i have taken
    >created HTTP System..
    >created WebDAV Repository.
    >Created Cache.
    >Created KM WebDAV System.
    >Created Iview and in iview i have to specify the <b>Path to Initially Displayed Folder</b>
    i have specified the folder of file server that i want to display..
    but i get the same syntax error ..
    infact i dint get that folder in KM.
    But when i specify the folder that is present in KM its Work fine..
    Now the Scnerio According to me is that File server is not integrated properly
    if it would be integrated properly i would be able to see the folder of File server in  KM...
    am i correct ??
    please Guide me to integrated the File Server Properly??
    Points will be given for any help..
    Regards
    Vinit

    Hi Vinit,
    if you want some Windows File Server integrated into Portal, please do not use a WebDAV Repository, but use the File System Repository instead. Therefore you need to configure the according Repository Manager. Please refer to this documentation:
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/ed/b334ea02a2704388d1d2fc3e4298ad/frameset.htm">Integrating Documents from a Windows System into KM</a>
    HTH,
    Carsten

  • How to start managed server on Weblogic 9.1 Admin console with jRockit

    I configured a new 9.1 domain with jRockit as the JVM. Under Server Start, I used -server -Xgcprio:pausetime -Xpausetarget=400ms -Xms:256m -Xmx:384m -Xns:81m -Xgcpause in the Argument field. When I tried to start the server, I am getting the following error:
    <May 24, 2006 11:16:55 AM> <Info> <NodeManager> <Starting WebLogic server with command line: C:\bea\jrockit90_150_04\bin\java -Dweblogic.Name=jdevext -Dbea.home=C:\bea -Djava.security.policy=c:\bea\weblogic91\server\lib\weblogic.policy -Dweblogic.management.server=http://144.111.155.145:7001 -Djava.library.path=C:\bea\WEBLOG~1\server\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\bea\WEBLOG~1\server\native\win\32;C:\bea\WEBLOG~1\server\bin;C:\bea\JROCKI~1\jre\bin;C:\bea\JROCKI~1\bin;C:\bea\WEBLOG~1\server\native\win\32\oci920_8;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Support Tools\;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\QuickTime\QTSystem\ -Djava.class.path=C:\bea\weblogic91\server\lib\weblogic.jar;C:\bea\jrockit90_150_04\lib\tools.jar;c:\bea\weblogic91\server\lib\wamapps\commons-logging.jar;c:\bea\weblogic91\server\lib\wamapps\log4j.jar;c:\bea\weblogic91\server\lib\wamapps\xalan.jar;c:\bea\weblogic91\server\lib\wamapps\xercesImpl.jar;c:\bea\weblogic91\server\lib\wamapps\xml-apis.jar -Dweblogic.system.BootIdentityFile=C:\bea\user_projects\domains\jdev\servers\jdevext\data\nodemanager\boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false java -server -Xgcprio:pausetime -Xpausetarget=400ms -Xms:256m -Xmx:384m -Xns:81m -Xgcpause -verbose weblogic.Server >
    <May 24, 2006 11:16:55 AM> <Info> <NodeManager> <Working directory is "C:\bea\user_projects\domains\jdev">
    <May 24, 2006 11:16:55 AM> <Info> <NodeManager> <Server output log file is "C:\bea\user_projects\domains\jdev\servers\jdevext\logs\jdevext.out">
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)
    where options include:
    -jrockit     to select the "jrockit" VM
    -client     to select the "client" VM
    -server     to select the "server" VM [synonym for the "jrockit" VM]
    The default VM is jrockit.
    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
    A ; separated list of directories, JAR archives,
    and ZIP archives to search for class files.
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -version:<value>
    require the specified version to run
    -showversion print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
    include/exclude user private JREs in the version search
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    -agentlib:<libname>[=<options>]
    load native agent library <libname>, e.g. -agentlib:hprof
    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
    load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
    load Java programming language agent, see java.lang.instrument
    <May 24, 2006 11:16:57 AM> <Info> <NodeManager> <Server failed during startup so will not be restarted>

    It looks like your command line is broken. You have:
    java <lots of -Dprop=value> java <JRockit flags> weblogic.Server
    That second "java" shouldn't be there.
    -- Henrik

  • How to configure JMS server in weblogic

    Hi,
    I want to configure JMS server in weblogic.So please send me needful link.
    Regards
    Anup

    Hi Anup,
    1. The first thing you have to do is create a filestore where messages will be stored. Look at the below link for more detailed instructions:
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/stores/CreateFileStores.html
    2. Next create a JMS server. Look at the below link for more detailed instructions
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_servers/ConfigureJMSServers.html
    3. Now, create a JMS System Module to hold the JMS resources like Queues, Topics, Connection Factory, SAF agents etc..
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/modules/ConfigureJMSModules.html
    4. Now, create a resource like connection factory OR queue etc.
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/modules/ConfigureJMSModuleResources.html
    For now, lets stick to the basics and create a basic queue using the below documentation unless you exactly know what resource you want to create
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/queues/CreateQueues.html
    5. You will also need to create a connection factory to use the resource. See below documentation
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/jms_modules/connection_factories/CreateConnectionFactories.html
    Please go through the below JMS architecture diagram as well as documentation that will tell you what JMS on WebLogic is all about in terms of configuration
    http://docs.oracle.com/cd/E23943_01/web.1111/e13738/overview.htm#i1084283
    Arun

  • How to start Managed server in Weblogic 8.1

    Hi,
    I am Using Weblogic 8.1 server. I can able to start weblogic server by invkoing startWebLogic.sh. When I start managed server by invoking the shell startManagedWebLogic.sh it error out by following exception
    <BEA-000364> <Server failed during initialization. Exception:weblogic.security.spi.ProviderInitializationException: [Security:090314]Entitlement Engine unable to connect to the embedded LDAP server
    netscape.ldap.LDAPException: error result (49)
    weblogic.security.spi.ProviderInitializationException: [Security:090314]Entitlement Engine unable to connect to the embedded LDAP server
    netscape.ldap.LDAPException: error result (49)
    at weblogic.security.providers.authorization.DefaultAuthorizationUtils.getEngine(DefaultAuthorizationUtils.java:130)
    at weblogic.security.providers.authorization.DefaultRoleMapperProviderImpl.initialize(DefaultRoleMapperProviderImpl.java:104)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.createSecurityProvider(SecurityServiceManagerDelegateImpl.java:242)
    at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:957)
    at weblogic.security.service.RoleManager.initialize(RoleManager.java:152)
    at weblogic.security.service.RoleManager.<init>(RoleManager.java:98)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.doRole(SecurityServiceManagerDelegateImpl.java:513)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.java:409)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm(SecurityServiceManagerDelegateImpl.java:700)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:733)
    at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:876)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:734)
    at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:822)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    at weblogic.Server.main(Server.java:32)
    I refered some forum, they ask to update <EmbeddedLDAP > tag by setting Credential="" in config.xml file. Still I get the same exception.
    I have also tried in console, that too fails.
    Help me out to resolve this.
    thanks,
    Thiru.

    Hi,
    Thanks for your reply.
    My Admin server is running fine. The msi-config.xml, SerializedSystemIni.dat, boot.properties files are in the same directory. When I exceute the command
    startManagedWebLogic.sh <managed server name> it shows the same exception
    <WebLogicServer> <BEA-000364> <Server failed during initialization. Exception:weblogic.security.spi.ProviderInitializationException: [Security:090314]Entitlement Engine unable to connect to the embedded LDAP server
    netscape.ldap.LDAPException: error result (49)
    weblogic.security.spi.ProviderInitializationException: [Security:090314]Entitlement Engine unable to connect to the embedded LDAP server
    netscape.ldap.LDAPException: error result (49)
    thanks,
    Thiru.

  • How to integrate sharepoint server with exchange server.

    hi guys,
         I have installed SharePoint 2013 in windows 2012. This is in another domain. And i have installed exchange server in another domain. I need to configure SharePoint server to with communicate with Exchange server. I have configured
    SharePoint server with the help of this link.
    http://blogs.technet.com/b/mspfe/archive/2013/04/04/new-age-collaboration-with-exchange-2013-and-sharepoint-2013-part-2.aspx
    But according to link i would have been asked certificate warning or it would shown OWA link. But when i enter the url nothing displays. Please guide me how to configure for SharePoint server to with communicate with Exchange server.
    Thanks
    Rajendran.

    Hi,
    Did you mean you want to use the Site Mailboxes in SharePoint server 2013?
    If so, you can refer to the following articles, they are about how to configure the site mailboxes in SharePoint server 2013, and some notes.
    http://technet.microsoft.com/en-us/library/jj552524(office.15).aspx
    http://www.scinaptic.com/support/0109.html
    If you mean configuring the incoming/outgoing email for SharePoint server 2013, you can refer to the following technet articles.
    Configure incoming email for a SharePoint 2013 farm
    http://technet.microsoft.com/en-us/library/cc262947.aspx
    Configure outgoing email for a SharePoint 2013 farm
    http://technet.microsoft.com/en-us/library/cc263462.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to integrate CRM server to PORTAL

    Hi ,
       Can anyone point me to a document/help where I can get a step by step guide to intergate the CRM server to portal ?
    Regards
    Deepak Singh

    Hi
    You can get the exact document in SAP Service Marketplace.
    https://websmp101.sap-ag.de/instguides
    Follow the below specified path:
    Installation and Upgrade Guides -> mySAP Business Suite Solutions -> mySAP CRM -> SAP CRM 4.0 -> People-Centric CRM Inst.a.Config.Guides
    You will get a list of guides for installation and confihuration.
    Hope this helps.
    Regards
    Yoga

  • How to integrate MSSQL server with SAP CRM via XI? Please help!

    Hi Experts,
       I have a requirement where I have to pull the data from MSSQL server and send it to SAP CRM.
       What are the different options avaiable with or without adapter to send data from MSSQL server to XI?
    As per my understanding I have following options:
    1. JDBC driver.
        MSQL ---> JDBC adapter ---> XI
    2. Create webservice for the XI outbound interface (Sender interface) and call it from MSSQL stored procedure.
       MSQL ---> SOAP adapter ---> XI
    2. Create webservice for the XI outbound interface (Sender interface) and call it from a .Net program.
      MSQL ---> DotNet application --> SOAP adapter ---> XI
    Which option is the best?
    Please help.
    Thanks
    Gopal

    Hi,
    Kindly refer:
    xMII 12.0 : Connecting to a Microsoft SQL Server 2000
    /people/ted.teng/blog/2005/12/28/use-sql2005-to-connect-and-present-sap-on-sharepoint-business-scorecard-manager-150-part-i
    Use SQL2005 to Connect and Present SAP on SharePoint / Business Scorecard Manager - Part IV
    Hope this might be of some use to you...........

  • How to integrate JMS into WebLogic ?

    I want to use JMS for Messaging but I don't know how to integrate it into my WebLogic Server.
    Can anyone please tell me how I should integrate JMS into WebLogic?

    Java Message Service (JMS) is a standard API for accessing enterprise messaging systems.
    And WebLogic JMS is an enterprise-class messaging system that is tightly integrated into the WebLogic Server platform. It fully supports the JMS Specification.
    Please refer to the following links to get more information on this and how to configure the jms resources:
    http://docs.oracle.com/cd/E15051_01/wls/docs103/jms/fund.html
    http://middlewaremagic.com/weblogic/?page_id=1976
    Thanks,
    Patrick

  • How to integrate weblogic 10 server in IBM rational software architect 7.0?

    Hi All,
    Please help me to resolve this issue!!!!!!!!
    I am trying to find it out how to integrate weblogic 10 server in IBM rational software architect 7.0?
    Thanks
    Harshad

    You're right: Weblogic supports Apache web server 2.0 and 2.2 to be a proxy server but you are using Oracle Application Server 10.1.3.1.0 which is based on Apache *1.3* as you can read in "Oracle® HTTP Server Administrator's Guide"
    10g (10.1.3.1.0) - Part Number B28948-01 - 1.1 Oracle HTTP Server Features, right under "Based on Apache - HTTP v1.1 Support" at
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28948/overview.htm#i1008837.
    As far as I know, the only OHS based on Apache *2.0* is available as a standalone release: "Oracle HTTP Server (Apache 2.0) (10.1.3.3.0) for Linux x86" - 32bit. You can download it from http://www.oracle.com/technology/software/products/database/oracle11g/111060_linuxsoft.html (as_101330_apache2_lnx.zip).
    I've tested it successfully.
    Edited by: Virgil on Jan 15, 2009 3:08 AM

  • How to find active sessions count on a server in weblogic server console

    Hi All,
    I would like to know how to find active sessions count on a server in weblogic console. I am using weblogic 11g.
    Regards,
    Sunil.

    On the deployment, monitoring tab, you can select web applications. Here the number of current sessions are listed per web application deployed on the domain.
    The deployment itself (deployments, application, monitoring, sessions) shows a list of sessions and where it is located. Unfortunately, there is no aggregation (but that is something you can so yourself as well).
    When you are using a load balancer in front, the count of sessions on per web application on the domain gives you some clue how many sessions there are present on each server.
    That is to say, when load balancer is using round-robin (and does that correct), you can take the total number of sessions divide it by the number of servers.

  • Problems concerning "How to integrate MS Exchange Server into SAP EP"

    Hi,
    I want to realize the scenario in "How to integrate Microsoft Exchange Server into SAP Enterprise Portal" from the Microsoft-Website.
    We´re using SAP NetWeaver 04, SAP NetWeaver Portal 6.0.14.0.0 and KMC 6.0.14.2.0 and Microsoft Exchange Server 2000 SP3.
    I have created (as described in the document) the HTTP-System and a WebDAV RM. But the repository doesn´t appeaer in the KM-Content-iView.
    I checked the Component Monitor and got this error-message for "servers" (it was marked with a red square)
    last-error-3   2006-05-16T13:12:11Z: PROPFIND /public: 401 Access Denied
    last-error-4   2006-05-16T13:15:04Z: PROPFIND /public: 401 Access Denied
    last-error-6   2006-05-16T13:26:35Z: PROPFIND /public: 401 Access Denied
    errors   8
    last-error-2   2006-05-16T13:12:10Z: PROPFIND /public: 401 Access Denied
    requests   8
    last-error-7   2006-05-16T13:26:35Z: PROPFIND /public: 401 Access Denied
    bytes-per-second   0
    successes   0
    response-average   194
    last-error-1   2006-05-16T13:11:55Z: PROPFIND /public: 401 Access Denied
    last-error-0   2006-05-16T13:11:54Z: PROPFIND /public: 401 Access Denied
    last-error-5   2006-05-16T13:15:05Z: PROPFIND /public: 401 Access Denied
    failures   0
    Any idea, what´s wrong? And how to solve the problem.
    Thanks for help,
    Sven
    Message was edited by: Sven Keller

    Hi James,
    How can I check the KM ACLs/Security Zones?
    I had a look on "System Administration - System Configuration - Knowledge Management - Content Management - Repository Managers - Security Manager - WebDAV ACL Security Manager".
    There was just "WDAclSecurityManager" and the Permission Rendering Class was "com.sapportals.wcm.control.acl.ResourcePermissionControl".
    Or where do I have to look for the ACL?

  • How to increase the performance of  Weblogic server 7.0?

    How to increase the performance of Weblogic server 7.0 ?
    also, how do i avoid typing the server login and password evertime I start the
    webserver?

    How to increase the performance of Weblogic server 7.0 ?It depends on what is not running fast enough for you.
    also, how do i avoid typing the server login and password evertime I
    start the webserver?In the startWebLogic shell script (.cmd or .sh) add:
    set WLS_USER=weblogic
    set WLS_PW=password
    (Replace "password" with whatever your password is.)
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com/coherence.jsp
    Tangosol Coherence: Clustered Replicated Cache for Weblogic
    "winston" <[email protected]> wrote in message
    news:3fe42d33$[email protected]..
    >

  • How to find the capacity of admin server in weblogic server?

    1. how to calculate the capacity of admin server in weblogic 8.1 a admin server can handle how many requests at a time.
    2. if 50 threads are given to admin server then with this 50 threads how many messages/requests the admin server can handle???
    please help................

    If your application is deployed to "all servers within the cluster", then the admin server should not be receiving any traffic. Your admin server should not be part of the cluster, and the application should not be deployed to the admin server. Your application requests should be directed to the managed server(s), such as with a load balancer.
    For instance, if your cluster has managed servers which listen on:
    http://yourserver1:8020
    http://yourserver2:8020
    with an admin server which listens on:
    http://youradminserverhost:7001
    and your cluster is defined as consisting of the managed servers which listen on "yourserver1" and "yourserver2" - and does not include your admin server, then how can your admin server receive any application requests?

  • How to get the security MBeans for the managed Server of weblogic 11g

    Dear All ,
    I have been trying to figure it out why the UserLockoutManagerMBean API not working on the managed Server of Weblogic . Its always returns 0 value . Where as in the Admin server it give a proper result . I am attaching the code for the references . Please help me out.
                              MBeanHome home = null;
                                    Environment env = new Environment();
                                    env.setProviderUrl("t3://localhost:8001?");
                                    env
                                            .setSecurityPrincipal(Resources
                                                    .getRefNo(GlobalVariableConstant.WEBLOGIC));
                                    env
                                            .setSecurityCredentials(Resources
                                                    .getRefNo(GlobalVariableConstant.WEBLOGIC_PASSWORD));
                                    javax.naming.Context context = env
                                            .getInitialContext();
                                    home = (MBeanHome) context
                                            .lookup("weblogic.management.adminhome");
                                    RealmMBean realmMBean = home.getActiveDomain()
                                            .getSecurityConfiguration()
                                            .getDefaultRealm();
                                    UserLockoutManagerMBean userLockoutManagerMBean = realmMBean
                                            .getUserLockoutManager();
                                    userLockoutManagerMBean.getRealm()
                                            .getUserLockoutManager();
                                    boolean d2 = userLockoutManagerMBean
                                            .isLockoutEnabled();
                                    long getUser = userLockoutManagerMBean
                                            .getLoginFailureCount(username);

    Thanks for your help Satya - it did work!
    Looking up "SecurityConfigurationConfigMBean" does return an instance of SecurityConfigurationMBean.
    Regards,
    DKV
    Satya Ghattu <[email protected]> wrote:
    On a managed server you will need to query the
    SecurityConfigurationConfig MBean, from that you know how to get to the
    UserLockoutManager MBean.. :-).
    Thanks,
    -satya
    DKV wrote:
    Hi,
    I need to get counts for the invalid user login attempts. Accordingto javaDocs,
    these are published by the following MBEans:
    1. weblogic.management.runtime. ServerSecurityRuntimeMbean [does not
    work
    2. weblogic.management.security.authentication.UserLockoutManagerMBean
    The first one does not work [always returns back "0"]. Hence, the needfor the
    other approach.
    I have not been able to figure out how to get the UserLockoutManagerMBeanfor
    a managed server.
    [On a domain server I was able to fetch it using: securityConfigurationMBean.findDefaultRealm().getUserLockoutManager()
    However, on a managed server the MBEan "SecurityConfigurationMBean"
    is not available..
    Q) How do I get the UserLockoutManagerMBean
    [from a remote client] targeting a managed WLS 8.x version?
    Regards,
    DKV

Maybe you are looking for

  • How to use function module K_ORDER_SRULE_ADD?

    Hi,    Can you provide me the details on how to use K_ORDER_SRULE_ADD especially criteria parameter? If possible, attached wit sample code? Thanks. Best Regards, Chee Boon

  • Problem with rebuilding iPhoto library database

    Some of my videos in iPhoto play fine, however, I get the ! sign with some of them when I attempt to play.  I've tried rebuilding the library database, but the process gets stuck at 92% and never completes.  What now?

  • Does Task Scheduling use a lot of resources?

    This is a curiosity question. Instinctive I would say that task scheduling must use a lot of resources. Every fraction of a second the system must check the Task Schedule.  Does Task Scheduling use a lot of resources?

  • How to import files in Outlook 2010??

    I converted all my Mac Thunderbird archived mbox files to pst format using an application named Gladwev thunderbird to pst convreter which I got from http://thunderbirdtopst.com/. As the converter final step shows that I have completed the conversion

  • Redo group status

    Referring to the Redo Group management screen in Oracle 10g Enterprise Manager - what do the following status as regards to Redo Groups, mean: Active, Inactive, Current, Unused ? What's the difference between them, so I can have an idea of how much I