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 69012 - Bundled sun app server is not autoregistered via upgrade
Summary: Bundled sun app server is not autoregistered via upgrade
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-20 21:36 UTC by _ ttran
Modified: 2005-12-12 11:39 UTC (History)
2 users (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 _ ttran 2005-11-20 21:36:23 UTC
[Linux, JDK 1.5.0_05, AS/NB bundle 5.0beta2]

Steps to reproduce:

- start AS/NB 4.1 at least once, check if the app server bundled with 4.1 is
still registered
- install AS/NB 5.0beta2
- start 5.0beta2, say yes to import settings from 4.1
- the app server registered, and displayed in Runtime tab -> Servers is the one
bundled with 4.1 not with 5.0beta2

Expected behavior:

- the app server bundled with 5.0 must be preregistered
- all app servers registered with 4.1 should be imported as part of settings
import (special case for tomcat perhaps)

The way app server bundle installer works may change before 5.0fcs.  Whoever
attempts to fix this bug should talk to Petr Jiricka first
Comment 1 _ ludo 2005-11-21 15:33:55 UTC
Not sure we want to keep the servers from 4.1 at all...
The user will eventually disinstall 4.1 and this server as a sifde effect.
Comment 2 Martin Balin 2005-11-22 14:33:38 UTC
Servers from 4.1 should not be imported.
Comment 3 _ ludo 2005-11-22 16:29:13 UTC
Thanks for the clarification: I agree.
Will fix the bug by only doing registration of the new server from the new bundle.
Comment 4 _ ludo 2005-11-23 01:17:32 UTC
fixed
cvs commit -m "Fix for
http://www.netbeans.org/issues/show_bug.cgi?id=69012\nBundled sun app ser..." --
SunDeploymentFactory.java (in directory
C:\acvs\nb_all\serverplugins\sun\appsrv81\src\org\netbeans\modules\j2ee\sun\ide\dm\)
Checking in SunDeploymentFactory.java;
/cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/dm/SunDeploymentFactory.java,v
 <--  SunDeploymentFactory.java
new revision: 1.8; previous revision: 1.7

cvs commit -m "Fix for
http://www.netbeans.org/issues/show_bug.cgi?id=69012\nBundled sun app ser..." --
PluginProperties.java (in directory
C:\acvs\nb_all\serverplugins\sun\appsrv81\src\org\netbeans\modules\j2ee\sun\ide\j2ee\)
Checking in PluginProperties.java;
/cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/PluginProperties.java,v
 <--  PluginProperties.java
new revision: 1.17; previous revision: 1.16
done
Comment 5 Michal Mocnak 2005-12-12 11:39:22 UTC
Verified