Resending - users_at_glassfish bounced the first message...
----- Original Message -----
From: snjezana.sevozenzerovic_at_oracle.com
To: users_at_glassfish.java.net
Sent: Monday, March 7, 2011 12:32:26 PM GMT -08:00 US/Canada Pacific
Subject: Re: java.lang.NoClassDefFoundError: com/sun/jersey/multipart/FormDataMultiPart
Thanks for reminding me to file an issue - that particular log message is rather misleading since there is nothing wrong with com/sun/jersey/multipart/FormDataMultiPart class - it is something else that is missing.
Did you update the whole installed image at once, or you updated individual packages? In the second case, depending on update order, you may run into situation where you wipe out your mimepull.jar file which got moved to a different package since 3.0.1 release. Could you check for the presence of glassfish/modules/mimepull.jar and if it is not there run 'pkg fix glassfish-common' ? That should bring back missing jar and resolve the problem.
Thanks,
Snjezana
----- Original Message -----
From: thomas_at_randspringer.de
To: users_at_glassfish.java.net
Sent: Monday, March 7, 2011 9:08:25 AM GMT -08:00 US/Canada Pacific
Subject: java.lang.NoClassDefFoundError: com/sun/jersey/multipart/FormDataMultiPart
Hi,
after an upgrade to GF 3.1 I can not access the Admin-Console, the login failed with
Authentication Failed
Re-enter your username and password
However the user/password is not the real problem.
I see in the server.log the following exception:
[#|2011-03-07T18:01:10.619+0100|SEVERE|glassfish3.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=23;_ThreadName=Thread-1;|service exception
java.lang.NoClassDefFoundError: com/sun/jersey/multipart/FormDataMultiPart
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.privateGetPublicMethods(Class.java:2547)
at java.lang.Class.privateGetPublicMethods(Class.java:2563)
at java.lang.Class.privateGetPublicMethods(Class.java:2563)
at java.lang.Class.getMethods(Class.java:1410)
at com.sun.jersey.core.reflection.MethodList.getMethods(MethodList.java:77)
...
But in glassfish/modules I can find:
jar tfv jersey-multipart.jar | grep com.sun.jersey.multipart.FormDataMultiPart
3720 Fri Jan 14 12:37:04 CET 2011 com/sun/jersey/multipart/FormDataMultiPart.class
The same problem is described here:
http://www.java.net/forum/topic/glassfish/glassfish/authentication-failed-after-update
Thomas