Skip to Content
author's profile photo Former Member
Former Member

Parser error because filename too long > 256 chars

Hi there,

after migrating from Netweaver 7.02 to 7.40 we encountered the following:
From an external CMS we deploy content to the Portal as JSPs. In the Portal they are parsed and compiled. The filename of the generated .Java and .class files is constructed from the whole file-path in the root directory of the web application plus the instance number of the portal instance plus 2 timestamps. all that is created by the Portal JSP engine. The second timestamp is new since 7.30 and now we found that in some cases the constructed file is > 256 characters and the jsp engine refuses the parsing because of that . any ideas how to solve such a problem ?

Greetings

Walter

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 16, 2014 at 01:19 PM

    Hi Walter,

    I did not find any solution for that.

    Between 7.02 and 7.3x versions the Portal started to use the JSP Parser & Compiler of the J2EE engine and thus there is the incompatibility of the way it works compared to how it was in older versions.

    The solution will be to control the file size by reducing the jsp file names and paths inside the application. You might need to adjust the portalapp.xml and relevant include of JSP resources in the code.

    Best Regards,

    Dror.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.