users@glassfish.java.net

Re: application-client.xml :: <callback-handler> ignores my class.

From: vince kraemer <Vince.Kraemer_at_Sun.COM>
Date: Tue, 05 Dec 2006 16:04:20 -0800

I have this issue filed against the GF integration plugin for NetBeans.

The issue is http://www.netbeans.org/issues/show_bug.cgi?id=90481.

I am working on getting a fix for this into 5.5 (possibly as part of
5.5.1 -- which is will support GF V2)....

Note: 5.5 doesn't officially support GF V2... it has just happened to
"work"...

I will try to see if I can conjure up a w-a that might help you....

Integrating a change in 5.5.1 is a pretty heavy-weight process, so a fix
may take a bit of time to integrate.

vbk

Witold Szczerba wrote:
> [snip]
>
>
> p.s.
> I found one issue with Glassfish v2 and NetBeans 5.5 - it is happening
> when I try to launch my application client using NetBeans' "Run Main
> Project (F6)" button. If main project is "Enterprise Application" with
> EJB and Application Client, then it have to:
> 1) compile everything
> 2) deploy it to the server
> 3) launch Application Client
> In fact, NB5.5 with Glassfish v2 b26 is doing step (1) and (2) but it
> fails on (3). Same application configured to use Glassfish v1 has no
> problems with all 3 steps.
> The exception is in attachment. I don't know if that should be
> reported to NB5.5 or Glassfish team...
> [snip]
> ------------------------------------------------------------------------
>
> Copying 1 file to C:\software\workspace-nb55\EnterpriseApplication2\dist
> 2006-12-05 23:46:56 com.sun.enterprise.appclient.MainWithModuleSupport <init>
> WARNING: ACC003: Application threw an exception.
> java.lang.NoClassDefFoundError: javax/security/auth/message/config/AuthConfigFactory
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at com.sun.enterprise.appclient.MainWithModuleSupport.prepareSecurity(MainWithModuleSupport.java:454)
> at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:263)
> at com.sun.enterprise.appclient.Main.main(Main.java:185)
> Exception in thread "main" java.lang.RuntimeException: java.lang.NoClassDefFoundError: javax/security/auth/message/config/AuthConfigFactory
> at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:376)
> at com.sun.enterprise.appclient.Main.main(Main.java:185)
> Caused by: java.lang.NoClassDefFoundError: javax/security/auth/message/config/AuthConfigFactory
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at com.sun.enterprise.appclient.MainWithModuleSupport.prepareSecurity(MainWithModuleSupport.java:454)
> at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:263)
> ... 1 more
> Java Result: 1
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>