Re: [AJP] proxy status
At 11:18 PM 8/11/2004, Costin Manolache wrote: William A. Rowe, Jr. wrote: It would be great if we would have at least one or 2 people who are committers in both projects. Since we can't propose Mladen in apache, maybe we can convince Graham to join tomcat :-) Can't propose mturk? Why, because he is already active in httpd space? My point was that it is hard to do development across 2 projects, while none of the developers has CVS access in both. Hopefully that can be addressed... If it is not possible to find a solution to the cvs permissions in either apache or tomcat - then maybe it would be good to have it in a separate repository. It may make it easier to also port it to apache2.0, as a separate standalone module. at one time we had forked mod_proxy development to its own repository, since it was nowhere near ready for 2.0 inclusion. [EMAIL PROTECTED] was created for just this purpose. At least from a development traffic point of view, perhaps it's worth resurrecting that mailing list. As far as code is concerned, Graham, for the moment, is willing to take care of those patches. Although he's subscribed to all three lists, I'd ask that they go either to [EMAIL PROTECTED] or [EMAIL PROTECTED] The history of the discussions is just as important as the actual code commits. Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30535] - Servlet mapping fails when url includes semicolon
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30535. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30535 Servlet mapping fails when url includes semicolon --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 08:23 --- Here the semicolon is used in the path part of the URL in it escaped form (%3B). As this is a valid url I think the match to *.txt should apply (as it does in previous versions of Tomcat). I have not checked the Servlet spec. 2.4 - Yet. /Jørn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Issue and solution with tomcat 5.0.27 service on Windows
When I install the tomcat server 5.0.27 as a service, it's not able to compile any .jsp page. After some tests I found out, that in the file catalina.xml, the property tools.jar is set to the location=${java.home}/../lib/tools.jar . If you change the location to ${java.home}/lib/tools.jar the pages compile without any problem. It would be nice if one of the developers can have a look at this issue and apply a patch. regards Jens - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30612] New: - Bind Mode not work for JNDIRealm(LDAP)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30612. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30612 Bind Mode not work for JNDIRealm(LDAP) Summary: Bind Mode not work for JNDIRealm(LDAP) Product: Tomcat 5 Version: 5.0.27 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Enhancement Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If i try to configure the bind mode for LDAP it give this error: 2004-08-12 11:24:23 JNDIRealm[Catalina]: Connecting to URL ldap://XXX.YYY.ZZ 2004-08-12 11:31:40 JNDIRealm[Catalina]: Searching for [EMAIL PROTECTED] 2004-08-12 11:31:40 JNDIRealm[Catalina]: base: CN=Users,dc=YYY,dc=ZZ filter: ([EMAIL PROTECTED]) 2004-08-12 11:31:40 JNDIRealm[Catalina]: Exception performing authentication javax.naming.NamingException: [LDAP: error code 1 - : LdapErr: DSID- 0C0905FF, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece and this is the configuration: Realm className=org.apache.catalina.realm.JNDIRealm connectionURL=ldap://XXX.YYY.ZZ; alternateURL=ldap://AAA.YYY.ZZ; userBase=CN=Users,dc=idtech,dc=it userSearch=(userPrincipalName={0}) userRoleName=memberOf roleBase=CN=Users,dc=idtech,dc=it roleName=cn roleSearch=(member={0}) roleSubtree=true userSubtree=true/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30613] New: - org.apache.jasper.JasperException: Unable to compile class for JSP
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30613. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30613 org.apache.jasper.JasperException: Unable to compile class for JSP Summary: org.apache.jasper.JasperException: Unable to compile class for JSP Product: Tomcat 5 Version: 5.0.27 Platform: PC OS/Version: Linux Status: NEW Severity: Blocker Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I encountered this problem trying to run a STRUTS-EXAMPLE application on Windows 2000(SP4) - Tomcat 5.0.17, Linux(RedHat 9) - Tomcat 4.1.27-LE, Tomcat 5.0.25, Tomcat 5.0.27, FreeBSD 5.2.1 - Tomcat 5.0.17. Stack trace : 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 An error occurred at line: 6 in the jsp file: /index.jsp Generated servlet error: /usr/local/app/jakarta-tomcat-5.0. 27/work/Catalina/localhost/struts-example/org/apache/jsp/index_jsp.java:110: _jspx_meth_bean_message_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp. PageContext) in org.apache.jsp.index_jsp cannot be applied to (org.apache. struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext) if (_jspx_meth_bean_message_0(_jspx_th_html_html_0, _jspx_page_context)) ^ An error occurred at line: 6 in the jsp file: /index.jsp Generated servlet error: /usr/local/app/jakarta-tomcat-5.0. 27/work/Catalina/localhost/struts-example/org/apache/jsp/index_jsp.java:113: _jspx_meth_html_base_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp. PageContext) in org.apache.jsp.index_jsp cannot be applied to (org.apache. struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext) if (_jspx_meth_html_base_0(_jspx_th_html_html_0, _jspx_page_context)) ^ An error occurred at line: 6 in the jsp file: /index.jsp Generated servlet error: /usr/local/app/jakarta-tomcat-5.0. 27/work/Catalina/localhost/struts-example/org/apache/jsp/index_jsp.java:119: _jspx_meth_logic_notPresent_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp. PageContext) in org.apache.jsp.index_jsp cannot be applied to (org.apache. struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext) if (_jspx_meth_logic_notPresent_0(_jspx_th_html_html_0, _jspx_page_context)) ^ An error occurred at line: 6 in the jsp file: /index.jsp Generated servlet error: /usr/local/app/jakarta-tomcat-5.0. 27/work/Catalina/localhost/struts-example/org/apache/jsp/index_jsp.java:123: _jspx_meth_logic_notPresent_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp. PageContext) in org.apache.jsp.index_jsp cannot be applied to (org.apache. struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext) if (_jspx_meth_logic_notPresent_1(_jspx_th_html_html_0, _jspx_page_context)) ^ An error occurred at line: 6 in the jsp file: /index.jsp Generated servlet error: /usr/local/app/jakarta-tomcat-5.0. 27/work/Catalina/localhost/struts-example/org/apache/jsp/index_jsp.java:128: _jspx_meth_bean_message_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp. PageContext) in org.apache.jsp.index_jsp cannot be applied to (org.apache. struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext) if (_jspx_meth_bean_message_1(_jspx_th_html_html_0, _jspx_page_context)) ^ An error occurred at line: 6 in the jsp file: /index.jsp Generated servlet error: /usr/local/app/jakarta-tomcat-5.0. 27/work/Catalina/localhost/struts-example/org/apache/jsp/index_jsp.java:133: _jspx_meth_html_link_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp. PageContext) in org.apache.jsp.index_jsp cannot be applied to (org.apache. struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext) if (_jspx_meth_html_link_0(_jspx_th_html_html_0, _jspx_page_context)) ^ An error occurred at line: 6 in the jsp file: /index.jsp Generated servlet error: /usr/local/app/jakarta-tomcat-5.0. 27/work/Catalina/localhost/struts-example/org/apache/jsp/index_jsp.java:137: _jspx_meth_html_link_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp. PageContext) in org.apache.jsp.index_jsp cannot be applied to (org.apache. struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext) if (_jspx_meth_html_link_1(_jspx_th_html_html_0, _jspx_page_context)) ^ An error occurred at line: 6 in the jsp file: /index.jsp Generated servlet error: /usr/local/app/jakarta-tomcat-5.0. 27/work/Catalina/localhost/struts-example/org/apache/jsp/index_jsp.java:143:
DO NOT REPLY [Bug 30613] - org.apache.jasper.JasperException: Unable to compile class for JSP
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30613. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30613 org.apache.jasper.JasperException: Unable to compile class for JSP [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 11:27 --- Looks like a dup *** This bug has been marked as a duplicate of 30482 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30482] - ERROR:JSP:_jspx_meth_bean_message_0:struts compile error
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30482. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30482 ERROR:JSP:_jspx_meth_bean_message_0:struts compile error [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 11:27 --- *** Bug 30613 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30482] - ERROR:JSP:_jspx_meth_bean_message_0:struts compile error
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30482. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30482 ERROR:JSP:_jspx_meth_bean_message_0:struts compile error --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 11:39 --- It's a .tar.bz2 file. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jsvc support for SGI
Hello, I have just tried to compile the jsvc tool for SGI IRIX 6.5. However, this system is not supported in the moment. In the INSTALL.txt file of the source package it was remarked that you need details of the operating system and the JDK to implent it into the jsvc. I have also tried to do some changes on the source code on my own to get a working jsvc version. I have now a executable jsvc file on my SGI, however, it does not work properly.Unfortunately my knowledge about compiler differences is not perfect. Here are the details about the JDK under IRIX6.5 The Java environment can be found under /usr/java2. A list of the complete java2 folder is included in this mail as attachment (java2.ls). java2.ls If somebody wants to know which changes I have been made on the source code to get an executable version, please contact me. Maybe, someone has already an idea what the problem why this version does not work anyhow. When starting tomcat over jsvc using the tomcat5 file, I will get the following messages (debug modus, I have also added some addtional debug lines in the source code) from stdout and catalina.out Stderr/Stdout: ./tomcat5 start jsvc debug: +-- DUMPING PARSED COMMAND LINE ARGUMENTS -- jsvc debug: | Detach: True jsvc debug: | Show Version:No jsvc debug: | Show Help: No jsvc debug: | Check Only: Disabled jsvc debug: | Run as service: No jsvc debug: | Install service: No jsvc debug: | Remove service: No jsvc debug: | JVM Name:null jsvc debug: | Java Home: /usr/java2 jsvc debug: | PID File:/var/run/jsvc.pid jsvc debug: | User Name: tomcat jsvc debug: | Extra Options: 3 jsvc debug: | -Dcatalina.home=/usr/local/jakarta-tomcat-5.0.27 jsvc debug: | -Djava.io.tmpdir=/var/tmp jsvc debug: | -Djava.class.path=/usr/java2/lib/tools.jar:/usr/local/jakarta-tomcat-5. 0.27/bin/commons-daemon.jar:/usr/local/jakarta-tomcat-5.0.27/bin/bootstr ap.jar jsvc debug: | Class Invoked: org.apache.catalina.startup.Bootstrap jsvc debug: | Class Arguments: 0 jsvc debug: +--- jsvc debug: user changed to 'tomcat' jsvc debug: User 'tomcat' validated jsvc debug: Attempting to locate Java Home in /usr/java2 jsvc debug: Attempting to locate VM configuration file /usr/java2/jre/lib/jvm.cfg jsvc debug: Attempting to locate VM configuration file /usr/java2/lib/jvm.cfg jsvc debug: Attempting to locate VM configuration file /usr/java2/lib/sgi/jvm.cfg jsvc debug: Found VM configuration file at /usr/java2/lib/sgi/jvm.cfg jsvc debug: Found VM client definition in configuration jsvc debug: Checking library /usr/java2/jre/lib32/mips/client/libjvm.so jsvc debug: Found VM classic definition in configuration jsvc debug: Checking library /usr/java2/jre/lib32/mips/classic/libjvm.so jsvc debug: Found VM hotspot definition in configuration jsvc debug: Checking library /usr/java2/jre/lib32/mips/hotspot/libjvm.so jsvc debug: Found VM server definition in configuration jsvc debug: Checking library /usr/java2/jre/lib32/mips/server/libjvm.so jsvc debug: Checking library /usr/java2/lib32/mips/server/libjvm.so jsvc debug: Cannot locate library for VM server (skipping) jsvc debug: Found VM native definition in configuration jsvc debug: Checking library /usr/java2/jre/lib32/mips/native/libjvm.so jsvc debug: Checking library /usr/java2/lib32/mips/native/libjvm.so jsvc debug: Cannot locate library for VM native (skipping) jsvc debug: Found VM green definition in configuration jsvc debug: Checking library /usr/java2/jre/lib32/mips/green/libjvm.so jsvc debug: Checking library /usr/java2/lib32/mips/green/libjvm.so jsvc debug: Cannot locate library for VM green (skipping) jsvc debug: Java Home located in /usr/java2 jsvc debug: +-- DUMPING JAVA HOME STRUCTURE jsvc debug: | Java Home: /usr/java2 jsvc debug: | Java VM Config.: /usr/java2/lib/sgi/jvm.cfg jsvc debug: | Found JVMs: 3 jsvc debug: | JVM Name:client jsvc debug: | /usr/java2/jre/lib32/mips/client/libjvm.so jsvc debug: | JVM Name:classic jsvc debug: | /usr/java2/jre/lib32/mips/classic/libjvm.so jsvc debug: | JVM Name:hotspot jsvc debug: | /usr/java2/jre/lib32/mips/hotspot/libjvm.so jsvc debug: +--- jsvc debug: redirecting stdout to /usr/local/jakarta-tomcat-5.0.27/logs/catalina.out and stderr to 1 Catalina.out: jsvc debjsvc debug: Starting child process ug: Starting child process jsvc debug: Initialize the Java VM... jsvc debug: Decide WHAT virtual machine we need to use... jsvc debug: Using default JVM in /usr/java2/jre/lib32/mips/client/libjvm.so jsvc debug: Try to initialize the DSO library... jsvc debug: Try to load the JVM library... jsvc debug: Attemtping to load library /usr/java2/jre/lib32/mips/client/libjvm.so jsvc debug: JVM library /usr/java2/jre/lib32/mips/client/libjvm.so loaded jsvc debug: JVM library entry point found (0x09ACCEC0) jsvc debug: +--
DO NOT REPLY [Bug 30615] New: - Installing Tomcat as a Windows Service fails to recognize non-standard service name
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30615. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30615 Installing Tomcat as a Windows Service fails to recognize non-standard service name Summary: Installing Tomcat as a Windows Service fails to recognize non-standard service name Product: Tomcat 5 Version: 5.0.24 Platform: Other OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Usinng service.bat to install Tomcat 5 as a Windows service does not respect the service name passed from the command line. Error appears to be in line 64 of service.bat: ERRANT: set PR_DISPLAYNAME=Apache Tomcat CORRECT: set PR_DISPLAYNAME=%SERVICE_NAME% Optionally there could be hard coded values in there like this: (our solution) OPTIONAL: set PR_DISPLAYNAME=Apache Tomcat %SERVICE_NAME% - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jsvc support for SGI
Oellien, F (Frank) wrote: Hello, I have just tried to compile the jsvc tool for SGI IRIX 6.5. However, this system is not supported in the moment. In the INSTALL.txt file of the source package it was remarked that you need details of the operating system and the JDK to implent it into the jsvc. I have also tried to do some changes on the source code on my own to get a working jsvc version. I have now a executable jsvc file on my SGI, however, it does not work properly.Unfortunately my knowledge about compiler differences is not perfect. Here are the details about the JDK under IRIX6.5 The Java environment can be found under /usr/java2. A list of the complete java2 folder is included in this mail as attachment (java2.ls). java2.ls Please resend the attachement. If somebody wants to know which changes I have been made on the source code to get an executable version, please contact me. Sure make a diff -u of the changed sources and send them to me. Maybe, someone has already an idea what the problem why this version does not work anyhow. When starting tomcat over jsvc using the tomcat5 file, I will get the following messages (debug modus, I have also added some addtional debug lines in the source code) from stdout and catalina.out Stderr/Stdout: ./tomcat5 start jsvc debug: +-- DUMPING PARSED COMMAND LINE ARGUMENTS -- jsvc debug: | Detach: True jsvc debug: | Show Version:No jsvc debug: | Show Help: No jsvc debug: | Check Only: Disabled jsvc debug: | Run as service: No jsvc debug: | Install service: No jsvc debug: | Remove service: No jsvc debug: | JVM Name:null jsvc debug: | Java Home: /usr/java2 jsvc debug: | PID File:/var/run/jsvc.pid jsvc debug: | User Name: tomcat jsvc debug: | Extra Options: 3 jsvc debug: | -Dcatalina.home=/usr/local/jakarta-tomcat-5.0.27 jsvc debug: | -Djava.io.tmpdir=/var/tmp jsvc debug: | -Djava.class.path=/usr/java2/lib/tools.jar:/usr/local/jakarta-tomcat-5. 0.27/bin/commons-daemon.jar:/usr/local/jakarta-tomcat-5.0.27/bin/bootstr ap.jar jsvc debug: | Class Invoked: org.apache.catalina.startup.Bootstrap jsvc debug: | Class Arguments: 0 jsvc debug: +--- jsvc debug: user changed to 'tomcat' jsvc debug: User 'tomcat' validated jsvc debug: Attempting to locate Java Home in /usr/java2 jsvc debug: Attempting to locate VM configuration file /usr/java2/jre/lib/jvm.cfg jsvc debug: Attempting to locate VM configuration file /usr/java2/lib/jvm.cfg jsvc debug: Attempting to locate VM configuration file /usr/java2/lib/sgi/jvm.cfg jsvc debug: Found VM configuration file at /usr/java2/lib/sgi/jvm.cfg jsvc debug: Found VM client definition in configuration jsvc debug: Checking library /usr/java2/jre/lib32/mips/client/libjvm.so jsvc debug: Found VM classic definition in configuration jsvc debug: Checking library /usr/java2/jre/lib32/mips/classic/libjvm.so jsvc debug: Found VM hotspot definition in configuration jsvc debug: Checking library /usr/java2/jre/lib32/mips/hotspot/libjvm.so jsvc debug: Found VM server definition in configuration jsvc debug: Checking library /usr/java2/jre/lib32/mips/server/libjvm.so jsvc debug: Checking library /usr/java2/lib32/mips/server/libjvm.so jsvc debug: Cannot locate library for VM server (skipping) jsvc debug: Found VM native definition in configuration jsvc debug: Checking library /usr/java2/jre/lib32/mips/native/libjvm.so jsvc debug: Checking library /usr/java2/lib32/mips/native/libjvm.so jsvc debug: Cannot locate library for VM native (skipping) jsvc debug: Found VM green definition in configuration jsvc debug: Checking library /usr/java2/jre/lib32/mips/green/libjvm.so jsvc debug: Checking library /usr/java2/lib32/mips/green/libjvm.so jsvc debug: Cannot locate library for VM green (skipping) jsvc debug: Java Home located in /usr/java2 jsvc debug: +-- DUMPING JAVA HOME STRUCTURE jsvc debug: | Java Home: /usr/java2 jsvc debug: | Java VM Config.: /usr/java2/lib/sgi/jvm.cfg jsvc debug: | Found JVMs: 3 jsvc debug: | JVM Name:client jsvc debug: | /usr/java2/jre/lib32/mips/client/libjvm.so jsvc debug: | JVM Name:classic jsvc debug: | /usr/java2/jre/lib32/mips/classic/libjvm.so jsvc debug: | JVM Name:hotspot jsvc debug: | /usr/java2/jre/lib32/mips/hotspot/libjvm.so jsvc debug: +--- jsvc debug: redirecting stdout to /usr/local/jakarta-tomcat-5.0.27/logs/catalina.out and stderr to 1 Catalina.out: jsvc debjsvc debug: Starting child process ug: Starting child process jsvc debug: Initialize the Java VM... jsvc debug: Decide WHAT virtual machine we need to use... jsvc debug: Using default JVM in /usr/java2/jre/lib32/mips/client/libjvm.so jsvc debug: Try to initialize the DSO library... jsvc debug: Try to load the JVM library... jsvc debug: Attemtping to load library /usr/java2/jre/lib32/mips/client/libjvm.so jsvc debug: JVM library
cvs commit: jakarta-tomcat-catalina/catalina/src/bin service.bat
mturk 2004/08/12 06:39:14 Modified:catalina/src/bin service.bat Log: Set the Service display name unique if the service name has been provided at the command line. Fixes bug 30615 Revision ChangesPath 1.8 +3 -2 jakarta-tomcat-catalina/catalina/src/bin/service.bat Index: service.bat === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/bin/service.bat,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- service.bat 10 Aug 2004 11:10:26 - 1.7 +++ service.bat 12 Aug 2004 13:39:14 - 1.8 @@ -42,10 +42,12 @@ rem Set default Service name set SERVICE_NAME=Tomcat5 +set PR_DISPLAYNAME=Apache Tomcat if %1 == goto displayUsage if %2 == goto setServiceName set SERVICE_NAME=%2 +set PR_DISPLAYNAME=Apache Tomcat %2 :setServiceName if %1 == install goto doInstall if %1 == remove goto doRemove @@ -70,7 +72,6 @@ rem Use the environment variables as an exaple rem Each command line option is prefixed with PR_ -set PR_DISPLAYNAME=Apache Tomcat set PR_DESCRIPTION=Apache Tomcat Server - http://jakarta.apache.org/tomcat set PR_INSTALL=%EXECUTABLE% set PR_LOGPATH=%CATALINA_HOME%\logs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30615] - Installing Tomcat as a Windows Service fails to recognize non-standard service name
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30615. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30615 Installing Tomcat as a Windows Service fails to recognize non-standard service name [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 13:45 --- Well, It's not a major bug :) Anyhow the patched version is in the CVS. It sets the display name to a different value ony if the service name has been provided at the command line. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30615] - Installing Tomcat as a Windows Service fails to recognize non-standard service name
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30615. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30615 Installing Tomcat as a Windows Service fails to recognize non-standard service name --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 13:49 --- Cool, thanks. Only marked it as major since the install fails if you attempt to install the service multiple times (like we do). The script runs and fails but still says the service was installed. Perhaps there should be a check for the return value from the executable to indicate success/failure in the file? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.0.28 release
FYI - progress on the 5.0.28 changes: Petr Jiricka wrote: - The Sun Developer Tools group would like to include into this release several bug fixes in the Jasper area, that are currently available in the trunk (5.1.x codebase), and that affect NetBeans 4.0 functionality, such as JSP debugging or JSP editor. Thanks to Jan Luehe, these fixes are now integrated to the TOMCAT_5_0 branch. See also the release notes for the list of issues ported from trunk. - The goal of 5.0.28 would be to support the upcoming JDK 1.5 release (now called JDK 5.0) out of the box, so no post-install setup steps are necessary to run on JDK 5.0. Note that in Tomcat 5.0.27, it is necessary to manually remove file common/endorsed/xml-apis.jar to make Tomcat work with JDK 5.0, see also bug report 29579 or Tomcat release notes. This not only degrades the initial experience on 1.5, but also poses problems in the multiuser scenario, when some of the users who use a shared Tomcat installation run JDK 1.4.x, and others run 1.5. (Implementation-wise, this could be done e.g. by ignoring xml-apis.jar in the classloader, when running on JDK 5.0, but there may be other solutions available.) My coworkers at Sun are investigating the possible approaches to make the same distribution of Tomcat work on both JDK 1.4 and 1.5, including Costin's idea. If you have any additional thoughts or suggestions in this area, please post them. Thanks Petr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 21616] - Upload fails under iis5-jk2 and not under tomcat alone
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=21616. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=21616 Upload fails under iis5-jk2 and not under tomcat alone [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 14:21 --- I am getting this same error with Tomcat 4.1.29 / IIS 5 / MOD JK 2.0.4. I tested the attached DLL and it fixed my problem. I'm assuming the pached DLL used the code from the post in the link above (which to my understanding was implemented into JK1). If i upload files with IIS as the fronted it breaks. If i upload using tomcat as the frontend it works. Is it possible to have a look at this again? I can give you dumps from my Tomcat logs if that will help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30618] New: - pdf problems with security
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30618. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30618 pdf problems with security Summary: pdf problems with security Product: Tomcat 5 Version: 5.0.27 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hello, You have Tomcat as a standalone webserver with security. You have two static pdf-pages with a link in the first page to the second page. The first page you can call but when you want to go via the link to the second pdf page you get the internal picture from the Internet Explorer open or save the page. When you open the page you get the error the page can't be open. When you try to save the page you get the same error. The error is reproducible. You can call the pages single over Tomcat, no problem. When you have no security tomcat managed this behavior correct. Thanks in advance W. Hoheisel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30618] - pdf problems with security
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30618. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30618 pdf problems with security [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 15:13 --- *** This bug has been marked as a duplicate of 27122 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 27122] - IE plugins cannot access components through Tomcat 5 over SSL
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=27122. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=27122 IE plugins cannot access components through Tomcat 5 over SSL [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 15:13 --- *** Bug 30618 has been marked as a duplicate of this bug. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30620] New: - incorrent handling of last_access and elapsed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30620. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30620 incorrent handling of last_access and elapsed Summary: incorrent handling of last_access and elapsed Product: Tomcat 5 Version: 5.0.27 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Native:JK AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have to small bugs and patches to report for mod_jk jk/native/common/jk_ajp_common.c. They are present at least since 1.2.6 and still in the CVS version. Both bugs are in method ajp_get_endoint. 1) Initialization of now The variable is only initialized, if cache_timeout0 or socket_timeout0 (line 1754). But in lines 1783 and 1784 it is used every time an endpoint with existing socket connection is found. 2) Format string in jk_log The variable elapsed is unsigned, but the format string says %d instead of %u (lines 1771 and 1787) Please consider the small patch I will attach to this bug report. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30620] - incorrent handling of last_access and elapsed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30620. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30620 incorrent handling of last_access and elapsed --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 15:40 --- Created an attachment (id=12404) ajp_get_endpoint: initialization of now and jk_log format for elapsed - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Enhancement: mod_jk-Logging
I have a proposal for a slight enhancement concerning the log format of mod_jk. 1) Include the log level of a message in the log line. That should be easy and is very helpful to find relevant messages. It is pretty standard. 2) Include the PID of the logging process in the log file. That helps a lot, because one can also log the PID in Apaches access log. So it is easier to relate access log lines and mod_jk log lines to each other. Also it helps to unmangle, if log lines from several parallel requests are mixed. Of course this argumentation mainly is for apache 1.3, but most people use mod_jk for it. Both enhancements can be done in jk_util.c. I attach a small patch. Since I'm not an experienced C developer please check. I borrowed a define for Netware for getpid() from Apache's code. Not sure If it will work for Netware, or if configure needs to be enhanced, if we use getpid(). It build well on Solaris. Thank's for considering. *** jk_util.c Tue Jul 13 15:58:10 2004 --- jk_util.c.new Thu Aug 12 18:11:50 2004 *** *** 85,90 --- 85,98 const char * jk_log_fmt = JK_TIME_FORMAT; + int log_level_max = 3; + static const char *log_levels[] = { + JK_LOG_DEBUG_VERB, + JK_LOG_INFO_VERB, + JK_LOG_ERROR_VERB, + JK_LOG_EMERG_VERB + }; + static void set_time_str(char * str, int len) { time_t t = time(NULL); *** *** 250,255 --- 258,274 f++; } + const char *log_level; + if ( level =0 level = log_level_max ) { + log_level=log_levels[level]; + } else { + log_level=unknown; + } + + #ifdef NETWARE + #define getpid() ((pid_t)GetThreadGroupID()) + #endif + #ifdef USE_SPRINTF /* until we get a snprintf function */ #ifdef NETWARE buf = (char *) malloc(HUGE_BUFFER_SIZE); *** *** 256,268 if (NULL == buf) return -1; #endif ! set_time_str(buf, HUGE_BUFFER_SIZE); ! used = strlen(buf); if(line) used += sprintf(buf[used], [%s (%d)]: , f, line); #else ! set_time_str(buf, HUGE_BUFFER_SIZE); ! used = strlen(buf); if(line) used += snprintf(buf[used], HUGE_BUFFER_SIZE, [%s (%d)]: , f, line); #endif --- 275,289 if (NULL == buf) return -1; #endif ! set_time_str(buf, HUGE_BUFFER_SIZE); ! used = strlen(buf); ! used += sprintf(buf[used], [%s] [%ld], log_level, (long)getpid()); if(line) used += sprintf(buf[used], [%s (%d)]: , f, line); #else ! set_time_str(buf, HUGE_BUFFER_SIZE); ! used = strlen(buf); ! used += snprintf(buf[used], HUGE_BUFFER_SIZE, [%s] [%ld], log_level, (long)getpid()); if(line) used += snprintf(buf[used], HUGE_BUFFER_SIZE, [%s (%d)]: , f, line); #endif - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Enhancement: mod_jk-Logging
Please remove [EMAIL PROTECTED] from your discussion list. Thank you. -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 12:25 PM To: Tomcat Developers List Subject: Enhancement: mod_jk-Logging I have a proposal for a slight enhancement concerning the log format of mod_jk. 1) Include the log level of a message in the log line. That should be easy and is very helpful to find relevant messages. It is pretty standard. 2) Include the PID of the logging process in the log file. That helps a lot, because one can also log the PID in Apaches access log. So it is easier to relate access log lines and mod_jk log lines to each other. Also it helps to unmangle, if log lines from several parallel requests are mixed. Of course this argumentation mainly is for apache 1.3, but most people use mod_jk for it. Both enhancements can be done in jk_util.c. I attach a small patch. Since I'm not an experienced C developer please check. I borrowed a define for Netware for getpid() from Apache's code. Not sure If it will work for Netware, or if configure needs to be enhanced, if we use getpid(). It build well on Solaris. Thank's for considering. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [proxy] New implementation ready for testing
Concerning session stickyness: is the following scenario possible with your mod_proxy, at least in the future? We support a critical high load application which is running in a two cell environment. We replicate via TC cluster locally inside each cell (2 TCs) but not over the boundaries of the cells (cluster would be to big and for a cell outage it would be acceptable to loose sessions). So a cell is equal to a replication domain resp. to a TC cluster. Let's say TCs with jvmRoute A1, A2, B1, B2, where A and B are the cells. Also we use session stickyness on multiple Apache/mod_jk to keep hopping of requests from primary to secondary TCs low. Any apache needs to send requests sticky to the correct TC instance. Both TC clusters provide the same webapps. Now, if TC A1 is going down for maintenance (or breaks), and apache receives a request with jvmRoute A1, it should send the request to another member of the same cluster, in this case A2 and not to B1 or B2. Could this be done with mod_proxy? I did some project patches for mod_jk to make this happen (adding an attribute domain to the balanced_workers and enhancing get_most_suitable_worker in the lb worker. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30624] New: - unable to load tiles-definition.war when running embedded tomcat
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30624. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30624 unable to load tiles-definition.war when running embedded tomcat Summary: unable to load tiles-definition.war when running embedded tomcat Product: Tomcat 5 Version: 5.0.27 Platform: PC OS/Version: Windows XP Status: NEW Severity: Blocker Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I was prototyping using tomcat embedded in my java application. Was trouble having launch a webapp based on tiles/struts. i got this error when i tried to run the standard example of tiles-definiton.war. This war properly loads when running tomcat as a stand alone web container. java.lang.NullPointerException at org.apache.catalina.realm.RealmBase.findSecurityConstraints (RealmBase .java:428) at org.apache.catalina.authenticator.AuthenticatorBase.invoke (Authentica torBase.java:455) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValv eContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.jav a:520) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.j ava:137) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValv eContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.j ava:117) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValv eContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.jav a:520) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineVal ve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext (StandardValv eContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke (StandardPipeline.jav a:520) at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service (CoyoteAdapter.java:16 0) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java :799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt (PoolTcpEndpoint.java :577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadP ool.java:683) at java.lang.Thread.run(Thread.java:534) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30624] - unable to load tiles-definition.war when running embedded tomcat
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30624. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30624 unable to load tiles-definition.war when running embedded tomcat --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 17:09 --- Created an attachment (id=12409) the java file that i compile to run tomcat embedded - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [proxy] New implementation ready for testing
Rainer Jung wrote: Concerning session stickyness: is the following scenario possible with your mod_proxy, at least in the future?e We support a critical high load application which is running in a two cell environment. We replicate via TC cluster locally inside each cell (2 TCs) but not over the boundaries of the cells (cluster would be to big and for a cell outage it would be acceptable to loose sessions). So a cell is equal to a replication domain resp. to a TC cluster. Let's say TCs with jvmRoute A1, A2, B1, B2, where A and B are the cells. Also we use session stickyness on multiple Apache/mod_jk to keep hopping of requests from primary to secondary TCs low. Any apache needs to send requests sticky to the correct TC instance. Both TC clusters provide the same webapps. Now, if TC A1 is going down for maintenance (or breaks), and apache receives a request with jvmRoute A1, it should send the request to another member of the same cluster, in this case A2 and not to B1 or B2. Could this be done with mod_proxy? I did some project patches for mod_jk to make this happen (adding an attribute domain to the balanced_workers and enhancing get_most_suitable_worker in the lb worker. Think that the routeRedirect should be sufficient enough. If the particular node is marked *disabled* then the requests will be redirected to that node. So you will have to manually edit your 'domains', meaning: Node A1 - routeRedirect A2, etc... This scenario is already supported inside proxy_balancer and jk2. MT. smime.p7s Description: S/MIME Cryptographic Signature
Servlet.service error
Hey there all! I am running Tomcat 5.0.25 on Windows XP. I have set-up a .jsp in my web.xml so that I can all it as I do servlets: servlet servlet-namefooter/servlet-name jsp-file/secure/includes/footer.jsp/jsp-file /servlet servlet-mapping servlet-namefooter/servlet-name url-pattern*.footer/url-pattern /servlet-mapping When I call a page that includes this .jsp as follows: jsp:include page=process.footer flush=true / I get the following error in the Tomcat log: 2004-08-12 14:43:41 ApplicationDispatcher[/lawillustrated] Servlet.service() for servlet footer threw exception org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path. I did copy the tools.jar from my Java sdk to common/lib and also have set my Environment Variables to my JAVA_HOME/lib/ for both user and system. Restarted my system as well as Tomcat. Still get exactly the same result. All other .jsp's that are not mapped in the web.xml work fine without any errors. Any idea as to what is going wrong? Thanks! -- Kind Regards Schalk Neethling - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ASF c:\program files location [was Re: Default Tomcat installation location on Windows]
From: Dominik Drzewiecki [EMAIL PROTECTED] Sent: Sunday, December 28, 2003 3:47 PM The default location for Tomcat 5.0 installation on Windows is c:\program Files\Apache Software Foundation\Tomcat 5.0. On the other hand, win32 Apache 2.0 installer suggests c:\Program Files\Apache Group\Apache 2.0. I suggest that these directories should be unified for clarity, let's say the default root directory for Apache softwere should be c:\Program Files\Apache Group. After all it is Apache's httpd that was first to come up with Apache Group directory ;). I think Tomcat 5.0.x as well as 4.1.x should stick with it (Maven does, AFAIK). I'd argue the converse, and suggest the httpd team will change this with the Apache-2.2 installer. It probably should have changed back at 2.0, I don't remember why I didn't make that change at the time. Apache Group as an entity is defunct, replaced by the corporate name Apache Software Foundation. Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Issue and solution with tomcat 5.0.27 service on Windows
If java.home points to the JRE, this 'might' point you at a JDK - but it is certainly an unwise choice for those who don't dereference a JRE, buried within a JDK, as JAVA_HOME. Which brings up a good point, you may have to modify the envvars of the SYSTEM (LocalSystem) account, or whichever account you ask the Tomcat service to run-as. At 04:21 AM 8/12/2004, you wrote: When I install the tomcat server 5.0.27 as a service, it's not able to compile any .jsp page. After some tests I found out, that in the file catalina.xml, the property tools.jar is set to the location=${java.home}/../lib/tools.jar . If you change the location to ${java.home}/lib/tools.jar the pages compile without any problem. It would be nice if one of the developers can have a look at this issue and apply a patch. regards Jens - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [AJP] proxy status
At 11:19 AM 8/12/2004, Justin Erenkrantz wrote: --On Thursday, August 12, 2004 12:57 AM -0500 William A. Rowe, Jr. [EMAIL PROTECTED] wrote: Although he's subscribed to all three lists, I'd ask that they go either to [EMAIL PROTECTED] or [EMAIL PROTECTED] The history of the discussions is just as important as the actual code commits. Can we please not use [EMAIL PROTECTED] As long as the code resides in the main httpd repository, development discussion belongs on [EMAIL PROTECTED], IMHO. That seems rational to me. The reason for proposing [EMAIL PROTECTED] is so that tomcat-dev'ers wouldn't have to swallow the full bandwidth of [EMAIL PROTECTED] (converse of the problem where they asked anyone in [EMAIL PROTECTED] to follow [EMAIL PROTECTED] for the duration of that proxy_ajp development). So I ask our tomcat-dev'ers who are interested in proxy_ajp, proxy_balancer and so on - are you already subscribed/following [EMAIL PROTECTED] Or do you feel a -strong- need for a lower-traffic list? If no one complains loudly, we will keep all proxy traffic on [EMAIL PROTECTED] (cc's to tomcat-dev if you feel a point needs feedback from the tomcat connector folks.) Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat build broken with strange javac error(never seen this one before)
I have never seen an error from javac like this before(and I am by no means new to java). I have even read the JLS and am not sure what in the world this is. Can anyone point me somewhere on how to resolve this issue? Or possibly point me to a build.xml for tomcat5 that works? The one on the website does not work as I get the below. I am using 1.4.2_05. Does the build.xml file work for anyone else? If so, what version of java are you using? build-catalina-core: [javac] Compiling 302 source files to C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes [javac] C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\catalina\sr c\share\org\apache\catalina\Container.java:23: cannot access javax.servlet.ServletException [javac] bad class file: C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/servlet/Serv letException.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import javax.servlet.ServletException; [javac] ^ [javac] 1 error Also, I really want to know more about this error and how it is possible. Does anyone know what this means? Ps. Am I on the wrong list? Is this really a problem with the servlet api jar?, but which project is that and who do I talk to??? thanks, dean
RE: tomcat build broken with strange javac error(never seen this one before)
Hi, The build file works for me. Your servlet-api jar was built with JDK 1.5, so you must build the rest of Tomcat with JDK 1.5. Alternatively, build servlet-api.jar with JDK 1.4 and build the rest of Tomcat with JDK 1.4 as well. You get the general point ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 3:00 PM To: [EMAIL PROTECTED] Subject: tomcat build broken with strange javac error(never seen this one before) I have never seen an error from javac like this before(and I am by no means new to java). I have even read the JLS and am not sure what in the world this is. Can anyone point me somewhere on how to resolve this issue? Or possibly point me to a build.xml for tomcat5 that works? The one on the website does not work as I get the below. I am using 1.4.2_05. Does the build.xml file work for anyone else? If so, what version of java are you using? build-catalina-core: [javac] Compiling 302 source files to C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes [javac] C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\catalina\s r c\share\org\apache\catalina\Container.java:23: cannot access javax.servlet.ServletException [javac] bad class file: C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/servlet/Ser v letException.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import javax.servlet.ServletException; [javac] ^ [javac] 1 error Also, I really want to know more about this error and how it is possible. Does anyone know what this means? Ps. Am I on the wrong list? Is this really a problem with the servlet api jar?, but which project is that and who do I talk to??? thanks, dean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat build broken with strange javac error(never seen this one before)
post on tomcat-user in the future, thanks! these are simple steps cvs co jakarta-tomcat-5 cd jakarta-tomcat-5 ant update ant download ant dist Filip - Original Message - From: Hiller, Dean D (Dean) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 12, 2004 2:00 PM Subject: tomcat build broken with strange javac error(never seen this one before) I have never seen an error from javac like this before(and I am by no means new to java). I have even read the JLS and am not sure what in the world this is. Can anyone point me somewhere on how to resolve this issue? Or possibly point me to a build.xml for tomcat5 that works? The one on the website does not work as I get the below. I am using 1.4.2_05. Does the build.xml file work for anyone else? If so, what version of java are you using? build-catalina-core: [javac] Compiling 302 source files to C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes [javac] C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\catalina\sr c\share\org\apache\catalina\Container.java:23: cannot access javax.servlet.ServletException [javac] bad class file: C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/servlet/Serv letException.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import javax.servlet.ServletException; [javac] ^ [javac] 1 error Also, I really want to know more about this error and how it is possible. Does anyone know what this means? Ps. Am I on the wrong list? Is this really a problem with the servlet api jar?, but which project is that and who do I talk to??? thanks, dean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat build broken with strange javac error(never seen this one before)
Stop sending me e-mail. - Original Message - From: Hiller, Dean D (Dean) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 12, 2004 3:00 PM Subject: tomcat build broken with strange javac error(never seen this one before) I have never seen an error from javac like this before(and I am by no means new to java). I have even read the JLS and am not sure what in the world this is. Can anyone point me somewhere on how to resolve this issue? Or possibly point me to a build.xml for tomcat5 that works? The one on the website does not work as I get the below. I am using 1.4.2_05. Does the build.xml file work for anyone else? If so, what version of java are you using? build-catalina-core: [javac] Compiling 302 source files to C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes [javac] C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\catalina\sr c\share\org\apache\catalina\Container.java:23: cannot access javax.servlet.ServletException [javac] bad class file: C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/servlet/Serv letException.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import javax.servlet.ServletException; [javac] ^ [javac] 1 error Also, I really want to know more about this error and how it is possible. Does anyone know what this means? Ps. Am I on the wrong list? Is this really a problem with the servlet api jar?, but which project is that and who do I talk to??? thanks, dean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat build broken with strange javac error(never seen this one before)
Huh, 3 questions about this mail list then. 1. confused by stop sending me mail when this is my first mail to this list 2. Huh, I thought building would be a developer issue 3. Where should I post future questions on the source code I am looking at in tomcat??? The users list states it is for configuration issues, etc. ps. Thanks shapira for the jdk1.5 note. That makes sense, duh. Thanks, dean -Original Message- From: Joshua Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 1:21 PM To: Tomcat Developers List Subject: Re: tomcat build broken with strange javac error(never seen this one before) Stop sending me e-mail. - Original Message - From: Hiller, Dean D (Dean) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 12, 2004 3:00 PM Subject: tomcat build broken with strange javac error(never seen this one before) I have never seen an error from javac like this before(and I am by no means new to java). I have even read the JLS and am not sure what in the world this is. Can anyone point me somewhere on how to resolve this issue? Or possibly point me to a build.xml for tomcat5 that works? The one on the website does not work as I get the below. I am using 1.4.2_05. Does the build.xml file work for anyone else? If so, what version of java are you using? build-catalina-core: [javac] Compiling 302 source files to C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes [javac] C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\catalina\sr c\share\org\apache\catalina\Container.java:23: cannot access javax.servlet.ServletException [javac] bad class file: C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/servlet/Serv letException.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import javax.servlet.ServletException; [javac] ^ [javac] 1 error Also, I really want to know more about this error and how it is possible. Does anyone know what this means? Ps. Am I on the wrong list? Is this really a problem with the servlet api jar?, but which project is that and who do I talk to??? thanks, dean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf Ascii.java
markt 2004/08/12 12:48:06 Modified:coyote/src/java/org/apache/coyote Request.java util/java/org/apache/tomcat/util/buf Ascii.java Log: Housekeeping before making some changes - Convert tabs to 8 spaces - Remove unused field Revision ChangesPath 1.29 +26 -32 jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Request.java Index: Request.java === RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Request.java,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- Request.java 7 Jul 2004 16:29:34 - 1.28 +++ Request.java 12 Aug 2004 19:48:05 - 1.29 @@ -135,9 +135,6 @@ * HTTP specific fields. (remove them ?) */ private int contentLength = -1; -// how much body we still have to read. -// Apparently nobody uses this field... -private int available = -1; private MessageBytes contentTypeMB = null; private String charEncoding = null; private Cookies cookies = new Cookies(headers); @@ -222,7 +219,7 @@ * Host: header. */ public MessageBytes serverName() { - return serverNameMB; +return serverNameMB; } public int getServerPort() { @@ -230,31 +227,31 @@ } public void setServerPort(int serverPort ) { - this.serverPort=serverPort; +this.serverPort=serverPort; } public MessageBytes remoteAddr() { - return remoteAddrMB; +return remoteAddrMB; } public MessageBytes remoteHost() { - return remoteHostMB; +return remoteHostMB; } public MessageBytes localName() { - return localNameMB; +return localNameMB; } public MessageBytes localAddr() { - return localAddrMB; +return localAddrMB; } public String getLocalHost() { - return localHost; +return localHost; } public void setLocalHost(String host) { - this.localHost = host; +this.localHost = host; } public int getRemotePort(){ @@ -291,24 +288,22 @@ public void setCharacterEncoding(String enc) { - this.charEncoding = enc; +this.charEncoding = enc; } public void setContentLength(int len) { - this.contentLength = len; - available = len; +this.contentLength = len; } public int getContentLength() { if( contentLength -1 ) return contentLength; - MessageBytes clB = headers.getValue(content-length); +MessageBytes clB = headers.getValue(content-length); contentLength = (clB == null || clB.isNull()) ? -1 : clB.getInt(); - available = contentLength; - return contentLength; +return contentLength; } @@ -369,7 +364,7 @@ public Cookies getCookies() { - return cookies; +return cookies; } @@ -377,7 +372,7 @@ public Parameters getParameters() { - return parameters; +return parameters; } @@ -424,7 +419,6 @@ throws IOException { int n = inputBuffer.doRead(chunk, this); if (n 0) { -available -= n; bytesRead+=n; } return n; @@ -434,7 +428,7 @@ // debug public String toString() { - return R( + requestURI().toString() + ); +return R( + requestURI().toString() + ); } public long getStartTime() { @@ -449,12 +443,12 @@ public final void setNote(int pos, Object value) { - notes[pos] = value; +notes[pos] = value; } public final Object getNote(int pos) { - return notes[pos]; +return notes[pos]; } @@ -464,7 +458,7 @@ public void recycle() { bytesRead=0; - contentLength = -1; +contentLength = -1; contentTypeMB = null; charEncoding = null; headers.recycle(); @@ -473,21 +467,21 @@ localPort = -1; remotePort = -1; - cookies.recycle(); +cookies.recycle(); parameters.recycle(); unparsedURIMB.recycle(); uriMB.recycle(); decodedUriMB.recycle(); - queryMB.recycle(); - methodMB.recycle(); - protoMB.recycle(); - //remoteAddrMB.recycle(); - //remoteHostMB.recycle(); +queryMB.recycle(); +methodMB.recycle(); +protoMB.recycle(); +//remoteAddrMB.recycle(); +//remoteHostMB.recycle(); - // XXX Do we need such defaults ?
building tomcat source in eclipse
I searched the archives regarding my question and found nothing. Has anybody successfully built the tomcat 5 source tree from within eclipse? If so could share your .project and .classpath file? I want to build and run tomcat from within eclipse, launching it as a Java Application within the IDE. thanks, patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat build broken with strange javac error(never seen this one before)
1. Ignore the stop sending me mail message. Someone has managed to get themselves subscribed to the list and is obviously incapable of following the simple instructions included in every mail to unsubscribe. One of the list owners (of which I am one) will sort this out. 2. 3. The right place to posts depends on the question and will always be a judgement call and different people will make different judgements. I wouldn't worry about it too much - personally I thought this one was on the border line. Mark -Original Message- From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 8:29 PM To: Tomcat Developers List Subject: RE: tomcat build broken with strange javac error(never seen this one before) Huh, 3 questions about this mail list then. 1. confused by stop sending me mail when this is my first mail to this list 2. Huh, I thought building would be a developer issue 3. Where should I post future questions on the source code I am looking at in tomcat??? The users list states it is for configuration issues, etc. ps. Thanks shapira for the jdk1.5 note. That makes sense, duh. Thanks, dean -Original Message- From: Joshua Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 1:21 PM To: Tomcat Developers List Subject: Re: tomcat build broken with strange javac error(never seen this one before) Stop sending me e-mail. - Original Message - From: Hiller, Dean D (Dean) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 12, 2004 3:00 PM Subject: tomcat build broken with strange javac error(never seen this one before) I have never seen an error from javac like this before(and I am by no means new to java). I have even read the JLS and am not sure what in the world this is. Can anyone point me somewhere on how to resolve this issue? Or possibly point me to a build.xml for tomcat5 that works? The one on the website does not work as I get the below. I am using 1.4.2_05. Does the build.xml file work for anyone else? If so, what version of java are you using? build-catalina-core: [javac] Compiling 302 source files to C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes [javac] C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\c atalina\sr c\share\org\apache\catalina\Container.java:23: cannot access javax.servlet.ServletException [javac] bad class file: C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/se rvlet/Serv letException.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import javax.servlet.ServletException; [javac] ^ [javac] 1 error Also, I really want to know more about this error and how it is possible. Does anyone know what this means? Ps. Am I on the wrong list? Is this really a problem with the servlet api jar?, but which project is that and who do I talk to??? thanks, dean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: building tomcat source in eclipse
What are you trying to achieve? I use Eclipse to develop TC5 ( TC4) but always build from the command line. I have each of the top level directories created by the build script as an Eclipse project. You can still use remote debugging etc as well as all the other Eclipse features. Mark -Original Message- From: Patrick Lacson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 9:16 PM To: [EMAIL PROTECTED] Subject: building tomcat source in eclipse I searched the archives regarding my question and found nothing. Has anybody successfully built the tomcat 5 source tree from within eclipse? If so could share your .project and .classpath file? I want to build and run tomcat from within eclipse, launching it as a Java Application within the IDE. thanks, patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat build broken with strange javac error(never seen this one before)
At 02:20 PM 8/12/2004, Joshua Paul wrote: Stop sending me e-mail. Don't tell us - you subscribed. See the email headers in this message, specifically the List-Unsubscribe: header, and send a blank email to that address. When you subscribed, there was another email that told you how to unsubscribe later, it was the same email address. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30636] New: - NullPointerException in DigesterFactory
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30636. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30636 NullPointerException in DigesterFactory Summary: NullPointerException in DigesterFactory Product: Tomcat 5 Version: 5.0.27 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] A misconfigured server will cause the following: java.lang.NullPointerException at org.apache.catalina.startup.DigesterFactory.register (DigesterFactory.java:174) at org.apache.catalina.startup.DigesterFactory.registerLocalSchema (DigesterFactory.java:139) at org.apache.catalina.startup.DigesterFactory.newDigester (DigesterFactory.java:92) at org.apache.catalina.startup.ContextConfig.createWebXmlDigester (ContextConfig.java:435) ... The defect occurs because a resource is loaded from the ClassLoader and is never checked for null. Lines 173 - 174 of org.apache.catalina.startup.DigesterFactory should be changed to: URL url = DigesterFactory.class.getResource(resourceURL); if(url == null) throw new WhateverIsAnAppropriateException(The resource identified by \ + resourceURL + \ does not exist.); /* else -- the URL for the resource exists */ schemaResolver.register(resourcePublicId , url.toString() ); where the text in 's is replaced with the appropriate resource bundle mechanism. I would recommend that a code audit is performed to determine other such uses of getResource(), getResourceAsStream(), etc without appropriate null checks to ensure a consistent and pleasant user experience. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: building tomcat source in eclipse
I second this. That would rock. If anyone could provide the .project and .classpath files, that would be easy to set up in eclipse. (I am currently trying to build from command line first but my next step was to bring it into eclipse) dean -Original Message- From: Patrick Lacson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 2:16 PM To: [EMAIL PROTECTED] Subject: building tomcat source in eclipse I searched the archives regarding my question and found nothing. Has anybody successfully built the tomcat 5 source tree from within eclipse? If so could share your .project and .classpath file? I want to build and run tomcat from within eclipse, launching it as a Java Application within the IDE. thanks, patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.0.28 release
How about stopping support for that scenario? I mean drop the CATALINA_BASE versus CATALINA_HOME feature, (or set them to always equal each other, if we want to leave them in the code base), and don't allow users to share installations except by the user home directory valve. I am really against this. I use CATALINA_HOME and CATALINA_BASE. The reason that I use them is that they provide a clean way of upgrading frequently. It lets me maintain a stock Tomcat Directory, with all of my customization (conf files, etc) in a separate directory. Please don't drop this functinality. George Sexton MH Software, Inc. - Home of Connect Daily Web Calendar http://www.mhsoftware.com/ Voice: 303 438 9585 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat build broken with strange javac error(never seen this one before)
Cool, thanks. dean -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 2:16 PM To: 'Tomcat Developers List' Subject: RE: tomcat build broken with strange javac error(never seen this one before) 1. Ignore the stop sending me mail message. Someone has managed to get themselves subscribed to the list and is obviously incapable of following the simple instructions included in every mail to unsubscribe. One of the list owners (of which I am one) will sort this out. 2. 3. The right place to posts depends on the question and will always be a judgement call and different people will make different judgements. I wouldn't worry about it too much - personally I thought this one was on the border line. Mark -Original Message- From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 8:29 PM To: Tomcat Developers List Subject: RE: tomcat build broken with strange javac error(never seen this one before) Huh, 3 questions about this mail list then. 1. confused by stop sending me mail when this is my first mail to this list 2. Huh, I thought building would be a developer issue 3. Where should I post future questions on the source code I am looking at in tomcat??? The users list states it is for configuration issues, etc. ps. Thanks shapira for the jdk1.5 note. That makes sense, duh. Thanks, dean -Original Message- From: Joshua Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 1:21 PM To: Tomcat Developers List Subject: Re: tomcat build broken with strange javac error(never seen this one before) Stop sending me e-mail. - Original Message - From: Hiller, Dean D (Dean) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 12, 2004 3:00 PM Subject: tomcat build broken with strange javac error(never seen this one before) I have never seen an error from javac like this before(and I am by no means new to java). I have even read the JLS and am not sure what in the world this is. Can anyone point me somewhere on how to resolve this issue? Or possibly point me to a build.xml for tomcat5 that works? The one on the website does not work as I get the below. I am using 1.4.2_05. Does the build.xml file work for anyone else? If so, what version of java are you using? build-catalina-core: [javac] Compiling 302 source files to C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes [javac] C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\c atalina\sr c\share\org\apache\catalina\Container.java:23: cannot access javax.servlet.ServletException [javac] bad class file: C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/se rvlet/Serv letException.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import javax.servlet.ServletException; [javac] ^ [javac] 1 error Also, I really want to know more about this error and how it is possible. Does anyone know what this means? Ps. Am I on the wrong list? Is this really a problem with the servlet api jar?, but which project is that and who do I talk to??? thanks, dean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Servlet.service error
Hey all! Does anyone have a suggestion here, or I am missing something simple? Schalk Neethling wrote: Hey there all! I am running Tomcat 5.0.25 on Windows XP. I have set-up a .jsp in my web.xml so that I can all it as I do servlets: servlet servlet-namefooter/servlet-name jsp-file/secure/includes/footer.jsp/jsp-file /servlet servlet-mapping servlet-namefooter/servlet-name url-pattern*.footer/url-pattern /servlet-mapping When I call a page that includes this .jsp as follows: jsp:include page=process.footer flush=true / I get the following error in the Tomcat log: 2004-08-12 14:43:41 ApplicationDispatcher[/lawillustrated] Servlet.service() for servlet footer threw exception org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path. I did copy the tools.jar from my Java sdk to common/lib and also have set my Environment Variables to my JAVA_HOME/lib/ for both user and system. Restarted my system as well as Tomcat. Still get exactly the same result. All other .jsp's that are not mapped in the web.xml work fine without any errors. Any idea as to what is going wrong? Thanks! -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Servlet.service error
Yes. Try posting on the tomcat-user mailing list. Mark -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 10:29 PM To: Tomcat Developers List Subject: Re: Servlet.service error Hey all! Does anyone have a suggestion here, or I am missing something simple? Schalk Neethling wrote: Hey there all! I am running Tomcat 5.0.25 on Windows XP. I have set-up a .jsp in my web.xml so that I can all it as I do servlets: servlet servlet-namefooter/servlet-name jsp-file/secure/includes/footer.jsp/jsp-file /servlet servlet-mapping servlet-namefooter/servlet-name url-pattern*.footer/url-pattern /servlet-mapping When I call a page that includes this .jsp as follows: jsp:include page=process.footer flush=true / I get the following error in the Tomcat log: 2004-08-12 14:43:41 ApplicationDispatcher[/lawillustrated] Servlet.service() for servlet footer threw exception org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path. I did copy the tools.jar from my Java sdk to common/lib and also have set my Environment Variables to my JAVA_HOME/lib/ for both user and system. Restarted my system as well as Tomcat. Still get exactly the same result. All other .jsp's that are not mapped in the web.xml work fine without any errors. Any idea as to what is going wrong? Thanks! -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
both jdk1.5 and jdk1.4 needed to build tomcat????
I for some reason needed 1.4jdk and 1.5jdk to build tomcat. My steps are below. Any help would be appreciated as to how I can correct this Using jdk1.5 and Filip's great list of steps(thanks Filip, the list made life easier, and I am almost there) I go through the list to build tomcat 1. cvs co jakarta-tomcat-5 works great 2. cd jakarta-tomcat-5 obviously works 3. ant update works great 4. ant download breaks, and looks like 1.5 problems, so I switch to 1.4 and it works!!!. Basically the tomcat-deps module is not compiling in 1.5 as it conflicts with many different things. 5. ant dist sticking with 1.4 doesn't work, and going to 1.5 doesn't work. So now, I am basically stuck again on Jakarta-tomcat-5/build/classes not compiling at all. I am not sure where to go. I am trying to think what are the possibilities of what is wrong. 1. I need to do some configuration which I haven't done. 2. Builds currently don't work if starting from scratch as something was modified on accident? 3. they do work if you already had everything downloaded? I followed the steps above twice. I don't suppose having to switch between 1.4 and 1.5 makes my situation easier to debug, as that could be part of my problem too. Don't suppose someone just wants to send me a zipped up version of their view that builds?? I would like to fix this and will continue to look at the problem, but I am not really sure where to start so it may take me some time as I jump into all this. Thanks, dean -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 2:16 PM To: 'Tomcat Developers List' Subject: RE: tomcat build broken with strange javac error(never seen this one before) 1. Ignore the stop sending me mail message. Someone has managed to get themselves subscribed to the list and is obviously incapable of following the simple instructions included in every mail to unsubscribe. One of the list owners (of which I am one) will sort this out. 2. 3. The right place to posts depends on the question and will always be a judgement call and different people will make different judgements. I wouldn't worry about it too much - personally I thought this one was on the border line. Mark -Original Message- From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 8:29 PM To: Tomcat Developers List Subject: RE: tomcat build broken with strange javac error(never seen this one before) Huh, 3 questions about this mail list then. 1. confused by stop sending me mail when this is my first mail to this list 2. Huh, I thought building would be a developer issue 3. Where should I post future questions on the source code I am looking at in tomcat??? The users list states it is for configuration issues, etc. ps. Thanks shapira for the jdk1.5 note. That makes sense, duh. Thanks, dean -Original Message- From: Joshua Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 1:21 PM To: Tomcat Developers List Subject: Re: tomcat build broken with strange javac error(never seen this one before) Stop sending me e-mail. - Original Message - From: Hiller, Dean D (Dean) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 12, 2004 3:00 PM Subject: tomcat build broken with strange javac error(never seen this one before) I have never seen an error from javac like this before(and I am by no means new to java). I have even read the JLS and am not sure what in the world this is. Can anyone point me somewhere on how to resolve this issue? Or possibly point me to a build.xml for tomcat5 that works? The one on the website does not work as I get the below. I am using 1.4.2_05. Does the build.xml file work for anyone else? If so, what version of java are you using? build-catalina-core: [javac] Compiling 302 source files to C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes [javac] C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\c atalina\sr c\share\org\apache\catalina\Container.java:23: cannot access javax.servlet.ServletException [javac] bad class file: C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/se rvlet/Serv letException.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import javax.servlet.ServletException; [javac] ^ [javac] 1 error Also, I really want to know more about this error and how it is possible. Does anyone know what this means? Ps. Am I on the wrong list? Is this really a problem with the servlet api jar?, but which project is that and who do I talk to??? thanks, dean
cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf Ascii.java ByteChunk.java MessageBytes.java
markt 2004/08/12 14:46:41 Modified:coyote/src/java/org/apache/coyote Request.java http11/src/java/org/apache/coyote/http11 Http11Processor.java http11/src/java/org/apache/coyote/http11/filters IdentityInputFilter.java util/java/org/apache/tomcat/util/buf Ascii.java ByteChunk.java MessageBytes.java Log: Fix bug 30152. Support content-length greater than Integer.MAX_VALUE. - Limit is now Long.MAX_VALUE - Only tested in simulation, not with a POST bigger than Integer.MAX_VALUE Revision ChangesPath 1.30 +11 -3 jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Request.java Index: Request.java === RCS file: /home/cvs/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Request.java,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- Request.java 12 Aug 2004 19:48:05 - 1.29 +++ Request.java 12 Aug 2004 21:46:41 - 1.30 @@ -134,7 +134,7 @@ /** * HTTP specific fields. (remove them ?) */ -private int contentLength = -1; +private long contentLength = -1; private MessageBytes contentTypeMB = null; private String charEncoding = null; private Cookies cookies = new Cookies(headers); @@ -298,14 +298,22 @@ public int getContentLength() { +long length = getContentLengthLong(); + +if (length Integer.MAX_VALUE) { +return (int) length; +} +return -1; +} + +public long getContentLengthLong() { if( contentLength -1 ) return contentLength; MessageBytes clB = headers.getValue(content-length); -contentLength = (clB == null || clB.isNull()) ? -1 : clB.getInt(); +contentLength = (clB == null || clB.isNull()) ? -1 : clB.getLong(); return contentLength; } - public String getContentType() { contentType(); 1.103 +1 -1 jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java Index: Http11Processor.java === RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Processor.java,v retrieving revision 1.102 retrieving revision 1.103 diff -u -r1.102 -r1.103 --- Http11Processor.java 28 Jul 2004 18:52:17 - 1.102 +++ Http11Processor.java 12 Aug 2004 21:46:41 - 1.103 @@ -1196,7 +1196,7 @@ InputFilter[] inputFilters = inputBuffer.getFilters(); // Parse content-length header -int contentLength = request.getContentLength(); +long contentLength = request.getContentLengthLong(); if (contentLength = 0) { inputBuffer.addActiveFilter (inputFilters[Constants.IDENTITY_FILTER]); 1.12 +1 -1 jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/filters/IdentityInputFilter.java Index: IdentityInputFilter.java === RCS file: /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/filters/IdentityInputFilter.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- IdentityInputFilter.java 24 Feb 2004 08:50:55 - 1.11 +++ IdentityInputFilter.java 12 Aug 2004 21:46:41 - 1.12 @@ -144,7 +144,7 @@ * Read the content length from the request. */ public void setRequest(Request request) { -contentLength = request.getContentLength(); +contentLength = request.getContentLengthLong(); remaining = contentLength; } 1.4 +65 -0 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf/Ascii.java Index: Ascii.java === RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/buf/Ascii.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Ascii.java12 Aug 2004 19:48:06 - 1.3 +++ Ascii.java12 Aug 2004 21:46:41 - 1.4 @@ -178,4 +178,69 @@ return n; } +/** + * Parses an unsigned long from the specified subarray of bytes. + * @param b the bytes to parse + * @param off the start offset of the bytes + * @param len the length of the bytes + * @exception NumberFormatException if the long format was invalid + */ +public static long parseLong(byte[] b, int off, int len) +throws NumberFormatException +{ +int c; + +if
Re: both jdk1.5 and jdk1.4 needed to build tomcat????
It works for me with those steps using JDK 1.4, no problem if you need to try again, I suggest to clean your machine, and start over (this includes all the downloads in /usr/share/java) Filip - Original Message - From: Hiller, Dean D (Dean) [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Thursday, August 12, 2004 4:38 PM Subject: both jdk1.5 and jdk1.4 needed to build tomcat I for some reason needed 1.4jdk and 1.5jdk to build tomcat. My steps are below. Any help would be appreciated as to how I can correct this Using jdk1.5 and Filip's great list of steps(thanks Filip, the list made life easier, and I am almost there) I go through the list to build tomcat 1. cvs co jakarta-tomcat-5 works great 2. cd jakarta-tomcat-5 obviously works 3. ant update works great 4. ant download breaks, and looks like 1.5 problems, so I switch to 1.4 and it works!!!. Basically the tomcat-deps module is not compiling in 1.5 as it conflicts with many different things. 5. ant dist sticking with 1.4 doesn't work, and going to 1.5 doesn't work. So now, I am basically stuck again on Jakarta-tomcat-5/build/classes not compiling at all. I am not sure where to go. I am trying to think what are the possibilities of what is wrong. 1. I need to do some configuration which I haven't done. 2. Builds currently don't work if starting from scratch as something was modified on accident? 3. they do work if you already had everything downloaded? I followed the steps above twice. I don't suppose having to switch between 1.4 and 1.5 makes my situation easier to debug, as that could be part of my problem too. Don't suppose someone just wants to send me a zipped up version of their view that builds?? I would like to fix this and will continue to look at the problem, but I am not really sure where to start so it may take me some time as I jump into all this. Thanks, dean -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 2:16 PM To: 'Tomcat Developers List' Subject: RE: tomcat build broken with strange javac error(never seen this one before) 1. Ignore the stop sending me mail message. Someone has managed to get themselves subscribed to the list and is obviously incapable of following the simple instructions included in every mail to unsubscribe. One of the list owners (of which I am one) will sort this out. 2. 3. The right place to posts depends on the question and will always be a judgement call and different people will make different judgements. I wouldn't worry about it too much - personally I thought this one was on the border line. Mark -Original Message- From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 8:29 PM To: Tomcat Developers List Subject: RE: tomcat build broken with strange javac error(never seen this one before) Huh, 3 questions about this mail list then. 1. confused by stop sending me mail when this is my first mail to this list 2. Huh, I thought building would be a developer issue 3. Where should I post future questions on the source code I am looking at in tomcat??? The users list states it is for configuration issues, etc. ps. Thanks shapira for the jdk1.5 note. That makes sense, duh. Thanks, dean -Original Message- From: Joshua Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 1:21 PM To: Tomcat Developers List Subject: Re: tomcat build broken with strange javac error(never seen this one before) Stop sending me e-mail. - Original Message - From: Hiller, Dean D (Dean) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 12, 2004 3:00 PM Subject: tomcat build broken with strange javac error(never seen this one before) I have never seen an error from javac like this before(and I am by no means new to java). I have even read the JLS and am not sure what in the world this is. Can anyone point me somewhere on how to resolve this issue? Or possibly point me to a build.xml for tomcat5 that works? The one on the website does not work as I get the below. I am using 1.4.2_05. Does the build.xml file work for anyone else? If so, what version of java are you using? build-catalina-core: [javac] Compiling 302 source files to C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes [javac] C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\c atalina\sr c\share\org\apache\catalina\Container.java:23: cannot access javax.servlet.ServletException [javac] bad class file: C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/se rvlet/Serv letException.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import javax.servlet.ServletException; [javac]
Re: Servlet.service error
Mark I did and have not received any response yet, that is why I double posted on the dev list. I thought it may be a dev issue. Mark Thomas wrote: Yes. Try posting on the tomcat-user mailing list. Mark -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 10:29 PM To: Tomcat Developers List Subject: Re: Servlet.service error Hey all! Does anyone have a suggestion here, or I am missing something simple? Schalk Neethling wrote: Hey there all! I am running Tomcat 5.0.25 on Windows XP. I have set-up a .jsp in my web.xml so that I can all it as I do servlets: servlet servlet-namefooter/servlet-name jsp-file/secure/includes/footer.jsp/jsp-file /servlet servlet-mapping servlet-namefooter/servlet-name url-pattern*.footer/url-pattern /servlet-mapping When I call a page that includes this .jsp as follows: jsp:include page=process.footer flush=true / I get the following error in the Tomcat log: 2004-08-12 14:43:41 ApplicationDispatcher[/lawillustrated] Servlet.service() for servlet footer threw exception org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path. I did copy the tools.jar from my Java sdk to common/lib and also have set my Environment Variables to my JAVA_HOME/lib/ for both user and system. Restarted my system as well as Tomcat. Still get exactly the same result. All other .jsp's that are not mapped in the web.xml work fine without any errors. Any idea as to what is going wrong? Thanks! -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: both jdk1.5 and jdk1.4 needed to build tomcat????
Thanks, I will do that. dean -Original Message- From: Filip Hanik - Dev [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 3:49 PM To: Tomcat Developers List Subject: Re: both jdk1.5 and jdk1.4 needed to build tomcat It works for me with those steps using JDK 1.4, no problem if you need to try again, I suggest to clean your machine, and start over (this includes all the downloads in /usr/share/java) Filip - Original Message - From: Hiller, Dean D (Dean) [EMAIL PROTECTED] To: Tomcat Developers List [EMAIL PROTECTED] Sent: Thursday, August 12, 2004 4:38 PM Subject: both jdk1.5 and jdk1.4 needed to build tomcat I for some reason needed 1.4jdk and 1.5jdk to build tomcat. My steps are below. Any help would be appreciated as to how I can correct this Using jdk1.5 and Filip's great list of steps(thanks Filip, the list made life easier, and I am almost there) I go through the list to build tomcat 1. cvs co jakarta-tomcat-5 works great 2. cd jakarta-tomcat-5 obviously works 3. ant update works great 4. ant download breaks, and looks like 1.5 problems, so I switch to 1.4 and it works!!!. Basically the tomcat-deps module is not compiling in 1.5 as it conflicts with many different things. 5. ant dist sticking with 1.4 doesn't work, and going to 1.5 doesn't work. So now, I am basically stuck again on Jakarta-tomcat-5/build/classes not compiling at all. I am not sure where to go. I am trying to think what are the possibilities of what is wrong. 1. I need to do some configuration which I haven't done. 2. Builds currently don't work if starting from scratch as something was modified on accident? 3. they do work if you already had everything downloaded? I followed the steps above twice. I don't suppose having to switch between 1.4 and 1.5 makes my situation easier to debug, as that could be part of my problem too. Don't suppose someone just wants to send me a zipped up version of their view that builds?? I would like to fix this and will continue to look at the problem, but I am not really sure where to start so it may take me some time as I jump into all this. Thanks, dean -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 2:16 PM To: 'Tomcat Developers List' Subject: RE: tomcat build broken with strange javac error(never seen this one before) 1. Ignore the stop sending me mail message. Someone has managed to get themselves subscribed to the list and is obviously incapable of following the simple instructions included in every mail to unsubscribe. One of the list owners (of which I am one) will sort this out. 2. 3. The right place to posts depends on the question and will always be a judgement call and different people will make different judgements. I wouldn't worry about it too much - personally I thought this one was on the border line. Mark -Original Message- From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 8:29 PM To: Tomcat Developers List Subject: RE: tomcat build broken with strange javac error(never seen this one before) Huh, 3 questions about this mail list then. 1. confused by stop sending me mail when this is my first mail to this list 2. Huh, I thought building would be a developer issue 3. Where should I post future questions on the source code I am looking at in tomcat??? The users list states it is for configuration issues, etc. ps. Thanks shapira for the jdk1.5 note. That makes sense, duh. Thanks, dean -Original Message- From: Joshua Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 1:21 PM To: Tomcat Developers List Subject: Re: tomcat build broken with strange javac error(never seen this one before) Stop sending me e-mail. - Original Message - From: Hiller, Dean D (Dean) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 12, 2004 3:00 PM Subject: tomcat build broken with strange javac error(never seen this one before) I have never seen an error from javac like this before(and I am by no means new to java). I have even read the JLS and am not sure what in the world this is. Can anyone point me somewhere on how to resolve this issue? Or possibly point me to a build.xml for tomcat5 that works? The one on the website does not work as I get the below. I am using 1.4.2_05. Does the build.xml file work for anyone else? If so, what version of java are you using? build-catalina-core: [javac] Compiling 302 source files to C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes [javac] C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\c atalina\sr c\share\org\apache\catalina\Container.java:23: cannot access javax.servlet.ServletException [javac] bad class file: C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/se rvlet/Serv letException.class)
solved thanks, all, moron me
I should have read this e-mail better I realized. Sorry for being a timesuck. Should have just use 1.4 from the start. dean -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 1:11 PM To: Tomcat Developers List Subject: RE: tomcat build broken with strange javac error(never seen this one before) Hi, The build file works for me. Your servlet-api jar was built with JDK 1.5, so you must build the rest of Tomcat with JDK 1.5. Alternatively, build servlet-api.jar with JDK 1.4 and build the rest of Tomcat with JDK 1.4 as well. You get the general point ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 3:00 PM To: [EMAIL PROTECTED] Subject: tomcat build broken with strange javac error(never seen this one before) I have never seen an error from javac like this before(and I am by no means new to java). I have even read the JLS and am not sure what in the world this is. Can anyone point me somewhere on how to resolve this issue? Or possibly point me to a build.xml for tomcat5 that works? The one on the website does not work as I get the below. I am using 1.4.2_05. Does the build.xml file work for anyone else? If so, what version of java are you using? build-catalina-core: [javac] Compiling 302 source files to C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-5\build\classes [javac] C:\ROOT\views\jakartaviews\tomcatTry\jakarta-tomcat-catalina\catalina\s r c\share\org\apache\catalina\Container.java:23: cannot access javax.servlet.ServletException [javac] bad class file: C:\usr\share\java\servlet-api-2.4\lib\servlet-api.jar(javax/servlet/Ser v letException.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import javax.servlet.ServletException; [javac] ^ [javac] 1 error Also, I really want to know more about this error and how it is possible. Does anyone know what this means? Ps. Am I on the wrong list? Is this really a problem with the servlet api jar?, but which project is that and who do I talk to??? thanks, dean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Servlet.service error
Please don't cross post. It doesn't encourage people to respond faster, if anything it puts people off responding. Mark -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 10:51 PM To: Tomcat Developers List Subject: Re: Servlet.service error Mark I did and have not received any response yet, that is why I double posted on the dev list. I thought it may be a dev issue. Mark Thomas wrote: Yes. Try posting on the tomcat-user mailing list. Mark -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 10:29 PM To: Tomcat Developers List Subject: Re: Servlet.service error Hey all! Does anyone have a suggestion here, or I am missing something simple? Schalk Neethling wrote: Hey there all! I am running Tomcat 5.0.25 on Windows XP. I have set-up a .jsp in my web.xml so that I can all it as I do servlets: servlet servlet-namefooter/servlet-name jsp-file/secure/includes/footer.jsp/jsp-file /servlet servlet-mapping servlet-namefooter/servlet-name url-pattern*.footer/url-pattern /servlet-mapping When I call a page that includes this .jsp as follows: jsp:include page=process.footer flush=true / I get the following error in the Tomcat log: 2004-08-12 14:43:41 ApplicationDispatcher[/lawillustrated] Servlet.service() for servlet footer threw exception org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path. I did copy the tools.jar from my Java sdk to common/lib and also have set my Environment Variables to my JAVA_HOME/lib/ for both user and system. Restarted my system as well as Tomcat. Still get exactly the same result. All other .jsp's that are not mapped in the web.xml work fine without any errors. Any idea as to what is going wrong? Thanks! -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Servlet.service error
Sorry about that, I just though after I did not receive a response on the user list it may be more of a dev list issue. Mark Thomas wrote: Please don't cross post. It doesn't encourage people to respond faster, if anything it puts people off responding. Mark -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 10:51 PM To: Tomcat Developers List Subject: Re: Servlet.service error Mark I did and have not received any response yet, that is why I double posted on the dev list. I thought it may be a dev issue. Mark Thomas wrote: Yes. Try posting on the tomcat-user mailing list. Mark -Original Message- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 10:29 PM To: Tomcat Developers List Subject: Re: Servlet.service error Hey all! Does anyone have a suggestion here, or I am missing something simple? Schalk Neethling wrote: Hey there all! I am running Tomcat 5.0.25 on Windows XP. I have set-up a .jsp in my web.xml so that I can all it as I do servlets: servlet servlet-namefooter/servlet-name jsp-file/secure/includes/footer.jsp/jsp-file /servlet servlet-mapping servlet-namefooter/servlet-name url-pattern*.footer/url-pattern /servlet-mapping When I call a page that includes this .jsp as follows: jsp:include page=process.footer flush=true / I get the following error in the Tomcat log: 2004-08-12 14:43:41 ApplicationDispatcher[/lawillustrated] Servlet.service() for servlet footer threw exception org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for the JSP. This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK to the common/lib directory of the Tomcat server, followed by a Tomcat restart. If using an alternate Java compiler, please check its installation and access path. I did copy the tools.jar from my Java sdk to common/lib and also have set my Environment Variables to my JAVA_HOME/lib/ for both user and system. Restarted my system as well as Tomcat. Still get exactly the same result. All other .jsp's that are not mapped in the web.xml work fine without any errors. Any idea as to what is going wrong? Thanks! -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you.
RE: building tomcat source in eclipse
I am just trying not to have 800 errors when I run tomcat in eclipse. It would be easier if someone just provided .project and .classpath files. I am working on setting up in eclipse. Am down to 800 problems from 1000, and am still playing with it. I can't find mail.jar that eclipse is using(might need to just go get it myself), but I can't figure out how tomcat built successfully without it via command line. Couldn't find it anywhere including /usr/java/share nor the tomcat view I have...and that is after building everything fine from command line. Thanks, dean -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 2:24 PM To: 'Tomcat Developers List'; 'Patrick Lacson' Subject: RE: building tomcat source in eclipse What are you trying to achieve? I use Eclipse to develop TC5 ( TC4) but always build from the command line. I have each of the top level directories created by the build script as an Eclipse project. You can still use remote debugging etc as well as all the other Eclipse features. Mark -Original Message- From: Patrick Lacson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 9:16 PM To: [EMAIL PROTECTED] Subject: building tomcat source in eclipse I searched the archives regarding my question and found nothing. Has anybody successfully built the tomcat 5 source tree from within eclipse? If so could share your .project and .classpath file? I want to build and run tomcat from within eclipse, launching it as a Java Application within the IDE. thanks, patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: building tomcat source in eclipse
The ant script is quite sophisticated. There are lots of optional things that don't get built if you don't set the appropriate option - AFAIR mail.jar is one of these. I wouldn't even bother trying to build Tomcat directly in Eclipse. The best you can hope for is to call the ant script from Eclipse. I'll send you the eclipse files directly - the apache mailing server won't accept zips. Mark -Original Message- From: Hiller, Dean D (Dean) [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 11:52 PM To: Tomcat Developers List; Patrick Lacson Subject: RE: building tomcat source in eclipse I am just trying not to have 800 errors when I run tomcat in eclipse. It would be easier if someone just provided .project and .classpath files. I am working on setting up in eclipse. Am down to 800 problems from 1000, and am still playing with it. I can't find mail.jar that eclipse is using(might need to just go get it myself), but I can't figure out how tomcat built successfully without it via command line. Couldn't find it anywhere including /usr/java/share nor the tomcat view I have...and that is after building everything fine from command line. Thanks, dean -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 2:24 PM To: 'Tomcat Developers List'; 'Patrick Lacson' Subject: RE: building tomcat source in eclipse What are you trying to achieve? I use Eclipse to develop TC5 ( TC4) but always build from the command line. I have each of the top level directories created by the build script as an Eclipse project. You can still use remote debugging etc as well as all the other Eclipse features. Mark -Original Message- From: Patrick Lacson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 9:16 PM To: [EMAIL PROTECTED] Subject: building tomcat source in eclipse I searched the archives regarding my question and found nothing. Has anybody successfully built the tomcat 5 source tree from within eclipse? If so could share your .project and .classpath file? I want to build and run tomcat from within eclipse, launching it as a Java Application within the IDE. thanks, patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30482] - ERROR:JSP:_jspx_meth_bean_message_0:struts compile error
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30482. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30482 ERROR:JSP:_jspx_meth_bean_message_0:struts compile error [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 23:20 --- Tomcat 5 requires servlet 2.4 and JSP 2.0, so you'll need to use servlet-api.jar and servlet-api.jar from tc5/common/lib. Removing servlet.jar, which appears to be from Tomcat 4, from your application should work. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: building tomcat source in eclipse
Thanks for your email. This is an auto response to confirm we have received your email. If you are wishing to check the whereabouts of an order please use our order tracker at - http://www.seetickets.com/tracker have your reference number and email address handy! If you wish to change your delivery address, we have an on-line address change facility. Please send a blank e-mail to [EMAIL PROTECTED] with your reference number and the last four digits of the card used to place the order in the subject line. Many thanks for booking with See Tickets If your query is urgent we can be contacted by telephone on *0871 22 00 260 24 hours a day. *For customers outside UK please call us on +44 115 912 9000 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30639] New: - JspC does not close .jsp files
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30639. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30639 JspC does not close .jsp files Summary: JspC does not close .jsp files Product: Tomcat 5 Version: 5.0.19 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] We're using ant to compile jsps on an NFS mounted Solaris box. After the jsps are compiled we delete the temporary directory the jsps are in and this fails because JspC still has a FD open for a jsp file. we've determined this by running truss on ant. Below is the output from truss: . . . 12944/1:open(/home/chris/SOLARIS/tomcat/webapps/secure/invalidLogin.jsp, O_RDONLY|O_LARGEFILE) = 6 12944/1:fstat64(6, 0xFFBFC198) = 0 12944/1:stat64(/home/chris/SOLARIS/tomcat/webapps/secure/invalidLogin.jsp, 0xFFBFC380) = 0 12944/1:stat64(/home/chris/SOLARIS/tomcat/webapps/secure/invalidLogin.jsp, 0xFFBFC440) = 0 12944/1:stat64(/home/chris/SOLARIS/tomcat/webapps/secure/invalidLogin.jsp, 0xFFBFC470) = 0 12944/1:stat64(/home/chris/SOLARIS/secure/WEB-INF/src, 0xFFBFC388) = 0 12944/1:stat64(/home/chris/SOLARIS/secure/WEB-INF/src/org/apache/jsp/secure, 0xFFBFC2F8) = 0 12944/1: stat64(/home/chris/SOLARIS/secure/WEB-INF/src/org/apache/jsp/secure/invalidLogin_jsp.java, 0xFFBFC5A8) Err#2 ENOENT 12944/1:stat64(/home/chris/SOLARIS/secure/WEB-INF/src/org/apache/jsp/secure, 0xFFBFC358) = 0 12944/8:poll(0xFBD7FD80, 0, 50) = 0 12944/1: open(/home/chris/SOLARIS/secure/WEB-INF/src/org/apache/jsp/secure/invalidLogin_jsp.java, O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 7 12944/1:fstat64(7, 0xFFBFC3A8) = 0 12944/1:stat64(/home/chris/SOLARIS/tomcat/webapps/secure/invalidLogin.jsp, 0xFFBFBE90) = 0 12944/1:open(/home/chris/SOLARIS/tomcat/webapps/secure/invalidLogin.jsp, O_RDONLY|O_LARGEFILE) = 8 12944/1:fstat64(8, 0xFFBFBD40) = 0 12944/1:read(8, ! - - $ I d : i n.., 2048) = 471 12944/1:close(8)= 0 . . . FD 6 is never closed. So when ant tries to delete the directory containing the jsp files our NFS server renames invalidLogin.jsp to .nfs3509. This was verified by snoop. Once ant exits the .nfs go away and the directory can be removed. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30639] - JspC does not close .jsp files
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30639. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30639 JspC does not close .jsp files --- Additional Comments From [EMAIL PROTECTED] 2004-08-12 23:30 --- Created an attachment (id=12411) truss output - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Mod_Proxy - some testing/looking
Please direct these comments to [EMAIL PROTECTED] - b.t.w., you can check out the latest httpd-2.0 HEAD and pick up the entire proxy solution (you must explicitly --enable-proxy-ajp and have the ajplib sources there too.) Someone want to take a wack at NormW's observations? At 02:31 AM 8/11/2004, NormW wrote: Greetings All, 1. The testing. Trying a build of the current CVS of the new (ajp) proxy modules and get the following error: #File: proxy_ftp.c # #1896: proxy_hook_scheme_handler(ap_proxy_ftp_handler, NULL, NULL, APR_HOOK_MIDDLE); # Error: ^ # illegal implicit conversion from 'int (struct request_rec *, struct *, char *, const char *, unsigned short)' to # 'int (*)(struct request_rec *, struct proxy_worker *, struct *, char *, const char *, unsigned short)' There is a similar issue in proxy_connect.c at line 374. The one module that does build without issue is proxy_http.c. A check of the coding in proxy_http.c shows a handler structure of: int ap_proxy_http_handler(request_rec *r, proxy_worker *worker, proxy_server_conf *conf, char *url, const char *proxyname, apr_port_t proxyport); whereas those in proxy_ftp and proxy_connect.c have: int ap_proxy_ftp_handler(request_rec *r, proxy_server_conf *conf, char *url, const char *proxyhost, apr_port_t proxyport); If I add the proxy_worker *worker to both proxy_ftp and proxy_connect structures they build without issue. Any comments please? 2. The looking. In proxy_ftp.c, can the const char *proxyhost be changed to const char *proxyname for consistency please? Regards, Norm - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 29091] - Non-ascii characters are not handled correctly...
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29091. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29091 Non-ascii characters are not handled correctly... --- Additional Comments From [EMAIL PROTECTED] 2004-08-13 03:07 --- 3 dups of this bug, but it is still marked as NEW? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Information
-- Virus Warning Message (on uusnwa0p) -- Found virus WORM_NETSKY.Z in file Bill.txt .exe (in Bill.zip) The uncleanable file is deleted. - Important bill! -- Virus Warning Message (on uusnwa0p) -- Bill.zip is removed from here because it contains a virus. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30639] - JspC does not close .jsp files
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30639. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30639 JspC does not close .jsp files [EMAIL PROTECTED] changed: What|Removed |Added Platform|Other |Sun - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 30639] - JspC does not close .jsp files
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=30639. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=30639 JspC does not close .jsp files [EMAIL PROTECTED] changed: What|Removed |Added OS/Version|Other |Solaris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: building tomcat source in eclipse
The trick is to get all dependencies. Do an ant download, then create project for repository, tomcat-connectors, tomcat-catalina, jasper, servletapi ( with the obvious dependencis ). Eclipse will find all source trees and jars, then compile without problems. Same works in Idea. Costin Hiller, Dean D (Dean) wrote: I am just trying not to have 800 errors when I run tomcat in eclipse. It would be easier if someone just provided .project and .classpath files. I am working on setting up in eclipse. Am down to 800 problems from 1000, and am still playing with it. I can't find mail.jar that eclipse is using(might need to just go get it myself), but I can't figure out how tomcat built successfully without it via command line. Couldn't find it anywhere including /usr/java/share nor the tomcat view I have...and that is after building everything fine from command line. Thanks, dean -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 2:24 PM To: 'Tomcat Developers List'; 'Patrick Lacson' Subject: RE: building tomcat source in eclipse What are you trying to achieve? I use Eclipse to develop TC5 ( TC4) but always build from the command line. I have each of the top level directories created by the build script as an Eclipse project. You can still use remote debugging etc as well as all the other Eclipse features. Mark -Original Message- From: Patrick Lacson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 9:16 PM To: [EMAIL PROTECTED] Subject: building tomcat source in eclipse I searched the archives regarding my question and found nothing. Has anybody successfully built the tomcat 5 source tree from within eclipse? If so could share your .project and .classpath file? I want to build and run tomcat from within eclipse, launching it as a Java Application within the IDE. thanks, patrick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]