eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
385 stars 143 forks source link

[Embedded] ejb packed in a war. Errors during the execution. #11010

Closed glassfishrobot closed 14 years ago

glassfishrobot commented 14 years ago

I've executed runweb against preinstalled appserver, using ejb-ejb31-war.war (from javaee6 samples) The deployment was OK. But when I've tried to execute this app through a browser, I've got an exeception. In a terminal window where created such correspondent messages:

Nov 12, 2009 2:59:32 PM org.apache.catalina.core.ApplicationContext log INFO: PWC1412: WebModule[/ejb-ejb31-war] ServletContext.log():PWC1409: Marking servlet TestServlet as unavailable Nov 12, 2009 2:59:32 PM org.apache.catalina.core.StandardWrapperValve log WARNING: StandardWrapperValve[TestServlet]: PWC1382: Allocate exception for servlet TestServlet com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class ejb.ejb31.war.TestServlet at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:312) at com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:714) at com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:1947) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1252) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1059) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:952) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330) at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309) at java.lang.Thread.run(Thread.java:619) Caused by: com.sun.enterprise.container.common.spi.util.InjectionException: No descriptor registered for current invocation : com.sun.enterprise.web.WebComponentInvocation@64fef26a at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:143) at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:127) at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:306) ... 27 more

=====================================================================

I was able to execute this app without any issues when it was deployed to a regular appserver.

I've attached this app.

Environment

Operating System: Solaris Platform: Sun

Affected Versions

[V3]

glassfishrobot commented 6 years ago
glassfishrobot commented 14 years ago

@glassfishrobot Commented easarina said: Created an attachment (id=3894) ejb-ejb31-war.war

glassfishrobot commented 14 years ago

@glassfishrobot Commented alexismp said: cc

glassfishrobot commented 14 years ago

@glassfishrobot Commented sirajg said: Fixed as part of 10999

glassfishrobot commented 14 years ago

@glassfishrobot Commented sirajg said: Marking it fixed

glassfishrobot commented 14 years ago

@glassfishrobot Commented File: ejb-ejb31-war.war Attached By: easarina

glassfishrobot commented 14 years ago

@glassfishrobot Commented Was assigned to sirajg

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-11010

glassfishrobot commented 14 years ago

@glassfishrobot Commented Reported by easarina

glassfishrobot commented 14 years ago

@glassfishrobot Commented Marked as fixed on Monday, November 16th 2009, 2:46:09 am