Hi All,
To anyone that is trying to run JDev 11g (5188) on Mac OSX 10.5.5 and you find that you can't start your Embedded WLS because you get:
<Dec 11, 2008 8:39:41 AM EST> <Error> <HTTP> <BEA-101216> <Servlet: "AsyncResponseServiceServlethttps" failed to preload on startup in Web application: "bea_wls9_async_response.war".
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
Truncated. see log file for complete stacktrace
You will probably need to do the following:
1) Edit: ~/.jdeveloper/system11.1.1.0.31.51.88/DefaultDomain/bin/setDomainEnv.sh
And look for:
MEM_MAX_PERM_SIZE="-XX:MaxPermSize=128m"
And replace with:
#MEM_MAX_PERM_SIZE="-XX:MaxPermSize=128m"
MEM_MAX_PERM_SIZE="-XX:MaxPermSize=256m"
export MEM_MAX_PERM_SIZE
USER_MEM_ARGS="${MEM_ARGS} ${MEM_MAX_PERM_SIZE}"
export USER_MEM_ARGS
After you add that, you should be able to startup your Embedded WLS.
Having said this, if you do continue running into java.lang.OutOfMemoryError: PermGen space, you might also need to increase the parameters in MEM_ARGS. If you do change these, also make sure that -Xms and -XX:MaxPermSize have the same size.
I hope this helps!
Kenton