struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leon" <leonnewsgr...@hotmail.com>
Subject Re: What is block me?
Date Fri, 06 Jun 2003 20:24:09 GMT
Sorry, I got it.

----- Original Message -----
From: "Leon" <leonnewsgroup@hotmail.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Friday, June 06, 2003 3:49 PM
Subject: What is block me?


> Hi,
>
> It may not be the right news group where I post this message.
> I am using Eclipse2.1, Struts1.1, Weblogic 7.0 and Lomobz21_02 to build my
> project. It works fine until I input Struts-menu. First, I have tested the
> Struts-menu on Tomcat and it is no problem. Then, Moving Struts-menu to
> Weblogic and Lomobz environment, I get the following error.
> com.fgm.web.menu.MenuRepository, com.fgm.web.menu.MenuPlugIn and
> com.fgm.web.menu.displayer.MenuDisplayerMapping are in the same package
and
> they are all on the classpath. At the start point, Weblogic loads the
first
> two classes and after calls commons-digester API, Weblogic can not find
the
> MenuDisplayerMapping class. I could not know what heppened there because I
> would not have the source code of Weblogic API. If I put Struts-menu.jar
in
> both libraries of my project properties (using Eclipse setting) and
Weblogic
> Server Libaraies(using Lomboz setting). It could not load MenuPlugIn class
> at all. Finally, I put struts-menu.jar in libraries of my project
properties
> and put struts-menu.jar without MenuPlugIn class in Weblogic server
> libaraies. The error is gone and the weblogic server is started.
> What is this problem? and any solutions?
>
> Regards
>
> Leon
>
>
> 406 [Thread-8] INFO validator.ValidatorPlugIn  - Loading validation rules
> file from '/WEB-INF/validator-rules.xml'
> 469 [Thread-8] INFO validator.ValidatorPlugIn  - Loading validation rules
> file from '/WEB-INF/validation.xml'
> 547 [Thread-8] ERROR digester.Digester  - Begin event threw exception
> java.lang.ClassNotFoundException:
> com.fgm.web.menu.displayer.MenuDisplayerMapping
>  at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
>  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
>  at
>
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:252
> )
>  at org.apache.commons.digester.Rule.begin(Rule.java:200)
>  at org.apache.commons.digester.Digester.startElement(Digester.java:1268)
>  at
> weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1384)
>  at
>
weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
> lidator.java:1299)
>  at
>
weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
> canner.java:1838)
>  at
>
weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
> ch(XMLDocumentScanner.java:1207)
>  at
>
weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
> nner.java:399)
>  at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1138)
>  at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
>  at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:133)
>  at org.apache.commons.digester.Digester.parse(Digester.java:1562)
>  at com.fgm.web.menu.MenuRepository.load(Unknown Source)
>  at com.fgm.web.menu.MenuPlugIn.init(Unknown Source)
>  at
>
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:
> 1105)
>  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
>  at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>  at
>
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubI
> mpl.java:1075)
>  at
>
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
> r.java:780)
>  at
>
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
> :899)
>  at
>
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
> va:833)
>  at
>
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
> a:773)
>  at
>
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
> ontext.java:2782)
>  at
>
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
> Context.java:2727)
>  at
>
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServle
> tContext.java:2700)
>  at
> weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:563)
>  at
> weblogic.servlet.internal.WebService.preloadResources(WebService.java:476)
>  at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
>  at
>
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
> r.java:780)
>  at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
>  at java.lang.Thread.run(Thread.java:536)
> java.lang.ClassNotFoundException:
> com.fgm.web.menu.displayer.MenuDisplayerMapping
>  at
>
org.apache.commons.digester.Digester.createSAXException(Digester.java:2383)
>  at
>
org.apache.commons.digester.Digester.createSAXException(Digester.java:2409)
>  at org.apache.commons.digester.Digester.startElement(Digester.java:1271)
>  at
> weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1384)
>  at
>
weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLVa
> lidator.java:1299)
>  at
>
weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentS
> canner.java:1838)
>  at
>
weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispat
> ch(XMLDocumentScanner.java:1207)
>  at
>
weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentSca
> nner.java:399)
>  at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1138)
>  at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
>  at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:133)
>  at org.apache.commons.digester.Digester.parse(Digester.java:1562)
>  at com.fgm.web.menu.MenuRepository.load(Unknown Source)
>  at com.fgm.web.menu.MenuPlugIn.init(Unknown Source)
>  at
>
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:
> 1105)
>  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
>  at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>  at
>
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubI
> mpl.java:1075)
>  at
>
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
> r.java:780)
>  at
>
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
> :899)
>  at
>
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
> va:833)
>  at
>
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
> a:773)
>  at
>
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
> ontext.java:2782)
>  at
>
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
> Context.java:2727)
>  at
>
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServle
> tContext.java:2700)
>  at
> weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:563)
>  at
> weblogic.servlet.internal.WebService.preloadResources(WebService.java:476)
>  at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
>  at
>
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
> r.java:780)
>  at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
>  at java.lang.Thread.run(Thread.java:536)
> <Jun 6, 2003 1:33:58 PM EDT> <Error> <HTTP> <101216> <Servlet:
"action"
> failed to preload on startup in webapp: "WebContent"
> javax.servlet.ServletException: Failure initializing struts-menu: Error
> parsing resource file: /WEB-INF/menu-config.xml nested exception is: Error
> at (8, 75: com.fgm.web.menu.displayer.MenuDisplayerMapping
>  at
>
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
> :912)
>  at
>
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
> va:833)
>  at
>
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
> a:773)
>  at
>
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
> ontext.java:2782)
>  at
>
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
> Context.java:2727)
>  at
>
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServle
> tContext.java:2700)
>  at
> weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:563)
>  at
> weblogic.servlet.internal.WebService.preloadResources(WebService.java:476)
>  at weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
>  at
>
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
> r.java:780)
>  at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
>  at java.lang.Thread.run(Thread.java:536)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message