Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

JSPCompilation Error

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Thanks

===

version used

java :1.4.02
App Server : OC4J 9.0.4
 
Sheriff
Posts: 67636
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since this appears to be Oracle-specific, moved to that forum.
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

Regards,
Srini
 
Always look on the bright side of life. At least this ad is really tiny:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic