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 68420

Summary: [50cat] Disable the automatic changes to <application ...> tag in application.xml
Product: javaee Reporter: clever <clever>
Component: EJBAssignee: Milan Kuchtiak <mkuchtiak>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description clever 2005-11-09 20:42:58 UTC
[ BUILD # : 200510251800 ]
[ JDK VERSION : 1.4.2_xx ]

The OC4J Oracle / orion application server chokes when it sees attributes in the <application...> tag in the application.xml configuration file of a J2EE application. When I add an EJB app to my enterprise app, the tag is changed to:
<application version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee">

This causes the following error in OC4J:
"05/11/09 15:39:14 Error instantiating application at file:/C:/oracle/DevSuite10g
/j2ee/home/applications/[appname].ear: Unknown assembly root-tag attrib
ute: version"

..
Modifying the application tag to be:
<application>
Fixes the problem.
Comment 1 clever 2005-11-09 21:15:19 UTC
I would like to extend this to also include the ejb-jar.xml file for an EJB
project. The <ejb-jar ...> tag can't have anything in it for OC4J to work. (It's
a lame app server, what can I say)
Comment 2 Sherold Dev 2005-11-10 09:39:11 UTC
-> j2ee/dd
Comment 3 Martin Balin 2016-07-07 08:54:43 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss