Date: 2004-05-07T01:59:47 Editor: PhilipMarkDonaghy <[EMAIL PROTECTED]> Wiki: Apache Geronimo Wiki Page: HowToTutorial URL: http://wiki.apache.org/geronimo/HowToTutorial
Subtitles added. Removed stacktraces, too ugly. Change Log: ------------------------------------------------------------------------------ @@ -1,5 +1,7 @@ == A tutorial/HOWTO. Using Geronimo with the Sun J2EE tutorial and Geronimo DEV. Sun J2EE Tutorial version 1.4 == +== Dependancies Download == + Download the tutorials and examples in the same bundle. The file name should be j2ee-1_4-doc-tutorial_1.zip. Extract the file. @@ -23,38 +25,6 @@ I had a small problem here... org.apache.geronimo.deployment.DeploymentException: Unable to parse web.xml - at org.apache.geronimo.jetty.deployment.WARConfigBuilder.buildConfiguration(WARConfigBuilder.java:214) - at org.apache.geronimo.jetty.deployment.WARConfigBuilder.buildConfiguration(WARConfigBuilder.java:128) - at org.apache.geronimo.jetty.deployment.WARConfigBuilder$$FastClassByCGLIB$$ee905b6a.invoke(<generated>) - at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87) - at org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:40) - at org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:153) - at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:465) - at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:218) - at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121) - at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86) - at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121) - at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121) - at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:205) - at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079) - at org.apache.geronimo.kernel.jmx.InvokeMBean.invoke(InvokeMBean.java:100) - at org.apache.geronimo.gbean.jmx.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:125) - at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$7a1ca0ae.buildConfiguration(<generated>) - at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:132) - at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>) - at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87) - at org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:40) - at org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:153) - at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:465) - at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:218) - at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121) - at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86) - at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121) - at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121) - at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:205) - at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079) - at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:216) - at org.apache.geronimo.system.main.CommandLine.main(CommandLine.java:82) Hmm... @@ -65,7 +35,7 @@ Hmm... -Modified the hello1/build/WEB-INF/web.xml using the incubator-geronimo/target/config-store/5/war/WEB-INF/web.xml (remove servlet config) +Modified the hello1/build/WEB-INF/web.xml using the incubator-geronimo/target/config-store/5/war/WEB-INF/web.xml (remove servlet config and change index.vm to index.jsp) java -jar bin/deployer.jar --install --module ../../../j2eetutorial14/examples/web/hello1/build/j2eehello1.war @@ -82,47 +52,6 @@ 17:37:14,380 WARN [ServletHandler] Exception for /j2eehello1/ org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application - at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94) - at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:404) - at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154) - at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:358) - at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:190) - at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458) - at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523) - at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577) - at org.apache.jasper.compiler.Parser.parse(Parser.java:171) - at org.apache.jasper.compiler.ParserController.parse(ParserController.java:247) - at org.apache.jasper.compiler.ParserController.parse(ParserController.java:149) - at org.apache.jasper.compiler.ParserController.parse(ParserController.java:135) - at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237) - at org.apache.jasper.compiler.Compiler.compile(Compiler.java:456) - at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) - at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552) - at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291) - at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) - at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) - at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:362) - at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:477) - at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:227) - at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:147) - at org.mortbay.jetty.servlet.Default.handleGet(Default.java:306) - at org.mortbay.jetty.servlet.Default.service(Default.java:221) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) - at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:362) - at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:477) - at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:488) - at org.mortbay.http.HttpContext.handle(HttpContext.java:1754) - at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:565) - at org.apache.geronimo.jetty.JettyWebApplicationContext.handle(JettyWebApplicationContext.java:164) - at org.mortbay.http.HttpContext.handle(HttpContext.java:1706) - at org.mortbay.http.HttpServer.service(HttpServer.java:879) - at org.mortbay.http.HttpConnection.service(HttpConnection.java:817) - at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:979) - at org.mortbay.http.HttpConnection.handle(HttpConnection.java:834) - at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:212) - at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:315) - at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:498) This is a problem with the java tag library defined in index.jsp
