Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1133978

Summary: IllegalArgumentException thrown while logging in to JON 3.3.0 web UI from Windows Server 2008
Product: [JBoss] JBoss Operations Network Reporter: Jan Bednarik <jbednari>
Component: UIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED DUPLICATE QA Contact: Mike Foley <mfoley>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: JON 3.3.0CC: jkremser, jshaughn, mkoci, myarboro
Target Milestone: ER04   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-24 14:24:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
server.log none

Description Jan Bednarik 2014-08-26 14:57:24 UTC
Created attachment 931023 [details]
server.log

Description of problem:

When trying to log in to JON 3.3.0 web UI the exception is logged in server.log and the user is stuck on login screen. I encountered this problem while using Windows Server 2008 (x64) with service pack 2 installed and the issue is visible when using both IE 9 and Firefox 30.

When using Firefox 30, following warning messages are logged in server.log:

08:38:42,298 WARN  [org.jboss.security] (http-/0.0.0.0:7080-4) PBOX000234: Invalid or misspelled module option: BindDN
08:38:42,298 WARN  [org.jboss.security] (http-/0.0.0.0:7080-4) PBOX000234: Invalid or misspelled module option: Filter
08:38:42,298 WARN  [org.jboss.security] (http-/0.0.0.0:7080-4) PBOX000234: Invalid or misspelled module option: java.naming.factory.initial
08:38:42,299 WARN  [org.jboss.security] (http-/0.0.0.0:7080-4) PBOX000234: Invalid or misspelled module option: LoginProperty
08:38:42,299 WARN  [org.jboss.security] (http-/0.0.0.0:7080-4) PBOX000234: Invalid or misspelled module option: java.naming.referral
08:38:42,299 WARN  [org.jboss.security] (http-/0.0.0.0:7080-4) PBOX000234: Invalid or misspelled module option: BaseDN
08:38:42,299 WARN  [org.jboss.security] (http-/0.0.0.0:7080-4) PBOX000234: Invalid or misspelled module option: GroupFilter
08:38:42,299 WARN  [org.jboss.security] (http-/0.0.0.0:7080-4) PBOX000234: Invalid or misspelled module option: java.naming.provider.url
08:38:42,300 WARN  [org.jboss.security] (http-/0.0.0.0:7080-4) PBOX000234: Invalid or misspelled module option: BindPW

When using IE 9, the same warning messages are logged and following exception as well:

08:39:00,336 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/coregui]] (http-/0.0.0.0:7080-8) Exception while dispatching incoming RPC call: java.lang.IllegalArgumentException: encodedRequest cannot be empty
	at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:232) [gwt-servlet-2.5.0.jar:]
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:206) [gwt-servlet-2.5.0.jar:]
	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) [gwt-servlet-2.5.0.jar:]
	at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) [gwt-servlet-2.5.0.jar:]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
	at org.rhq.coregui.server.gwt.AbstractGWTServiceImpl.service(AbstractGWTServiceImpl.java:87) [classes:]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.rhq.helpers.rtfilter.filter.RtFilter.doFilter(RtFilter.java:125) [rhq-rtfilter-4.12.0.JON330ER01.jar:4.12.0.JON330ER01]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.rhq.coregui.server.filter.CacheControlFilter.doFilter(CacheControlFilter.java:71) [classes:]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
	at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]


Version-Release number of selected component (if applicable):
JON 3.3.0 ER01
(Version:3.3.0.ER01, Build Number:23b3476:f3aa7e7)
IE 9
Firefox 30

How reproducible:
always

Steps to Reproduce:
1. Have the environment with Windows Server 2008 (x64) SP2 running.
2. Install JON 3.3.0 ER01
3. Try to log in using wither Internet Explorer 9 or Firefox 30

Actual results:
The user is not logged in and the warning messages and exception are logged in server.log

Expected results:
User is logged in and no warnings or exceptions are logged.

Additional info:
This issue is only visible on Windows Server 2008 (x64) SP2. When tried on Windows Server 2008 (x64) R2, everything works as expected. Also this issue is visible both on JON 3.3.0 ER01 and on latest RHQ master build. On the other hand logging in to JON 3.2.0 web UI works with no problem. Logging in using CLI works as well.

Comment 4 Jay Shaughnessy 2014-09-24 14:24:19 UTC

*** This bug has been marked as a duplicate of bug 1026799 ***