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 48561 - Tomcat clobbers JNDI settings
Summary: Tomcat clobbers JNDI settings
Status: CLOSED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 07:22 UTC by _ gtzabari
Modified: 2005-07-13 15:49 UTC (History)
0 users

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 _ gtzabari 2004-09-07 07:22:06 UTC
dev build 200409061800

I use a Datasource from within my web project in
Netbeans 4.0. The only way to get this to work is
to open the configuration file associated with my
project in the
jakarta-tomcat-5.0.28_base\conf\Catalina\localhost
directory and insert <Resource ...> tags to define
my DataSources. The problem is that Netbeans
routinely clobbers this XML file.

It should be possible to tell Netbeans to insert a
user-defined text into the XML configuration file
to define Datasources and other things.

Setting priority to P2 because the current
behavior results in data loss (clobbered
settings). Please consider fixing by Netbeans 4.0
final.

If there is already a way to do this, I am sorry
for mistakenly filing this issue. I have searching
for documentation on this topic (on the website,
in the product, etc) and couldn't find it.
Comment 1 _ gtzabari 2004-09-07 07:29:21 UTC
My mistake. Found the file that needs to be edited under FILES tab,
web/META-INF/context.xml.