Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application does not support redployment #26

Open
tgrall opened this issue Sep 5, 2017 · 5 comments
Open

Application does not support redployment #26

tgrall opened this issue Sep 5, 2017 · 5 comments
Assignees
Labels

Comments

@tgrall
Copy link
Contributor

tgrall commented Sep 5, 2017

Environment:

  • Java 8
  • Wildfly wildfly-10.1.0.Final
  • Centos & OSX
  1. run the application in wildfly
  2. deploy the application
  3. go to the home page
  4. Should work
  5. Redeploy the application (hot deployment)
  6. go the the app (does not work)

The following exception is raised

11:13:10,742 INFO  [org.jboss.as.repository] (management-handler-thread - 4) WFLYDR0002: Content removed from location /Users/tgrall/tools/jboss/wildfly-10.1.0.Final/standalone/data/content/da/604b0eb667c7c9dde494fd436b4c38d82e99cc/content
11:13:42,759 ERROR [stderr] (default task-47) java.lang.reflect.InvocationTargetException
11:13:42,760 ERROR [stderr] (default task-47) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11:13:42,761 ERROR [stderr] (default task-47) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
11:13:42,761 ERROR [stderr] (default task-47) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
11:13:42,761 ERROR [stderr] (default task-47) 	at java.lang.reflect.Method.invoke(Method.java:497)
11:13:42,761 ERROR [stderr] (default task-47) 	at com.mapr.fs.ShimLoader.loadNativeLibrary(ShimLoader.java:349)
11:13:42,761 ERROR [stderr] (default task-47) 	at com.mapr.fs.ShimLoader.load(ShimLoader.java:235)
11:13:42,761 ERROR [stderr] (default task-47) 	at org.apache.hadoop.conf.CoreDefaultProperties.<clinit>(CoreDefaultProperties.java:61)
11:13:42,761 ERROR [stderr] (default task-47) 	at java.lang.Class.forName0(Native Method)
11:13:42,761 ERROR [stderr] (default task-47) 	at java.lang.Class.forName(Class.java:348)
11:13:42,762 ERROR [stderr] (default task-47) 	at org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2159)
11:13:42,762 ERROR [stderr] (default task-47) 	at org.apache.hadoop.conf.Configuration.getProperties(Configuration.java:2374)
11:13:42,762 ERROR [stderr] (default task-47) 	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2591)
11:13:42,762 ERROR [stderr] (default task-47) 	at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2543)
11:13:42,763 ERROR [stderr] (default task-47) 	at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2456)
11:13:42,763 ERROR [stderr] (default task-47) 	at org.apache.hadoop.conf.Configuration.get(Configuration.java:1245)
11:13:42,763 ERROR [stderr] (default task-47) 	at org.apache.hadoop.security.UserGroupInformation.getAuthenticationMethodFromConfiguration(UserGroupInformation.java:313)
11:13:42,764 ERROR [stderr] (default task-47) 	at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:209)
11:13:42,764 ERROR [stderr] (default task-47) 	at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:197)
11:13:42,765 ERROR [stderr] (default task-47) 	at org.apache.hadoop.security.UserGroupInformation.createUserForTesting(UserGroupInformation.java:1259)
11:13:42,772 ERROR [stderr] (default task-47) 	at com.mapr.music.dao.impl.MaprDbDaoImpl.loginTestUser(MaprDbDaoImpl.java:324)
11:13:42,772 ERROR [stderr] (default task-47) 	at com.mapr.music.dao.impl.MaprDbDaoImpl.processStore(MaprDbDaoImpl.java:174)
11:13:42,772 ERROR [stderr] (default task-47) 	at com.mapr.music.dao.impl.MaprDbDaoImpl.getTotalNum(MaprDbDaoImpl.java:152)
11:13:42,772 ERROR [stderr] (default task-47) 	at com.mapr.music.service.impl.AlbumServiceImpl.getTotalNum(AlbumServiceImpl.java:60)
11:13:42,773 ERROR [stderr] (default task-47) 	at com.mapr.music.service.PaginatedService.getPaginationInfo(PaginatedService.java:25)
11:13:42,773 ERROR [stderr] (default task-47) 	at com.mapr.music.service.impl.AlbumServiceImpl.getAlbumsPage(AlbumServiceImpl.java:147)
11:13:42,773 ERROR [stderr] (default task-47) 	at com.mapr.music.api.AlbumEndpoint.getAlbumsList(AlbumEndpoint.java:53)
11:13:42,773 ERROR [stderr] (default task-47) 	at com.mapr.music.api.AlbumEndpoint$Proxy$_$$_WeldClientProxy.getAlbumsList(Unknown Source)
11:13:42,773 ERROR [stderr] (default task-47) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
11:13:42,773 ERROR [stderr] (default task-47) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
11:13:42,774 ERROR [stderr] (default task-47) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
11:13:42,774 ERROR [stderr] (default task-47) 	at java.lang.reflect.Method.invoke(Method.java:497)
11:13:42,774 ERROR [stderr] (default task-47) 	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
11:13:42,774 ERROR [stderr] (default task-47) 	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
11:13:42,774 ERROR [stderr] (default task-47) 	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
11:13:42,774 ERROR [stderr] (default task-47) 	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236)
11:13:42,774 ERROR [stderr] (default task-47) 	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:402)
11:13:42,775 ERROR [stderr] (default task-47) 	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:209)
11:13:42,775 ERROR [stderr] (default task-47) 	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
11:13:42,775 ERROR [stderr] (default task-47) 	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
11:13:42,775 ERROR [stderr] (default task-47) 	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
11:13:42,775 ERROR [stderr] (default task-47) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
11:13:42,776 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
11:13:42,776 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
11:13:42,776 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
11:13:42,776 ERROR [stderr] (default task-47) 	at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
11:13:42,776 ERROR [stderr] (default task-47) 	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
11:13:42,776 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
11:13:42,776 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
11:13:42,777 ERROR [stderr] (default task-47) 	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
11:13:42,777 ERROR [stderr] (default task-47) 	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
11:13:42,777 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
11:13:42,777 ERROR [stderr] (default task-47) 	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
11:13:42,777 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
11:13:42,777 ERROR [stderr] (default task-47) 	at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
11:13:42,777 ERROR [stderr] (default task-47) 	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
11:13:42,778 ERROR [stderr] (default task-47) 	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
11:13:42,778 ERROR [stderr] (default task-47) 	at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
11:13:42,778 ERROR [stderr] (default task-47) 	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
11:13:42,778 ERROR [stderr] (default task-47) 	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
11:13:42,778 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
11:13:42,778 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
11:13:42,779 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
11:13:42,779 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
11:13:42,779 ERROR [stderr] (default task-47) 	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
11:13:42,779 ERROR [stderr] (default task-47) 	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
11:13:42,779 ERROR [stderr] (default task-47) 	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
11:13:42,780 ERROR [stderr] (default task-47) 	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
11:13:42,780 ERROR [stderr] (default task-47) 	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
11:13:42,780 ERROR [stderr] (default task-47) 	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
11:13:42,780 ERROR [stderr] (default task-47) 	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
11:13:42,780 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
11:13:42,780 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
11:13:42,780 ERROR [stderr] (default task-47) 	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
11:13:42,780 ERROR [stderr] (default task-47) 	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
11:13:42,781 ERROR [stderr] (default task-47) 	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
11:13:42,781 ERROR [stderr] (default task-47) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
11:13:42,781 ERROR [stderr] (default task-47) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
11:13:42,781 ERROR [stderr] (default task-47) 	at java.lang.Thread.run(Thread.java:745)
11:13:42,781 ERROR [stderr] (default task-47) Caused by: java.lang.UnsatisfiedLinkError: Native Library /private/var/folders/sf/5kjcz09x6l99zlgg_kv4lkkh0000gn/T/mapr-tgrall-libMapRClient.unknown.dylib already loaded in another classloader
11:13:42,781 ERROR [stderr] (default task-47) 	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1903)
11:13:42,782 ERROR [stderr] (default task-47) 	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
11:13:42,782 ERROR [stderr] (default task-47) 	at java.lang.Runtime.load0(Runtime.java:809)
11:13:42,782 ERROR [stderr] (default task-47) 	at java.lang.System.load(System.java:1086)
11:13:42,782 ERROR [stderr] (default task-47) 	... 78 more
11:13:42,786 ERROR [io.undertow.request] (default task-47) UT005023: Exception handling request to /mapr-music/api/1.0/albums: org.jboss.resteasy.spi.UnhandledException: java.lang.ExceptionInInitializerError
	at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:77)
	at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:220)
	at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:175)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:418)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:209)
	at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
	at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
	at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
	at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
	at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
	at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
	at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
	at io.undertow.servlet.api.LegacyThreadSetupActionWrapper$1.call(LegacyThreadSetupActionWrapper.java:44)
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ExceptionInInitializerError
	at com.mapr.fs.ShimLoader.load(ShimLoader.java:243)
	at org.apache.hadoop.conf.CoreDefaultProperties.<clinit>(CoreDefaultProperties.java:61)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:348)
	at org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2159)
	at org.apache.hadoop.conf.Configuration.getProperties(Configuration.java:2374)
	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2591)
	at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2543)
	at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2456)
	at org.apache.hadoop.conf.Configuration.get(Configuration.java:1245)
	at org.apache.hadoop.security.UserGroupInformation.getAuthenticationMethodFromConfiguration(UserGroupInformation.java:313)
	at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:209)
	at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:197)
	at org.apache.hadoop.security.UserGroupInformation.createUserForTesting(UserGroupInformation.java:1259)
	at com.mapr.music.dao.impl.MaprDbDaoImpl.loginTestUser(MaprDbDaoImpl.java:324)
	at com.mapr.music.dao.impl.MaprDbDaoImpl.processStore(MaprDbDaoImpl.java:174)
	at com.mapr.music.dao.impl.MaprDbDaoImpl.getTotalNum(MaprDbDaoImpl.java:152)
	at com.mapr.music.service.impl.AlbumServiceImpl.getTotalNum(AlbumServiceImpl.java:60)
	at com.mapr.music.service.PaginatedService.getPaginationInfo(PaginatedService.java:25)
	at com.mapr.music.service.impl.AlbumServiceImpl.getAlbumsPage(AlbumServiceImpl.java:147)
	at com.mapr.music.api.AlbumEndpoint.getAlbumsList(AlbumEndpoint.java:53)
	at com.mapr.music.api.AlbumEndpoint$Proxy$_$$_WeldClientProxy.getAlbumsList(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236)
	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:402)
	... 42 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.mapr.fs.ShimLoader.loadNativeLibrary(ShimLoader.java:349)
	at com.mapr.fs.ShimLoader.load(ShimLoader.java:235)
	... 72 more
