4 Replies Latest reply: Jan 22, 2013 12:16 AM by Bob RSS

    em console is not opening

    912286
      Hi All,

      suddenly we have started getting this error.
      we have weblogic 11.1.5.0, soa suite 11.1.1.5.0 osb 11.1.1.5.0 installed.

      in summary of deployments in Admin console, i can see em is in failed state.
      we tried starting em from summary of deployments but its giving below error:

      <Apr 13, 2012 10:43:15 AM BST> <Error> <HTTP> <BEA-101008> <[ServletContext@229185004[app:em module:/em path:/em spec-version:2.5]] Cannot get InputStream of resource "/WEB-INF/config/consoleConfig.xml".
      java.io.FileNotFoundException: /u01/oracle/MW_HOME/user_projects/domains/fusion_domain/servers/AdminServer/tmp/_WL_user/emcore/28c293/WEB-INF/config/consoleConfig.xml (Too many open files)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:120)
      at weblogic.utils.classloaders.FileSource.getInputStream(FileSource.java:31)
      at weblogic.servlet.internal.WarSource.getInputStream(WarSource.java:65)
      at weblogic.servlet.internal.WebAppServletContext.getResourceAsStream(WebAppServletContext.java:871)
      Truncated. see log file for complete stacktrace
        • 1. Re: em console is not opening
          664991
          Hi

          Probably your file limit descriptor should be increased

          Increase the File Descriptor limit

          ulimit -n <to a proper value>

          Or ask you system admin to set this in the limits.conf for your WLS Software owner

          kind regards


          Michel
          • 2. Re: em console is not opening
            anjhawar - oracle
            The common reason of running into FD limit exception is the increase in the FD consumption or low value configured for the ulimit.

            In case increasing the ulimit value fixes the issue (which will only be the case if we have not properly configured the system) then we need to collect some lsof() output to check what is the state of the socket and in case there is not issue with the socket management.

            Thus to start with tune ulimit and if this does not fix the issue collect lsof() output to check where are the FD's/socket consumed.
            • 3. Re: em console is not opening
              912286
              Hi Michel/AJ,

              ulimit value was 1024 and after changing it to 4096 i am able to start em console but there is another issue.
              I am changing this ulimit from putty and starting the server, so whenever that putty session gets closed, ulimit value is again getting reset to 1024 and em again goes to failed state.

              Please let me know how to permanently change ulimit value.

              Thanks,
              Vivek
              • 4. Re: em console is not opening
                Bob
                To make this change permanent login with root user and edit file /etc/security/limits.conf
                Add below fields for the user (for example here I have installed MW with weblogic user):
                weblogic hard nofile 131072
                weblogic soft nofile 131072
                weblogic hard nproc 131072
                weblogic soft nproc 131072
                weblogic soft core unlimited
                weblogic hard core unlimited
                weblogic soft memlock 3500000
                weblogic hard memlock 3500000


                Thanks,
                Bob