Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 114820 - External Running Tomcat Not Recognized by the IDE
External Running Tomcat Not Recognized by the IDE
Status: RESOLVED WORKSFORME
Product: serverplugins
Classification: Unclassified
Component: Tomcat
6.x
Macintosh All
: P3 (vote)
: TBD
Assigned To: Petr Hejl
issues@serverplugins
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-05 22:43 UTC by William Leonard
Modified: 2007-09-21 10:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Leonard 2007-09-05 22:43:41 UTC
If I start Tomcat outside of NetBeans, NetBeans does not detect Tomcat is running and tries to start Tomcat itself,
which of course fails with a port in use error. This is different from how the SJSAS integration works, which will
detect and use an instance started outside of NetBeans.

My purpose for this is for better NetBeans integration with other IDEs such as Eclipse, such that if I'm working on a
Tomcat project in both Eclipse and NetBeans, NetBeans can share the instance of Tomcat started by Eclipse. See:
http://wiki.netbeans.org/wiki/view/SharingProjectNetBeansEclipse for an example of what I'm trying to accomplish.
Comment 1 Petr Hejl 2007-09-07 09:54:39 UTC
Are you sure, that instance registered in NB has the correctly configured port (to those that is used by eclipse)?
Eclipse is using its own CATALINA_BASE directory, that is usually located in workspace directory
.metadata/.plugins/org.eclipse.wst.server.core/tmpX.

The detection works fine for me...
(BTW netbeans is using tomcat manager application, but it is not deployed in instance created by eclipse. You should
deploy it to those instance to see useful things - copying conf/Catalina/localhost/manager.xml from CATALINA_HOME to
.metadata/.plugins/org.eclipse.wst.server.core/tmpX/conf/Catalina/localhost/manager.xml should be enough).
Comment 2 Petr Hejl 2007-09-21 10:11:37 UTC
No response, closing as WORKSFORME.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo