Description
Adding a Web Server 7.0 installation to NetBeans 6.5.1 produces an error when the Web Server instance being added is in a different directory than the main Web Server installation location; for example:
Web Server instance:
/var/opt/SUNWwbsrv7/https-<node> /var/opt/SUNWwbsrv7/admin-server |
Web Server installation directory:
/opt/SUNWwbsrv7 |
The error message displayed is “Please choose a Valid Sun java System Web Server 7.0 installation.”
Solution
None. The Web Server plugin for NetBeans currently works only for standalone installations. It assumes that the Web Server installation directory and Web Server instance directory are the same, because the instance depends on the admin library. The plugin checks for the existence of several directories and files, including admin-server, config, and server.xml, among others. If not found, the plugin fails.