{"action":"created","issue":{"url":"https://api.github.com/repos/payara/Payara/issues/374","repository_url":"https://api.github.com/repos/payara/Payara","labels_url":"https://api.github.com/repos/payara/Payara/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/payara/Payara/issues/374/comments","events_url":"https://api.github.com/repos/payara/Payara/issues/374/events","html_url":"https://github.com/payara/Payara/issues/374","id":94974434,"number":374,"title":"thousands of ClassNotFound warnings while deploying an EAR with many WAR'S","user":{"login":"fmeili","id":13333647,"avatar_url":"https://avatars.githubusercontent.com/u/13333647?v=3","gravatar_id":"","url":"https://api.github.com/users/fmeili","html_url":"https://github.com/fmeili","followers_url":"https://api.github.com/users/fmeili/followers","following_url":"https://api.github.com/users/fmeili/following{/other_user}","gists_url":"https://api.github.com/users/fmeili/gists{/gist_id}","starred_url":"https://api.github.com/users/fmeili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmeili/subscriptions","organizations_url":"https://api.github.com/users/fmeili/orgs","repos_url":"https://api.github.com/users/fmeili/repos","events_url":"https://api.github.com/users/fmeili/events{/privacy}","received_events_url":"https://api.github.com/users/fmeili/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/payara/Payara/labels/reproducible","name":"reproducible","color":"006b75"},{"url":"https://api.github.com/repos/payara/Payara/labels/upstream%20bug","name":"upstream bug","color":"b60205"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-14T15:38:16Z","updated_at":"2016-05-19T20:27:27Z","closed_at":null,"body":"While deploying an EAR with about 100 WEB-Modules and about 200 EJB modules, the server.log shows more than 5000 WARNING entries with ClassNotFound, but the EAR file deploys sucessfully and it works fine. All WEB-Modules are skinny war's without having jar files in their WEB-INF/lib/ direcotries, instead all jar files are in the common ear/lib/ directory.\r\n\r\nSome of the WAR's are using JSF and some others using REST.\r\n\r\nThe following line is one of many thousands with this strange warning (there is no stack trace). Some of the lines are repeated some thousand times, with the same class name. In our EAR, we see about 5200 of these warning log lines for about 25 different classes. One of this class is logged 4000 times with this warning.\r\n\r\n[2015-07-14T11:59:10.314+0200] [Payara 4.1] [WARNING] [AS-WEB-UTIL-00035] [javax.enterprise.web.util] [tid: _ThreadID=55 _ThreadName=admin-listener(1)] [timeMillis: 1436867950314] [levelValue: 900] [[\r\n  Unable to load class aaa.bbb.Ccc, reason: java.lang.ClassNotFoundException: aaa.bbb.Ccc]]\r\n\r\nMost of these classes are using JSF and/or REST annotations.\r\n\r\nAfter a little bit reasearch, we found the following 3 GlassFish issues which are all still open. We think they depends maybe on the same issue.\r\n\r\n01/Jul/11\tGLASSFISH-16937\r\nHaving REST services in separate WARs in a single EAR prints classloading warnings\r\n\r\n26/Jul/12\tGLASSFISH-18946\t\r\nEAR with two CDI Jersey web archives will not deploy\r\n\r\n22/Jul/13\tGLASSFISH-20720\r\nEAR deployment with multiple embedded WARs broken in 3.1.2.2 and 4.0\r\n\r\n\r\nAdditionally we found the following:\r\n\r\nGLASSFISH-18946 links to JERSEY-1232, but it's closed because they think it's a WELD issue, but with the WELD-1175, the WELD team think, it should be investigated by GlassFish.\r\n\r\nWe can produce this problem with GlassFish 3.1.2.2 with Java 7u55, GlassFish 4.1 with Java 7u55 and Payara 4.1.152 with Java 8u45 on both Linux and Windows."},"comment":{"url":"https://api.github.com/repos/payara/Payara/issues/comments/220442383","html_url":"https://github.com/payara/Payara/issues/374#issuecomment-220442383","issue_url":"https://api.github.com/repos/payara/Payara/issues/374","id":220442383,"user":{"login":"lprimak","id":1002484,"avatar_url":"https://avatars.githubusercontent.com/u/1002484?v=3","gravatar_id":"","url":"https://api.github.com/users/lprimak","html_url":"https://github.com/lprimak","followers_url":"https://api.github.com/users/lprimak/followers","following_url":"https://api.github.com/users/lprimak/following{/other_user}","gists_url":"https://api.github.com/users/lprimak/gists{/gist_id}","starred_url":"https://api.github.com/users/lprimak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lprimak/subscriptions","organizations_url":"https://api.github.com/users/lprimak/orgs","repos_url":"https://api.github.com/users/lprimak/repos","events_url":"https://api.github.com/users/lprimak/events{/privacy}","received_events_url":"https://api.github.com/users/lprimak/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T20:27:27Z","updated_at":"2016-05-19T20:27:27Z","body":"Pull request https://github.com/payara/Payara/pull/822"}}