Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 114820

Summary: External Running Tomcat Not Recognized by the IDE
Product: serverplugins Reporter: William Leonard <bleonard>
Component: TomcatAssignee: Petr Hejl <phejl>
Status: RESOLVED WORKSFORME QA Contact: issues <issues.netbeans.org>
Priority: P3    
Version: 6.x   
Target Milestone: TBD   
Hardware: Macintosh   
OS: All   
Whiteboard:
Issue Type: DEFECT Exception Report:

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