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

Calvin Ling <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
Well, this is very stupid, but I hope no one need to went through the same thing.
Problem fixed the moment I changed the servlet-mapping from ".m" to ".mm" (or ".do"), apparently weblogic 7.0.1 doesn't like ".m", I don't know why, or what else it doesn't like, oh well, guess I just cannot use the glorious extention...
 Calvin Ling <[email protected]> wrote:
Thanks Jim and Jeff. I added xml-apis.jar to the app's ../lib/ (JDK_131), same problem still. Don't see problem with deployment though... appreciate your help!

<Feb 20, 2003 6:37:13 PM PST> <Info> <Deployer> <149033> <preparing application
friendbook-jsp on myserver>
<Feb 20, 2003 6:37:13 PM PST> <Info> <HTTP> <101207> <friendbook-jsp:friendbook-
jsp deactivating>
<Feb 20, 2003 6:37:13 PM PST> <Info> <HTTP> <101205> <friendbook-jsp:friendbook-
jsp rolling back>
<Feb 20, 2003 6:37:13 PM PST> <Info> <HTTP> <101047> <[ServletContext(id=5583197
,name=friendbook-jsp,context-path=/friendbook-jsp)] dispatcher: destroy>
<Feb 20, 2003 6:37:13 PM PST> <Info> <HTTP> <101201> <friendbook-jsp:friendbook-
jsp loading descriptor>
<Feb 20, 2003 6:37:13 PM PST> <Info> <HTTP> <101059> <[HTTP] Loading friendbook-
jsp from WAR file: C:\bea\user_projects\mydomain\friendbook-jsp.war>
<Feb 20, 2003 6:37:13 PM PST> <Info> <HTTP> <101202> <friendbook-jsp:friendbook-
jsp preparing>
<Feb 20, 2003 6:37:14 PM PST> <Info> <Deployer> <149033> <prepared application f
riendbook-jsp on myserver>
<Feb 20, 2003 6:37:14 PM PST> <Info> <Deployer> <149033> <activating application
 friendbook-jsp on myserver>
<Feb 20, 2003 6:37:14 PM PST> <Info> <HTTP> <101206> <friendbook-jsp:friendbook-
jsp activating>
<Feb 20, 2003 6:37:15 PM PST> <Info> <HTTP> <101209> <friendbook-jsp:friendbook-
jsp ready>
<Feb 20, 2003 6:37:15 PM PST> <Info> <HTTP> <101208> <friendbook-jsp:friendbook-
jsp starting>
<Feb 20, 2003 6:37:15 PM PST> <Info> <HTTP> <101047> <[ServletContext(id=2859754
,name=friendbook-jsp,context-path=/friendbook-jsp)] WebServiceServlet: init>
<Feb 20, 2003 6:37:15 PM PST> <Info> <HTTP> <101047> <[ServletContext(id=2859754
,name=friendbook-jsp,context-path=/friendbook-jsp)] dispatcher: init>
<Feb 20, 2003 6:37:16 PM PST> <Info> <Deployer> <149033> <activated application
friendbook-jsp on myserver>
<Feb 20, 2003 6:37:16 PM PST> <Info> <Management> <140009> <Configuration change
s for domain saved to the repository.>
<Feb 20, 2003 6:37:16 PM PST> <Info> <Deployer> <149039> <Completing a deploymen
t task with id 2 for application friendbook-jsp with status Completed>
<Feb 20, 2003 6:38:12 PM PST> <Info> <HTTP> <101047> <[ServletContext(id=2859754
,name=friendbook-jsp,context-path=/friendbook-jsp)] /*: init>
<Feb 20, 2003 6:38:17 PM PST> <Info> <HTTP> <101047> <[ServletContext(id=2859754
,name=friendbook-jsp,context-path=/friendbook-jsp)] /*: Using standard I/O>

 

===========================================================

Yup, not finding the dispatcher.  Are there any log error messages
during deployment?

  

Jeff

  

-----Original Message-----
From: Calvin Ling [mailto:calvinling2000@ya...] 
Sent: Thursday, February 20, 2003 5:03 PM
To: mav-user@li...
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.WebSer
viceServ
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


---------------------------------
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.