users@glassfish.java.net

Re: Unable to access EJB from application client

From: Dennis Gesker <dennis_at_gesker.com>
Date: Wed, 6 Jun 2007 14:31:49 -0600

Using the command line as instructed the app-client also fails but the
errors displayed are a bit different...

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
com/alamon/wrap/SimpleUIElement
        at com.alamon.client.model.EmployeeComboBoxModel.<init>(
EmployeeComboBoxModel.java:37)
        at ea.NewJFrame.initComponents(NewJFrame.java:39)
        at ea.NewJFrame.<init>(NewJFrame.java:17)
        at ea.NewJFrame$2.run(NewJFrame.java:105)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(
EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(
EventDispatchThread.java:183)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(
EventDispatchThread.java:173)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java
:168)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java
:160)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)



On 6/6/07, glassfish_at_javadesktop.org <glassfish_at_javadesktop.org> wrote:
>
> Oh, one other bit of information that will help with the diagnosis...
>
> Can you try this experiment? Using the information from NetBeans as to
> where it builds the EAR, please deploy it yourself using
>
> asadmin deploy --retrieve <some-directory> <the-EAR>
>
> (This deploys the app and also retrieves the augmented app client JAR
> file.)
>
> Then launch the app client using the appclient script:
>
> appclient --client <some-directory><app-client-jar-name>
>
> and please let us know whether that works or not.
>
>
> The appclient and Java Web Start launch code paths are largely the same
> but there are some differences and it helps to know the outcome in each
> scenario.
>
> Thanks.
>
> - Tim
> [Message sent by forum member 'tjquinn' (tjquinn)]
>
> http://forums.java.net/jive/thread.jspa?messageID=220854
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
Dennis R. Gesker
email: dennis_at_gesker.com
Key Id: 0xEFA10A51
First things first, but not necessarily in that order. -- Unknown