掲示板

AbstractMethodError HttpImpl.sanitizeHeader() at end of installation

thumbnail
9年前 に Mark Hyde によって更新されました。

AbstractMethodError HttpImpl.sanitizeHeader() at end of installation

New Member 投稿: 12 参加年月日: 13/03/20 最新の投稿
I am attempting to install Liferay 6.1.3 EE GA3 on an existing Tomcat 6 server, using Java 6.

I've followed all the installation instructions, deployed the war file, provided a portal-ext.properties that points to a remote database etc.
The initial start up proceeds normally and the installation process progresses with no errors. However, right at the end, just after the

INFO: Server startup in 93725 ms

entry in the log file it's throwing the errors shown below.

Does anyone have any idea what might cause this AbstractMethodError on HttpImpl.sanitizeHeader()?

Thanks,
mark

The following are log excerpts:

Sep 3, 2014 8:49:34 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet Main Servlet threw exception
java.lang.AbstractMethodError: com.liferay.portal.util.HttpImpl.sanitizeHeader(Ljava/lang/String;)Ljava/lang/String;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandler.java:88)
at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler.java:56)
at com.sun.proxy.$Proxy65.sanitizeHeader(Unknown Source)
at com.liferay.portal.kernel.util.HttpUtil.sanitizeHeader(HttpUtil.java:234)
at com.liferay.portal.kernel.servlet.SecureHttpServletResponseWrapper.sendRedirect(SecureHttpServletResponseWrapper.java:41)
at com.liferay.portal.ee.license.EventsProcessorImpl.process(Unknown Source)
at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:40)
at com.liferay.portal.servlet.MainServlet.processServicePre(MainServlet.java:1187)
at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
:

followed by a similar trace that starts with:

Sep 3, 2014 8:49:34 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet Friendly URL Servlet - Public threw exception
java.lang.AbstractMethodError: com.liferay.portal.util.HttpImpl.sanitizeHeader(Ljava/lang/String;)Ljava/lang/String;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

followed by another:

20:49:34,621 ERROR [http-8080-1][VirtualHostFilter:286] javax.servlet.ServletException: Servlet execution threw an exception
javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

with a final caused by of

Caused by: java.lang.AbstractMethodError: com.liferay.portal.util.HttpImpl.sanitizeHeader(Ljava/lang/String;)Ljava/lang/String;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.liferay.portal.security.lang.DoPrivilegedHandler.doInvoke(DoPrivilegedHandler.java:88)
at com.liferay.portal.security.lang.DoPrivilegedHandler.invoke(DoPrivilegedHandler.java:56)
at com.sun.proxy.$Proxy65.sanitizeHeader(Unknown Source)
at com.liferay.portal.kernel.util.HttpUtil.sanitizeHeader(HttpUtil.java:234)
thumbnail
9年前 に David H Nebinger によって更新されました。

RE: AbstractMethodError HttpImpl.sanitizeHeader() at end of installation

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
If EE, that means you have a license, so you should also open a LESA ticket.

This kind of thing will happen when you have a jar or class loader conflict. Check out your tomcat/lib and tomcat/lib/ext directory and make sure you don't also have a jar conflict from webapps/ROOT/WEB-INF/lib.
thumbnail
9年前 に Mark Hyde によって更新されました。

RE: AbstractMethodError HttpImpl.sanitizeHeader() at end of installation

New Member 投稿: 12 参加年月日: 13/03/20 最新の投稿
I had opened a ticket, but information was slow in coming so I reach out to a wider audience. In the end it seemed to be stale bits of some kind or another. I downloaded fresh copies of all the installation artifacts and things started working ok.

mark
thumbnail
9年前 に David H Nebinger によって更新されました。

RE: AbstractMethodError HttpImpl.sanitizeHeader() at end of installation

Liferay Legend 投稿: 14919 参加年月日: 06/09/02 最新の投稿
Yeah, LESA will get you a response, but not necessarily an immediate response emoticon
thumbnail
9年前 に Jack Bakker によって更新されました。

RE: AbstractMethodError HttpImpl.sanitizeHeader() at end of installation

Liferay Master 投稿: 978 参加年月日: 10/01/03 最新の投稿
I find LESA response good if you play nice. Replicating enviros for expert sleuthing is the challenge.