You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ron van Pol <ro...@inception.nl> on 2000/09/11 00:47:42 UTC

Error compiling generated .java files with long filenames

Hi,

Is there like a restriction in filename length of a generated .java file. The problem I'm having is that generated .java files with large filenames can't get compiled. Beneath is a stacktrace I'm getting. I'm using tomcat 3.1 with JDK1.3 on Win2000. 

Another thing that's been buggin me for a while: why are the generated .java and .class files not in the location where one would expect it, e.g. security/login.jsp after execution will not wind up in a subdirectory security in my workdirectory. The security directory is created though it remains empty.

Ron

org.apache.jasper.JasperException: Unable to compile class for JSPerror: Can't write: G:\jakarta\jakarta-tomcat\work\localhost_8080%2FMMS\Gegevensbeheer\DocumentenBeheer\Functieomschrijvingen\nieuw\_0002fGegevensbeheer_0002fDocumentenBeheer_0002fFunctieomschrijvingen_0002fnieuw_0002fbeoordelen_0005finhoud_0002ejspbeoordelen_0005finhoud_jsp_0.class
1 error

 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:247)
 at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
 at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
 at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
 at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
 at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
 at org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163)
 at com.inception.mms.organisatie.controller.FunctieomschrijvingNewServlet.doPost(FunctieomschrijvingNewServlet.java:199)
 at com.inception.mms.organisatie.controller.FunctieomschrijvingNewServlet.doGet(FunctieomschrijvingNewServlet.java:62)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at com.inception.algemeen.servlet.ApplicationEventServlet.service(ApplicationEventServlet.java:155)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
 at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
 at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
 at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)
 at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
 at java.lang.Thread.run(Unknown Source)