As of EAP/EWP 5.0.1 the file jboss-ejb3-deployer.jar has added the following classes:
org/jboss/ejb3/iiop/
org/jboss/ejb3/iiop/BeanCorbaServant.class
org/jboss/ejb3/iiop/EJB3IIOPWebClassLoader.class
org/jboss/ejb3/iiop/IORFactory$1.class
org/jboss/ejb3/iiop/IORFactory$2.class
org/jboss/ejb3/iiop/IORFactory.class
org/jboss/as/ejb3/deployers/IORDeployer.class
but the AS 5 build (thus EAP 5) does not include jboss-iiop.jar in the "web" config, and thus it is not present in EWP either (which is basically EAP 5 "web"). The EWP does not have JMS, so @Remote* is perhaps expected not to work, but an NPE is not a nice way to state that.
This results in an NPE.
My suggestion is to separate the above classes in a jboss-ejb3-iiop-deployer.jar or have two different versions of the deployer with and without the iiop classes. So we can use one for "web" in EAP and for EWP, and the other for the ful configs in EAP.
However, 'd like to register an observation from jcosta:
jcosta> for me, the right thing to do in this case is to catch CNFE exceptions and log it in the server.log, without re-throwing it
- relates to
-
JBPAPP-4293 java.lang.ClassNotFoundException: org.jboss.iiop.WebCL while deploying EJB3 from WS testsuite
-
- Resolved
-
-
JBPAPP-4337 java.lang.ClassNotFoundException: org.jboss.iiop.WebCL while deploying EJB3 from WS testsuite
-
- Closed
-