[jboss-jira] [JBoss JIRA] Commented: (JBAS-5680) AnnotationMetaDataDeployer fails in finding classes with annotation on methods only
Ales Justin (JIRA)
jira-events at lists.jboss.org
Thu Jun 26 03:04:58 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-5680?page=comments#action_12418990 ]
Ales Justin commented on JBAS-5680:
-----------------------------------
You can perhaps try my alternative AltAnnotationMetaDataDeployer.
See metadata-deployer-beans.xml, and uncomment GenScanDeployer, plus change the actual annotation metadata deployer.
> AnnotationMetaDataDeployer fails in finding classes with annotation on methods only
> -----------------------------------------------------------------------------------
>
> Key: JBAS-5680
> URL: http://jira.jboss.com/jira/browse/JBAS-5680
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Alessio Soldano
> Fix For: JBossAS-5.0.0.CR1
>
>
> I'm looking at this TCK failure http://hudson.qa.jboss.com/hudson/view/TCK5/job/tck5-webservices12/201/testReport/unknownTestSuite.0/packageTests/com.sun.ts.tests.webservices12.ejb.annotations.WSEjbPortMethodInjectionTest/
> It seems the deploy process doesn't find that the Client class has the @WebServiceRef annotation on a setter method. Since the class is not recognised as an annotated one, the webserviceref bind fails.
> public class Client extends EETest {
> // The webserver defaults (overidden by harness properties)
> private static final String PROTOCOL = "http";
> private static final String HOSTNAME = "localhost";
> private static final int PORTNUM = 8000;
> // The webserver host and port property names (harness properties)
> private static final String WEBSERVERHOSTPROP = "webServerHost";
> private static final String WEBSERVERPORTPROP = "webServerPort";
> private Properties props = null;
> private String hostname = HOSTNAME;
> private int portnum = PORTNUM;
> @WebServiceRef(name="service/wsejbportmethodinjectiontest", value=HelloService.class)
> static void setPort(Hello s) {
> port = s;
> }
> static Hello port = null;
> ...
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list