javax.ejb.EJBException

Oracle Community | thysdrus | 5 years ago
  1. 0

    Glassfish/JNI : java.lang.UnsatisfiedLinkError

    Oracle Community | 5 years ago | thysdrus
    javax.ejb.EJBException
  2. 0

    Steps I took: 1. Downloaded jenkins.war 1.440 2. Created folder E:\java\jenkins 3. Executed java -DJENKINS_HOME=E:\java\jenkins -jar jenkins.war 4. Browsed to http://localhost:8080/, Jenkins was up and running 5. Manage Jenkins -> Install as Windows Service 6. Kept the installation directory as E:\java\jenkins and pressed Install This gave me the following error: java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J at com.sun.jna.Native.malloc(Native Method) at com.sun.jna.Memory.malloc(Memory.java:690) at com.sun.jna.Memory.<init>(Memory.java:79) at com.sun.jna.ptr.ByReference.<init>(ByReference.java:33) at com.sun.jna.ptr.IntByReference.<init>(IntByReference.java:22) at com.sun.jna.ptr.IntByReference.<init>(IntByReference.java:18) at hudson.util.jna.RegistryKey.open(RegistryKey.java:210) at hudson.util.jna.RegistryKey.openReadonly(RegistryKey.java:206) at hudson.util.jna.DotNet.isInstalled(DotNet.java:50) at hudson.lifecycle.WindowsInstallerLink.doDoInstall(WindowsInstallerLink.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:104) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:377) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source) PS. A note about bug reporting itself - the Component/s field is required, but the valid values don't make much sense, at least to someone not familiar with the internals of Jenkins. I used "core" for this report as it was the most generic one I could find, but it was by far the most confusing part about the bug reporting process.

    Jenkins JIRA | 5 years ago | Andres Kalle
    java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J
  3. 0

    "Windowsのサービスとしてインストール" 時 Exception: java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J

    Google Groups | 4 years ago | Takayuki Kondou
    javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: com.sun.jna.Native.malloc(J)J
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    gdal java bindings give UnsatisfiedLinkError

    Stack Overflow | 1 year ago | mbhaumik
    java.lang.UnsatisfiedLinkError: org.gdal.gdal.gdalJNI.Driver_SWIGUpcast(J)J
  6. 0

    Error running .wav sounds on the simulator

    Stack Overflow | 11 months ago | ddyer
    java.lang.UnsatisfiedLinkError: com.sun.media.jfxmediaimpl.platform.gstreamer.GSTMediaPlayer.gstGetAudioSpectrum(J)J

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      org.quantlib.QuantLibJNI.new_SimpleQuote(D)J

      at org.quantlib.QuantLibJNI.new_SimpleQuote()
    2. org.quantlib
      SimpleQuote.<init>
      1. org.quantlib.QuantLibJNI.new_SimpleQuote(Native Method)
      2. org.quantlib.SimpleQuote.<init>(SimpleQuote.java:39)
      2 frames
    3. com.ibaz.core
      YieldCurveService.buildZeroCouponCurve
      1. com.ibaz.core.data.services.marketdata.yieldcurves.impl.YieldCurveCalculationServiceImpl.buildDepositRateHelper(YieldCurveCalculationServiceImpl.java:79)
      2. com.ibaz.core.data.services.marketdata.yieldcurves.impl.YieldCurveCalculationServiceImpl.buildZeroCouponCurve(YieldCurveCalculationServiceImpl.java:154)
      3. com.ibaz.core.data.services.marketdata.yieldcurves.impl.YieldCurveService.buildZeroCouponCurve(YieldCurveService.java:30)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. Embedded GlassFish Web
      SystemInterceptorProxy.aroundInvoke
      1. org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1056)
      2. org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1128)
      3. com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5292)
      4. com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:615)
      5. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:797)
      6. com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:567)
      7. com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:157)
      8. com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:139)
      8 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    7. Embedded GlassFish Web
      EJBObjectInvocationHandlerDelegate.invoke
      1. com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:858)
      2. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:797)
      3. com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:367)
      4. com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5264)
      5. com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5252)
      6. com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:201)
      7. com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:75)
      7 frames
    8. Unknown
      $Proxy243.buildZeroCouponCurve
      1. $Proxy243.buildZeroCouponCurve(Unknown Source)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. glassfish-corba-orb
      CorbaMessageMediatorImpl.doWork
      1. com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie.dispatchToMethod(ReflectiveTie.java:146)
      2. com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:176)
      3. com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:682)
      4. com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:216)
      5. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1841)
      6. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1695)
      7. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1078)
      8. com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:221)
      9. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:797)
      10. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:561)
      11. com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2558)
      11 frames
    11. glassfish-corba-orbgeneric
      ThreadPoolImpl$WorkerThread.run
      1. com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:492)
      2. com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:528)
      2 frames