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.
[ JDK VERSION : J2SE 1.4.2_02 ] I noticed that editing server.xml isn't available anymore from within the IDE. I remembered its was right clicking on a Tomcat instance in Runtime tab. Developing a web application that has to be deployed on ANY container using different resources, forces you to encapsulate DataSource's and Mail's, for instance, in JNDI names. The only way to do this is by editing server.xml, that I know. I don't think it's much friendly to make me look for it in .netbeans/[Tomcat]/conf each time.
It is not planned to support the server.xml editing for 3.6. I understand your arguments - it could be useful. We plan to support only the editing of context.xml. See the issue 39220.
*** Issue 41147 has been marked as a duplicate of this issue. ***
Stepan, I geuss it's your field now. In 3.5 there was a Tomcat40DataObject, corresponding to server.xml, implemented. The server.xml contains some useful properties that should be available to the user for editing : - connector ports - global resources - access loggers etc. It would be nice to edit server.xml from the server registry.
Hi Milan, META-INF/context.xml should suffice. Any resource, logger defined there will act as if inserted in server.xml. For me, there is no issue anymore, the fact is that I like much more editing context.xml, due it's part of the project instead of being part of Tomcat configuration.
Fixed - server.xml can now be edited in the IDE again. Commit log: Checking in src/org/netbeans/modules/tomcat5/TomcatManager.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatManager.java,v <- - TomcatManager.java new revision: 1.52; previous revision: 1.51 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/tomcat5/nodes/TomcatInstanceNode.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/nodes/TomcatInstanceNode .java,v <-- TomcatInstanceNode.java new revision: 1.32; previous revision: 1.31 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/tomcat5/nodes/actions/Bundle.properties; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/nodes/actions/Bundle.pro perties,v <-- Bundle.properties new revision: 1.3; previous revision: 1.2 done RCS file: /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/nodes/actions/ EditServerXmlAction.java,v done Checking in src/org/netbeans/modules/tomcat5/nodes/actions/EditServerXmlAction.j ava; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/nodes/actions/EditServer XmlAction.java,v <-- EditServerXmlAction.java initial revision: 1.1 done
VERIFIED