500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:
C:\obiee\OracleBI\oc4j_bi\j2ee\home\applicationdeployments\analytics\analytics\persistence\_pages\\_default.java
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.Main
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Exception in thread "main" Could not find the main class: com.sun.tools.javac.Main. Prog
Cause of the error :
Could not create the Java virtual machine.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Resolution:
Change the parameter heap value in the server.xml file to 1024m to 256m.
please execute the following steps:
1. In server.xml (from ORACLE_HOME\j2ee\home\config\) find the following setting:
2. Change it to a lower value (ex. 256M):
3. Restart oc4j
It works now.
If you see issues again with the same jdk1.6 file then try coping the jdk1.5 file and then restart the services.
Thanks,
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:
C:\obiee\OracleBI\oc4j_bi\j2ee\home\applicationdeployments\analytics\analytics\persistence\_pages\\_default.java
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.Main
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Exception in thread "main" Could not find the main class: com.sun.tools.javac.Main. Prog
Cause of the error :
Could not create the Java virtual machine.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Resolution:
Change the parameter heap value in the server.xml file to 1024m to 256m.
please execute the following steps:
1. In server.xml (from ORACLE_HOME\j2ee\home\config\) find the following setting:
2. Change it to a lower value (ex. 256M):
3. Restart oc4j
It works now.
If you see issues again with the same jdk1.6 file then try coping the jdk1.5 file and then restart the services.
Thanks,
No comments:
Post a Comment