Highlighted
Absent Member.
Absent Member.
1377 views

HTTP Status 500

Hello all

Running Iprint on OES11 sp2 and was wondering if anyone else had problems uploading certain drivers to the driverstore? here is the error

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception
javax.servlet.ServletException: Filter execution threw an exception



root cause
java.lang.OutOfMemoryError: Java heap space
java.util.Arrays.copyOfRange(Arrays.java:4138)
java.util.Arrays.copyOf(Arrays.java:3870)
java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:158)
com.novell.emframe.fw.filter.AntiCsrfServletFilter.getRequestContent(AntiCsrfServletFilter.java:360)
com.novell.emframe.fw.filter.AntiCsrfServletFilter.doFilter(AntiCsrfServletFilter.java:232)



note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
0 Likes
4 Replies
Highlighted
Knowledge Partner
Knowledge Partner

Re: HTTP Status 500

Etts;2340059 wrote:
Hello all

Running Iprint on OES11 sp2 and was wondering if anyone else had problems uploading certain drivers to the driverstore? here is the error

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception
javax.servlet.ServletException: Filter execution threw an exception



root cause
java.lang.OutOfMemoryError: Java heap space
java.util.Arrays.copyOfRange(Arrays.java:4138)
java.util.Arrays.copyOf(Arrays.java:3870)
java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:158)
com.novell.emframe.fw.filter.AntiCsrfServletFilter.getRequestContent(AntiCsrfServletFilter.java:360)
com.novell.emframe.fw.filter.AntiCsrfServletFilter.doFilter(AntiCsrfServletFilter.java:232)



note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.


Can you give an example/link of a driver that fails to upload? I've not seen this issue in years but that is probably because we mainly use the HP UPD driver.

Thomas
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: HTTP Status 500

lastly we are getting it with the HP_LaserJet_200_color_M251 PCL6 driver... But we are also having issues with the P1606 driver as well.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: HTTP Status 500

On 11/20/2014 07:56 PM, Etts wrote:

> root cause
> java.lang.OutOfMemoryError: Java heap space


tomcat not having enough memory to handle fat drivers.

Possible Workaround. From windows machine same architecture as the
driver been uploading:

iprntcmd.exe -U <IPADDRESS> <admin> <Password> <Path to drivers .inf file>

Example:
iprntcmd.exe -U 192.168.2.7 admin novell
c:\SomeFolder\iPF8100-Drv-Win64-416\driver\6WJF06M.inf

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: HTTP Status 500

thank you that seemed to work very well!
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.