[jboss-dev-forums] [Design of EJB 3.0] - Plugin is Broken

ALRubinger do-not-reply at jboss.com
Thu Mar 12 02:00:14 EDT 2009


@see https://jira.jboss.org/jira/browse/EJBTHREE-1767

I've separated out jboss-ejb3-proxy into:

* jboss-ejb3-proxy-spi
* jboss-ejb3-proxy-impl

Each project has its own client assembly.  However, the Plugin currently can't patch up the jbossall-client.jar to change the references in the manifest, so the TestSuite runs are failing with, for instance:

Testcase: testXml1 took 0.005 sec
  | 	Caused an ERROR
  | javax.naming.Reference
  | java.lang.ClassCastException: javax.naming.Reference
  | 	at org.jboss.ejb3.test.ejbthree1060.unit.InvokedBusinessInterfaceUnitTestCase.testXml1(InvokedBusinessInterfaceUnitTestCase.java:76)

This is because the client CP doesn't have the ObjectFactory on it, so we get CCE from the JNDI Reference.

Any hot ideas for patching jbossall-client?

S,
ALR

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217276#4217276

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217276



More information about the jboss-dev-forums mailing list