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 75649 - crossed server registration issue 1
Summary: crossed server registration issue 1
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-27 23:10 UTC by Vince Kraemer
Modified: 2006-11-28 21:11 UTC (History)
1 user (show)

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 Vince Kraemer 2006-04-27 23:10:20 UTC
the user is allowed to register platform/domain combinations that are illegal.

Steps to reproduce:

1. install SJSAS 8.2 
  install root refered to as /foo/82
2. Install SJSAS 9.0/glassfish [I used build 45]
   install root refered to as /foo/gf

3. give the following values in the server registration

Serevr: Sun Java....
Name: 82onGFdefdom

Platform Location: /foo/82
Register Local Domain

Domain Folder: /foo/gf/domains/domain1

Admin Username: admin
Admin Password: adminadmin

This completes the wizard.... It should not.  It probably needs to squak on the
page where the domain folder value is entered.

If the direction were reversed, there should be a warning... The 9.0 bits are
allowed to "run" an 8.2 domain (this is the upgrade story).

The FREAKY PART: the domain starts "in 9.0"...

The IDE cannot figure out whether it is running and so it opens the "Could not
start" laundry list dialog
Comment 1 _ ludo 2006-04-28 16:15:41 UTC
Not a very common situation and user error mixing domains from different version.

P3. Fix for FCS.
Comment 2 Vince Kraemer 2006-09-07 21:03:07 UTC
verify that the platform and domain use the same if possible.
Comment 3 Vince Kraemer 2006-09-09 01:47:03 UTC
http://serverplugins.netbeans.org/servlets/ReadMsg?list=cvs&msgNo=2138

Note: this fix also prevents upgrades, register a 8.2 domain with a 9.0 platform...

There is other data in the domain's bin/startserv that prevents the domain from
starting in 9.0 [which explains "The FREAKY PART"]
Comment 4 Vince Kraemer 2006-11-28 21:11:41 UTC
improved fix for this issue....

use the dtds directory to determine what this install can start...

http://serverplugins.netbeans.org/servlets/ReadMsg?list=cvs&msgNo=2277