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 76539 - IntegrationProviders for new AttachWizard break already working features
Summary: IntegrationProviders for new AttachWizard break already working features
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-18 10:07 UTC by Jiri Sedlacek
Modified: 2007-09-08 13:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (32.85 KB, image/png)
2007-01-18 15:38 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2006-05-18 10:07:35 UTC
General bugs:

 - There is no 1.4.2-based remote pack for Mac OS X, only JDK 5/6 should be 
allowed in attach wizard for remote attach.
 - Local OS not detected and handled correctly - seems like it is reflecting 
selected Target OS combo value for remote attach even for local direct/dynamic 
attach instructions


Tomcat integration:

 - Installation directory, base directory and JDK aren't persisted in 
<nbuserdir>/config/Services/org-netbeans-modules-
profiler/TomcatIntegrationProvider.settings
 - If no defaults were previously persisted, CATALINA_HOME, CATALINA_BASE and 
JAVA_HOME environment variables should be checked and used as defaults
 - Direct attach automatic, Review Additional Steps: Step 1: 
Use ""D:\Software\Tomcat\tomcat-5.5.9\bin\catalina_nbprofiler.bat" run" command 
to start Tomcat. - too much quotes
 - Dynamic attach automatic, Review Integration: SET 
JAVA_HOME=D:\Software\Java\jfluid1.4.2\ - trailing backslash shouldn't be there
 - Dynamic attach automatic, Review Additional Steps: For dynamic attach 
starting Tomcat from the {1} directory is required. - incorrect messageformat, 
working directory missing
 - Direct attach manual, Manual integration: SET JAVA_HOME=<path to Java HotSpot
(TM) Client VM 1.6.0-beta2-b83 directory> - choosen automatic, performed 
integration, then gone back to manual and seen this (the same problem for 
dynamic attach, remote attach)
 - Remote attach, Manual integration: Step 5: Start the server using 
catalina_nbprofiler.bat run. - trailing dot shouldn't be there, could be 
misleading
 - Remote attach, Manual integraiton: If you use startup..bat to start Tomcat, 
modify it to launch catalina_nbprofiler.bat too much dots in startup..bat (also 
for startup..sh)
 - Locate Required Files: When entering C:\Temp a warning says no catalina.sh 
can be found in path - should say something like "in the bin directory" on path 
or just "installation path is incorrect"
 - Locate Required Files: Catalina Base is optional but has to be correct if 
provided, currently not checked (breaks Tomcat startup)


Sun AppServer:

 - appserver 7 doesn't support automatic integration
 - appserver 7, direct attach, remote attach: Warning about <jvm-options> with 
quotes should be at the end, it doesn't have any context at the beginning of 
instructions
 - appserver 8/9, Installation directory, domain and JDK aren't persisted in 
<nbuserdir>/config/Services/org-netbeans-modules-
profiler/SunAS8IntegrationProvider.settings
 - appserver 8/9, If no defaults were previously persisted, AS_HOME and 
JAVA_HOME environment variables should be checked and used as defaults
 - appserver 8/9, locate required files: incorrect ui layout, sticked to 
bottom, incorrectly resizing layout when decreasing width
 - appserver 8/9, locate required files: light installdir/domain hint color is 
almost invisible on windows classic laf
 - appserver 8/9, locate required files: Next > is enabled even if incorrect 
installdir (select correct one, then delete from the end...) => incorrect 
installdir persisted in <nbuserdir>/config/Services/org-netbeans-modules-
profiler/SunAS8IntegrationProvider.settings
 - appserver 8/9, locate required files: installdir hint is "Cannot find 
asenf.conf." after selecting correct installation
 - appserver 8/9, locate required files: domain hint stays "Server installation 
directory pending..." after selecting correct installation
 - appserver 8/9, Review Integration: Step 2: set 
AS_JAVA="D:\Software\Java\jdk1.5.0\" - extra backslash at the end as for Tomcat
 - appserver 8/9, Review Integration: Step 2: set 
AS_JAVA="D:\Software\Java\jdk1.5.0\" - Select 1.5 on a panel before this, 
review integration, go back and select 1.6, then review integration again - 1.5 
is still used for modifications
 - appserver 8/9, Review Integration: server cannot be integrated: 
ScriptModificationException: Restore corrupted


