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 75329 - "Start Instance" is not working for Remote Web Server Instances.
Summary: "Start Instance" is not working for Remote Web Server Instances.
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebServer 7 (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Mukesh Garg
URL: http://issues@serverplugins
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 11:09 UTC by shajinimathews
Modified: 2006-10-23 16:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shajinimathews 2006-04-21 11:09:55 UTC
Build    :Plugin  on Sun Java System Web Server  7.0 B04/18/2006 08:33 
Product version : Sun Java(TM) Studio Enterprise 8.1(Build 2006.04.19)
Operating System: Windows XP version 5.1 running on x86
Java: 1.5.0_06
Steps to reproduce:
1. Install  jdk1.5 
2. Install Coco Build
3. Go to Runtime tab
4. Select Servers
5. Add the Remote Server
6. Right Click on Remote Server 
7. Select "Start Instance" Button
"Start Instance" is not working for Remote Web Server Instances and it throwing
Exception

Error:
Java.io.FileNotFoundException: D:\ws70_apr19\https-wspqew053\logs\errors(The
system cannot find the path specified)
Comment 1 Mukesh Garg 2006-04-21 12:46:36 UTC
This was happening because while starting the instance, invokeLogViewer was also
being invoked, which in case of remote server doesn't find the log file of the
instance and hence a NPE.

invokeLogViewr will now be called if the the registered is a local server.

Along with this fix, also disabled the "View Server Logs" actions for both Admin
and Target server instance in the Remote server case.

Changed files are
/src/org/netbeans/modules/j2ee/sun/ws7/nodes/WS70ManagerNode.java
/src/org/netbeans/modules/j2ee/sun/ws7/nodes/WS70TargetNode.java
/src/org/netbeans/modules/j2ee/sun/ws7/nodes/actions/ViewAdminServerLogAction.java
/src/org/netbeans/modules/j2ee/sun/ws7/nodes/actions/ViewTargetServerLogAction.java
Comment 2 shajinimathews 2006-07-12 07:54:56 UTC
Runtime tab -> select Remote Web Server7.0 ->sub node of server ->Start Instance
"Start Instance" is  working fine for Remote Web Server Instances . So there is
no other issues regarding this. Hence I'm closing this issue.