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 136910 - Can't target WAS 6.x for J2EE 1.3 web app
Summary: Can't target WAS 6.x for J2EE 1.3 web app
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebSphere (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-10 13:28 UTC by ats37
Modified: 2008-08-22 17:19 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 ats37 2008-06-10 13:28:08 UTC
I'm using NB 6.1 under Sun's JDK 1.6.0_02 on Windows XP, with both WAS 6.0 and WAS 6.1 defined in the Servers manager.

If I edit the properties of a J2EE 1.4 web application, I can select the Websphere servers as the target server.
However, if I open one of my existing J2EE 1.3 web apps (or create a new one) the Websphere servers are not included in
the dropdown list of available targets.  Since the J2EE spec mandates backward compatibility with the earlier version,
it is perfectly valid to deploy the 1.3 app on these WAS versions, and indeed I can do so manually via WAS' admin
console without any problem.  Certainly other servers that conform to the later J2EE versions are still listed e.g.
Tomcat 5.5 (J2EE 1.4) and 6.0 (J2EE 5).

This was doubly irritating for me since the 1.3 application uses a mail session resource, but Tomcat doesn't include the
javamail & activation libraries so I get a bunch of compilation errors; the Websphere j2ee.jar includes those APIs, but
Netbeans won't let me target it :-(

Conversely, when creating a new web application, if I select Tomcat 5.5 as the server I can choose between J2EE 1.3 and
1.4, but if I select either of the WAS servers I only have the option of J2EE 1.4 even though the earlier version is
also supported by the server.
Comment 1 Petr Hejl 2008-08-22 12:32:49 UTC
Fixed in main 109cf8eca6be.
Comment 2 Quality Engineering 2008-08-22 17:19:11 UTC
Integrated into 'main-golden', available in build *200808221401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/109cf8eca6be
User: phejl@netbeans.org
Log: #136910 Can't target WAS 6.x for J2EE 1.3 web app