Are you using jdk1.3 or 1.4? If you are using 1.3, you need to have xml-apis.jar in the webapp’s classpath or Dispatcher won’t load, at least on Tomcat.

 

--jim

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Calvin Ling
Sent: Thursday, February 20, 2003 8:03 PM
To: [EMAIL PROTECTED]
Subject: [Mav-user] problem deploy maverick example (friendbook-jsp) to weblogic

 

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.ServletRuntimeMBeanI! mpl.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)
      &! nbsp; 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

Reply via email to