Tomcat启动iServer.war 报错
java.lang.UnsatisfiedLinkError: Aladdin.Hasp.Login(JLjava/lang/String;[I)I
at Aladdin.Hasp.Login(Native Method)
at Aladdin.Hasp.login(Unknown Source)
at com.supermap.LicenseHaspInstance.internalLogin(LicenseHaspInstance.java:174)
at com.supermap.LicenseHaspInstance.connect(LicenseHaspInstance.java:132)
at com.supermap.License.connect(License.java:81)
at com.supermap.services.providers.LicenseChecker.connectAndCheck(SourceFile:360)
at com.supermap.services.providers.LicenseChecker.isAllowed(SourceFile:269)
at com.supermap.services.util.LicenseTool.b(SourceFile:343)
at com.supermap.services.util.LicenseTool.getLicenseInfo(SourceFile:208)
at com.supermap.services.util.LicenseTool.getLicenseInfo(SourceFile:197)
at com.supermap.services.util.LicenseTool.refresh(SourceFile:236)
at com.supermap.server.host.webapp.LicenseManager.<init>(SourceFile:69)
at com.supermap.server.host.webapp.LicenseManager.init(SourceFile:92)
at com.supermap.server.host.webapp.handlers.EnvironmentCheckHandler.init(SourceFile:113)
at com.supermap.server.host.webapp.handlers.BasicHandler.a(SourceFile:665)
at com.supermap.server.host.webapp.handlers.BasicHandler.a(SourceFile:565)
at com.supermap.server.host.webapp.handlers.BasicHandler.init(SourceFile:159)
at com.supermap.server.host.webapp.ApplicationFilter.a(SourceFile:208)
at com.supermap.server.host.webapp.ApplicationFilter.a(SourceFile:80)
at com.supermap.server.host.webapp.ApplicationFilter$1.call(SourceFile:121)
at com.supermap.server.host.webapp.ApplicationFilter$1.call(SourceFile:118)
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:498)
at com.supermap.services.util.DelegatingErrorHandlingCallable$ReflectInvoker.a(SourceFile:177)
at com.supermap.services.util.DelegatingErrorHandlingCallable.invokeQuietly(SourceFile:102)
at com.supermap.server.host.webapp.ApplicationFilter.init(SourceFile:156)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-2-27 16:26:43 - WARN - Destroy cloudLicenseManager failed.
java.lang.NullPointerException
at com.supermap.server.host.webapp.handlers.EnvironmentCheckHandler.destroy(SourceFile:468)
at com.supermap.server.host.webapp.handlers.Handlers$1.call(SourceFile:85)
at com.supermap.server.host.webapp.handlers.Handlers$1.call(SourceFile:82)
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:498)
at com.supermap.services.util.DelegatingErrorHandlingCallable$ReflectInvoker.a(SourceFile:177)
at com.supermap.services.util.DelegatingErrorHandlingCallable.invokeQuietly(SourceFile:102)
at com.supermap.services.util.DelegatingErrorHandlingCallable.invokeQuietly(SourceFile:110)
at com.supermap.server.host.webapp.handlers.Handlers.destroy(SourceFile:82)
at com.supermap.server.host.webapp.handlers.BasicHandler.destroy(SourceFile:203)
at com.supermap.server.host.webapp.ApplicationFilter.destroy(SourceFile:270)
at com.supermap.server.host.webapp.ApplicationFilter$2.call(SourceFile:130)
at com.supermap.server.host.webapp.ApplicationFilter$2.call(SourceFile:126)
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:498)
at com.supermap.services.util.DelegatingErrorHandlingCallable$ReflectInvoker.a(SourceFile:177)
at com.supermap.services.util.DelegatingErrorHandlingCallable.invokeQuietly(SourceFile:102)
at com.supermap.services.util.DelegatingErrorHandlingCallable.invokeQuietly(SourceFile:106)
at com.supermap.server.host.webapp.ApplicationFilter$4.handleError(SourceFile:153)
at com.supermap.services.util.DelegatingErrorHandlingCallable$ReflectInvoker.a(SourceFile:184)
at com.supermap.services.util.DelegatingErrorHandlingCallable.invokeQuietly(SourceFile:102)
at com.supermap.server.host.webapp.ApplicationFilter.init(SourceFile:156)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)