Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Oracle/OAS and the fly likes JSPCompilation Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "JSPCompilation Error" Watch "JSPCompilation Error" New topic

JSPCompilation Error

Ram Gokul
Ranch Hand

Joined: Oct 07, 2005
Posts: 85
I get the error , when i visit my firt JSP page.

500 Internal server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Error occurred during initialization of VM
Could not reserve enough space for object heap

If heap size is not available , then why we are not getting error during
Application Server startup process ?
But appears only when the JSP page is first compiled .

Is the JVM initialized when App. Server process starts or when the first jsp/servlet program runs ?

Also can someone please tell me , how we can determine the Memory that is avialble for my process.



version used

java :1.4.02
App Server : OC4J 9.0.4
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63838

Since this appears to be Oracle-specific, moved to that forum.

[Asking smart questions] [About Bear] [Books by Bear]
Srinivas Mallela

Joined: Dec 16, 2004
Posts: 13
Oracle 10.1.3 by default installs jdk 1.5 and uses this for compiling the JSP's

Looks like your JSP's are not compiled on jdk 1.5

We have ran into this issue earlier and fixed by switching the jdk to 1.4.2

I agree. Here's the link:
subject: JSPCompilation Error
It's not a secret anymore!