{"action":"created","issue":{"url":"https://api.github.com/repos/apereo/cas/issues/2062","repository_url":"https://api.github.com/repos/apereo/cas","labels_url":"https://api.github.com/repos/apereo/cas/issues/2062/labels{/name}","comments_url":"https://api.github.com/repos/apereo/cas/issues/2062/comments","events_url":"https://api.github.com/repos/apereo/cas/issues/2062/events","html_url":"https://github.com/apereo/cas/issues/2062","id":184271861,"number":2062,"title":"Infinispan reflection / log4j error in 5.x upon start","user":{"login":"rfrovarp","id":1678641,"avatar_url":"https://avatars.githubusercontent.com/u/1678641?v=3","gravatar_id":"","url":"https://api.github.com/users/rfrovarp","html_url":"https://github.com/rfrovarp","followers_url":"https://api.github.com/users/rfrovarp/followers","following_url":"https://api.github.com/users/rfrovarp/following{/other_user}","gists_url":"https://api.github.com/users/rfrovarp/gists{/gist_id}","starred_url":"https://api.github.com/users/rfrovarp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfrovarp/subscriptions","organizations_url":"https://api.github.com/users/rfrovarp/orgs","repos_url":"https://api.github.com/users/rfrovarp/repos","events_url":"https://api.github.com/users/rfrovarp/events{/privacy}","received_events_url":"https://api.github.com/users/rfrovarp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/apereo/cas/milestones/15","html_url":"https://github.com/apereo/cas/milestones/5.0.0","labels_url":"https://api.github.com/repos/apereo/cas/milestones/15/labels","id":1349862,"number":15,"title":"5.0.0","description":"Major release: General Availability (Stable)","creator":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":149,"state":"open","created_at":"2015-10-12T01:28:38Z","updated_at":"2016-10-20T18:06:19Z","due_on":"2016-10-28T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-10-20T16:03:42Z","updated_at":"2016-10-20T18:06:29Z","closed_at":null,"body":"Testing with 5.0.0.RC3 and 5.0.0.RC4-SNAPSHOT I can't get the embedded container to start when I've included cas-server-support-infinispan-ticket-registry. Don't need to do anything else other than include it. Throwing it in a Tomcat 7 instance also threw the same error. First output after java -jar target/cas.war is:\r\n\r\nException in thread \"main\" java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)\r\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:87)\r\n\tat org.springframework.boot.loader.Launcher.launch(Launcher.java:50)\r\n\tat org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59)\r\nCaused by: java.lang.NoSuchMethodError: org.apache.logging.log4j.status.StatusLogger.debug(Ljava/lang/String;Ljava/lang/Object;)V\r\n\tat org.apache.logging.log4j.core.impl.Log4jContextFactory.<init>(Log4jContextFactory.java:91)\r\n\tat org.apache.logging.log4j.core.impl.Log4jContextFactory.<init>(Log4jContextFactory.java:58)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n\tat java.lang.Class.newInstance(Class.java:442)\r\n\tat org.apache.logging.log4j.LogManager.<clinit>(LogManager.java:93)\r\n\tat org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103)\r\n\tat org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43)\r\n\tat org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42)\r\n\tat org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)\r\n\tat org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)\r\n\tat org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)\r\n\tat org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)\r\n\tat org.apache.commons.logging.LogFactory.getLog(LogFactory.java:273)\r\n\tat org.springframework.boot.SpringApplication.<clinit>(SpringApplication.java:189)\r\n\tat org.springframework.boot.builder.SpringApplicationBuilder.createSpringApplication(SpringApplicationBuilder.java:99)\r\n\tat org.springframework.boot.builder.SpringApplicationBuilder.<init>(SpringApplicationBuilder.java:87)\r\n\tat org.apereo.cas.web.CasWebApplication.main(CasWebApplication.java:59)\r\n\t... 8 more\r\n\r\nI've gone through and tried cleaning as much out as I could, but I haven't been able to get past this message. I find it confusing as there is only one log4j in the project, and from my understanding of the signature, that method has been there for a very long time. There are two commons-beanutils, and I removed the older one (that is brought in by including infinispan), and that didn't fix it. Bringing in infinispan brings in spring-boot-starter-tomcat and the embedded tomcat libs to WEB-INF/lib, when they already exist in WEB-INF/lib-provided. Stopping them from going into WEB-INF/lib didn't fix the issue.\r\n\r\nJust tried removing the extra and older commons-collections, httpcore, and spring-retry without success. "},"comment":{"url":"https://api.github.com/repos/apereo/cas/issues/comments/255182787","html_url":"https://github.com/apereo/cas/issues/2062#issuecomment-255182787","issue_url":"https://api.github.com/repos/apereo/cas/issues/2062","id":255182787,"user":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T18:06:29Z","updated_at":"2016-10-20T18:06:29Z","body":"Confirmed. Looking into it. Stay tuned. "}}
{"actor":{"display_login":"mmoayyed"}}