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 102250 - Unable to add Tomcat Installed Version
Summary: Unable to add Tomcat Installed Version
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 242593 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-24 00:29 UTC by sjangity
Modified: 2015-09-30 12:34 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
registering installed tomcat warning (128.86 KB, image/jpeg)
2007-04-24 00:30 UTC, sjangity
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sjangity 2007-04-24 00:29:52 UTC
This is an RFE.

Build 20070423, WinXP

- Download & Install tomcat using its installer build:
http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5.17.exe
- Run NB 6
- Attempt to add Tomcat 5.5 via Runtime window
- Set Catalina HOME to point to installed tomcat location
- Get Warning message that catalina.bat & setclasspath.bat are missing (see
attached image)

Note: This is a little counter intuitive also because if I can't start/stop
tomcat, why does it appear as a node in the Runtime window? Unless, I am missing
something...

Isn't it possible to resolve this automatically? Now, the user has to go and
uninstall their tomcat build and download a zip version, which sounds a little
inconvenient. Additionally, they'll have to copy all the modified tomcat
resources (tomcat-users.xml, server.xml, etc.,) into the zipped version.
Comment 1 sjangity 2007-04-24 00:30:26 UTC
Created attachment 41507 [details]
registering installed tomcat warning
Comment 2 Vince Kraemer 2009-04-07 18:07:01 UTC
this reads like a bug to me... but I will leave it as an RFE.

correcting the component/subcomponent values.
Comment 3 cezariusz 2009-11-30 12:04:21 UTC
In my opinion it's a deffect, because for example Eclipse works fine with installed Tomcat and it doesn't require any .bat files.
It sounds stupid to use .bat files in a Java IDE.
Comment 4 Petr Hejl 2009-11-30 12:38:30 UTC
Comparison with any other IDE is not a justification for changing issue type.

Using bat files is an advantage because it starts tomcat in exactly the same way as you would start it. There is also a chance that any new version of server will work fine even with old IDE.
Comment 5 Petr Hejl 2015-09-30 12:34:15 UTC
*** Bug 242593 has been marked as a duplicate of this bug. ***