[
https://issues.jboss.org/browse/AS7-4896?page=com.atlassian.jira.plugin.s...
]
jaikiran pai commented on AS7-4896:
-----------------------------------
Also please post the logs that show that the SFSB is bound to JNDI.
AS7 does not deploy @Stateless + @Webservice
--------------------------------------------
Key: AS7-4896
URL:
https://issues.jboss.org/browse/AS7-4896
Project: Application Server 7
Issue Type: Bug
Components: EJB
Affects Versions: 7.1.1.Final
Environment: any
Reporter: Davide Consonni
Assignee: jaikiran pai
Labels: stateless, webservice
Classes marked with @stateless and @webservice are not deployed. (@Stateful+@Webservice
works)
-----8<-----------8<-------
@Stateless
@WebService
public class RuleService {
-----8<-----------8<-------
@Stateless
//@WebService /*COMMENTED OUT*/
public class CredentialService {
-----8<-----------8<-------
Here the logs, where you can see that CredentialService is corectly deploye as ejb, but
RuleService not:
10:08:17,738 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016002:
Processing weld deployment profilesync-application-ejb-2.0.jar
10:08:17,741 INFO
[org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC
service thread 1-3) JNDI bindings for session bean named RuleService in deployment unit
subdeployment "profilesync-application-ejb-2.0.jar" of deployment
"profilesync-application-ear-2.0.ear" are as follows:
10:08:17,743 INFO
[org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC
service thread 1-3) JNDI bindings for session bean named CredentialService in deployment
unit subdeployment "profilesync-application-ejb-2.0.jar" of deployment
"profilesync-application-ear-2.0.ear" are as follows:
java:global/profilesync-application-ear-2.0/profilesync-application-ejb-2.0/CredentialService!com.amadeus.profilesync.ruleseditor.service.CredentialService
java:app/profilesync-application-ejb-2.0/CredentialService!com.amadeus.profilesync.ruleseditor.service.CredentialService
java:module/CredentialService!com.amadeus.profilesync.ruleseditor.service.CredentialService
java:global/profilesync-application-ear-2.0/profilesync-application-ejb-2.0/CredentialService
java:app/profilesync-application-ejb-2.0/CredentialService
java:module/CredentialService
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira