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.
Netbeans 6.0 M9/WLS 10GA The Add Server dialog implies Weblogic 10 is a supported version in the wizard dialog message regarding the selection of a WLS Installation directory. It is possible to add a WLS 10 GA server, start, view log. stop. Generating a basic EchoString WebService (no other dependancies) builkds ok but attempting to deploy it fails with the following error. init: deps-jar: compile: library-inclusion-in-archive: dist: pre-run-deploy: Distributing D:\DevEnvironments\tateam\Projects\J2EE\JEE5_SDK\nrw-service-common-wls10\dist\nrw-service-common- wls10.jar to [ReliableWseeSAFAgent/SAF agent] Deploying D:\DevEnvironments\tateam\Projects\J2EE\JEE5_SDK\nrw-service-common-wls10\dist\nrw-service-common-wls10.jar Applicaton Deployed java.lang.ClassCastException: org.netbeans.modules.j2ee.weblogic9.WLTargetModuleID post-run-deploy: run-deploy: run: BUILD SUCCESSFUL (total time: 3 seconds)
Even though there is the ClassCastException, based on the log it looks like the application was deployed successfully. Can you please check whether it was deployed successfully or not?
Yes and no :) Some additional facts below: 1.Descriptor namespace version is incorrect <weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/90"/> Descriptor is empty otherwise 2. Some additional facts from the WLS Console/Log 2.1 The JAR is visible in the WLS Console Deployments list but with a status of FAILED Expanding the entry shows both the EJB and the Web Service 2.2 Exceptions in the WLS Log during deploy as attached
Created attachment 44639 [details] WLS 10 Log on attempting to deploy test web service
Just noticed something odd in reviewing the WLS10 Log attachment. The Exception refers to: nrw.service.its.tag.common.wls10.jaxws.EchoString. But the Class package is: nrw.service.its.tag.common.wls10.EchoString (no jaxws) Will attach source file.
Created attachment 44640 [details] Test Web Service Java Source
Just an update - same problem with Milestone 10
See also: http://www.netbeans.org/issues/show_bug.cgi?id=86837 (resolved as worksforme) http://www.netbeans.org/issues/show_bug.cgi?id=62783 http://www.netbeans.org/issues/show_bug.cgi?id=61859 (resolved as worksforme) Also reported at http://www.netbeans.org/servlets/ReadMsg?list=nbusers&msgNo=95332
ClassCastException is gone. The cryptic error message indicates that wl does not generate ws support classes automatically. The workaround is to invoke ws-gen and ws-compile and add missing classes to the jar.
Need to discuss with somebody from ws team.
please close this issue if you forgot to earlier. If this issue is still open, please change the target milestone to reflect the current commitment.
Milan can you briefly look at this?
JAX-WS services in Web Logic is not supported feature in 6.0. Though, you can create a web service for Web logic the farther behaviour is unpredictable. This configuration was not tested. I reported a new enhancement. See the issue 125499. *** This issue has been marked as a duplicate of 125499 ***