[jboss-user] [EJB 3.0] - Error working wih EJB3, Struts2 & JBoss 4.2GA

NAG Kum do-not-reply at jboss.com
Wed Apr 21 11:03:01 EDT 2010


NAG Kum [http://community.jboss.org/people/nk_2010] replied to the discussion

"Error working wih EJB3, Struts2 & JBoss 4.2GA"

To view the discussion, visit: http://community.jboss.org/message/538779#538779

--------------------------------------------------------------
Hi,

Installed latest java version JDK6U20 & ubfortunate again same probelm ..:)
Plese see *error* beow -

icationBean: Container jboss.j2ee:ear=PaymentAdmin.ear,jar=AuthenticationBean.jar,name=AuthenticationBean,service=EJB3,VM
ID=4cbb36267847712f:-23e97a62:12820e1ed0c:-7ff9 + is already registered
        at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196)
        at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99)
        at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
        at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
        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:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        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:702)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
        at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
        at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

        at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:3
61)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
        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(AbstractProfileServic
e.java:306)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
        at org.jboss.Main.boot(Main.java:221)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.jboss.deployers.spi.DeploymentException: Error creating ejb container AuthenticationBean: Container jboss.
j2ee:ear=PaymentAdmin.ear,jar=AuthenticationBean.jar,name=AuthenticationBean,service=EJB3,VMID=4cbb36267847712f:-23e97a62
:12820e1ed0c:-7ff9 + is already registered
        at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:732)
        at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:669)
        at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:651)
        at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:614)
        at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:491)
        at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:182)
        ... 34 more
Caused by: java.lang.IllegalStateException: Container jboss.j2ee:ear=PaymentAdmin.ear,jar=AuthenticationBean.jar,name=Aut
henticationBean,service=EJB3,VMID=4cbb36267847712f:-23e97a62:12820e1ed0c:-7ff9 + is already registered
        at org.jboss.ejb3.Ejb3Registry.register(Ejb3Registry.java:128)
        at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:728)
        ... 39 more
20:30:41,515 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRO
RS FOR DETAILS):

DEPLOYMENTS IN ERROR:
  Deployment "vfszip:/E:/jboss-5.1.0.GA/server/default/deploy/PaymentAdmin.ear/" is in error due to the following reason(
s): java.lang.IllegalStateException: Container jboss.j2ee:ear=PaymentAdmin.ear,jar=AuthenticationBean.jar,name=Authentica
tionBean,service=EJB3,VMID=4cbb36267847712f:-23e97a62:12820e1ed0c:-7ff9 + is already registered


I don't know when can I fix this!!!! HMMMMMMM

Trails never end till goal is achieved..
NK

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/538779#538779]

Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100421/c9a3a15b/attachment.html 


More information about the jboss-user mailing list