Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 67687 - no stubs for remote classes
no stubs for remote classes
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9
All All
: P4 (vote)
Assigned To: Nitya Doraisamy
Depends on:
  Show dependency treegraph
Reported: 2005-10-27 16:05 UTC by _ gsporar
Modified: 2009-12-10 12:54 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description _ gsporar 2005-10-27 16:05:00 UTC
Using NB 5.0 with JDK5U5 and SJS AS 8.1.

I created a new Enterprise Application with an EJB module, so NB created all
build.xml scripts.

I then created a stateless session bean and checked the box for creating Remote
interfaces.  Later I created a business method and indicated that I want it in
the Remote interface.

But when I used NB to deploy the application to SJS AS, no RMI stubs were
generated into the .jar file.  According to what I've been told, in older
versions when an app. was deployed to it, SJS AS automatically ran rmic to
generate the _Stub.class files.  But in 8.1 a flag is apparently needed in order
to get that to happen (-generatermistubs=true).  

Shouldn't NB make sure that SJS AS gets passed the correct flag so that the
stubs get generated?
Comment 1 _ gsporar 2005-10-27 17:52:25 UTC
Not necessarily, using the default ORB (in the appserv-rt.jar) the static stubs
aren't needed.  So this isn't a high priority?
Comment 2 Vince Kraemer 2008-04-25 18:36:02 UTC
will this ever apply to v3?  raise to p3, otherwise lower to p5
Comment 3 Vince Kraemer 2009-06-05 22:47:28 UTC
migrate to appserv9 subcomponent
Comment 4 Vince Kraemer 2009-12-10 12:54:59 UTC
no bug should be assigned to issues. distributing the load.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo