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 148595

Summary: 'Run' target option is disabled on the EAR application which is deployed on the remote server
Product: javaee Reporter: dpkumar <dpkumar>
Component: EARAssignee: David Konecny <dkonecny>
Status: RESOLVED WONTFIX    
Severity: blocker CC: issues
Priority: P3    
Version: 6.x   
Hardware: Sun   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Screen shot
attached sample Project

Description dpkumar 2008-09-29 07:09:00 UTC
NB:NetBeans IDE Build 200809281401
JDK:1.5.0_13
Sailfin1.0-B52

Steps to reproduce:
-Install NB And Sailfin1.0 in the desktop.
-Install Sailfin1.0 in the remote machine and start the Sailfin server in the remote machine.
-Register remote domain pointing to sailfin1.5(Installed in remote machine).
-Create a EAR(EJB+App-Client) set target server:sailfinV1, Java EE Version:5, Create EJB Module and Create App-client
module.
-Right click on the EJB module select SessionBean, SessionType:Sateless and Create Interface:Remote and click finish.
-Add a business method in the sessionbean code.In my case I created a method which returns a STRING.
-Call this business method in the App-Client module.
-Right click on the EAR application.

ISSUE:Observe the 'RUN' Target is disabled.Thus unable to run the application.
Comment 1 dpkumar 2008-09-29 07:13:10 UTC
Created attachment 70762 [details]
Screen shot
Comment 2 dpkumar 2008-09-29 07:16:11 UTC
Created attachment 70763 [details]
attached sample Project
Comment 3 Vince Kraemer 2008-09-29 14:48:46 UTC
yes. netbeans doesn't support execution of an application client that is deployed on a remote host.  A message that says
that something to that effect may be a useful enhancement.
Comment 4 David Konecny 2008-10-09 05:18:01 UTC
The enhancement will be: keep action enabled even in this scenario and if executed show a message box saying "AppClient
project XXX cannot be run on remote server YYY". Do you agree?
Comment 5 Martin Balin 2016-07-07 08:55:07 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss