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.
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
Truncated. see log file for complete stacktrace
I did lot of google and found some solution to initialize JAVA_OPTIONS
like -XX:xmx
and etc.
I tried to set this in startdomainenv.cmd
file but with no luck.
Please help. Any pointers will be highly appreciated.
Thanks.