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 89106 - Java Mail resource not getting registered.
Summary: Java Mail resource not getting registered.
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Webserver (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Mukesh Garg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-10 13:11 UTC by prabushankar
Modified: 2006-11-10 14:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot with the exception alert. (2.93 MB, application/octet-stream)
2006-11-10 13:13 UTC, prabushankar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description prabushankar 2006-11-10 13:11:40 UTC
WS70 Build: Sun Java System Web Server 7.0-Technology-Preview-3 B10/11/2006 13:06 
Netbeans 5.0 Build: 200601251500

Steps:
1) Add a SJSWS7.0 webserver in Netbeans runtime.
2) In Projects tab create a webserver targeted for SJSWS7.0 webserver.
3) Add a SJSWS7.0 mail resource with all appropriate and(or) default values.
4) Now try to register this resource. There will be an exception thrown about a
invalid transport-protocol-class. Exception screen attached.

This might be due to a change in the backend.
Comment 1 prabushankar 2006-11-10 13:13:45 UTC
Created attachment 35965 [details]
Screen shot with the exception alert.
Comment 2 Mukesh Garg 2006-11-10 13:28:06 UTC
The reason is that xsd file of server.xml has been changed. The mail-resource
now does not have any attributes. Property element has been added to it. All the
attributes now need to be specified as nae/value pairs in property.
Comment 3 Mukesh Garg 2006-11-10 14:16:13 UTC
Fixed the issue. Changed files are


manifest.mf
: changed the module version from 1.1.2 to 1.1.4

src/org/netbeans/modules/j2ee/sun/ws7/nodes/WS70ResourceChildren.java
src/org/netbeans/modules/j2ee/sun/ws7/serverresources/beans/WS70ResourceUtils.java;