Solved

STRUTS - Branch is too large, Internal restriction

Posted on 2004-10-25
377 Views
Last Modified: 2008-03-04
Hi!

I'm doing a jsp page, this page has a big amount of STRUTS's TAGs, then when I run the jsp, I obtain the next error:

Branch is too large, Internal restriction

anybody knows how can I solve this problem?

Thanks in advance!

(Struts version 1.0)
0
Question by:ManoloMA
    4 Comments
     
    LVL 8

    Accepted Solution

    by:
    It happens when the page generates enough source code to exceed the JVM limit on the amount of compiled code for a single method.


    check out this

    http://www.mail-archive.com/struts-user@jakarta.apache.org/msg04902.html
    0
     
    LVL 13

    Assisted Solution

    by:petmagdy
    based on ur Application server or servlet engine modify the startup batch to add a parameter to the Java runtime, search for ur line contains at the beginning:

    >java .........

    and modify it to be:

    >java -Dcom.sun.tools.javac.main.largebranch=true ................

    see if this solve
    0
     
    LVL 8

    Expert Comment

    by:kiranhk
    did you find any of the suggestions useful?? havent heard from you for a long time
    0
     
    LVL 8

    Expert Comment

    by:kiranhk
    can you close this question....its been more than 3 months.....
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Prepare to Pass the CompTIA A+ 900 Series Exam

    CompTIA aims to adapt its A+ Certification to reflect the most current knowledge and skills needed by today's IT professionals--and this year's 2016 exam is harder than ever. This certification is one of the most highly-respected and sought after in IT.

    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    Are you using email marketing software? If not, you're missing out on effortless marketing and the reaching of desired conversion rates through email marketing software.
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    877 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now