[nanocontainer-scm] [jira] Commented: (NANO-128) problem ruinning nanowar/webwork1 on websphere
jira-yCVjj/[email protected] Fri, 18 Feb 2005 16:52:45 -0500 (EST)
| Newsgroups | gmane.comp.java.nanocontainer.cvs |
|---|---|
| Message-ID | <[email protected]> |
The following comment has been added to this issue:
Author: Aslak Hellesoy
Created: Fri, 18 Feb 2005 4:51 PM
Body:
This exception seems to be thrown when the ApplicationScopeObjectReference's reference is null - i.e. has not been set.
It looks as if it's only being set in ServletContainerListener.contextInitialized(ServletContextEvent event) (from javax.servlet.ServletContextListener).
This could mean that WS is not calling contextInitialized. Will have to look into why.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/NANO-128?page=comments#action_30042
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/NANO-128
Here is an overview of the issue:
---------------------------------------------------------------------
Key: NANO-128
Summary: problem ruinning nanowar/webwork1 on websphere
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: NanoContainer
Versions:
1.0-beta-3
Assignee: Aslak Hellesoy
Reporter: Aslak Hellesoy
Created: Fri, 18 Feb 2005 3:14 PM
Updated: Fri, 18 Feb 2005 4:51 PM
Description:
Here is the web.xml snippet:
-----
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>MerchandisingRandD</display-name>
<context-param>
<param-name>org.nanocontainer.integrationkit.ContainerComposer</param-name>
<param-value>org.nanocontainer.nanowar.ScopedContainerComposer</param-value>
</context-param>
<listener>
<listener-class>org.nanocontainer.nanowar.ServletContainerListener</listener-class>
</listener>
<servlet>
<servlet-name>action</servlet-name>
<!-- servlet-class>webwork.dispatcher.ServletDispatcher</servlet-class -->
<servlet-class>org.nanocontainer.nanowar.webwork.PicoServletDispatcher</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
-----
I get this error in the web page:
Error 500: org.nanocontainer.nanowar.ServletContainerListener not deployed
-----
And the stack trace is:
[2/18/05 15:10:26:340 EST] 8665a0f WebGroup E SRVE0026E: [Servlet Error]-[org.nanocontainer.nanowar.ServletContainerListener not deployed]: javax.servlet.ServletException: org.nanocontainer.nanowar.ServletContainerListener not deployed
at org.nanocontainer.nanowar.ServletRequestContainerLauncher.startContainer(ServletRequestContainerLauncher.java:37)
at org.nanocontainer.nanowar.webwork.PicoServletDispatcher.service(PicoServletDispatcher.java:37)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
not sure if this is WS related or not....
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira