Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
-none-

-none-

2007-10-03       - By David Smith

 Back
Can we see the jsp you are trying to access?  Also check the logs for
the very first exception in the request.  That will be the most helpful.

You can find the logs in tomcat's logs directory.

--David

niblz wrote:
> Hello I have install a new fresh Tomcat 6, and I have JAVA 6 (all the newest
> versions from their sites)
> I have tried many things, but still while html and servlet work, JSP just
> won't work!
> I even tried using this Tomcat version and help -
> http://www.coreservlets.com/Apache-Tomcat-Tutorial/
> http://www.coreservlets.com/Apache-Tomcat-Tutorial/
> But still nothing
> This are the errors I get
> type Exception report message  description The server encountered an
> internal error () that prevented it from fulfilling this request. exception
> org.apache.jasper.JasperException: Unable to compile class for JSP:  An
> error occurred at line: 22 in the generated java fileThe method
> getJspApplicationContext(ServletContext) is undefined for the type
> JspFactory An error occurred at line: 82 in the generated java fileThe
> method handlePageException(Exception) in the type PageContext is not
> applicable for the arguments (Throwable) Stacktrace:  
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler
.java:92)  
> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java
:330)  
> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)  
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)  
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)  
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)  
> 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:320)  
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)  
> javax.servlet.http.HttpServlet.service(HttpServlet.java:865) note The full
> stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs
>
> and this one
> HTTP Status 500 -
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
---
> type Exception report message  description The server encountered an
> internal error () that prevented it from fulfilling this request. exception
> org.apache.jasper.JasperException: Unable to compile class for JSP:  
> Stacktrace:  
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler
.java:85)  
> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java
:330)  
> org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)  
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)  
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)  
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)  
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java
:566)  
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java
:308)  
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)  
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)  
> javax.servlet.http.HttpServlet.service(HttpServlet.java:865) note The full
> stack trace of the root cause is available in the Apache Tomcat/6.0.10 logs.
>
>
> What can I do please?
>
> Thank you!
>
>  


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)