When ever I try to deploy bean Using J2EE 1.4
I get the following error
Deploy action running...
com.sun.enterprise.admin.common.exception.DeploymentException:
Deployment Error -- Error while running ejbc -- Fatal Error from EJB
Compiler -- -- Failed to load deployment descriptor for: value-objects
cause: Referencing error: This bundle has no bean of name [OrderBean]
at
com.sun.enterprise.admin.server.core.mbean.config.ManagedServerInstanc
e.deployJ2EEApplicationArchiveOrDirectory
(ManagedServerInstance.java:805)
at
com.sun.enterprise.admin.server.core.mbean.config.ManagedServerInstanc
e.deployJ2EEApplication(ManagedServerInstance.java:695)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.sun.enterprise.admin.server.core.jmx.Introspector.invokeMethodOn
(Introspector.java:181)
at
com.sun.enterprise.admin.server.core.mbean.config.AdminBase.invoke
(AdminBase.java:86)
at
com.sun.enterprise.admin.server.core.mbean.config.ConfigMBeanBase.invo
ke(ConfigMBeanBase.java:663)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke
(DynamicMetaDataImpl.java:212)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke
(MetaDataImpl.java:218)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke
(DefaultMBeanServerInterceptor.java:808)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke
(JmxMBeanServer.java:781)
at
com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke
(SunoneInterceptor.java:223)
at
com.sun.enterprise.admin.server.core.servlet.AdminAPIEntryServlet.call
Invoke(AdminAPIEntryServlet.java:203)
at
com.sun.enterprise.admin.server.core.servlet.AdminAPIEntryServlet.call
MBean(AdminAPIEntryServlet.java:162)
at
com.sun.enterprise.admin.server.core.servlet.AdminAPIEntryServlet.doGe
t(AdminAPIEntryServlet.java:103)
at
com.sun.enterprise.admin.server.core.servlet.AdminAPIEntryServlet.doPo
st(AdminAPIEntryServlet.java:85)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service
(HttpServlet.java:856)
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run
(SecurityUtil.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged
(Subject.java:499)
at org.apache.catalina.security.SecurityUtil.execute
(SecurityUtil.java:212)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege
(SecurityUtil.java:149)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:282)
at org.apache.catalina.core.ApplicationFilterChain.access$000
(ApplicationFilterChain.java:99)
at org.apache.catalina.core.ApplicationFilterChain$1.run
(ApplicationFilterChain.java:189)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:185)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:275)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:561)
at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:1018)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:206)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke
(AuthenticatorBase.java:558)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:561)
at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:1018)
at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2748)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:186)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
at org.apache.catalina.valves.AccessLogValve.invoke
(AccessLogValve.java:512)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
at com.sun.enterprise.webservice.EjbWebServiceValve.invoke
(EjbWebServiceValve.java:134)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
at org.apache.catalina.authenticator.SingleSignOn.invoke
(SingleSignOn.java:383)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:561)
at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:1018)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:163)
at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:561)
at org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:1018)
at org.apache.coyote.tomcat5.CoyoteAdapter.service
(CoyoteAdapter.java:199)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:630)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
sConnection(Http11Protocol.java:463)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:568)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:631)
at java.lang.Thread.run(Thread.java:536)
Caused by:
com.sun.enterprise.deployment.backend.IASDeploymentException:
Deployment Error -- Error while running ejbc -- Fatal Error from EJB
Compiler -- -- Failed to load deployment descriptor for: value-objects
cause: Referencing error: This bundle has no bean of name [OrderBean]
at com.sun.enterprise.deployment.backend.AppDeployer.doRequest
(AppDeployer.java:73)
at
com.sun.enterprise.admin.server.core.mbean.config.ManagedServerInstanc
e.deployJ2EEApplicationArchiveOrDirectory
(ManagedServerInstance.java:785)
... 67 more
Caused by:
com.sun.enterprise.deployment.backend.IASDeploymentException: Error
while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to
load deployment descriptor for: value-objects
cause: Referencing error: This bundle has no bean of name [OrderBean]
at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC
(AppDeployer.java:274)
at com.sun.enterprise.deployment.backend.AppDeployer.deploy
(AppDeployer.java:113)
at com.sun.enterprise.deployment.backend.AppDeployer.doRequest
(AppDeployer.java:65)
... 68 more
Caused by:
com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal
Error from EJB Compiler -- -- Failed to load deployment descriptor
for: value-objects
cause: Referencing error: This bundle has no bean of name [OrderBean]
at
com.sun.enterprise.deployment.backend.EJBCompiler.wrapException
(EJBCompiler.java:655)
at com.sun.enterprise.deployment.backend.EJBCompiler.compile
(EJBCompiler.java:205)
at com.sun.enterprise.deployment.backend.AppDeployer.runEJBC
(AppDeployer.java:262)
... 70 more
Caused by: com.sun.enterprise.config.ConfigException: Failed to load
deployment descriptor for: value-objects
cause: Referencing error: This bundle has no bean of name [OrderBean]
at com.sun.enterprise.instance.AppsManager.getAppDescriptor
(AppsManager.java:270)
at com.sun.enterprise.instance.AppsManager.getAppDescriptor
(AppsManager.java:230)
at
com.sun.enterprise.deployment.backend.EJBCompiler.preDeployApp
(EJBCompiler.java:335)
at com.sun.enterprise.deployment.backend.EJBCompiler.compile
(EJBCompiler.java:195)
... 71 more
Caused by: java.lang.IllegalArgumentException: Referencing error:
This bundle has no bean of name [OrderBean]
at
com.sun.enterprise.deployment.EjbBundleDescriptor.getEjbByName
(EjbBundleDescriptor.java:213)
at
com.sun.enterprise.deployment.node.runtime.EjbNode.setElementValue
(EjbNode.java:101)
at
com.sun.enterprise.deployment.node.SaxParserHandler.endElement
(SaxParserHandler.java:330)
at org.apache.xerces.parsers.AbstractSAXParser.endElement
(AbstractSAXParser.java:546)
at
org.apache.xerces.impl.dtd.XMLNSDTDValidator.endNamespaceScope
(XMLNSDTDValidator.java:257)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement
(XMLDTDValidator.java:1992)
at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement
(XMLDTDValidator.java:902)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement
(XMLNSDocumentScannerImpl.java:533)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentD
ispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1535)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(XMLDocumentFragmentScannerImpl.java:348)
at org.apache.xerces.parsers.DTDConfiguration.parse
(DTDConfiguration.java:539)
at org.apache.xerces.parsers.DTDConfiguration.parse
(DTDConfiguration.java:595)
at org.apache.xerces.parsers.XMLParser.parse
(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1125)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at
com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read
(DeploymentDescriptorFile.java:241)
at
com.sun.enterprise.deployment.archivist.Archivist.readRuntimeDeploymen
tDescriptor(Archivist.java:224)
at
com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescri
ptors(Archivist.java:170)
at com.sun.enterprise.deployment.archivist.Archivist.open
(Archivist.java:99)
at
com.sun.enterprise.deployment.archivist.ApplicationArchivist.open
(ApplicationArchivist.java:223)
at com.sun.enterprise.instance.AppsManager.getAppDescriptor
(AppsManager.java:258)