{"action":"closed","issue":{"url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/46","labels_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/46/comments","events_url":"https://api.github.com/repos/wildfly-swarm/wildfly-swarm/issues/46/events","html_url":"https://github.com/wildfly-swarm/wildfly-swarm/issues/46","id":85461721,"number":46,"title":"Missing JDK class","user":{"login":"amannm","id":3229134,"avatar_url":"https://avatars.githubusercontent.com/u/3229134?v=3","gravatar_id":"","url":"https://api.github.com/users/amannm","html_url":"https://github.com/amannm","followers_url":"https://api.github.com/users/amannm/followers","following_url":"https://api.github.com/users/amannm/following{/other_user}","gists_url":"https://api.github.com/users/amannm/gists{/gist_id}","starred_url":"https://api.github.com/users/amannm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amannm/subscriptions","organizations_url":"https://api.github.com/users/amannm/orgs","repos_url":"https://api.github.com/users/amannm/repos","events_url":"https://api.github.com/users/amannm/events{/privacy}","received_events_url":"https://api.github.com/users/amannm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T07:29:26Z","updated_at":"2015-06-05T14:11:46Z","closed_at":"2015-06-05T14:11:46Z","body":"I can't use ZooKeeper with Wildfly Swarm because it depends on `javax.security.auth.login.LoginException` which I cannot get into the classloader through any conventional means\r\n<pre>\r\n2015-06-05 02:18:01,912 ERROR [stderr] (main) Exception in thread \"main\" java.lang.reflect.InvocationTargetException\r\n2015-06-05 02:18:01,912 ERROR [stderr] (main) \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n2015-06-05 02:18:01,912 ERROR [stderr] (main) \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n2015-06-05 02:18:01,912 ERROR [stderr] (main) \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n2015-06-05 02:18:01,912 ERROR [stderr] (main) \tat java.lang.reflect.Method.invoke(Method.java:497)\r\n2015-06-05 02:18:01,913 ERROR [stderr] (main) \tat org.wildfly.swarm.bootstrap.Main.main(Main.java:59)\r\n2015-06-05 02:18:01,913 ERROR [stderr] (main) Caused by: java.lang.NoClassDefFoundError: javax/security/auth/login/LoginException\r\n2015-06-05 02:18:01,913 ERROR [stderr] (main) \tat org.apache.zookeeper.ClientCnxn.<init>(ClientCnxn.java:385)\r\n2015-06-05 02:18:01,913 ERROR [stderr] (main) \tat org.apache.zookeeper.ClientCnxn.<init>(ClientCnxn.java:344)\r\n2015-06-05 02:18:01,913 ERROR [stderr] (main) \tat org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:447)\r\n2015-06-05 02:18:01,913 ERROR [stderr] (main) \tat org.apache.curator.utils.DefaultZookeeperFactory.newZooKeeper(DefaultZookeeperFactory.java:29)\r\n2015-06-05 02:18:01,914 ERROR [stderr] (main) \tat org.apache.curator.framework.imps.CuratorFrameworkImpl$2.newZooKeeper(CuratorFrameworkImpl.java:146)\r\n2015-06-05 02:18:01,914 ERROR [stderr] (main) \tat org.apache.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:94)\r\n2015-06-05 02:18:01,914 ERROR [stderr] (main) \tat org.apache.curator.HandleHolder.getZooKeeper(HandleHolder.java:55)\r\n2015-06-05 02:18:01,914 ERROR [stderr] (main) \tat org.apache.curator.ConnectionState.reset(ConnectionState.java:218)\r\n2015-06-05 02:18:01,914 ERROR [stderr] (main) \tat org.apache.curator.ConnectionState.start(ConnectionState.java:102)\r\n2015-06-05 02:18:01,914 ERROR [stderr] (main) \tat org.apache.curator.CuratorZookeeperClient.start(CuratorZookeeperClient.java:189)\r\n2015-06-05 02:18:01,915 ERROR [stderr] (main) \tat org.apache.curator.framework.imps.CuratorFrameworkImpl.start(CuratorFrameworkImpl.java:248)\r\n2015-06-05 02:18:01,915 ERROR [stderr] (main) \tat com.test.service.Application.main(Application.java:39)\r\n2015-06-05 02:18:01,915 ERROR [stderr] (main) \t... 5 more\r\n2015-06-05 02:18:01,915 ERROR [stderr] (main) Caused by: java.lang.ClassNotFoundException: javax.security.auth.login.LoginException from [Module \"org.wildfly.swarm.bootstrap:main\" from BootModuleLoader@7cf10a6f for finders [org.wildfly.swarm.bootstrap.modules.JBossModulesBootstrapModuleFinder@7e0babb1, org.wildfly.swarm.bootstrap.modules.JBossMSCBootstrapModuleFinder@6debcae2, org.wildfly.swarm.bootstrap.modules.BootstrapModuleFinder@5ba23b66, org.wildfly.swarm.bootstrap.modules.ClasspathModuleFinder@2ff4f00f, org.wildfly.swarm.bootstrap.modules.AppDependenciesModuleFinder@c818063]]\r\n2015-06-05 02:18:01,915 ERROR [stderr] (main) \tat org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)\r\n2015-06-05 02:18:01,916 ERROR [stderr] (main) \tat org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:455)\r\n2015-06-05 02:18:01,916 ERROR [stderr] (main) \tat org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:404)\r\n2015-06-05 02:18:01,916 ERROR [stderr] (main) \tat org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:385)\r\n2015-06-05 02:18:01,916 ERROR [stderr] (main) \tat org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:130)\r\n2015-06-05 02:18:01,916 ERROR [stderr] (main) \t... 17 more\r\n</pre>"}}