By: Scott Borne user 15 May 2017 at 10:41 a.m. CDT

7 Responses
Scott Borne gravatar
Hello, We have successfully installed Gluu-server on Ubuntu 16 in Google cloud compute error. On rebuild on both Centos 6.5 and Ubuntu we are now getting this error in the browser window on both machines. "java.lang.IllegalStateException: Counter for nested ContextualHttpServletRequest was removed before it should be! " Not much in the error logs: /var/log/messages ``` 15 15:10:08 gluu-centos systemd: Starting LSB: Jetty start script.... May 15 15:10:08 gluu-centos su: (to jetty) root on none May 15 15:10:08 gluu-centos systemd: Started Session c2 of user jetty. May 15 15:10:08 gluu-centos systemd: Starting Session c2 of user jetty. May 15 15:10:08 gluu-centos oxauth: Starting Jetty: StartLog to /opt/gluu/jetty/oxauth/logs/start.log May 15 15:10:09 gluu-centos oxauth: 2017-05-15 15:10:09.005:INFO::main: Logging initialized @436ms May 15 15:10:09 gluu-centos oxauth: 2017-05-15 15:10:09.156:INFO::main: Redirecting stderr/stdout to /opt/gluu/jetty/oxauth/logs/2017_05_15.stderrout.log May 15 15:10:28 gluu-centos oxauth: . . . . OK Mon May 15 15:10:28 UTC 2017 May 15 15:10:28 gluu-centos systemd: Started LSB: Jetty start script.. May 15 15:10:28 gluu-centos systemd: Cannot add dependency job for unit microcode.service, ignoring: Unit is not loaded properly: Invalid argument. May 15 15:10:28 gluu-centos systemd: Starting LSB: Jetty start script.... May 15 15:10:28 gluu-centos su: (to jetty) root on none May 15 15:10:28 gluu-centos systemd: Started Session c3 of user jetty. May 15 15:10:28 gluu-centos systemd: Starting Session c3 of user jetty. May 15 15:10:28 gluu-centos identity: Starting Jetty: StartLog to /opt/gluu/jetty/identity/logs/start.log May 15 15:10:29 gluu-centos identity: 2017-05-15 15:10:29.342:INFO::main: Logging initialized @462ms May 15 15:10:29 gluu-centos identity: 2017-05-15 15:10:29.493:INFO::main: Redirecting stderr/stdout to /opt/gluu/jetty/identity/logs/2017_05_15.stderrout.log May 15 15:10:53 gluu-centos identity: . . . . . OK Mon May 15 15:10:53 UTC 2017 May 15 15:10:53 gluu-centos systemd: Started LSB: Jetty start script.. /opt/gluu/jetty/identity/logs/2017_05_15.stderrout.log May 15, 2017 3:10:51 PM org.richfaces.application.InitializationListener onStart INFO: RichFaces Core by JBoss by Red Hat, version 4.5.17.Final 2017-05-15 15:10:51,977 INFO [main] [org.jboss.seam.servlet.SeamFilter] (SeamFilter.java:96) - Initializing filter: org.jboss.seam.web.redirectFilter 2017-05-15 15:10:51,977 INFO [main] [org.jboss.seam.servlet.SeamFilter] (SeamFilter.java:96) - Initializing filter: org.jboss.seam.web.contextFilter 2017-05-15 15:10:51,978 INFO [main] [org.jboss.seam.servlet.SeamFilter] (SeamFilter.java:96) - Initializing filter: org.jboss.seam.web.exceptionFilter 2017-05-15 15:10:51,978 INFO [main] [org.jboss.seam.servlet.SeamFilter] (SeamFilter.java:96) - Initializing filter: org.jboss.seam.web.multipartFilter 2017-05-15 15:10:51,978 INFO [main] [org.jboss.seam.servlet.SeamFilter] (SeamFilter.java:96) - Initializing filter: org.jboss.seam.web.loggingFilter 2017-05-15 15:10:51,978 INFO [main] [org.jboss.seam.servlet.SeamFilter] (SeamFilter.java:96) - Initializing filter: org.jboss.seam.web.identityFilter 2017-05-15 15:10:51,979 INFO [main] [org.jboss.seam.servlet.SeamFilter] (SeamFilter.java:96) - Initializing filter: org.jboss.seam.web.rewriteFilter 2017-05-15 15:10:52.013:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@57baeedf{/identity,[file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-7322761875380891390.dir/webapp/, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-7322761875380891390.dir/webapp/WEB-INF/lib/jsf-impl-2.1.28-jbossorg-1.jar!/META-INF/resources, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-7322761875380891390.dir/webapp/WEB-INF/lib/richfaces-a4j-4.5.17.Final.jar!/META-INF/resources, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-7322761875380891390.dir/webapp/WEB-INF/lib/richfaces-core-4.5.17.Final.jar!/META-INF/resources, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-7322761875380891390.dir/webapp/WEB-INF/lib/jboss-seam-debug-2.3.1.Final.jar!/META-INF/resources, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-7322761875380891390.dir/webapp/WEB-INF/lib/richfaces-4.5.17.Final.jar!/META-INF/resources, jar:file:///opt/jetty-9.3/temp/jetty-localhost-8082-identity.war-_identity-any-7322761875380891390.dir/webapp/WEB-INF/lib/oxtrust-static-3.0.1.jar!/META-INF/resources],AVAILABLE}{/identity.war} 2017-05-15 15:10:52.024:INFO:oejsh.ContextHandler:main: Started o.e.j.s.h.ContextHandler@12ebcdf6{/identity/ext/resources,null,AVAILABLE} 2017-05-15 15:10:52.041:INFO:oejs.AbstractConnector:main: Started ServerConnector@45a40353{HTTP/1.1,[http/1.1]}{localhost:8082} 2017-05-15 15:10:52.042:INFO:oejs.Server:main: Started @23162ms 2017-05-15 15:11:49,571 INFO [pool-2-thread-2] [org.gluu.oxtrust.ldap.service.LogFileSizeChecker] (LogFileSizeChecker.java:178) - OutXML: <?xml version="1.0" encoding="UTF-8"?> <entries> <entry> <prefix>oxtrust</prefix> <location>/opt/gluu/jetty/identity/logs</location> </entry> </entries> 2017-05-15 15:12:46,029 INFO [qtp274064559-11] [org.gluu.oxtrust.service.OpenIdService] (OpenIdService.java:64) - Successfully loaded oxAuth configuration ``` has anyone seen this. Kind of at a loss at the moment, not a Java guy. Thanks in advance for your time.

