This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 90962 [details] exception Note: make sure you have NB building containing 90a104a53e7d as I tweaked there how appclient manifest looks like (issue 174708). Vince, could you have a look please at attached project and tell me why I cannot deploy it from the IDE? If I take ear file and deploy it via GF admin console (glassfish-v3-b73-11_12 - make sure you have a build in which https://glassfish.dev.java.net/nonav/issues/show_bug.cgi?id=10458 is fixed) and then start AppClient via Java WebStart (javaws http://localhost:8080/LotteryAnnotation/LotteryAnnotation-app-client) everything runs OK. But if I try to run it from NB I get java.lang.NoClassDefFoundError error (see attachment). I tried to create simpler test case of EAR with EJB and AppClient where AppClient calls makes an EJB call and it was failing constantly for about hour and then suddenly it started to work even from NB. But attached LoterryAnnotation fails still constantly. Product Version = NetBeans IDE Dev (Build 091113-4db9d29c0b2c) (#4db9d29c0b2c) Operating System = Linux version 2.6.24-24-generic running on i386 Java; VM; Vendor = 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01; Sun Microsystems Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_16-b01 Java Home = /usr/lib/jvm/java-6-sun-1.6.0.16/jre System Locale; Encoding = en_NZ (nb); UTF-8 Home Directory = /home/david
Created attachment 90963 [details] test project
I noticed just then that AppClient's manifest says: Class-Path: JavaLibrary11.jar lib/JavaLibrary11.jar EjbInterface.jar lib/EjbInterface.jar instead of just Class-Path: lib/JavaLibrary11.jar lib/EjbInterface.jar But that should not prevent deployment.
I will look at it with tonight's gf v3 nightly.
The deployment is fine... it looks like you are running into https://glassfish.dev.java.net/issues/show_bug.cgi?id=10947.
corrected the summary
Tim Q checked in a fix for the server side of this issue... will check the next nightly to see if we are all clear on this.
the next official nightly isn't likely to be before Monday... power shutdown at Sun campus
Thanks Vince, the GF issue looks like what I was experiencing.
the gf issue was reopened, so it may be a bit longer before we 'know' if this is resolved by just the server change.
I just built the GF v3 trunk and was able to reproduce the issue... so we are not out of the woods yet. I was not able to reproduce the GF issue, though... so it looks like we still have issues in the IDE that need to get resolved.
AppClient deployment from IDE does not work - P1.
http://hg.netbeans.org/web-main/rev/7dbb9b4c6b81
I reviewed and verified the fix.
Integrated into 'main-golden', will be available in build *200911180645* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7dbb9b4c6b81 User: vince kraemer <vkraemer@netbeans.org> Log: #176742: client stub directory missing some jars that are not server generated