Runtime information about EJB on weblogic console

Hi All,
I am using WLS6.1 sp2 on Redhat Linux 7.2.
The runtime information for an EJB as displayed on weblogic console looks very
odd. Could somebody clarify the meaning of the following mbean info?
Beans in Use Count(BeansInUseCount)
Cache Beans Current Count(CachedBeanCurrentCount)
For one of my entity EJBs, I see
BeansInUseCount=30678,CachedBeanCurrentCount=3674578
I have max-beans-in-cache=1000 for all entity beans and the number of records
for this entity EJB in database is less
than 10. I dont understand why the BeansInUseCount is so high?
This number looks very suspicious. Is this a bug or maybe a memory leak?
Any assistance will be greatly appreciated.
Thanks,
Abhay

Please transfer to EJB Forum...

Similar Messages

  • Runtime Information about Drilldown

    Hello Experts,
    i had the following question. Ist there an possibility to get information about the drilldown of an Web Query at runtime?
    In my Query there is a calculated Keyfigure. the normal drilldown is Year. The Keyfigure counts the Days in the Year. If the User changes the drilldown to e.g. Quarter or week the keyfigure shold calculate anothe value. If there is any possibility to know what drilldown ist selected i can calculate this keyfigure in an Exit.
    BG
    Günther

    GUnther,
    If you are on BI3.x then you could have a table modifier which captures the drilldown characteristic and accordingly changes the key figure - but this would mean that you will have to write your own code for updating the field....

  • WebLogic Console Data

    How can I get at the information hosted by the WebLogic Console? I would like to incorporate some of the Console functionality into the Eclipse plugin. Take care, Jeremy

    Hi there,
    This issue is often experience when you enable SSL on the admin server or
    have changed the listen address/port.
    Check your managed servers log files and admin server urn in the
    startManagedWeblogic script.
    Cheers,
    A.
    On Tuesday, April 7, 2015, community-admin <

  • Get information about Weblogic Application Server knowing only port number.

    Hi.
    What kind of information about Weblogic Application Server can I get if I know only port which web application is deployed?
    If it is true, how can I get it?

    1, If you want a opportunity run your code at server instance started or restarted, please see:
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/config_xml/StartupClass.html
    2, or you can package your code in a standard web application, deploy into the server instance.
    a servlet required to start you service.

  • Need information about WebLogic Server API

    Hi All,
    Can anyone please tell me what API does Oracle Weblogic Server call. I want to ask by calling which API I can get information about the state of a weblogic server and which jar contains those APIs.
    Thanks in Advance!!

    Hi Roshni,
    For List of MBean's You can follow the below Oracle link
    http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13951/core/index.html
    can you pls tell me how can I retrieve of a weblogic server through a java code,
    You can follow the below link,it will be helpful
    http://middlewaremagic.com/weblogic/?p=7505
    Regards
    Fabian

  • Need maximum information about Content Management in Weblogic Portal 10.3

    Hi,
    I have worked with Weblogic Portal before, but it's been some time, I do not remember much and I quickly need to find some info.
    We are making a proposal to a customer and have suggested Weblogic Portal.
    I would like to give as much information about the technicalities of the CMS in Weblogic Portal as possible.
    Could you please answer these questions ?
    I am looking for information on the CMS that is integrated in Weblogic Portal 10.3
    I have already checked the available information on the site :
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cm/introCM.html#wp1067976
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/development.html
    I would like to find more information, especially regarding these questions :
    What are the portlets that are available by default in Weblogic Portal 10.3 ? I read about the Content Presenter portlets, which display real-time data.
    Are there other portlets like these ?
    How can i manage the documentation in the CMS ? I have several source of data (databases, Lotus repositories ...) : can i load them into the WLP Virtual Content Repository ?
    What about images ? Do i need to work on a special format to handle them in my portlets ?
    Is it possible to load data coming from XML files into the repository so i can display them on the portal ?
    Thanks a lot for helping.

    BulkLoader is described in the docs here:
    http://e-docs.bea.com/wlp/docs102/cm/bulkloader.html
    As far as portlets go, WLP provides lots of facilities for creating your own portlets, to do exactly what you want them to do. It really depends upon what you want to do.
    If you're looking to display images, also take a look at the personalization features like Content Selectors and Placeholders, which can retrieve an image from the CM system.
    If you're looking to iterate over a set of content, take a look at display templates as a means to control the presentation.
    You may be able to use re-portlets from the WLP Admin tools, though I'm not familiar with the details.

  • Question about 'Beans in Use' statistic in weblogic console

    I am trying to figure out why the weblogic server is taking up so much
    memory in our system.
    We are running weblogic 6.1sp3 on solaris 2.7 and are quickly running
    out of memory.
    I run a 5 user test for an hour that results in around 240 'budgets'
    being created via a Budget entity bean.
    At the start of the run, the java weblogic process takes up 157meg.
    At the end of the run(actually many hours after the run has stopped
    and there has been no other activity), it is at to 696 meg
    The weblogic console tells me the following information on my Budget
    entity bean at the end:
    Idle: 0
    Beans in use: 246
    Cached: 50
    Passivated: 191
    My question is this, is 246 'Beans in use' a sign that I am not
    releasing resources correctly? what does it mean to have 246 'Beans
    in use'? the help on that screen says that 'beans in use' is the
    number of beans in use, active or ready state. I understand that an
    'active' bean is one that has a PK assigned and has been moved from
    'pooled' to 'ready'. passivated bean does not have PK associated and
    moved from 'ready' to 'pooled'. I can't figure out why it has 246
    beans ready or active? If someone could better explain what 'beans in
    use' means I'd greatly appreciate it. I put print outs in
    active/passivate/unsetEntityContext and I see active/passivate get
    called but no unsetEntityContext. It also seems that it doesn't reuse
    the 'container'. After a passivate, I'd expect the next 'activate' to
    re-use that seem bean that was just passivated, but it does not seem
    to.
    I feel like I'm missing the boat here on something. I understand
    'cached' beans and how to control that number. Where I feel I need
    some help is understanding what happens to the bean once it is
    'passivated'. Why aren't those being reused? why don't they have
    some 'max' that will cause them to be removed? (does
    max-beans-in-free-pool work for entity beans in 6.1??)
    any feedback would be greatly appreciated!
    thanks
    Kelly

    Hi Kelly,
    Semantics of ejbPassivate/ejbActivate methods of Entity
    beans is quite different from SFSB.
    For Entity Bean ejbPassivate is called when a bean loses its
    identity and transitions from Ready to Pooled state. ejbActivate
    is called when a bean transitions from Pooled to Ready state.
    Hope this helps,.
    Regards,
    Slava Imeshev
    "Kelly Kingdon" <[email protected]> wrote in message
    news:[email protected]...
    I am trying to figure out why the weblogic server is taking up so much
    memory in our system.
    We are running weblogic 6.1sp3 on solaris 2.7 and are quickly running
    out of memory.
    I run a 5 user test for an hour that results in around 240 'budgets'
    being created via a Budget entity bean.
    At the start of the run, the java weblogic process takes up 157meg.
    At the end of the run(actually many hours after the run has stopped
    and there has been no other activity), it is at to 696 meg
    The weblogic console tells me the following information on my Budget
    entity bean at the end:
    Idle: 0
    Beans in use: 246
    Cached: 50
    Passivated: 191
    My question is this, is 246 'Beans in use' a sign that I am not
    releasing resources correctly? what does it mean to have 246 'Beans
    in use'? the help on that screen says that 'beans in use' is the
    number of beans in use, active or ready state. I understand that an
    'active' bean is one that has a PK assigned and has been moved from
    'pooled' to 'ready'. passivated bean does not have PK associated and
    moved from 'ready' to 'pooled'. I can't figure out why it has 246
    beans ready or active? If someone could better explain what 'beans in
    use' means I'd greatly appreciate it. I put print outs in
    active/passivate/unsetEntityContext and I see active/passivate get
    called but no unsetEntityContext. It also seems that it doesn't reuse
    the 'container'. After a passivate, I'd expect the next 'activate' to
    re-use that seem bean that was just passivated, but it does not seem
    to.
    I feel like I'm missing the boat here on something. I understand
    'cached' beans and how to control that number. Where I feel I need
    some help is understanding what happens to the bean once it is
    'passivated'. Why aren't those being reused? why don't they have
    some 'max' that will cause them to be removed? (does
    max-beans-in-free-pool work for entity beans in 6.1??)
    any feedback would be greatly appreciated!
    thanks
    Kelly

  • Know about EJB.

    Hi,
    I dont have any idea about EJB and also how the EJB is differ from java beans.
    Thanks in advance.

    Romain - I think the answer to your question is that the information
    identifying the user is passed into the initial context parameters. Weblogic
    uses this to propagate the security context from the servlet container to
    the ejb container.
    cheers,
    Markus
    "romain" <[email protected]> wrote in message
    news:3b0e8b23$[email protected]..
    >
    Hi
    perhaps it is a dummy question but I didn't find any explicit answer.
    I'd like to know how the ejb can know if a user belongs to a role.
    For example if I want to access my ejb with a servlet, and this servlet isprotected
    (access allowed only for group customer)
    and in my bean's deployment descriptor I have protected one method withthe security
    role customer)
    What I am wondering is when the user is authenticated in the servlet as acustomer
    and then try to access the method how the ejb knows that this user is inthe group
    customer??
    Is this information included in the http session or in the initialcontextcreated
    in the servlet or somewhere else??
    thanks for your help
    romain

  • Howto get information about available queues?

    Any ideas how to get information about available queues on a Weblogic Server to browse them?
              When you have the jndi namespace and the name of the queue it's no problem to browse that queue, but when you don't have the name of the queue is there a way to still be able to browse the queue(s)?
              Any information is warmly welcomed.
              Thanks,
              Chris

    A QueueBrowser is currently the only way to view message contents. WebLogic 9.0 (out in beta now), provides comprehensive message management both via console and JMX.
              For 8.1, the following links may help get you started.
              JMS technology page:
              http://dev2dev.bea.com/technologies/jms/index.jsp
              WebLogic public management/monitoring APIs:
              http://edocs.bea.com/wls/docs81/jmx/index.html
              jsp based dest browser (which ultimately uses a QueueBrowser):
              http://dev2dev.bea.com/codelibrary/code/jmsdest.jsp
              JMS statistics dump:
              http://dev2dev.bea.com/codelibrary/code/jms_stats.jsp
              Tom Barnes, BEA

  • Bean Ids in weblogic console

    Does anybody know how the identifier of a Session Bean shown in the
    weblogic console is built? I know the ones of the Entity Beans are built
    using the toString method of the primary key class, but what about the
    Session Beans?
    Thanks in advance,
    Xavi

    We are facing the same problem. I have an EAR that has a packed WAR containing two EJBs. One of them can be configured without a problem, but the other one cannot. The same exception is thrown. Interestingly, we have the same application on our test server environment and there it works without a problem.

  • Monitoring heap using WebLogic console

    Hi,
    With WebLogic 6.1 sp3 does monitoring memory usage using the WebLogic console
    cause memory to be used up? I have no beans deployed in my WebLogic server,yet
    the memory usage creeps up until garbage collected.
    Regards,
    Don

    If the console and the node are one in the same, then there is some
    overhead. To test it out in a different light, you set up a single node
    cluster (admin node plus 1 managed node). You should see a difference.
    "Chandra Bommas" <[email protected]> wrote in message
    news:3de2a5d8$[email protected]..
    >
    Hi Don,
    I have seen similar behaviour and have been able to rationalize it in thefollowing
    manner.
    Weblogic Server periodically/constantly does internal house keepingactivities
    for its various subsystems i.e., the ejb Container, the Servlet Container,the
    JMS Subsystem etc..
    This causes the heap in the JVM to be slowly filled up until the nextgarbage
    collection kicks in.
    Without knowing the internals of how weblogic is implemented, I would bevery
    surprised if opening the console window affects the heap. I would be ofthe opinion
    that the management subsystem constantly gathers and publishes this data.The
    console would subscribe to this data. One way of empirically determiningthis
    would be to open a large number of consoles and check if the memoryconsumption
    rate increases.
    However, I wouldn't be too worried about this behaviour.
    hth,
    CB.
    "Don Marshall" <[email protected]> wrote:
    Hi,
    With WebLogic 6.1 sp3 does monitoring memory usage using the WebLogic
    console
    cause memory to be used up? I have no beans deployed in my WebLogic
    server,yet
    the memory usage creeps up until garbage collected.
    Regards,
    Don

  • Weblogi console not working

    hi,,
    i tried to run weblogic console and i started weblogic server,,
    i got the error message
    Tue May 16 16:40:21 EDT 2000:<I> <EJB> 0 deployed, 0 failed to deploy.
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException:
    java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method getClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found
         at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.java:140)
         at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.java:112)
         at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.java:104)
         at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>(RecursiveReloadOnModifyClassLoader.java:53)
         at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$SingleSlave.<init>(RecursiveReloadOnModifyClassLoader.java:149)
         at weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletContextImpl.java:1390)
         at weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImpl.java:513)
         at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java, Compiled Code)
         at weblogic.t3.srvr.HttpServer.start(HttpServer.java:442)
         at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    java.lang.NoSuchMethodError: weblogic.boot.ServerClassLoader: method getClassLoadNotify()Lweblogic/boot/ClassLoadNotify; not found
         at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.java:140)
         at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.java:112)
         at weblogic.utils.classloaders.GenericClassLoader.<init>(GenericClassLoader.java:104)
         at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.<init>(RecursiveReloadOnModifyClassLoader.java:53)
         at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$SingleSlave.<init>(RecursiveReloadOnModifyClassLoader.java:149)
         at weblogic.servlet.internal.ServletContextImpl.setClassLoader(ServletContextImpl.java:1390)
         at weblogic.servlet.internal.ServletContextImpl.<init>(ServletContextImpl.java:513)
         at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java, Compiled Code)
         at weblogic.t3.srvr.HttpServer.start(HttpServer.java:442)
         at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
         at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.Server.startServerDynamically(Server.java:99)
         at weblogic.Server.main(Server.java:65)
         at weblogic.Server.main(Server.java:55)
    can anybody help me ..
    thanks
    bye
    san

    hi,
    i have installed java in my system newly and i want
    to use the 'console' in my programing console?
    What console?
    but it is not working.Be specific.
    Does it compile?
    if not, what error do you get (cut&paste, put between [code] ),
    if it does compile, do you get a runtime error? Or do you just observe behaviour different from what you expect?
    when ever i am creating an object of console its not
    working.Be specific.
    is their any spl '.jar ' to be runed to use it.The only "spl" I remember is an HP3000 programming language.

  • Logged users x Weblogic console

    I'm using Weblogic 6.0 and I want to know what users are logged in. With WL
    4.5.1 we had the Weblogic Console that could provide that information but I
    don't know how to do that with WLS 6.0.
    The console web application shows all users but not the logged ones. Could
    anybody help me on that?
    Thanks a lot
    Andre Mendonca
    [email protected]

    We have upgraded our WebLogic from 8.1 to 9.2 along with our PeopleSoft 9.0 upgrade and boy-oh-boy, has the WebLogicAdmin console slowed down.
    It used to open in about 10 seconds.
    Now it opens in roughly 1 minute and 30 seconds.
    The heap size settings are the same as they were in the WebLogic 8.1
    Even restarting the WebLogicAdmin and associated PeopleSoft PIA's is the worst I have ever seen.
    Windows 2003 SP3
    Here's the startup command line;
    -Xms256m -Xmx256m -XX:MaxPermSize=128m -classpath ";D:/psft/hr849\webserv\hdev\lib\ps_patch.jar;D:/psft/hr849\webserv\hdev\applications\peoplesoft\PSIGW\WEB-INF\lib\mail.jar;D:/psft/hr849\webserv\hdev\lib\portlet-api-1.0.jar;D:/psft/hr849\webserv\hdev\lib\pluto-1.0.1.jar;D:/psft/hr849\webserv\hdev\applications\peoplesoft\PORTAL\WEB-INF\lib\saaj.jar;D:/psft/hr849\webserv\hdev\applications\peoplesoft\PORTAL\WEB-INF\lib\xml-apis.jar;D:/psft/hr849\webserv\hdev\applications\peoplesoft\PORTAL\WEB-INF\lib\xercesImpl.jar;;d:\bea\patch_weblogic923\profiles\default\sys_manifest_classpath\weblogic_patch.jar;d:\bea\jdk150_12\lib\tools.jar;d:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;d:\bea\WEBLOG~1\server\lib\weblogic.jar" -Djava.util.logging.config.file=D:\psft\hr849\webserv\hdev\applications\peoplesoft\logging.properties -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Dweblogic.Name=WebLogicAdmin -Dweblogic.management.username=operator -Dweblogic.ProductionModeEnabled=true -Dps_vault=D:\psft\hr849\webserv\hdev\psvault -Djava.security.policy="d:\bea\WEBLOG~1\server\lib\weblogic.policy" -Dssl.debug=false -Dps_home=D:/psft/hr849 weblogic.Server
    Regards,
    Tom

  • Migration of EJB  from WebLogic 4.5 - how to do it ?

     

    "Yves Martin" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hello,
    I would like to plan a migration of a EJB application (I do not knowmuch
    about it currently) from WebLogic 4.5 to a non-retired version. Is sucha
    migration will be easier using WebLogic 6.1 or WebLogic 7 ?
    Anyway, I have not found information about WebLogic 4.5 release. Whichare
    J2EE specification versions of each component (EJB 1.0 or 1.1 ? JSP ?JDK
    1.2.2 ?) in this release ?
    Is there troubles to expect in this migration ? Which process will youadvice ?
    >
    As I do not think simply deploy WLS 4.5 jar in an earlier version, myidea
    about it is:
    - rebuild jars from sources with new jdk and weblogic.jar
    - look for compilation issues
    - apply automatic source conversion script if possible
    - try to deploy and validate with intensive tests
    Have you got any experience or advise for such a migration ?
    Thank you for help
    Yves Martin

  • Error Starting Weblogic Console

    I am getting the following error while starting weblogic 5.1 console under
    solaris. Please help.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no awt in
    java.library.path
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Error.<init>(Error.java:50)
    at java.lang.LinkageError.<init>(LinkageError.java:43)
    at
    java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42)
    at java.lang.ClassLoader.loadLibrary(Compiled Code)
    at java.lang.Runtime.loadLibrary0(Runtime.java:470)
    at java.lang.System.loadLibrary(System.java:778)
    at
    sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:57)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.loadLibraries(Toolkit.java:882)
    at <Unloaded Method>
    at <Unloaded Method>
    at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
    at weblogic.Console.main(Console.java:41)

    what version JDK you are using?
    If you are on JDK 117 , make sure you have classes.zip available in
    your java classpath
    i.e. java -classpath $JDK_HOME/lib/classes.zip;$WL_HOME/classes/boot:$WL_HOME/
    lib/weblogicaux.jar weblogic.Console
    let us know if you are still having problems..
    Kumar
    Rakesh Gupta wrote:
    I am getting the following error while starting weblogic 5.1 console under
    solaris. Please help.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no awt in
    java.library.path
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Error.<init>(Error.java:50)
    at java.lang.LinkageError.<init>(LinkageError.java:43)
    at
    java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42)
    at java.lang.ClassLoader.loadLibrary(Compiled Code)
    at java.lang.Runtime.loadLibrary0(Runtime.java:470)
    at java.lang.System.loadLibrary(System.java:778)
    at
    sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:57)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.loadLibraries(Toolkit.java:882)
    at <Unloaded Method>
    at <Unloaded Method>
    at weblogic.admin.ConsoleStarter.startup(ConsoleStarter.java:16)
    at weblogic.Console.main(Console.java:41)

Maybe you are looking for