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 117282 - AppServer9 not installed with NetBeans 5.5.1 Issue on Windows XP & Intel Based Mac OS 10.4
Summary: AppServer9 not installed with NetBeans 5.5.1 Issue on Windows XP & Intel Base...
Status: RESOLVED WONTFIX
Alias: None
Product: installer
Classification: Unclassified
Component: Tools bundle (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-01 11:38 UTC by chenji
Modified: 2007-10-31 13:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Mac OS : NetBeans5.5.1 + Sun AppServer 9 installation log file (282.44 KB, application/octet-stream)
2007-10-01 11:39 UTC, chenji
Details
WindowsXP(X86) : NetBeans 5.5.1 & Sun Application Server 9.0 U1 (274.57 KB, application/octet-stream)
2007-10-01 11:46 UTC, chenji
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chenji 2007-10-01 11:38:30 UTC
This issue has been posted to DEA by one of the customer who has problem in installing Sun AppServer 9.0 bundled with
NetBeans 5.5.1 on Mac OS X PC. The customer un-installed & tried re-installing but did not work

I sent the log from the root install which was successful.  I'm providing the log from the install under my user name. 
I also have a screen shot, in .png format, of the Netbeans Runtime tab showing a right click drop down for the
application server.  This shows that the start, stop, etc. actions are not accessible.

as-install.log from _uninstall in Netbeans folder when install is run under my user name:

(Thu Sep  6 06:57:35 PDT 2007) Installing Appserver...
Executing the following command:
/opt/NetBeans.app/_uninst/as_setup/setup -javahome /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home -silent
/opt/NetBeans.app/_uninst/as_setup/statefile
Existing Installation Detected
exitcode = 151
(Thu Sep  6 06:57:37 PDT 2007) Finished Installing Appserver8...

Question : how do I install a working Netbeans 5.5.1 with the Sun application server? 

install.log from _uninstall in Netbeans folder when install is run under my user name:

So I downloaded the combined Netbeans 5.5.1 and AppServer and installed it which failed (Copy of Log in attached text
file).  So I installed it under the root directory.  The install was successful, however the app server will not be
controlled from Netbeans.  I went into the terminal & signed on to root, ran the startsrv from root & it appears to be
running (don't know how to tell).  

Error :

(Sep 6, 2007 6:57:37 AM), Install, org.netbeans.installer.InstallApplicationServerAction$ProgressThread, dbg,
StatusDetailThread-> /opt/SUNWappserver  MODIFIED!!!
(Sep 6, 2007 6:57:37 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, 
------------------------------  Command Print  -----------------------
Command: 
/opt/NetBeans.app/_uninst/as_setup/custom-install.sh
Command Output:

Command Error:

Return Status: 151
------------------------------------------------------------------------

(Sep 6, 2007 6:57:37 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, status code = 151 which
is unsuccessful
(Sep 6, 2007 6:57:37 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, success is false
(Sep 6, 2007 6:57:37 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, Error occured while
installing [151] -> /opt/NetBeans.app/_uninst/as_setup/custom-install.sh
(Sep 6, 2007 6:57:37 AM), Install, org.netbeans.installer.InstallApplicationServerAction, err, Error occured while
installing [151] -> /opt/NetBeans.app/_uninst/as_setup/custom-install.sh
(Sep 6, 2007 6:57:37 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, currentLogFile = null
(Sep 6, 2007 6:57:37 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, prevLogFile = null
(Sep 6, 2007 6:57:37 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, there is NO log file
(Sep 6, 2007 6:57:38 AM), Install, org.netbeans.installer.InstallApplicationServerAction, err, Error occured while
Installing Sun Java System Application Server 9.0 Update 1..
(Sep 6, 2007 6:57:38 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, in progress stop
(Sep 6, 2007 6:57:38 AM), Install, org.netbeans.installer.InstallApplicationServerAction$ProgressThread, dbg, Finishing
(Sep 6, 2007 6:57:38 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, Finishing ProgressThread
(Sep 6, 2007 6:57:38 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, Waiting for
progressThread to die...
(Sep 6, 2007 6:57:38 AM), Install, org.netbeans.installer.InstallApplicationServerAction$ProgressThread, dbg, Finished
loop loop:false
(Sep 6, 2007 6:57:39 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, ProgressThread finished
(Sep 6, 2007 6:57:39 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, active Threads -> 12
(Sep 6, 2007 6:57:39 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, ****RunCommand End 

For complete installation refer to attached installlog.txt file
Comment 1 chenji 2007-10-01 11:39:25 UTC
Created attachment 49870 [details]
Mac OS : NetBeans5.5.1 + Sun AppServer 9 installation log file
Comment 2 chenji 2007-10-01 11:44:19 UTC
Also reproducible on Windows XP(X86) by another customer also

Comments :

I tried re-installing the netBeans and platform server edition 2 times.  both times I encountered an error in the
application server installation.  I can't seem to figure out what the error is based on the log file.  I am attaching
the log file output for you to look at.  Can you see anything in there that makes sense?
 
install job error message:
The Install Wizard has successfully installed NetBeans IDE 5.5.1 on your computer. Choose Finish to exit the Wizard.

NetBeans IDE 5.5.1 installation location:
C:\Program Files\netbeans-5.5.1

Sun Java System Application Server 9.0 Update 1 may have encountered errors during installation. Check the install log
below. 

Sun Java System Application Server 9.0 Update 1 installation location: 

	C:\Sun\AppServer 

Installation log: 

	C:\Program Files\netbeans-5.5.1\_uninst\as-install.log 

Installation Error :

org.netbeans.installer.InstallApplicationServerAction$ProgressThread, dbg, StatusDetailThread-> C:\Sun\AppServer 
MODIFIED!!!
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, 
------------------------------  Command Print  -----------------------
Command: 
"C:\Program Files\netbeans-5.5.1\_uninst\as_setup\custom-install.bat"
Command Output:
Command Error:
Return Status: 151
------------------------------------------------------------------------
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, status code = 151 which
is unsuccessful
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, success is false
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, Error occured while
installing [151] -> "C:\Program Files\netbeans-5.5.1\_uninst\as_setup\custom-install.bat"
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, err, Error occured while
installing [151] -> "C:\Program Files\netbeans-5.5.1\_uninst\as_setup\custom-install.bat"
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, currentLogFile = null
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, prevLogFile = null
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, there is NO log file
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, err, Error occured while
Installing Sun Java System Application Server 9.0 Update 1..
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, in progress stop
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction$ProgressThread, dbg, Finishing
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, Finishing ProgressThread
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, Waiting for
progressThread to die...
(Sep 30, 2007 8:40:16 AM), Install, org.netbeans.installer.InstallApplicationServerAction$ProgressThread, dbg, Finished
loop loop:false
(Sep 30, 2007 8:40:16 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, ProgressThread finished
(Sep 30, 2007 8:40:16 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, active Threads -> 10
(Sep 30, 2007 8:40:16 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, ****RunCommand End 
Comment 3 chenji 2007-10-01 11:45:36 UTC
Also reproducible on Windows XP(X86) by another customer also

Comments :

I tried re-installing the netBeans and platform server edition 2 times.  both times I encountered an error in the
application server installation.  I can't seem to figure out what the error is based on the log file.  I am attaching
the log file output for you to look at.  Can you see anything in there that makes sense?
 
install job error message:
The Install Wizard has successfully installed NetBeans IDE 5.5.1 on your computer. Choose Finish to exit the Wizard.

NetBeans IDE 5.5.1 installation location:
C:\Program Files\netbeans-5.5.1

Sun Java System Application Server 9.0 Update 1 may have encountered errors during installation. Check the install log
below. 

Sun Java System Application Server 9.0 Update 1 installation location: 

	C:\Sun\AppServer 

Installation log: 

	C:\Program Files\netbeans-5.5.1\_uninst\as-install.log 

Installation Error :

org.netbeans.installer.InstallApplicationServerAction$ProgressThread, dbg, StatusDetailThread-> C:\Sun\AppServer 
MODIFIED!!!
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, 
------------------------------  Command Print  -----------------------
Command: 
"C:\Program Files\netbeans-5.5.1\_uninst\as_setup\custom-install.bat"
Command Output:
Command Error:
Return Status: 151
------------------------------------------------------------------------
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, status code = 151 which
is unsuccessful
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, success is false
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, Error occured while
installing [151] -> "C:\Program Files\netbeans-5.5.1\_uninst\as_setup\custom-install.bat"
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, err, Error occured while
installing [151] -> "C:\Program Files\netbeans-5.5.1\_uninst\as_setup\custom-install.bat"
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, currentLogFile = null
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, prevLogFile = null
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, there is NO log file
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, err, Error occured while
Installing Sun Java System Application Server 9.0 Update 1..
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, in progress stop
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction$ProgressThread, dbg, Finishing
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, Finishing ProgressThread
(Sep 30, 2007 8:40:15 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, Waiting for
progressThread to die...
(Sep 30, 2007 8:40:16 AM), Install, org.netbeans.installer.InstallApplicationServerAction$ProgressThread, dbg, Finished
loop loop:false
(Sep 30, 2007 8:40:16 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, ProgressThread finished
(Sep 30, 2007 8:40:16 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, active Threads -> 10
(Sep 30, 2007 8:40:16 AM), Install, org.netbeans.installer.InstallApplicationServerAction, dbg, ****RunCommand End 
Comment 4 chenji 2007-10-01 11:46:57 UTC
Created attachment 49871 [details]
WindowsXP(X86) : NetBeans 5.5.1 & Sun Application Server 9.0 U1
Comment 5 mslama 2007-10-01 11:48:13 UTC
Folder /opt/SUNWappserver must be empty. File $HOME/product.xml must be deleted. Then please try to install asbundle again.
Comment 6 chenji 2007-10-01 11:49:49 UTC
What about Windows XP AppServer Installtion Issue??? What files should be deleted to install successfully???
Comment 7 mslama 2007-10-01 12:00:45 UTC
From error message it seems that AS was not correctly uninstalled. In such case AS installer will fail next time. You
must correctly uninstall previous AS installation before you try to install it again. On Windows asbundle installer
creates 2 items in Add/Remove Programs. Then you should be able to install AS again. Unfortunately this behavior is
deficiency of AS installer we run in silent mode from asbundle installer and we cannot fix it. Next asbundle installer
does not use AS installer so this will not happen when installing NB 6.0 + AS 9 together.

Regarding Win XP use separate itme to uninstall AS in Add/Remove Programs.
Comment 8 chenji 2007-10-04 16:18:21 UTC
Not clear with comments "On Windows asbundle installer creates 2 items in Add/Remove Programs. Then you should be able
to install AS again.Regarding Win XP use separate itme to uninstall AS in Add/Remove Programs."

Please comment on the above.

The customer has completely un installed the server properly but still he encounters the same installation issue. 

What may be the issue???

Comment 9 mslama 2007-10-04 16:32:33 UTC
I sent question to AS installer developer what to do in such case. To me it seems there is something left so AS
installer  detects previous installation. But I do not know what to clean from disk/registry to fix this. I let you know
as soon as I get any info how to fix this.
Comment 10 mslama 2007-10-05 11:17:23 UTC
1.Target directory must be empty (if it exists)
2.Look for file 'productregistry'. It should be located in <SystemDir>. (Ex C:\winnt\system32\productregistry). If it is
there delete it.

Now AS installer should pass.
Comment 11 chenji 2007-10-05 11:20:44 UTC
Thnx I will share this information with the customer & let you know further on this if still the issue persist or not.
Comment 12 mslama 2007-10-31 13:09:40 UTC
Closing.