On Mon, May 25, 2009 at 1:42 PM, Hendy Irawan <he...@rainbowpurple.com> wrote: > Thanks Rahul. > > I did it, now it gives me this: > > at: http://localhost:8080/rdc-examples/mortgage-app/login.jsp > > HTTP Status 500 - > ------------------------------ > > *type* Exception report > > *message* > > *description* *The server encountered an internal error () that prevented it > from fulfilling this request.* > > *exception* > > javax.servlet.ServletException: java.lang.NoClassDefFoundError: > org/apache/xml/serialize/XMLSerializer <snip/>
Thats xerces, which you can get from here: http://xerces.apache.org/xerces2-j/download.cgi RDC 1.0.0 depended on JDK 1.4, which packaged xerces and xalan. Therefore, you may need to add xerces and/or xalan when using some higher JDKs -- since you are using Tomcat 6.x, I'm assuming you're running a higher JDK. -Rahul > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org.apache.taglibs.rdc.RDCFilter.doFilter(RDCFilter.java:140) > > *root cause* > > java.lang.NoClassDefFoundError: org/apache/xml/serialize/XMLSerializer > java.lang.Class.getDeclaredMethods0(Native Method) > java.lang.Class.privateGetDeclaredMethods(Class.java:2427) > java.lang.Class.getDeclaredMethods(Class.java:1791) > java.beans.Introspector$1.run(Introspector.java:1272) > java.security.AccessController.doPrivileged(Native Method) > > java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1270) > java.beans.Introspector.getTargetMethodInfo(Introspector.java:1136) > java.beans.Introspector.getBeanInfo(Introspector.java:387) > java.beans.Introspector.getBeanInfo(Introspector.java:159) > > org.apache.jasper.compiler.Generator$TagHandlerInfo.<init>(Generator.java:3820) > > org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(Generator.java:2112) > > org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1601) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > > org.apache.jasper.compiler.Generator$GenerateVisitor.generateJspFragment(Generator.java:3114) > > org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomDoTag(Generator.java:2429) > > org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1683) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) > org.apache.jasper.compiler.Node$Root.accept(Node.java:489) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Generator.generate(Generator.java:3364) > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) > > org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215) > > org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576) > > org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) > org.apache.jasper.compiler.Node$Root.accept(Node.java:489) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > > org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645) > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:177) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) > > org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215) > > org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576) > > org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) > org.apache.jasper.compiler.Node$Root.accept(Node.java:489) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > > org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645) > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:177) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) > > org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215) > > org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576) > > org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) > org.apache.jasper.compiler.Node$Root.accept(Node.java:489) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > > org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645) > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:177) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org.apache.taglibs.rdc.RDCFilter.doFilter(RDCFilter.java:140) > > *root cause* > > java.lang.ClassNotFoundException: org.apache.xml.serialize.XMLSerializer > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206) > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > java.lang.Class.getDeclaredMethods0(Native Method) > java.lang.Class.privateGetDeclaredMethods(Class.java:2427) > java.lang.Class.getDeclaredMethods(Class.java:1791) > java.beans.Introspector$1.run(Introspector.java:1272) > java.security.AccessController.doPrivileged(Native Method) > > java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1270) > java.beans.Introspector.getTargetMethodInfo(Introspector.java:1136) > java.beans.Introspector.getBeanInfo(Introspector.java:387) > java.beans.Introspector.getBeanInfo(Introspector.java:159) > > org.apache.jasper.compiler.Generator$TagHandlerInfo.<init>(Generator.java:3820) > > org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(Generator.java:2112) > > org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1601) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > > org.apache.jasper.compiler.Generator$GenerateVisitor.generateJspFragment(Generator.java:3114) > > org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomDoTag(Generator.java:2429) > > org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1683) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) > org.apache.jasper.compiler.Node$Root.accept(Node.java:489) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Generator.generate(Generator.java:3364) > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) > > org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215) > > org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576) > > org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) > org.apache.jasper.compiler.Node$Root.accept(Node.java:489) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > > org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645) > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:177) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) > > org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215) > > org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576) > > org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) > org.apache.jasper.compiler.Node$Root.accept(Node.java:489) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > > org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645) > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:177) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) > > org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:215) > > org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576) > > org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > > org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631) > org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393) > org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399) > org.apache.jasper.compiler.Node$Root.accept(Node.java:489) > org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343) > > org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645) > org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:177) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:294) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:281) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org.apache.taglibs.rdc.RDCFilter.doFilter(RDCFilter.java:140) > > *note* *The full stack trace of the root cause is available in the Apache > Tomcat/6.0.16 logs.* > ------------------------------ > Apache Tomcat/6.0.16 > > On Tue, May 26, 2009 at 12:23 AM, Rahul Akolkar > <rahul.akol...@gmail.com>wrote: > >> On Mon, May 25, 2009 at 1:13 PM, Hendy Irawan <he...@rainbowpurple.com> >> wrote: >> > Hi, >> > >> > I downloaded the RDC 1.0 binary distribution and deploying >> rdc-examples.war >> > in Tomcat 6.0.16 was unsuccessful. >> > Here's the exception. >> > >> <snip/> >> >> I won't be able to try this today (can tomorrow, if needed) but from >> the message below, try replacing the Commons BeanUtils jar in >> rdc-examples/WEB-INF/lib with the version 1.7.0 jar from here: >> >> http://archive.apache.org/dist/commons/beanutils/binaries/ >> >> -Rahul >> >> >> > May 25, 2009 9:43:29 PM org.apache.catalina.core.ApplicationContext log >> > INFO: SessionListener: contextInitialized() >> > May 25, 2009 9:43:50 PM org.apache.catalina.core.ApplicationContext log >> > INFO: Marking servlet action as unavailable >> > May 25, 2009 9:43:50 PM org.apache.catalina.core.StandardContext >> > loadOnStartup >> > SEVERE: Servlet /rdc-examples threw load() exception >> > java.lang.ClassNotFoundException: >> org.apache.commons.collections.FastHashMap >> > at >> > >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) >> > at >> > >> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206) >> > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) >> > at >> > org.apache.struts.action.ActionServlet.<init>(ActionServlet.java:207) >> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native >> > Method) >> > at >> > >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) >> > at >> > >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) >> > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) >> > at java.lang.Class.newInstance0(Class.java:355) >> > at java.lang.Class.newInstance(Class.java:308) >> > at >> > >> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104) >> > at >> > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) >> > at >> > >> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058) >> > at >> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4364) >> > at >> > >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) >> > at >> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) >> > at >> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) >> > at >> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829) >> > at >> > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718) >> > at >> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) >> > at >> > org.apache.catalina.startup.HostConfig.check(HostConfig.java:1215) >> > at >> > >> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293) >> > at >> > >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) >> > at >> > >> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337) >> > at >> > >> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) >> > at >> > >> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) >> > at >> > >> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) >> > at java.lang.Thread.run(Thread.java:619) >> > >> > -- >> > Best regards, >> > Hendy Irawan >> > +62 81-2210-66622 :: +62 22-91853265 >> > http://www.hendyirawan.com/ :: he...@soluvas.com >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: taglibs-user-unsubscr...@jakarta.apache.org >> For additional commands, e-mail: taglibs-user-h...@jakarta.apache.org >> >> > > > -- > Best regards, > Hendy Irawan > +62 81-2210-66622 :: +62 22-91853265 > http://www.hendyirawan.com/ :: he...@soluvas.com > --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: taglibs-user-h...@jakarta.apache.org