By Michael Schwartz Account Admin 15 May 2017 at 11:16 a.m. CDT

Michael Schwartz gravatar
Can you provide more detail about what "On rebuild" means?

By Scott Borne user 15 May 2017 at 11:27 a.m. CDT

Scott Borne gravatar
Yes, I destroyed the VM and recreated form scratch - ubuntu 16 2cpu 12G Ram - Followed the install doc just as before. Same error in Centos 6.5 "java.lang.IllegalStateException: Counter for nested ContextualHttpServletRequest was removed before it should be! " Just recreated the VM and installed Gluu 3.0.1 - after reboot - now in the browser window it gives a 503 error "Service Unavailable"? The install went find easrly last week and got some testing with oxauth-rp. Also could not get the repo in Debian 8 Jessy.

By Michael Schwartz Account Admin 15 May 2017 at 11:47 a.m. CDT

Michael Schwartz gravatar
It's very strange... perhaps stop the gluu service and try again? Can you include the answers for your setup?

By Scott Borne user 15 May 2017 at 11:58 a.m. CDT

Scott Borne gravatar
Start/Stop have no affect on the error. hostname gluu-ubuntu.ihousedev.com orgName IHouseweb, Inc os ubuntu city Sacramento state Ca countryCode US support email it@ihouseweb.com Applications max ram 8000 Admin Pass secret Install oxAuth True Install oxTrust True Install LDAP True Install JCE 1.8 False Install Apache 2 web server True Install Shibboleth SAML IDP False Install Asimba SAML Proxy False Install CAS False Install oxAuth RP True Install Passport False The IP address is the internal address and using a host file entry to get the external ip. This setup was working early last week before I recreated the VM Thanks for the help.

By Adrian Alves staff 15 May 2017 at 12:26 p.m. CDT

Adrian Alves gravatar
Hello Scott, Related to the error with the Debian 8 repo, did you follow this steps: https://gluu.org/docs/ce/3.0.1/installation-guide/install/#debian-8-jessie Can you provide us more information about the error on debian repo? Cheers, Adrian.-

By Scott Borne user 15 May 2017 at 12:31 p.m. CDT

Scott Borne gravatar
Yes I did follow that article. For the Debian Repo I am getting "gpg: no valid OpenPGP data found." at the second command. we are running about 75 debian machines with no errors echo "deb https://repo.gluu.org/debian/ stable main" > /etc/apt/sources.list.d/gluu-repo.list root@gluu:~# curl https://repo.gluu.org/debian/gluu-apt.key | apt-key add - % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 217 100 217 0 0 3714 0 --:--:-- --:--:-- --:--:-- 3741 gpg: no valid OpenPGP data found. I did also just bring up an ubuntu 14 gluu server - no interface. I'll double check my install before writing back. Cheers

By Aliaksandr Samuseu staff 15 May 2017 at 4:22 p.m. CDT

Aliaksandr Samuseu gravatar
Closing it in favour of [this one](https://support.gluu.org/installation/4099/brand-new-install-browser-java-error/) by Scott's request.