JBoss:

 - Direct attach automatic, Review Additional Steps: Step 1: too much 
doublequotes as for Tomcat
 - Review Integration: Step 2: set AS_JAVA="D:\Software\Java\jdk1.5.0\" - extra 
backslash at the end as for Tomcat
 - Direct attach, dynamic attach, remote attach manual, Manual integration: 
problem with displaying Profiler JDK location as for Tomcat


WebLogic:

 - Direct attach, remote attach: Step 1: Go to your domain directory %BEA_HOME%
\<PATH_TO_YOUR_DOMAIN>bin - missing directory separator before bin
 - Direct attach, remote attach: Then replace any occurences of setDomainEnv.
{0} in the script with setDomainEnv_nbprofiler.{0} - incorrect messageformat, 
missing batch extension
Comment 1 J Bachorik 2006-05-22 15:20:14 UTC
fixed all mentioned problems
Comment 2 Alexander Kouznetsov 2007-01-18 15:36:13 UTC
Profiler 070118
NetBeans IDE Dev (Build 200701141900)
1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251
and 1.6 on Linux for several items

This issue is partially fixed. Failed to verify:

Tomcat:

 - Installation directory, base directory and JDK aren't persisted in 
<nbuserdir>/config/Services/org-netbeans-modules-
profiler/TomcatIntegrationProvider.settings - exact JDK version (i.e. 1.5.0_04 or 1.5.0_10) is not persisted

 - If no defaults were previously persisted, CATALINA_HOME, CATALINA_BASE and 
JAVA_HOME environment variables should be checked and used as defaults - exact JDK version (i.e. 1.5.0_04 or 1.5.0_10) is not selected and used

 - Direct attach automatic, Review Additional Steps: Step 1: 
Use ""D:\Software\Tomcat\tomcat-5.5.9\bin\catalina_nbprofiler.bat" run" command 
to start Tomcat. - too much quotes

 - Dynamic attach automatic, Review Additional Steps: For dynamic attach 
starting Tomcat from the {1} directory is required. - incorrect messageformat, 
working directory missing - {1} is replaced with nothing - is it correct?

AppServer:

 - appserver 7, direct attach, remote attach: Warning about <jvm-options> with 
quotes should be at the end, it doesn't have any context at the beginning of 
instructions - still shown at the beginning for the remote attach

 - appserver 8/9, If no defaults were previously persisted, AS_HOME and 
JAVA_HOME environment variables should be checked and used as defaults - AS_HOME is not used and exact JDK version (i.e. 1.5.0_04 or 1.5.0_10) is not selected and used 

 - appserver 8/9, locate required files: incorrect ui layout, sticked to 
bottom, incorrectly resizing layout when decreasing width - when decreasing width wraps to the second line which is truncated in the bottom (see screenshot)

WebLogic:

 - Direct attach, remote attach: Step 1: Go to your domain directory %BEA_HOME%
\<PATH_TO_YOUR_DOMAIN>bin - missing directory separator before bin - still missing for remote attach

 - Direct attach, remote attach: Then replace any occurences of setDomainEnv.
{0} in the script with setDomainEnv_nbprofiler.{0} - incorrect messageformat, 
missing batch extension - no dot between filename and extention for Step 5.
Comment 3 Alexander Kouznetsov 2007-01-18 15:38:09 UTC
Created attachment 37489 [details]
screenshot
Comment 4 J Bachorik 2007-02-12 09:56:41 UTC
changing milestone
Comment 5 J Bachorik 2007-02-12 13:18:25 UTC
Various text formatting issues fixed
The following problems can not be reproduced. Please, file separate issues if
you still find them valid.
1. JAVA_HOME not being persisted
2. Direct attach automatic, Review Additional Steps: Step 1: 
Use ""D:\Software\Tomcat\tomcat-5.5.9\bin\catalina_nbprofiler.bat" run" command 
to start Tomcat. - too much quotes
3. WebLogic:Direct attach, remote attach: Then replace any occurences of
setDomainEnv.
{0} in the script with setDomainEnv_nbprofiler.{0} - incorrect messageformat, 
missing batch extension - no dot between filename and extention for Step 5.
Comment 6 Alexander Kouznetsov 2007-09-08 13:45:46 UTC
Verified with Beta1.