Caused by: java.lang.UnsatisfiedLinkError: Native Library /private/var/folders/sf/5kjcz09x6l99zlgg_kv4lkkh0000gn/T/mapr-tgrall-libMapRClient.unknown.dylib already loaded in another classloader
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1903)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
	at java.lang.Runtime.load0(Runtime.java:809)
	at java.lang.System.load(System.java:1086)
	... 78 more
@tgrall tgrall self-assigned this Sep 6, 2017
@tgrall tgrall added the bug label Sep 6, 2017
@vladglinskiy
Copy link

@tdunning
Copy link
Contributor

tdunning commented Sep 8, 2017 via email

@tgrall
Copy link
Contributor Author

tgrall commented Sep 8, 2017

@tdunning :

Is this due to the MapR client shim loader?
Yes it is

In the current packaging the MapR Client is embedded into the war, and we should move it at the higher level, main classloader.
The solution will be to create a "jboss-module" to put that as a global library for the container (see this documentation

Note that it is another example that show that life would be a lot easier with a 100%Java based client....

@adityakishore
Copy link
Collaborator

@tgrall Are you able to workaround this with the jboss-module that you propose?

The issue, as you correctly understand, is not limited to the new driver but inherent in the core MapR client.

@tgrall
Copy link
Contributor Author

tgrall commented Sep 12, 2017

@adityakishore : yes with the JBoss module it will work

Also I am not saying that it is new in 6.0, I am just saying that it is simply bad, and would be really good if we can get rid of such packaging issue, that force people to really understand the internals of our product. That said it is a bigger discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants