Quintin-
When Weblogic starts up a webapp, it will print out 'ServletContext "/myWebApp" initialized'. If it says "null", it might just be that your webapp doesn't have a name or that the webapp is mapped to the root directory "/". I don't think it is a problem.
Adam Brod
Product Development Team
| Quintin Kerby <[EMAIL PROTECTED]>
05/12/2006 07:30 PM
|
|
I developed a webapp using MyFaces, Spring, and Hibernate which runs beautifully on Tomcat 5.5 and JDK 1.5. I now have to deploy to WebLogic which uses JDK 1.4.2.
I had to take the following steps to get where I am (which is still not very far).
1) Downgrade the web.xml from 2.4 to 2.3
2) Remove Antlr.jar for Hibernate as WebLogic seems to have problems with it.
3) Add servlet-api.jar and jsp-api.jar from the Tomcat common/lib directory
I noticed the "ServletContext 'null' initialized." Does anyone know WebLogic well enough to point me in the right direction?
<snip>
2006-05-12 19:15:17,882 [main] INFO org.springframework.aop.framework.DefaultAopProxyFactory - CGLIB2 available: proxyTargetClass feature enabled
2006-05-12 19:15:18,211 [main] INFO org.springframework.web.context.ContextLoader - Using context class [org.springframework.web.context.support.XmlWebApplicationContext] for root WebApplicationContext
2006-05-12 19:15:18,211 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 4313 ms
2006-05-12 19:15:18,211 [main] INFO org.apache.myfaces.webapp.StartupServletContextListener - MyFaces already initialized
2006-05-12 19:15:18,211 [main] INFO org.apache.myfaces.webapp.StartupServletContextListener - ServletContext 'null' initialized.
<May 12, 2006 7:15:18 PM EDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "myserver" for domain "mydomain" running in Development Mode>
<May 12, 2006 7:15:18 PM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<May 12, 2006 7:15:18 PM EDT> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 7001, ip address *.*>
------<Following occurs when I attempt to access one of the pages>
<May 12, 2006 7:16:15 PM EDT> <Error> <HTTP> <BEA-101017> <[ServletContext(id=18611390,name=TaskManager,context-path=/TaskManager)] Root cause of ServletException.
javax.faces.FacesException: javax.servlet.ServletException
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: javax.servlet.ServletException: javax.servlet.ServletException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:326)
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
... 18 more
>
Quintin Kerby
CACI, Inc.
Disclaimer: This electronic mail and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify the sender immediately by replying to this email, and destroy all copies of this email and any attachments. Thank you.

