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.
Create a new Java EE 6 project and target to WebLogic 12c. The following web.xml is generated: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0"> <session-config> <session-timeout> 30 </session-timeout> </session-config> </web-app> Java EE 6 makes this DD optional in most of the common cases and it should not be generated in this case, unless required.
(In reply to comment #0) > Java EE 6 makes this DD optional in most of the common cases and it should not > be generated in this case, unless required. Unfortunately this wasn't really true until recent fix in WL: https://bug.oraclecorp.com/pls/bug/webbug_print.show?c_rptno=10111723
Fixed in web-main 0dae17f0c413.
I had to actually revert the fix in 4fc9d1af0d03. The app deployed without DD is displayed as being of unknown type, preventing the deploy on save to work. I'll reopen or file the new WL issue.
Integrated into 'main-golden', will be available in build *201204050400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4fc9d1af0d03 User: Petr Hejl <phejl@netbeans.org> Log: #208350 DDs are still needed.