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.
There was a change in GlassFish V3.0.1 (FCS) version: the URL for stateless session bean, annotated with @WebService in web application has changed. Example 1 @Stateless @WebService public class Hello { ... } WS URL must be set to http://localhost:8080/HelloService/Hello (not http://localhost:8080/HelloProject/HeloService) Example 2 @Stateless @WebService(serviceName="hello", name="h") public class Hello { ... } WS URL must be set to http://localhost:8080/hello/h (not http://localhost:8080/HelloProject/hello
Waiting for affirmation from GlassFish V3 team, this is the final "rule" for WS URL.
Until this is resolved one way or the other, I've instructed users in all JAX-WS tutorials to use GF 3.0.1 b20, which is the last version I know of before this change. Using b20 also takes care of regressed GlassFish issue 11437. Lastly, in view of the lateness of these changes to GF FCS, I am worried about bugs that we have not yet discovered in NB 6.9/GF 3.0.1 FCS combination.
Well,there was time for some testing before release,so at least key features should work OK.On the other hand,there will be patches release soon,so we can add fixes there,if we find something serious yet.
Stupid thing, my last comment included link to NetBeans bug 11437, I wanted link to Glass Fish bug 11437. https://glassfish.dev.java.net/issues/show_bug.cgi?id=11437
Fixed: http://hg.netbeans.org/web-main/rev/b40cd576edc5 Seems that GlassFish team changed the way of computing url for EJB endpoint in web. It's now the same as in EJB module. Transplanting this change to 6.9.1 will be difficult since there were more changes meanwhile since 6.9 FCS.
These are instructions for the sustaining engineer how to integrate this fix to 6.9.1. First fixes for issues 187597, 187598, 187599 (in this order): http://hg.netbeans.org/web-main/rev/3b6f4e0e58a3 http://hg.netbeans.org/web-main/rev/6a5fd70aef8a http://hg.netbeans.org/web-main/rev/79c385f847b0 http://hg.netbeans.org/web-main/rev/cc860b65936a and finally fix for this issue: http://hg.netbeans.org/web-main/rev/b40cd576edc5 Thank You
Integrated into 'main-golden', will be available in build *201006250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b40cd576edc5 User: mkuchtiak@netbeans.org Log: #187985: compute URL for EJB endpoint in war in the same way as in ejb module