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 107706 - ClassCastException by attempt to use W/S on several application servers
Summary: ClassCastException by attempt to use W/S on several application servers
Status: RESOLVED DUPLICATE of bug 102607
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Quy Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-21 19:47 UTC by Roman Mostyka
Modified: 2007-06-26 08:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Logs of application servers (58.25 KB, application/octet-stream)
2007-06-21 19:49 UTC, Roman Mostyka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2007-06-21 19:47:29 UTC
1. Add Web Service with URL http://www.webservicex.net/usweather.asmx?WSDL.
2. Create J2EE 1.4 web application with "Visual Web JSF" framework.
3. Add W/S to the page.
4. Add button component to the page and add action event handler for it, that uses W/S method.
5. Rightclick application in "Project" window and select "Properties".
6. Add library for W/S in "Libraries" part.
7. Deploy application to JBoss 4.0.4.
8. Open application in browser and click button.

Result: Message "HTTP Status 500" appears in browser and exception arises in server log.
The same for Tomcat 5.0, Tomcat 5.5, Tomcat 6.0.
See logs in attach.
Comment 1 Roman Mostyka 2007-06-21 19:49:20 UTC
Created attachment 44212 [details]
Logs of application servers
Comment 2 Quy Nguyen 2007-06-21 20:07:38 UTC
What JDK was used to run the application servers?  I'm assuming that it is JDK 1.6, since this is a known issue,
referenced in:
http://www.netbeans.org/issues/show_bug.cgi?id=87181

I referred to this issue in IZ 102607 and am looking into a fix, so marking this as duplicate.

*** This issue has been marked as a duplicate of 102607 ***