RE: problem deploy maverick example (friendbook-jsp) to weblogic

"jim moore" <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <000e01c2d94b$53568970$f901a8c0@winston>
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.WebService
Serv
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! <http://rd.yahoo.com/finance/mailtagline/*http:/taxes.yahoo.com/>
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.