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 40314 - [36cat] Removed feauture. Editing server.xml
Summary: [36cat] Removed feauture. Editing server.xml
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: Other Other
: P3 blocker with 2 votes (vote)
Assignee: Sherold Dev
URL:
Keywords:
: 41147 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-20 11:01 UTC by llturro
Modified: 2006-02-20 13:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description llturro 2004-02-20 11:02:37 UTC
[ 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.
Comment 1 Milan Kuchtiak 2004-02-25 18:43:23 UTC
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.
Comment 2 Marek Fukala 2004-03-19 12:36:44 UTC
*** Issue 41147 has been marked as a duplicate of this issue. ***
Comment 3 Milan Kuchtiak 2004-08-13 12:08:33 UTC
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.
Comment 4 llturro 2004-09-01 18:11:06 UTC
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.
Comment 5 Sherold Dev 2004-09-13 09:33:40 UTC
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
Comment 6 Jaroslav Pospisil 2006-02-20 13:22:38 UTC
VERIFIED