WAFFLE usage on IBM-AIX 64bit

Jul 7, 2011 at 7:00 PM

I have tested Waffle and find it worked perfectly fine with my web application.

However, as I developed my web application on Windows 2003 64 bit and tried to deploy on production which is Websphere AS7 on IBM-AIX 64-bit, I'm getting this error.

java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.a)

Which I suspected jna.jar is the caused, but I cannot find jna.jar which contain com/sun/jna/aix-ppc64/libjnidispatch.a

The latest jna.jar (ver 3.3.0) contains only these folders

com\sun\jna\darwin
com\sun\jna\freebsd-amd64
com\sun\jna\freebsd-i386
com\sun\jna\linux-amd64
com\sun\jna\linux-i386
com\sun\jna\ptr
com\sun\jna\sunos-amd64
com\sun\jna\sunos-sparc
com\sun\jna\sunos-sparcv9
com\sun\jna\sunos-x86
com\sun\jna\win32
com\sun\jna\win32-amd64
com\sun\jna\win32-x86

Moreover, the inside of each folder contain libjnidispatch.so instead of libjnidispatch.a

Therefore, I wonder whether I can use Waffle on IBM-AIX or not?

If yes, how can I solve this error?

If not, well, is there any framework out there work well like Waffle?

 

Thank you.

Satit A.

 

PS. Here is the full log

============================================

Please contact...COMPUTER ADMIN 
Error Page 
Exception javax.servlet.ServletException: Filter [SecurityFilter]: filter is unavailable. 
Message Filter [SecurityFilter]: filter is unavailable. 
Localized Message Filter [SecurityFilter]: filter is unavailable. 
Stack Trace javax.servlet.ServletException: Filter [SecurityFilter]: filter is unavailable.
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:231)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at logic.psa.core.SessionSerializableFilter.doFilter(SessionSerializableFilter.java:58)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:445)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:504)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:301)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1563)
Caused by: java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/aix-ppc64/libjnidispatch.a) not found in resource path
at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:708)
at com.sun.jna.Native.loadNativeLibrary(Native.java:685)
at com.sun.jna.Native.(Native.java:109)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at com.sun.jna.NativeLong.(NativeLong.java:23)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
at waffle.windows.auth.impl.WindowsCredentialsHandleImpl.(Unknown Source)
at waffle.windows.auth.impl.WindowsAuthProviderImpl.acceptSecurityToken(Unknown Source)
at waffle.servlet.NegotiateSecurityFilter.doFilter(Unknown Source)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
... 25 more

Coordinator
Jul 8, 2011 at 2:31 PM

Why do you think it should work on AIX? Waffle is a Windows-only implementation that uses the Win32 API. So even if you make JNA actually work, there's no Win32 to make calls to. There're several solutions of joining *nix machines to an active directory and using some stack to allow NTLM/Negotiate, but that's beyond Waffle's scope. Start with the list of related products in the documentation.