Archive

Posts Tagged ‘bugs migrasi EJB’

Error : Failed to start service jboss.deployment.unit.”proj.war”.INSTALL: org.jboss.msc.service.StartException in service jboss

September 8, 2014 Leave a comment

Bugs deploy EJB di Wildfly

15:29:06,087 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit.”proj.war”.INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit.”proj.war”.INSTALL: JBAS018733: Failed to process phase INSTALL of deployment “proj.war”
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.1.0.Final.jar:8.1.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014543: No EJB found with interface of type ‘com.bean.SalesBeanLocal’ and name ‘projBean.jar#SalesBean’ for binding java:module/env/SalesBean
at org.jboss.as.ejb3.deployment.processors.EjbInjectionSource.getResourceValue(EjbInjectionSource.java:90)
at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.addJndiBinding(ModuleJndiBindingProcessor.java:215)
at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.deploy(ModuleJndiBindingProcessor.java:108)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.1.0.Final.jar:8.1.0.Final]
… 5 more

Bugs ini dikarenakan declaration to call ejb class di web.xml tidak dapat di execute.
Solusi remove call ejb di web.xml dan ganti dengan menggunakan JNDI to call EJB class.

Jika ingin melakukan migrasi dari glassfish ke wildfly rekomendasi link

Advertisements