Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Subject: JSP Compilation error

Subject: JSP Compilation error

2004-08-12       - By Ponnappan, Dasarathy Ellayavilli (Cognizant)

 Back
Reply:     1     2  


Hi

This issue is caused due to your JSP size exceeding 64k limit imposed by JVM.

just use this option in your websphere app server to overcome this.

com.sun.tools.javac.main.largebranch=true in

Your server -> Process Definition -> Java Virtual Machine -> Custom Properties
-> Click on Add.
Once you do this and restart your web application your issue shoud typically be
resolved.
I hope you are trying this in solaris
Rgds
Dasarathy

-- --Original Message-- --
From: Sunil Kumar [mailto:sunil2.kumar@(protected)]
Sent: Thursday, August 12, 2004 4:13 PM
To: J2EEPATTERNS-INTEREST@(protected)
Subject: JSP Compilation error



Hi all,


I know this is not the best forum to ask this question.

But this is where the best people are, so I though I can ask this question here.


We are on WebSphere Portal Server 4.2.1.

Some of our JSPs give the following error.

"method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax
/servlet/http/HttpServletResponse;)V) Illegal target of jump or branch "


A little bit of googling revealed that if we give a parameter "com.sun.tools
.javac.main.largebranch" as true in the JVM settings then this problem does not
come.


And it did work, for at least two weeks we did not get this error, but now we
have started getting this error again.


Any help would be highly appreciated.


Thanks in Advance
Sunil Kumar
Tata Consultancy Services
Mailto: sunil2.kumar@(protected)
Website: http://www.tcs.com



This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e
-mail and destroy all copies of the original message.

Any unauthorised review, use, disclosure, dissemination, forwarding, printing
or copying of this email or any action taken in reliance on this e-mail is
strictly

prohibited and may be unlawful.

 Visit us at http://www.cognizant.com

====================================================================
Companion Site: http://www.corej2eepatterns.com
J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns
List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">


<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=825435410-12082004><FONT face="Courier New" size=2>Hi

</FONT></SPAN></DIV>
<DIV><SPAN class=825435410-12082004><FONT face="Courier New" size=2>This issue

is caused due to your JSP size exceeding 64k limit imposed by JVM.

</FONT></SPAN></DIV>
<DIV><SPAN class=825435410-12082004><FONT face="Courier New" size=2>just use

this option in your websphere app server to overcome this. </FONT></SPAN></DIV>
<DIV><SPAN class=825435410-12082004><FONT face="Courier New"

size=2><STRONG>com.sun.tools.javac.main.largebranch=true </STRONG>in

</FONT></SPAN></DIV>
<DIV><SPAN class=825435410-12082004><FONT face="Courier New" size=2>Your server

-&gt; Process Definition -&gt; Java Virtual Machine -&gt; Custom Properties

-&gt; Click on Add.</FONT></SPAN></DIV>
<DIV><SPAN class=825435410-12082004><FONT face="Courier New" size=2>Once you do

this and restart your web application your issue shoud typically be

resolved.</FONT></SPAN></DIV>
<DIV><SPAN class=825435410-12082004><FONT face="Courier New" size=2>I hope you

are trying this in solaris</FONT></SPAN></DIV>
<DIV><SPAN class=825435410-12082004><FONT face="Courier New"

size=2>Rgds</FONT></SPAN></DIV>
<DIV><SPAN class=825435410-12082004><FONT face="Courier New"

size=2>Dasarathy</FONT></SPAN></DIV>
<BLOCKQUOTE>
 <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma><FONT

 size=2><SPAN class=825435410-12082004><FONT

 face="Courier New">&nbsp;</FONT></SPAN>-- --Original

 Message-- --<BR><B>From:</B> Sunil Kumar

 [mailto:sunil2.kumar@(protected)]<BR><B>Sent:</B> Thursday, August 12, 2004 4:13

 PM<BR><B>To:</B> J2EEPATTERNS-INTEREST@(protected)<BR><B>Subject:</B> JSP

 Compilation error<BR><BR></FONT></FONT></DIV><BR><FONT face=sans-serif

 size=2>Hi all,</FONT> <BR><BR><FONT face=sans-serif size=2>I know this is not

 the best forum to ask this question.</FONT> <BR><FONT face=sans-serif

 size=2>But this is where the best people are, so I though I can ask this

 question here.</FONT> <BR><BR><FONT face=sans-serif size=2>We are on WebSphere

 Portal Server 4.2.1.</FONT> <BR><FONT face=sans-serif size=2>Some of our JSPs

 give the following error.</FONT> <BR><FONT face=sans-serif size=2>"method:

 _jspService signature:

 (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http
/HttpServletResponse;)V)

 Illegal target of jump or branch "</FONT> <BR><BR><FONT face=sans-serif

 size=2>A little bit of googling revealed that if we give a parameter

 "com.sun.tools.javac.main.largebranch" as true in the JVM settings then this

 problem does not come.</FONT> <BR><BR><FONT face=sans-serif size=2>And it did

 work, for at least two weeks we did not get this error, but now we have

 started getting this error again.</FONT> <BR><BR><FONT face=sans-serif

 size=2>Any help would be highly appreciated. </FONT><BR><BR><FONT

 face=sans-serif size=2>Thanks in Advance<BR>Sunil Kumar<BR>Tata Consultancy

 Services<BR>Mailto: sunil2.kumar@(protected)<BR>Website:

http://www.tcs.com</FONT></BLOCKQUOTE></BODY></HTML>

<table><tr><td bgcolor=#ffffff><font color=#000000>This e-mail and any files
transmitted with it are for the sole use of the intended recipient(s) and may
contain confidential and privileged information.<br>If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies of
the original message. <br>Any unauthorised review, use, disclosure,
dissemination, forwarding, printing or copying of this email or any action
taken in reliance on this e-mail is strictly <br>prohibited and may be unlawful
.<br><br>  Visit us at http://www.cognizant.com<br></font></td></tr></table>
====================================================================
Companion Site: http://www.corej2eepatterns.com
J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns
List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html
Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.