[
https://jira.jboss.org/jira/browse/JBMETA-184?page=com.atlassian.jira.plu...
]
Juergen Zimmermann commented on JBMETA-184:
-------------------------------------------
Sorry, I forgot to mention: the deployment is in an exploded EAR, named "hska".
KundenverwaltungServiceBean is a stateless session bean with the (implicit) local
interface KundenverwaltungService. Therefore, its EJB name is
"hska/KundenverwaltungServiceBean/local".
I also tried to explicitely specify the local Interface using @Local, but the error
remains.
As mentioned above: It was working fine using JBossAS 4.2.3 and JBossWS 3.0.4.
AssertionError: EJB Implementation Class was not specified
----------------------------------------------------------
Key: JBMETA-184
URL:
https://jira.jboss.org/jira/browse/JBMETA-184
Project: JBoss Metadata
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 1.0.0.CR16
Environment: JBossAS 5.1.0.Beta1
Reporter: Juergen Zimmermann
Assignee: Alexey Loubyansky
When I start JBossAS 5.1.0.Beta1 I get the stacktrace below. The cause is this EJB
session beaN:
@WebService(name="Kundenverwaltung",
targetNamespace="http://ws.hska.de/kundenverwaltung",
serviceName="KundenverwaltungService")
@Stateless
@RolesAllowed("mitarbeiter")
public class KundenverwaltungServiceBean implements KundenverwaltungService { ... }
There is also META-INF/jboss.xml:
<jboss>
<security-domain>hska</security-domain>
<webservices>
<context-root>/hskaws</context-root>
</webservices>
<enterprise-beans>
<session>
<ejb-name>hska/KundenverwaltungServiceBean/local</ejb-name>
<port-component>
<port-component-name>KundenverwaltungPort</port-component-name>
<auth-method>BASIC</auth-method>
</port-component>
</session>
</enterprise-beans>
</jboss>
An finally the stack trace:
2009-03-16 16:20:34,058 INFO [org.jboss.logbridge.LogNotificationListener] (main) Adding
notification listener for logging mbean
"jboss.system:service=Logging,type=Log4jService" to server
org.jboss.mx.server.MBeanServerImpl@490342[ defaultDomain='jboss' ]
2009-03-16 16:20:40,724 DEBUG
[org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added
Processor
org.jboss.metadata.process.processor.ejb.jboss.SetDefaultLocalBusinessInterfaceProcessor@866463
to Chain org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain@128b564
2009-03-16 16:20:40,725 DEBUG
[org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added
Processor
org.jboss.metadata.process.processor.ejb.jboss.ClusterConfigDefaultValueProcessor@19ce804
to Chain org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain@128b564
2009-03-16 16:20:40,725 DEBUG
[org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added
Processor
org.jboss.metadata.process.processor.ejb.jboss.SetExplicitLocalJndiNameProcessor@446cc5 to
Chain org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain@128b564
2009-03-16 16:20:40,725 DEBUG
[org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added
Processor
org.jboss.metadata.process.processor.ejb.jboss.JBossMetaDataValidatorChainProcessor@4127cf
to Chain org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain@128b564
2009-03-16 16:20:40,738 DEBUG
[org.jboss.metadata.process.processor.ejb.jboss.JBossMetaDataValidatorChainProcessor]
(main) org.jboss.metadata.ejb.jboss.JBossMetaData@1f has been validated by
org.jboss.metadata.validation.chain.ejb.jboss.JBossMetaDataValidatorChain@158be90
2009-03-16 16:20:40,738 DEBUG
[org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main)
org.jboss.metadata.ejb.jboss.JBossMetaData@1f has been processed on
org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain@128b564
2009-03-16 16:20:40,738 DEBUG
[org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added
Processor
org.jboss.metadata.process.processor.ejb.jboss.SetDefaultLocalBusinessInterfaceProcessor@147027a
to Chain org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain@f3d4c3
2009-03-16 16:20:40,738 DEBUG
[org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added
Processor
org.jboss.metadata.process.processor.ejb.jboss.ClusterConfigDefaultValueProcessor@19ce804
to Chain org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain@f3d4c3
2009-03-16 16:20:40,738 DEBUG
[org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added
Processor
org.jboss.metadata.process.processor.ejb.jboss.SetExplicitLocalJndiNameProcessor@446cc5 to
Chain org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain@f3d4c3
2009-03-16 16:20:40,738 DEBUG
[org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain] (main) Added
Processor
org.jboss.metadata.process.processor.ejb.jboss.JBossMetaDataValidatorChainProcessor@4127cf
to Chain org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain@f3d4c3
2009-03-16 16:20:40,739 ERROR
[org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to
PostClassLoader:
name=vfsfile:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/
state=ClassLoader mode=Manual requiredState=PostClassLoader
org.jboss.deployers.spi.DeploymentException: Error during deploy:
vfsfile:/C:/Software/jboss-5.1.0.Beta1/server/default/deploy/hska.ear/hskaWS.jar/
at
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:177)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at
org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:59)
at
org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:355)
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at
org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:310)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:241)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:216)
at org.jboss.Main$1.run(Main.java:546)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.AssertionError: EJB Implementation Class for EJB
hska/KundenverwaltungServiceBean/local was not specified
at
org.jboss.metadata.process.processor.ejb.jboss.SetDefaultLocalBusinessInterfaceProcessor.process(SetDefaultLocalBusinessInterfaceProcessor.java:109)
at
org.jboss.metadata.process.chain.ejb.jboss.JBossMetaDataProcessorChain.process(JBossMetaDataProcessorChain.java:115)
at
org.jboss.ejb3.deployers.Ejb3MetadataProcessingDeployer.deploy(Ejb3MetadataProcessingDeployer.java:115)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
... 30 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira