Hi everybody.
I have a problem with Glassfish again.

So that, I have jar file which contains some classes .
I must use this class in my EJB web servise,

On Linux(CentOS) platform and Glassfish v3.1 all is ok.
I created new Ejb project .
after added jar file as library file I can use needed class in web servise.

But on Windows platform and glassfish v2.1 I cant get same result . I receive some errors.

26 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class Aladdin.Hasp at services.NewWebService.KeyEnabled(NewWebService.ja va:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.security.application.EJBSecurit yManager.runMethod(EJBSecurityManager.java:1011) at com.sun.enterprise.security.SecurityUtil.invoke(Se curityUtil.java:175) at com.sun.ejb.containers.BaseContainer.invokeTargetB eanMethod(BaseContainer.java:2929) at com.sun.ejb.containers.BaseContainer.intercept(Bas eContainer.java:4020) at com.sun.ejb.containers.WebServiceInvocationHandler .invoke(WebServiceInvocationHandler.java:190) ... 64 more

I understood that,service couldn't find class from jar file. Please, give me any documentation about using jar file in Ejb project.Thanks in advance