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.

Bug 189227 - standalone AppClient module can be deployed but execution fails with ClassNotFound
Summary: standalone AppClient module can be deployed but execution fails with ClassNot...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: App Client (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-04 23:13 UTC by David Konecny
Modified: 2010-08-09 00:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception details (3.45 KB, text/plain)
2010-08-05 00:40 UTC, David Konecny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2010-08-04 23:13:21 UTC
I fixed bug 186331 and standalone EE modules can be deployed now but execution of AppClient fails with ClassNotFound exception.
Comment 1 David Konecny 2010-08-05 00:40:59 UTC
Created attachment 101214 [details]
exception details

More info:

I can successfully deploy standalone AppClient. Deployment command:

http://localhost:4848/__asadmin/deploy?DEFAULT=/home/dev/projs/ApplicationClient3/dist/ApplicationClient3.jar&name=ApplicationClient3&libraries=/home/dev/projs/MujYnterfejs/dist/MujYnterfejs.jar&force=true

succeeds. When I try to run such application it fails with "java.lang.ClassNotFoundException: a.b.c.TellWhoIsTheMostBeautifulRemote" where a.b.c.TellWhoIsTheMostBeautifulRemote is remove interface class which is stored in separate jar MujYnterfejs.jar. See attach exception. It is coming from org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain() and even if I place required jar directly to bootclasspath (just an experiment) it fails.
Comment 2 David Konecny 2010-08-08 23:55:15 UTC
Fixed: dc8c243c9bb8
Comment 3 David Konecny 2010-08-09 00:48:42 UTC
.