| Ken Hygh 2006-10-28, 1:41 pm |
| pacosta@isaltda.com.uy wrote:
> I'm getting the following exceptions when I run a web application that has a filter:
>
> [10/27/06 14:08:22:760 UYT] 0000001d WebApp E SRVE0026E: [Servlet Error]-[Filter [AccessFilter]: could not be loaded]: java.lang.ExceptionInInitializerError
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl. newInstance(NativeConstructorAccessorImp
l.java:80)
> at
[snip]
>
> I'm using WAS 6.0.2.9 on Linux CentOS (RedHat).
> Any help to solve this problem will be appreciated.
>
> Thanks, Pablo.
It appears that your filter is trying to load a Native class, and
there's some problem with loading the native class. Make sure the .so
that your class depends on is somewhere on the native path, AND that the
Java class that wraps the native code is NOT in the EAR, but in a shared
library loaded by the application server.
When the server starts up, it prints out the native paths, so you can
see where you might want your .so file.
Ken
|