problem deploy maverick example (friendbook-jsp) to weblogic

Calvin Ling <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
deploy the example friendbook-jsp.war app to weblogic 7.0.1, got 404 error in browser when trying .../friendbook-jsp/welcome.m, .../friendbook-jsp/welcome.jsp works just fine, it's not finding the dispatcher servlet I think.

I tried rebuild the friendbook-jsp war by adding the dispatcher class to the ../classes, update the web.xml DTD. Any other leads? thanks.

Calvin

<Feb 20, 2003 4:33:20 PM PST> <Error> <Management> <140000> <InvocationTargetExc
eption getting attribute ServletPath on MBean mydomain:Location=myserver,Name=my
server_myserver_friendbook-jsp_weblogic.webservice.server.servlet.WebServiceServ
let_760,ServerRuntime=myserver,Type=ServletRuntime. Method: public java.lang.Str
ing weblogic.servlet.internal.ServletRuntimeMBeanImpl.getServletPath()
java.lang.NullPointerException
        at weblogic.servlet.internal.WebAppServletContext.findMappings(WebAppSer
vletContext.java:5089)
        at weblogic.servlet.internal.WebAppServletContext.findPath(WebAppServlet
Context.java:5108)
        at weblogic.servlet.internal.ServletStubImpl.getServletPath(ServletStubI
mpl.java:1028)
        at weblogic.servlet.internal.ServletRuntimeMBeanImpl.getServletPath(Serv
letRuntimeMBeanImpl.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBe
anImpl.java:567)
        at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.j
ava:1183)
        at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.j
ava:1153)
        at weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(Remot
eMBeanServerImpl.java:844)
        at weblogic.management.internal.MBeanProxy.getAttribute(MBeanProxy.java:
246)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:176)
        at $Proxy78.getServletPath(Unknown Source)
        at java.lang.reflect.Method.invoke(Native Method)
        at weblogic.management.console.info.ReflectingAttribute.doGet(Reflecting
Attribute.java:110)



---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.