J2EEGeneral J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the J2EE section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
Dear all
I am using enhydra framework for my webdevelopment.I t compiles all the .html files into .java files.
When I run the ant task to compile it throws an exception like below.
The system is out of resources.
Consult the following stack trace for details.
java.lang.StackOverflowError
[xmlc] Error: compile of generated java code failed
[xmlc] org.enhydra.xml.xmlc.XMLCException: compile of generated java code failed
On researching I found out that the java stack is getting overflown. I tried to increase the java stack size and os stack size by mentioning
Most of the time, stack overflow errors are due to infinite looping, such as having one function call itself ad infinitum. Is there any chance there's a recursive loop in one of your source files? E.g. a file that includes itself?