geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rex Wang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GERONIMO-5956) issues when deploy a standalone ejb web services
Date Wed, 11 May 2011 09:38:47 GMT
issues when deploy a standalone ejb web services
------------------------------------------------

                 Key: GERONIMO-5956
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5956
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: webservices
    Affects Versions: 3.0
            Reporter: Rex Wang
             Fix For: 3.0


1. the ejb base-dir is not add to the wsdl generator tool's class path, so the an CNF exception
will be thrown.


2. after resovled #1, the ejb can be deployed successfully, but start failed with the following
exceptions:
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration default/Hello_Hello_ejb/1-default/car
failed to start due to the following rea
sons:
  The service J2EEApplication=null,j2eeType=EJBModule,name=default/Hello_Hello_ejb/1-default/car
did not start because Creating application failed: D:\_g\_tck\g
eronimo-tck30\tck-testsuite\target\geronimo-tomcat-cts-3.0-SNAPSHOT\var\temp\geronimo-deployer7323628188918730994.tmpdir\Hello_ejb.jar:
Error building bean 'Hel
lo'.  Exception: class org.apache.openejb.OpenEJBException: Error while loading bean class
com.abc.Hello for bean Hello_ejb.jar/Hello. Received message: Cannot locate the class com.abc.Hello
from the codebase [D:\_
g\_tck\geronimo-tck30\tck-testsuite\target\geronimo-tomcat-cts-3.0-SNAPSHOT\var\temp\geronimo-deployer7323628188918730994.tmpdir\Hello_ejb.jar]:
Error while loa
ding bean class com.abc.Hello for bean Hello_ejb.jar/Hello. Received message: Cannot locate
the class com.abc.Hello from the codebase [D:\_g\_tck\geronimo-tck30\tck-testsuite\target\geronimo-tomcat-cts-3.0-SNAPSHOT
\var\temp\geronimo-deployer7323628188918730994.tmpdir\Hello_ejb.jar]
org.apache.openejb.OpenEJBException: Creating application failed: D:\_g\_tck\geronimo-tck30\tck-testsuite\target\geronimo-tomcat-cts-3.0-SNAPSHOT\var\temp\geron
imo-deployer7323628188918730994.tmpdir\Hello_ejb.jar: Error building bean 'Hello'.  Exception:
class org.apache.openejb.OpenEJBException: Error while loading be
an class com.abc.Hello for bean Hello_ejb.jar/Hello. Received message: Cannot locate the class
com.abc.Hello from the codebase [D:\_g\_tck\geronimo-tck30\tck-testsuite\target\geronimo-tomcat-cts-3.0-SNAPSHOT\var\te
mp\geronimo-deployer7323628188918730994.tmpdir\Hello_ejb.jar]: Error while loading bean class
com.abc.Hello
 for bean Hello_ejb.jar/Hello. Received message: Cannot locate the class com.abc.Hello from
the codebase [D
:\_g\_tck\geronimo-tck30\tck-testsuite\target\geronimo-tomcat-cts-3.0-SNAPSHOT\var\temp\geronimo-deployer7323628188918730994.tmpdir\Hello_ejb.jar]
        at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:784)
        at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:457)
        at org.apache.geronimo.openejb.OpenEjbSystemGBean.createApplication(OpenEjbSystemGBean.java:438)
        at org.apache.geronimo.openejb.EjbModuleImpl.doStart(EjbModuleImpl.java:182)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:975)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
        at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
        at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
        at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
        at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
        at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
        at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:301)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
        at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
        at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
        at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
        at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
        at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
        at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:301)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:127)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:560)
        at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:460)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
        at org.apache.geronimo.console.configmanager.ConfigManagerPortlet.processAction(ConfigManagerPortlet.java:159)
        at org.apache.pluto.driver.services.container.FilterChainImpl.doFilter(FilterChainImpl.java:117)
        at org.apache.pluto.driver.services.container.FilterChainImpl.processFilter(FilterChainImpl.java:84)
        at org.apache.pluto.driver.services.container.FilterManagerImpl.processFilter(FilterManagerImpl.java:112)
        at org.apache.pluto.container.driver.PortletServlet.dispatch(PortletServlet.java:359)
        at org.apache.pluto.container.driver.PortletServlet.doGet(PortletServlet.java:261)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:581)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:518)
        at org.apache.pluto.driver.container.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:233)
        at org.apache.pluto.driver.container.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:101)
        at org.apache.pluto.container.impl.PortletContainerImpl.doAction(PortletContainerImpl.java:251)
        at org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:135)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.geronimo.console.filter.RedirectByHashFilter.doFilter(RedirectByHashFilter.java:116)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:48)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
        at org.apache.geronimo.tomcat.security.SecurityValve.invoke(SecurityValve.java:87)
        at org.apache.geronimo.tomcat.security.jacc.JACCSecurityValve.invoke(JACCSecurityValve.java:54)
        at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:696)
        at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
        at org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
        at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243)
        at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:373)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.openejb.OpenEJBException: Error building bean 'Hello'.  Exception: class
org.apache.openejb.OpenEJBException: Error while loading bean cla
ss com.abc.Hello for bean Hello_ejb.jar/Hello. Received message: Cannot locate the class com.abc.Hello
from the codebase [D:\_g\_tck\geronimo-tck30\tck-testsuite\target\geronimo-tomcat-cts-3.0-SNAPSHOT\var\temp\ger
onimo-deployer7323628188918730994.tmpdir\Hello_ejb.jar]: Error while loading bean class com.abc.Hello
for bean Hello_ejb.jar/Hello. Received message: Cannot locate the class com.abc.Hello from
the codebase [D:\_g\_
tck\geronimo-tck30\tck-testsuite\target\geronimo-tomcat-cts-3.0-SNAPSHOT\var\temp\geronimo-deployer7323628188918730994.tmpdir\Hello_ejb.jar]
        at org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:79)
        at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:589)
        ... 82 more
Caused by: org.apache.openejb.OpenEJBException: Error while loading bean class com.abc.Hello
for bean Hello
_ejb.jar/Hello. Received message: Cannot locate the class com.abc.Hello from the codebase
[D:\_g\_tck\geron
imo-tck30\tck-testsuite\target\geronimo-tomcat-cts-3.0-SNAPSHOT\var\temp\geronimo-deployer7323628188918730994.tmpdir\Hello_ejb.jar]
        at org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.load(EnterpriseBeanBuilder.java:405)
        at org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.loadClass(EnterpriseBeanBuilder.java:382)
        at org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:83)
        at org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:64)
        ... 83 more

  The service EJBModule=default/Hello_Hello_ejb/1-default/car,J2EEApplication=null,StatelessSessionBean=Hello,j2eeType=WSLink,name=Hello
did not start because d
efault/Hello_Hello_ejb/1-default/car?J2EEApplication=null,j2eeType=EJBModule,name=default/Hello_Hello_ejb/1-default/car
did not start.

        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:487)
        ... 54 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message