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.
Summary: | unable to deploy WebApp with reference to Session bean with local interface | ||
---|---|---|---|
Product: | javaee | Reporter: | Jan Horvath <jhorvath> |
Component: | Code | Assignee: | Martin Grebac <mgrebac> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | Sun | ||
OS: | SunOS | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jan Horvath
2004-11-12 15:33:44 UTC
the fact it fails is not a bug, but s feature from the j2ee spec: You need to package the 2 modules into a J2EE application. The error message is correct as it is a user error. user should be informed about this while deploying This would be an app server deploy backend issue then. cannot solve all the possible deploy issue before doing a deploy withing netbeans. I'll file a bug on the app server product and will close this one with the corresponding AS bug. It looks like run project needs to be disabled if there is an ejb-link element in the web.xml. The active project is the web project, right? Maybe this needs to be reassigned into the web component. Ludo, is this an AS bug? not AS plugin as this bug will occur for other app servers.... Web project run action should detect this case. I see, I'll fix it. But I'd probably rather throw out dialog saying what's wrong, because disabled run action may be quite confusing for users - they would have no clue why it is disabled. Fixed in trunk: http://web.netbeans.org/source/browse/web/project/src/org/netbeans/modules/web/project/WebActionProvider.java.diff?r1=1.53&r2=1.54 http://web.netbeans.org/source/browse/web/project/src/org/netbeans/modules/web/project/Bundle.properties.diff?r1=1.17&r2=1.18 v |