Re: URGENT! jsp file size limit
Hi Victor, I think u misunderstood me, I'm not asking the question, I answer the question! I don't have any problem. Regards, Louis ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø - Original Message - From: "Victor A. Salaman" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 2:45 PM Subject: RE: URGENT! jsp file size limit If it works in Orion, why are you asking here? send email to Allaire instead. -Original Message- From: LouisVoo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 1:05 AM To: Orion-Interest Subject: Re: URGENT! jsp file size limit what is ur file size? may be u can try this put % out.flush(); % in somewhere ur jsp file. I have a 70kb jsp file run in orion without problem. But I try it in JRun, I need to use the above solution. hope this help. Regards, Louis ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø - Original Message - From: "Dan Winfield" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 8:50 AM Subject: Re: URGENT! jsp file size limit Hi Savotchkin I saw you emailed this to Orion. I am having a similar problem. Did you find out what was wrong? Dan - Original Message - From: "Savotchkin Egor" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Monday, October 09, 2000 5:59 AM Subject: URGENT! jsp file size limit Hi all! Orion seems to have jsp file size limit, when my analog of the ScreenDefinitions.jsp from Pet Store grows beyond this limit orion issues: 500 Internal Server Error Error parsing JSP page /visitor/visitor.html Error creating jsp-page instance: java.lang.VerifyError: (class: __jspPage0_template_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/Ht tpServletRespo nse;)V) Illegal target of jump or branch Egor Savotchkin
Re: URGENT! jsp file size limit
Cheers guys I have not solved the problem. Suffice to say that I have the problem unique to my machine, as other machines in the office are ok with the same JSP file. Have changed my JDK to 1.3 as well and still the problem exists. Someone mentioned to use EJB. The JSP page is a view template in a MVC set up and only contains print statements. The file is big because of html. I will try the out.flush() tip below! Dan - Original Message - From: "LouisVoo" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 4:42 PM Subject: Re: URGENT! jsp file size limit Hi Victor, I think u misunderstood me, I'm not asking the question, I answer the question! I don't have any problem. Regards, Louis ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø - Original Message - From: "Victor A. Salaman" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 2:45 PM Subject: RE: URGENT! jsp file size limit If it works in Orion, why are you asking here? send email to Allaire instead. -Original Message- From: LouisVoo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 1:05 AM To: Orion-Interest Subject: Re: URGENT! jsp file size limit what is ur file size? may be u can try this put % out.flush(); % in somewhere ur jsp file. I have a 70kb jsp file run in orion without problem. But I try it in JRun, I need to use the above solution. hope this help. Regards, Louis ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø - Original Message - From: "Dan Winfield" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 8:50 AM Subject: Re: URGENT! jsp file size limit Hi Savotchkin I saw you emailed this to Orion. I am having a similar problem. Did you find out what was wrong? Dan - Original Message - From: "Savotchkin Egor" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Monday, October 09, 2000 5:59 AM Subject: URGENT! jsp file size limit Hi all! Orion seems to have jsp file size limit, when my analog of the ScreenDefinitions.jsp from Pet Store grows beyond this limit orion issues: 500 Internal Server Error Error parsing JSP page /visitor/visitor.html Error creating jsp-page instance: java.lang.VerifyError: (class: __jspPage0_template_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/Ht tpServletRespo nse;)V) Illegal target of jump or branch Egor Savotchkin
RE: URGENT! jsp file size limit
You guys should be aware that the internal Java interpreter and .class file format is littered with 16 bit values to point to the various parts of the .class file. Two examples are the constant pool and the list of byte codes for a single method. The constant pool is pointed to by 16 bit values and contains in the same list all constant strings, int's, doubles etc. as well as all method names. I have had trouble in the past with generated code exceeding the constant pool limit. A single method cannot exceed 64K bytes. I have also had problems with a single method in generated code exceeding the 64K byte limit for a single method. My guess is that the generated servlet from the JSP is exceeding the 64K byte limit, and once compiled, causing the internally generated jmp op code to have more than a 16 bit value. Regards, Rob Lapensee Director of Technology Delfour Corporation www.delfour.com [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stanislav Maximov Sent: Wednesday, January 17, 2001 5:47 AM To: Orion-Interest Subject: RE: URGENT! jsp file size limit And what is the limit, guys? Stas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Winfield Sent: Tuesday, January 16, 2001 7:51 PM To: Orion-Interest Subject: Re: URGENT! jsp file size limit Hi Savotchkin I saw you emailed this to Orion. I am having a similar problem. Did you find out what was wrong? Dan - Original Message - From: "Savotchkin Egor" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Monday, October 09, 2000 5:59 AM Subject: URGENT! jsp file size limit Hi all! Orion seems to have jsp file size limit, when my analog of the ScreenDefinitions.jsp from Pet Store grows beyond this limit orion issues: 500 Internal Server Error Error parsing JSP page /visitor/visitor.html Error creating jsp-page instance: java.lang.VerifyError: (class: __jspPage0_template_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpSe rvletRespo nse;)V) Illegal target of jump or branch Egor Savotchkin
Re: URGENT! jsp file size limit
I have recoded the structure of the JSPs. It works but not as I intended. I think that there are limits to class file sizes but it does seem to vary between JVM Dan - Original Message - From: "Rob Lapensee" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 12:02 PM Subject: RE: URGENT! jsp file size limit You guys should be aware that the internal Java interpreter and .class file format is littered with 16 bit values to point to the various parts of the .class file. Two examples are the constant pool and the list of byte codes for a single method. The constant pool is pointed to by 16 bit values and contains in the same list all constant strings, int's, doubles etc. as well as all method names. I have had trouble in the past with generated code exceeding the constant pool limit. A single method cannot exceed 64K bytes. I have also had problems with a single method in generated code exceeding the 64K byte limit for a single method. My guess is that the generated servlet from the JSP is exceeding the 64K byte limit, and once compiled, causing the internally generated jmp op code to have more than a 16 bit value. Regards, Rob Lapensee Director of Technology Delfour Corporation www.delfour.com [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stanislav Maximov Sent: Wednesday, January 17, 2001 5:47 AM To: Orion-Interest Subject: RE: URGENT! jsp file size limit And what is the limit, guys? Stas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Winfield Sent: Tuesday, January 16, 2001 7:51 PM To: Orion-Interest Subject: Re: URGENT! jsp file size limit Hi Savotchkin I saw you emailed this to Orion. I am having a similar problem. Did you find out what was wrong? Dan - Original Message - From: "Savotchkin Egor" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Monday, October 09, 2000 5:59 AM Subject: URGENT! jsp file size limit Hi all! Orion seems to have jsp file size limit, when my analog of the ScreenDefinitions.jsp from Pet Store grows beyond this limit orion issues: 500 Internal Server Error Error parsing JSP page /visitor/visitor.html Error creating jsp-page instance: java.lang.VerifyError: (class: __jspPage0_template_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpSe rvletRespo nse;)V) Illegal target of jump or branch Egor Savotchkin
RE: URGENT! jsp file size limit
may I suggest the use of jsp:include / tag... it's really a life-saver JP -Original Message- From: Dan Winfield [mailto:[EMAIL PROTECTED]] Sent: Miércoles, 17 de Enero de 2001 6:48 To: Orion-Interest Subject: Re: URGENT! jsp file size limit Cheers guys I have not solved the problem. Suffice to say that I have the problem unique to my machine, as other machines in the office are ok with the same JSP file. Have changed my JDK to 1.3 as well and still the problem exists. Someone mentioned to use EJB. The JSP page is a view template in a MVC set up and only contains print statements. The file is big because of html. I will try the out.flush() tip below! Dan - Original Message - From: "LouisVoo" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 4:42 PM Subject: Re: URGENT! jsp file size limit Hi Victor, I think u misunderstood me, I'm not asking the question, I answer the question! I don't have any problem. Regards, Louis ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø - Original Message - From: "Victor A. Salaman" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 2:45 PM Subject: RE: URGENT! jsp file size limit If it works in Orion, why are you asking here? send email to Allaire instead. -Original Message- From: LouisVoo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 1:05 AM To: Orion-Interest Subject: Re: URGENT! jsp file size limit what is ur file size? may be u can try this put % out.flush(); % in somewhere ur jsp file. I have a 70kb jsp file run in orion without problem. But I try it in JRun, I need to use the above solution. hope this help. Regards, Louis ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø - Original Message - From: "Dan Winfield" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 8:50 AM Subject: Re: URGENT! jsp file size limit Hi Savotchkin I saw you emailed this to Orion. I am having a similar problem. Did you find out what was wrong? Dan - Original Message - From: "Savotchkin Egor" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Monday, October 09, 2000 5:59 AM Subject: URGENT! jsp file size limit Hi all! Orion seems to have jsp file size limit, when my analog of the ScreenDefinitions.jsp from Pet Store grows beyond this limit orion issues: 500 Internal Server Error Error parsing JSP page /visitor/visitor.html Error creating jsp-page instance: java.lang.VerifyError: (class: __jspPage0_template_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/Ht tpServletRespo nse;)V) Illegal target of jump or branch Egor Savotchkin
Re: URGENT! jsp file size limit
Hi Savotchkin I saw you emailed this to Orion. I am having a similar problem. Did you find out what was wrong? Dan - Original Message - From: "Savotchkin Egor" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Monday, October 09, 2000 5:59 AM Subject: URGENT! jsp file size limit Hi all! Orion seems to have jsp file size limit, when my analog of the ScreenDefinitions.jsp from Pet Store grows beyond this limit orion issues: 500 Internal Server Error Error parsing JSP page /visitor/visitor.html Error creating jsp-page instance: java.lang.VerifyError: (class: __jspPage0_template_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo nse;)V) Illegal target of jump or branch Egor Savotchkin
Re: URGENT! jsp file size limit
what is ur file size? may be u can try this put % out.flush(); % in somewhere ur jsp file. I have a 70kb jsp file run in orion without problem. But I try it in JRun, I need to use the above solution. hope this help. Regards, Louis ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø - Original Message - From: "Dan Winfield" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 8:50 AM Subject: Re: URGENT! jsp file size limit Hi Savotchkin I saw you emailed this to Orion. I am having a similar problem. Did you find out what was wrong? Dan - Original Message - From: "Savotchkin Egor" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Monday, October 09, 2000 5:59 AM Subject: URGENT! jsp file size limit Hi all! Orion seems to have jsp file size limit, when my analog of the ScreenDefinitions.jsp from Pet Store grows beyond this limit orion issues: 500 Internal Server Error Error parsing JSP page /visitor/visitor.html Error creating jsp-page instance: java.lang.VerifyError: (class: __jspPage0_template_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo nse;)V) Illegal target of jump or branch Egor Savotchkin
Re: URGENT! jsp file size limit
This is just a toss in from a methodology pundit, but if your JSP is over 70K, is there perhaps something you could do better with a class or EJB? Remember, you CAN mix classes with EJB's. In the Orion Server course I teach, I regularly create a bean that does connection pooling as a method to instruct JNDI. Of course, the basics of this bean is found in WROX, but it works pretty well. Anyway, why not try and take some of that jsp code and put it into a bean? Michael Van Found, JUGerNaut Engineering Guild - Original Message - From: LouisVoo [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 12:04 AM Subject: Re: URGENT! jsp file size limit what is ur file size? may be u can try this put % out.flush(); % in somewhere ur jsp file. I have a 70kb jsp file run in orion without problem. But I try it in JRun, I need to use the above solution. hope this help. Regards, Louis ø¤°`°¤ø,¸¸¸,ø¤°`°¤ø,¸¸»«¸,ø¤°`°¤ø,¸¸,ø¤°`°¤ø - Original Message - From: "Dan Winfield" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, January 16, 2001 8:50 AM Subject: Re: URGENT! jsp file size limit Hi Savotchkin I saw you emailed this to Orion. I am having a similar problem. Did you find out what was wrong? Dan - Original Message - From: "Savotchkin Egor" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Monday, October 09, 2000 5:59 AM Subject: URGENT! jsp file size limit Hi all! Orion seems to have jsp file size limit, when my analog of the ScreenDefinitions.jsp from Pet Store grows beyond this limit orion issues: 500 Internal Server Error Error parsing JSP page /visitor/visitor.html Error creating jsp-page instance: java.lang.VerifyError: (class: __jspPage0_template_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo nse;)V) Illegal target of jump or branch Egor Savotchkin
RE: URGENT! jsp file size limit
Looks like your resultset becomes too large to fit in the memory-structure used to store it. This is more likely a restriction in the Java runtime than in the application server. Have you tried running it on other appservers? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Savotchkin Egor Sent: Monday, October 09, 2000 07:59 To: Orion-Interest Subject: URGENT! jsp file size limit Hi all! Orion seems to have jsp file size limit, when my analog of the ScreenDefinitions.jsp from Pet Store grows beyond this limit orion issues: 500 Internal Server Error Error parsing JSP page /visitor/visitor.html Error creating jsp-page instance: java.lang.VerifyError: (class: __jspPage0_template_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpSe rvletRespo nse;)V) Illegal target of jump or branch Egor Savotchkin