facing perm gen space error in weblogic

后端 未结 5 736
离开以前
离开以前 2021-01-02 02:27

I am new to weblogic. After starting the server when i see administrator console and get log-in it throws below exception.

Root cause of ServletException.
ja         


        
5条回答
  •  时光取名叫无心
    2021-01-02 03:09

    In my case the solution was to edit the DOMAIN\bin\setDomainEnv.cmd file. The following modifications were made before the server would start as intended:

    • The -Xms and -Xmx values were increased
    • the -XX:PermSize and -XX:MaxPermSize values were increased too

    and lastly, but probably most importantly

    • the if "%JAVA_VENDOR%"=="Sun" ( conditions were changed to if "%JAVA_VENDOR%"=="Oracle" ( in order to properly recognize my JVM.

    Before this last modification the memory changes were only partly reflected to the initialised JVM, and this meant that the parameters regarding the PermGen Space were simply ignored.

提交回复
热议问题