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.
[Build 20050118] User can create lookup method for Database connection from pop-up menu Enterprise resource -> Use database. The lookup method is generated and entry in DD is created for projects that uses Tomcat as target server. I think that we shall generate declaration in context.xml in context.xml also. In context.xml we can create resource element: <Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"/> <ResourceParams name="jdbc/TestDB"> <parameter> <name>factory</name> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value> </parameter> .... .... </ResourceParams>
Seems to me like a bug - missing part of the feature ...
Setting the TM to 4.1.
This is till true in RC1... Shouldn't it be fixed for 4.1?
As Karel pointed out via email, it is not a showstopper. It's too late for fixing it in 4.1.
This has already been implemented for Tomcat 5.0 but not yet for Tomcat 5.5. TM -> 5.0
-> tomcatint
F. Checking in src/org/netbeans/modules/tomcat5/WebappConfiguration.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/WebappConfiguration.java,v <-- WebappConfiguration.java new revision: 1.14; previous revision: 1.13 done Checking in src/org/netbeans/modules/tomcat5/resources/tomcat5_context.dtd; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/resources/tomcat5_context.dtd,v <-- tomcat5_context.dtd new revision: 1.2; previous revision: 1.1 done Checking in src/org/netbeans/modules/tomcat5/resources/tomcat5_server.dtd; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/resources/tomcat5_server.dtd,v <-- tomcat5_server.dtd new revision: 1.6; previous revision: 1.5 done
[build 20051207]