Luminis 4.2.2 build 29: exceeding the 65535 bytes limit

So we upgraded ou test server and rand the fix url script. Unfortunatly it added lots of new lines to all the files in Luminis. Does any one no how to remove all the line breaks without having to reinstall froms scratch.

Error: 

Can't service request to /cp/content/admin/editLogoChannel/colors

Click here to go back to previous page.
Unable to compile class for JSP:

An error occurred at line: 1,875 in the generated java file
The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit

Stacktrace:
Please report the information on this page to your system administrator. System administrators should contact SCT technical support.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

removing blank lines

Remove blank lines with a grep command like this.  grep -v "^$" editUser.jsp > editUser.new.jsp

Then, move editUser.jsp to editUser.jsp.old and move editUser.new.jsp to editUser.jsp.  Start in the /jsp/content directory and work through the .jsp files.  You will have to do this for almost all of the .jsp files in the directory trees under /jsp

Fix

The latest hotfix will remove all the newlines in SunGardHE generated files but if you have any custom code or files (html, jsp, js, css) then you will have to fix them manually.

 

4.2.2 and later is just a mess. I have seven SRs open with Sungardhe about this build and six ended up being defects.  

Grep

Yah, I figured grep was the solution...

Sounds like I will be writing a script to clean them up on Tuesday.

 

 

Syndicate content