-
1. first issue
numbsafari Apr 10, 2006 5:24 PM (in response to numbsafari)I have my first issue:
I installed JBoss-4.0.3SP1. I copied docs/examples/netboot/netboot.war into my server/all/deploy directory. I ran "run -c all".
If I browse to http://localhost:8080/netboot/listContent.jsp, I get the following error:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 5 in the jsp file: /listContent.jsp
Generated servlet error:
The method replaceProperties(String) is undefined for the type Strings
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.netboot.TrivialDavFilter.doFilter(TrivialDavFilter.java:55)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
It appears as though this file depends on an outdated version of the class org.jboss.util.Strings.
I'll avoid using this JSP... -
2. Re: netboot - still supported?
numbsafari Apr 10, 2006 8:12 PM (in response to numbsafari)I have been going over the docs and searching the web for any information. So far, it appears as though this is no longer supported or, at least, has been broken for over a year.
Neither the binary or source distribution contains a build-netboot.xml, as per the documentation. The run.bat script does not set the correct classpath. The documentation fails to mention that only packed deployments will work (you must figure this out from searching what little there is available on the web). In addition, many related pages seem to have been removed from the JBoss website.
I find it very funny that some people are purporting to offer training classes that include using netboot when this functionality doesn't even work.