WebSphere Application Server - Re: Filter error: java.lang.ExceptionInInitializerError and java.lang.NoClassDefFoundE

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > October 2006 > Re: Filter error: java.lang.ExceptionInInitializerError and java.lang.NoClassDefFoundE





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Filter error: java.lang.ExceptionInInitializerError and java.lang.NoClassDefFoundE
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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com