What version of Struts are you using?  Is your struts-menu.xml valid XML?

Matt

On 8/24/06, nimisha sharma <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I just downloaded the 2.4 version of struts-menus. When I am trying to
> configure the menu-config.xml file, somehow as soon as i put the velocity
> displayer, my application fails to deploy. The stack trace is as follows:
>
>
>
> [#|2006-08-24T12:35:03.588-0400|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=16;|
>
> java.lang.reflect.InvocationTargetException
>
> at
> org.apache.commons.digester.Digester.createSAXException(Digester.java:2792)
>
> at
> org.apache.commons.digester.Digester.createSAXException(Digester.java:2818)
>
> at
> org.apache.commons.digester.Digester.endElement(Digester.java:1070)
>
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
>
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221
> )
>
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872
> )
>
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693
> )
>
> at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
>
> .........
>
> at java.lang.Thread.run(Thread.java:595)
>
> |#]
>
>
>
> [#|2006-08-24T12:35:03.648-0400|INFO|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=16;|WebModule[/FAMS]Marking
> servlet action as unavailable|#]
>
>
>
> [#|2006-08-24T12:35:03.648-0400|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=16;|WebModule[/FAMS]Servlet
> /FAMS threw load() exception
>
> javax.servlet.UnavailableException: Failure initializing
> struts-menu: Error parsing resource file: /WEB-INF/menu-config.xml nested
> exception is: Error at (6, 75: null
>
> at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:368)
>
> at
> javax.servlet.GenericServlet.init(GenericServlet.java:211)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
> )
>
> at java.lang.reflect.Method.invoke(Method.java:585)
>
> at
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
>
> at java.security.AccessController.doPrivileged(Native
> Method)
>
> at
> javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
>
>
>
> However, if I have TabbedMenu in my displayer, it works without exceptions
> but i dont get the tabs the way I can see on the velocity example. Is there
> some cofiguration that i might be missing?
>
> Help is greatly appreciated.
>
> Thanks and regards,
>
> Nimisha.
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> struts-menu-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>
>
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to