Re: cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/util C2B.java
costin 02/01/25 23:16:46 Added: jk/java/org/apache/jk/util C2B.java Removed: jk/java/org/apache/jk/common C2B.java Log: Moved C2B to an util package. It should go with the main util in commons, having the same package name as in 3.3 creates problems. I think it should go in j-t-c/util/buf too. BTW, try doing an ant clean; ant next time before committing ;-) Remy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[GUMP] Build Failure - Tomcat 4.0
This email is autogenerated from the output from: http://jakarta.apache.org/builds/gump/2002-01-26/jakarta-tomcat-4.0.html Buildfile: build.xml deploy-prepare: [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/build deploy-static: deploy: [echo] Target: Catalina - Deploy ... flags: flags.display: [echo] --- Build environment for Catalina --- [echo] If ${property_name} is displayed, then the property is not set) [echo] --- Build options --- [echo] full.dist=${full.dist} [echo] build.sysclasspath=only [echo] compile.debug=${compile.debug} [echo] compile.deprecation=${compile.deprecation} [echo] compile.optimize=${compile.optimize} [echo] --- Ant Flags --- [echo] style task available (required)=true [echo] --- JDK --- [echo] jdk.1.2.present=true [echo] jdk.1.3.present=true [echo] jdk.1.4.present=${jdk.1.4.present} [echo] --- Source Dependencies --- [echo] jtc.home.present=true [echo] --- Required Libraries --- [echo] beanutils.present=true [echo] collections.present=true [echo] digester.present=true [echo] jaxp.present=true [echo] jndi.present=true [echo] logging.present=true [echo] regexp.present=true [echo] servlet.present=true [echo] --- Optional Libraries --- [echo] dbcp.present=true [echo] jaas.present=true [echo] javamail.present=true [echo] jmx.present=true [echo] jsse.present=true [echo] jta.present=true [echo] junit.present=${junit.present} [echo] ldap.present=true [echo] modeler.present=true [echo] pool.present=true [echo] tyrex.present=${tyrex.present} [echo] --- Required JARs --- [echo] jndi.jar.present(except JDK 1.3+)=true [echo] regexp.jar.present=true [echo] servlet.jar.present=true [echo] xerces.jar.present(except JDK 1.4+)=true [echo] --- Optional JARs --- [echo] dbcp.jar.present=true [echo] jaas.jar.present=true [echo] javamail.jar.present=true [echo] jdbc20ext.jar.present=true [echo] jmx.jar.present=${jmx.jar.present} [echo] jta.jar.present=true [echo] junit.jar.present=${junit.jar.present} [echo] ldap.jar.present=true [echo] modeler.jar.present=true [echo] pool.jar.present=true [echo] tyrex.jar.present=${tyrex.jar.present} [echo] --- Conditional compilation flags --- [echo] compile.dbcp=true [echo] compile.jaas=true [echo] compile.javamail=true [echo] compile.jmx=true [echo] compile.jndi=true [echo] compile.jsse=true [echo] compile.jta=true [echo] compile.junit=${compile.junit} [echo] compile.ldap=true [echo] compile.ssi=true [echo] compile.tyrex=${compile.tyrex} [echo] --- Distribution flags --- [echo] copy.dbcp.jar=true [echo] copy.jaas.jar=true [echo] copy.jdbc20ext.jar=true [echo] copy.javamail.jar=true [echo] copy.jmx.jar=${copy.jmx.jar} [echo] copy.jndi.jar=${copy.jndi.jar} [echo] copy.jta.jar=true [echo] copy.ldap.jar=${copy.ldap.jar} [echo] copy.logging.jar=true [echo] copy.modeler.jar=true [echo] copy.pool.jar=true [echo] copy.tyrex.jar=${copy.tyrex.jar} [echo] copy.xerces.jar=true build-prepare: [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/bin [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/common/classes [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/common/lib [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/conf [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/logs [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/server/classes [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/server/lib [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/shared/classes [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/shared/lib [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/work [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/temp copy-activation.jar: [copy] Copying 1 file to /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/common/lib [copy] Copying 1 file to /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/common/lib copy-dbcp.jar: [copy] Copying 1 file to /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/common/lib copy-jaas.jar: [copy] Copying 1 file to /home/rubys/jakarta/jakarta-tomcat-4.0/catalina/build/server/lib copy-jdbc20ext.jar: [copy] Copying 1 file to
RE: [VOTE] New Committer: Manveen Kaur
+1 Welcome on board. - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 -Original Message- From: Patrick Luby [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 24, 2002 6:41 PM To: [EMAIL PROTECTED] Subject: [VOTE] New Committer: Manveen Kaur All, I would like to propose Manveen Kaur as a committer. She has provided a significant number of patches for the adminstration webapp and I think her contributions will be a big benefit to Tomcat. Please vote, Thanks, Patrick -- _ Patrick Luby Email: [EMAIL PROTECTED] Sun Microsystems Phone: 408-276-7471 901 San Antonio Road, USCA14-303 Palo Alto, CA 94303-4900 _ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/common HandlerRequest.java
seguin 02/01/26 06:14:35 Modified:jk/java/org/apache/jk/common HandlerRequest.java Log: port fix for bug 5861. Revision ChangesPath 1.3 +9 -1 jakarta-tomcat-connectors/jk/java/org/apache/jk/common/HandlerRequest.java Index: HandlerRequest.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/common/HandlerRequest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- HandlerRequest.java 26 Jan 2002 07:25:53 - 1.2 +++ HandlerRequest.java 26 Jan 2002 14:14:35 - 1.3 @@ -430,6 +430,13 @@ msg.getInt(); // To advance the read position hName = headerTransArray[hId - 1]; } else { +// reset hId -- if the header currently being read +// happens to be 7 or 8 bytes long, the code below +// will think it's the content-type header or the +// content-length header - SC_REQ_CONTENT_TYPE=7, +// SC_REQ_CONTENT_LENGTH=8 - leading to unexpected +// behaviour. see bug 5861 for more information. +hId = -1; msg.getBytes( tmpMB ); hName=tmpMB.toString(); } @@ -437,11 +444,12 @@ vMB=headers.addValue( hName ); msg.getBytes(vMB); -// set content length, if this is it... if (hId == SC_REQ_CONTENT_LENGTH) { +// just read the content-length header, so set it int contentLength = (vMB == null) ? -1 : vMB.getInt(); req.setContentLength(contentLength); } else if (hId == SC_REQ_CONTENT_TYPE) { +// just read the content-type header, so set it ByteChunk bchunk = vMB.getByteChunk(); req.contentType().setBytes(bchunk.getBytes(), bchunk.getOffset(), -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/catalina/jk JkRequest40.java JkResponse40.java JkServlet40.java Worker40.java
costin 02/01/26 07:45:29 Removed: jk/java/org/apache/catalina/jk JkRequest40.java JkResponse40.java JkServlet40.java Worker40.java Log: Removed the old files. ( it was an experimental workaround, but it didn't worked ) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 6048] New: - JDBC pool unavailable while using WARP connector
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6048. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6048 JDBC pool unavailable while using WARP connector Summary: JDBC pool unavailable while using WARP connector Product: Tomcat 4 Version: 4.0.1 Final Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: Normal Priority: Other Component: WARP Connector AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I've just encountered a problem with usage of JDBC pool defined in both server.xml and WEB-INF/web.xml while trying to access the application via WARP. When I test it without WARP it works great but after deployment in production env. it cannot get DataSource object from context. I've tried version 1.0 and 1.0.1 of WARP with the same effect. Now I have changed the code back to use direct JDBC connection so there is no URL to show the error message but it wasn't really helpfull. My application is deployed on one of the virtual hosts and thus the context suffix in URL changes (actually it disappears - the app is available from / of the virtual host). -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk build.xml
costin 02/01/26 08:02:33 Modified:jk build.xml Added: jk/conf jk2.manifest Log: I added a better test for 3.3 - I have a feeling the Gump failure was due to tomcat3.2 beeing found and treated as 3.3. ( it seems gump found a tomcat in ../../jakarta-tomcat ) Revision ChangesPath 1.1 jakarta-tomcat-connectors/jk/conf/jk2.manifest Index: jk2.manifest === Main-Class: org.apache.jk.server.JkMain Class-Path: tomcat-util.jar workers.jar 1.26 +5 -4 jakarta-tomcat-connectors/jk/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/build.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- build.xml 25 Jan 2002 17:30:22 - 1.25 +++ build.xml 26 Jan 2002 16:02:32 - 1.26 @@ -18,7 +18,7 @@ !-- default locations -- property name=tomcat33.home - location=../../jakarta-tomcat/build/tomcat / + location=../../jakarta-tomcat/build/tomcat/lib/common/tomcat_core.jar / property name=tomcat40.home location=../../jakarta-tomcat-4.0/build / property name=tomcat41.home @@ -90,8 +90,8 @@ pathelement location=${tomcat33.home}/lib/common/core_util.jar/ pathelement location=${tomcat33.home}/lib/container/tomcat_modules.jar/ -pathelement - location=${tomcat33.home}/lib/container/tomcat_util.jar/ +!-- pathelement + location=${tomcat33.home}/lib/container/tomcat_util.jar/ -- /path /target @@ -130,7 +130,8 @@ /jar jar jarfile=${jk.build}/WEB-INF/lib/tomcat-jk2.jar - basedir=${jk.build}/WEB-INF/classes + basedir=${jk.build}/WEB-INF/classes + manifest=conf/jk2.manifest include name=org/apache/jk/** / exclude name=org/apache/jk/ant/** / /jar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 6048] - JDBC pool unavailable while using WARP connector
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6048. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6048 JDBC pool unavailable while using WARP connector --- Additional Comments From [EMAIL PROTECTED] 2002-01-26 17:06 --- This may be related to a quirk that I still don't understand about mod_webapp. mod_webapp appends a trailing slash to all web application names, unless they have one in existence. This might be the cause of your problem. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk build.xml
costin 02/01/26 09:19:49 Modified:jk build.xml Log: Add back tomcat-utils.jar in classpath, this should fix gump's problem. The problem was that gump detected 3.3, but 3.3 wrappers can't be built without tomcat-util.jar. - if tomcat3.3 is present, then the file will exist, and it is required to build the 3.3 stuff - if 3.3 is not detected, the file will not be found - and jk will be built without it ( using only utils, and thus checking that we don't have stuff like the recent o.a.t.u.net ) Revision ChangesPath 1.27 +13 -6 jakarta-tomcat-connectors/jk/build.xml Index: build.xml === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/build.xml,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- build.xml 26 Jan 2002 16:02:32 - 1.26 +++ build.xml 26 Jan 2002 17:19:48 - 1.27 @@ -89,9 +89,13 @@ pathelement location=${tomcat33.home}/lib/common/tomcat_core.jar/ pathelement location=${tomcat33.home}/lib/common/core_util.jar/ pathelement - location=${tomcat33.home}/lib/container/tomcat_modules.jar/ -!-- pathelement - location=${tomcat33.home}/lib/container/tomcat_util.jar/ -- + location=${tomcat33.home}/lib/container/tomcat_modules.jar/ +!-- this is needed - otherwise tomcat33 connector will not compile. + Just change tomcat33.home in build.properties to point + to nowhere, and tomcat_util will no longer be visible, nor + 3.3 classes. -- +pathelement + location=${tomcat33.home}/lib/container/tomcat_util.jar/ /path /target @@ -110,9 +114,12 @@ optimize=${optimize} verbose=off exclude name=org/apache/ajp/tomcat4/** unless=tomcat40.detect/ -exclude name=org/apache/ajp/tomcat33/** unless=tomcat33.detect/ -exclude name=org/apache/jk/server/tomcat33/** unless=tomcat33.detect/ -exclude name=org/apache/jk/server/tomcat40/** unless=tomcat40.detect/ +exclude name=org/apache/ajp/tomcat33/** + unless=tomcat33.detect/ +exclude name=org/apache/jk/server/tomcat33/** + unless=tomcat33.detect/ +exclude name=org/apache/jk/server/tomcat40/** + unless=tomcat40.detect/ exclude name=org/apache/catalina/** unless=tomcat40.detect/ classpath refid=build-main.classpath/ /javac -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/server JniMain.java
costin 02/01/26 09:21:41 Added: jk/java/org/apache/jk/server JniMain.java Log: This will be called by worker_jni - it should start jk and tomcat ( like the 3.3 jni connector ) Revision ChangesPath 1.1 jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JniMain.java Index: JniMain.java === /* * * * The Apache Software License, Version 1.1 * * Copyright (c) 1999 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright *notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in *the documentation and/or other materials provided with the *distribution. * * 3. The end-user documentation included with the redistribution, if *any, must include the following acknowlegement: * This product includes software developed by the *Apache Software Foundation (http://www.apache.org/). *Alternately, this acknowlegement may appear in the software itself, *if and wherever such third-party acknowlegements normally appear. * * 4. The names The Jakarta Project, Tomcat, and Apache Software *Foundation must not be used to endorse or promote products derived *from this software without prior written permission. For written *permission, please contact [EMAIL PROTECTED] * * 5. Products derived from this software may not be called Apache *nor may Apache appear in their names without prior written *permission of the Apache Group. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * http://www.apache.org/. * * [Additional notices, if required by prior licensing conditions] * */ package org.apache.jk.server; import java.io.*; import java.net.*; import java.util.*; import org.apache.tomcat.util.buf.*; import org.apache.tomcat.util.http.*; import org.apache.tomcat.util.threads.*; import org.apache.jk.core.*; import org.apache.jk.common.*; import org.apache.jk.apr.*; /** * Start jk inprocess. This will do the initial setup and * load tomcat and everything else. It replaces the 1/2 of the old * jni connector in 3.3 ( the other half is in channelJni ). * * @author Costin Manolache */ public class JniMain { static WorkerEnv wEnv=null; static int epDataNote=-1; static class EpData { public long env; public long ep; public long r; } public static int startup(String cmdLine, String stdout, String stderr) { System.out.println(In startup); System.err.println(In startup err); if( wEnv!=null ) { d(Second call, ignored ); return 1; } try { if(null != stdout) { PrintStream out=new PrintStream(new FileOutputStream(stdout)); System.setOut(out); if( stderr==null ) System.setErr(out); } if(null != stderr) { PrintStream err=new PrintStream(new FileOutputStream(stderr)); System.setErr(err); if( stdout==null ) System.setOut(err); } if( stdout==null stderr==null ) { // no problem, use stderr - it'll
cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/server JkMain.java
costin 02/01/26 09:23:19 Modified:jk/java/org/apache/jk/server JkMain.java Log: Get a worker.properties-like functionality for JkMain. It should be able to read the same file as mod_jk, so we have to configure the port in a single file instead of 2. It can now add dynamically workers and channels, no need to hardcode it. Revision ChangesPath 1.7 +97 -32 jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkMain.java Index: JkMain.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkMain.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- JkMain.java 21 Jan 2002 20:11:52 - 1.6 +++ JkMain.java 26 Jan 2002 17:23:19 - 1.7 @@ -68,6 +68,7 @@ import org.apache.tomcat.util.buf.*; import org.apache.tomcat.util.http.*; +import org.apache.tomcat.util.IntrospectionUtils; /** Main class used for testing jk core and common code and tunning. * @@ -78,20 +79,17 @@ { WorkerEnv wEnv=new WorkerEnv(); String propFile; -Properties props; +Properties props=new Properties(); Worker defaultWorker; String jkHome; -Class channelclass; - public JkMain() { } public void setPropFile( String p ) { propFile=p; -props=new Properties(); try { props.load( new FileInputStream(propFile) ); } catch(IOException ex ){ @@ -99,8 +97,24 @@ } } -public void setProperties( Properties p ) { -props=p; +public void setProperty( String n, String v ) { +props.put( n, v ); +} + +/** + * Set the codechannelClassName/code that will used to connect to + * httpd. + */ +public void setChannelClassName(String name) { +props.put( channel.default.className,name); +} + +/** + * Set the codechannelClassName/code that will used to connect to + * httpd. + */ +public void setWorkerClassName(String name) { +props.put( worker.default.className,name); } public void setDefaultWorker( Worker w ) { @@ -111,47 +125,98 @@ jkHome=s; } -public void setChannelClass( Class c ) { -channelclass = c; -} - -public void start() throws IOException { -Channel csocket=null; +private Object newInstance( String type, String name, String def ) +throws IOException +{ try { -csocket=(Channel)channelclass.newInstance(); +String classN=props.getProperty( type + . + name + .className, + def ); +Class channelclass = Class.forName(classN); +return channelclass.newInstance(); } catch (Exception ex) { ex.printStackTrace(); throw new IOException(Cannot create channel class); } +} + +public void start() throws IOException +{ +String workers=props.getProperty( worker.list, default ); +Vector workerNamesV= split( workers, ,); -// Set file. -if( jkHome==null ) -csocket.setFile( /tmp/tomcatUnixSocket ); -else -csocket.setFile( jkHome + /WEB-INF/tomcatUnixSocket ); -csocket.setJkHome( jkHome ); - -// Set port number. -csocket.setPort( 8009 ); +for( int i=0; iworkerNamesV.size(); i++ ) { +String name= (String)workerNamesV.elementAt( i ); +Worker w=(Worker)newInstance( worker, name, + org.apache.jk.common.WorkerDummy); + +processProperties( w, worker.+ name + . ); -wEnv.addChannel( csocket ); +wEnv.addWorker( name, w ); +} + +defaultWorker = wEnv.getWorker( default ); -if( defaultWorker == null ) -defaultWorker=new WorkerDummy(); +// XXX alternatives, setters, etc +String channels=props.getProperty( channel.list, default ); +Vector channelNamesV= split( channels, ,); + +for( int i=0; ichannelNamesV.size(); i++ ) { +String name= (String)channelNamesV.elementAt( i ); +Channel ch=(Channel)newInstance( channel, name, + org.apache.jk.common.ChannelSocket); +processProperties( ch, channel.+ name + . ); + +if( jkHome != null ) +this.setProperty( ch, jkHome, jkHome ); + +wEnv.addChannel( name, ch ); +ch.setWorker( defaultWorker ); +} + +// channel and
cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat40 JkConnector.java JkRequest40.java JkResponse40.java
costin 02/01/26 09:25:21 Modified:jk/java/org/apache/jk/server JkServlet.java jk/java/org/apache/jk/server/tomcat33 JkRequest33.java JkResponse33.java Worker33.java jk/java/org/apache/jk/server/tomcat40 JkConnector.java JkRequest40.java JkResponse40.java Log: Various fixes. ( I don't know what happened with the commits from yesterday, I did this commit before going to sleep... ) Revision ChangesPath 1.5 +6 -8 jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkServlet.java Index: JkServlet.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkServlet.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- JkServlet.java21 Jan 2002 20:11:52 - 1.4 +++ JkServlet.java26 Jan 2002 17:25:20 - 1.5 @@ -91,23 +91,21 @@ { } -protected Properties servletConfig2properties(ServletConfig conf ) { -Properties props=new Properties(); +protected void servletConfig2properties(JkMain jk, ServletConfig conf ) +{ if( conf==null ) { -d(No config ); -return props; +d(No servlet config ); +return; } Enumeration paramNE=conf.getInitParameterNames(); while( paramNE.hasMoreElements() ){ String s=(String)paramNE.nextElement(); String v=conf.getInitParameter(s); -props.put( s, v ); +jk.setProperty( s, v ); } -return props; } - public void init(ServletConfig conf) throws ServletException { try { super.init(conf); @@ -177,7 +175,7 @@ protected void initJkMain(ServletConfig cfg, Worker defaultWorker) { jkMain=new JkMain(); -jkMain.setProperties( servletConfig2properties( cfg )); +servletConfig2properties( jkMain, cfg ); jkMain.setDefaultWorker( defaultWorker ); String jkHome=cfg.getServletContext().getRealPath(/); 1.2 +1 -1 jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat33/JkRequest33.java Index: JkRequest33.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat33/JkRequest33.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JkRequest33.java 6 Jan 2002 08:52:38 - 1.1 +++ JkRequest33.java 26 Jan 2002 17:25:20 - 1.2 @@ -111,7 +111,7 @@ this.ep=ep; } -// Wrappers for changed method names, and to use the buffers +// Wrappers for changed method names public int getServerPort() { return ajpReq.getServerPort(); 1.2 +4 -3 jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat33/JkResponse33.java Index: JkResponse33.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat33/JkResponse33.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JkResponse33.java 6 Jan 2002 08:52:38 - 1.1 +++ JkResponse33.java 26 Jan 2002 17:25:20 - 1.2 @@ -66,6 +66,7 @@ import org.apache.jk.*; import org.apache.jk.core.*; import org.apache.jk.common.*; +import org.apache.jk.util.*; import org.apache.tomcat.modules.server.PoolTcpConnector; import org.apache.tomcat.core.*; @@ -145,7 +146,7 @@ c2b.convert( hV ); msg.appendBytes( hV ); } -msg.send( ch, ep ); +ch.send( msg, ep ); if( dL 0 ) d(Sending head); } @@ -161,7 +162,7 @@ msg.appendByte( HandlerRequest.JK_AJP13_END_RESPONSE ); msg.appendInt( 1 ); -msg.send(ch, ep ); +ch.send(msg, ep ); if( dL 0 ) d( sending end message ); } } @@ -173,7 +174,7 @@ msg.reset(); msg.appendByte( HandlerRequest.JK_AJP13_SEND_BODY_CHUNK); msg.appendBytes( b, off, len ); -msg.send( ch, ep ); +ch.send( msg, ep ); if( dL 0 ) d( sending block + len ); } 1.2 +1 -1 jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat33/Worker33.java Index: Worker33.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat33/Worker33.java,v retrieving revision 1.1 retrieving revision 1.2 diff
cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat40 JkConnector.java
remm02/01/26 09:29:13 Modified:jk/java/org/apache/jk/server/tomcat40 JkConnector.java Log: - Fix the last build problem. Revision ChangesPath 1.4 +0 -2 jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat40/JkConnector.java Index: JkConnector.java === RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/tomcat40/JkConnector.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- JkConnector.java 26 Jan 2002 17:25:21 - 1.3 +++ JkConnector.java 26 Jan 2002 17:29:13 - 1.4 @@ -72,8 +72,6 @@ import org.apache.jk.server.*; -import org.apache.catalina.jk.*; - /** * Implementation of an Jk connector. * -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 6049] New: - jsp-version should be 1.2
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6049. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6049 jsp-version should be 1.2 Summary: jsp-version should be 1.2 Product: Tomcat 4 Version: 4.0.1 Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In the tld file, the value of jsp-version should be checked to be 1.2, according to the spec. This is currently not done. JFH -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Cocoon 2 Dumps Tomcat 4.1 on Apache1.3.22 SSL
Resubmitting since I can not solve this issue on my own. Please find the space dump in the attached file. I am testing new installation of Apache 1.3.22 SSL, Tomcat 4.0.1 with mod_webapp on RH Linux 7.1 __ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com Starting service Tomcat-Apache Apache Tomcat/4.0 Starting service MackConnector Apache Tomcat/4.0 Server 1.6 is running Press [Ctrl]+[C] to abort SIGSEGV 11* segmentation violation si_signo [11]: SIGSEGV 11* segmentation violation si_errno [0]: Success si_code [1]: SEGV_MAPERR [addr: 0x0] stackpointer=0x448dab88 Full thread dump Classic VM (1.2.2-L, green threads): Thread-15 (TID:0x40eb3fd0, sys_thread_t:0x9602250, state:R) prio=5 at java.lang.ClassLoader.findLoadedClass(Native Method) at java.lang.ClassLoader.loadClass(ClassLoader.java:275) at java.lang.ClassLoader.loadClass(ClassLoader.java:243) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Unknown Source) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Unknown Source) at org.apache.cocoon.sitemap.AbstractSitemap.compose(AbstractSitemap.java:123) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(Unknown Source) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(Unknown Source) at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:135) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(ProgramGeneratorImpl.java:345) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:179) at org.apache.cocoon.sitemap.Handler.run(Handler.java:208) at java.lang.Thread.run(Thread.java:475) Thread-14 (TID:0x40e57510, sys_thread_t:0x862f2b0, state:CW) prio=5 at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:86) at java.io.BufferedInputStream.fill(BufferedInputStream.java:186) at java.io.BufferedInputStream.read(BufferedInputStream.java:204) at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:288) at java.io.DataInputStream.readUTF(DataInputStream.java:517) at java.io.DataInputStream.readUTF(DataInputStream.java:494) at org.hsqldb.ServerConnection.run(ServerConnection.java:116) Thread-12 (TID:0x40e57668, sys_thread_t:0x92ec350, state:CW) prio=5 at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:86) at java.io.BufferedInputStream.fill(BufferedInputStream.java:186) at java.io.BufferedInputStream.read(BufferedInputStream.java:204) at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:288) at java.io.DataInputStream.readUTF(DataInputStream.java:517) at java.io.DataInputStream.readUTF(DataInputStream.java:494) at org.hsqldb.ServerConnection.run(ServerConnection.java:116) Thread-10 (TID:0x40e577c0, sys_thread_t:0x95bf928, state:CW) prio=5 at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:86) at java.io.BufferedInputStream.fill(BufferedInputStream.java:186) at java.io.BufferedInputStream.read(BufferedInputStream.java:204) at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:288) at java.io.DataInputStream.readUTF(DataInputStream.java:517) at java.io.DataInputStream.readUTF(DataInputStream.java:494) at org.hsqldb.ServerConnection.run(ServerConnection.java:116) Thread-8 (TID:0x40e57920, sys_thread_t:0x94e4c00, state:CW) prio=5 at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:86) at java.io.BufferedInputStream.fill(BufferedInputStream.java:186) at java.io.BufferedInputStream.read(BufferedInputStream.java:204) at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:288) at java.io.DataInputStream.readUTF(DataInputStream.java:517) at java.io.DataInputStream.readUTF(DataInputStream.java:494) at org.hsqldb.ServerConnection.run(ServerConnection.java:116) Thread-6 (TID:0x40ea5510, sys_thread_t:0x95c26c0, state:CW) prio=5 at java.lang.Thread.sleep(Native Method) at org.hsqldb.Log.run(Log.java:119) at java.lang.Thread.run(Thread.java:475) Thread-5 (TID:0x40ee9290, sys_thread_t:0x93278c8, state:CW) prio=5 at
DO NOT REPLY [Bug 6050] New: - JAVA_HOME parsing incomplete
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6050. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6050 JAVA_HOME parsing incomplete Summary: JAVA_HOME parsing incomplete Product: Tomcat 4 Version: 4.0 Beta 2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Minor Priority: Other Component: Installable Packages AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Parsing of JAVA_HOME takes place successfully when assigned in ControlPanel-System-Advanced-Environment Variables-System variables as follows: JAVA_HOME=%VARNAME%\dirname However, the same parsing which is applied to parse the variable above does not seem to applied whenever a similar assiment is made, e.g.: JAVA_HOME=%VARNAME% -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core StandardContext.java
remm02/01/26 13:50:59 Modified:catalina/src/share/org/apache/catalina/core StandardContext.java Log: - Fire a reload lifecycle event after reloading is complete. Revision ChangesPath 1.90 +7 -4 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java Index: StandardContext.java === RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java,v retrieving revision 1.89 retrieving revision 1.90 diff -u -r1.89 -r1.90 --- StandardContext.java 7 Jan 2002 18:58:54 - 1.89 +++ StandardContext.java 26 Jan 2002 21:50:59 - 1.90 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java,v 1.89 2002/01/07 18:58:54 remm Exp $ - * $Revision: 1.89 $ - * $Date: 2002/01/07 18:58:54 $ + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java,v 1.90 2002/01/26 21:50:59 remm Exp $ + * $Revision: 1.90 $ + * $Date: 2002/01/26 21:50:59 $ * * * @@ -145,7 +145,7 @@ * * @author Craig R. McClanahan * @author Remy Maucherat - * @version $Revision: 1.89 $ $Date: 2002/01/07 18:58:54 $ + * @version $Revision: 1.90 $ $Date: 2002/01/26 21:50:59 $ */ public class StandardContext @@ -2501,6 +2501,9 @@ log(sm.getString(standardContext.reloadingFailed)); } setPaused(false); + +// Notify our interested LifecycleListeners +lifecycle.fireLifecycleEvent(reload, null); } -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 6050] - JAVA_HOME parsing incomplete
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6050. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6050 JAVA_HOME parsing incomplete [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2002-01-26 22:11 --- Maybe, but it's either a Windows bug, or a NSIS bug. Either way, it doesn't look like a Tomcat bug (the installer script just reads the value of the property; if NSIS returns the wrong value, there's not much we can do). -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin SetUpTreeAction.java
manveen 02/01/26 12:52:58 Modified:webapps/admin context.jsp webapps/admin/WEB-INF/classes/org/apache/webapp/admin SetUpTreeAction.java Log: Fix for ClassNotFound exception when multiple treebuilder classes were specified in web.xml. Also, trying out my committer access! :) Revision ChangesPath 1.2 +1 -1 jakarta-tomcat-4.0/webapps/admin/context.jsp Index: context.jsp === RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/context.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- context.jsp 18 Jan 2002 05:53:26 - 1.1 +++ context.jsp 26 Jan 2002 20:52:58 - 1.2 @@ -215,7 +215,7 @@ /tr /table - +BR %-- Session Manager Properties table --% table border=0 cellspacing=0 cellpadding=0 width=100% tr td div class=table-title-text 1.6 +5 -5 jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/SetUpTreeAction.java Index: SetUpTreeAction.java === RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/SetUpTreeAction.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- SetUpTreeAction.java 23 Jan 2002 23:06:54 - 1.5 +++ SetUpTreeAction.java 26 Jan 2002 20:52:58 - 1.6 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/SetUpTreeAction.java,v 1.5 2002/01/23 23:06:54 craigmcc Exp $ - * $Revision: 1.5 $ - * $Date: 2002/01/23 23:06:54 $ + * $Header: /home/cvs/jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin/SetUpTreeAction.java,v 1.6 2002/01/26 20:52:58 manveen Exp $ + * $Revision: 1.6 $ + * $Date: 2002/01/26 20:52:58 $ * * * @@ -86,7 +86,7 @@ * * @author Jazmin Jonson * @author Manveen Kaur - * @version $Revision: 1.5 $ $Date: 2002/01/23 23:06:54 $ + * @version $Revision: 1.6 $ $Date: 2002/01/26 20:52:58 $ */ public class SetUpTreeAction extends Action { @@ -148,7 +148,7 @@ ArrayList treeBuilders = new ArrayList(INIT_PLUGIN_MAX); int i = 0; -StringTokenizer st = new StringTokenizer(treeBuildersStr, , ); +StringTokenizer st = new StringTokenizer(treeBuildersStr, ,); while (st.hasMoreTokens()) { treeBuilders.add(st.nextToken().trim()); } -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/webapps/admin/WEB-INF/classes/org/apache/webapp/admin LoggerAction.java LoggerForm.java SetUpLoggerAction.java ApplicationResources_en.properties ApplicationResources_es.properties TomcatTreeBuilder.java
manveen 02/01/26 14:39:45 Modified:webapps/admin/WEB-INF struts-config.xml webapps/admin/WEB-INF/classes/org/apache/webapp/admin ApplicationResources_en.properties ApplicationResources_es.properties TomcatTreeBuilder.java Added: webapps/admin logger.jsp webapps/admin/WEB-INF/classes/org/apache/webapp/admin LoggerAction.java LoggerForm.java SetUpLoggerAction.java Log: Added functionality for Logger properties to be viewed and edited through the admin tool. Properties read/written to corresponding mBeans. Revision ChangesPath 1.1 jakarta-tomcat-4.0/webapps/admin/logger.jsp Index: logger.jsp === !-- Standard Struts Entries -- %@ page language=java % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % %@ taglib uri=/WEB-INF/controls.tld prefix=controls % html:html locale=true %@ include file=header.jsp % !-- Body -- body bgcolor=white !--Form -- html:errors/ html:form method=POST action=/logger table width=100% border=0 cellspacing=0 cellpadding=0 tr bgcolor=7171A5 td width=81% html:hidden property=loggerName/ html:hidden property=loggerType/ div class=page-title-text align=left bean:write name=loggerForm property=nodeLabel scope=session/ /div /td td width=19% div align=right controls:actions controls:action selected=true bean:message key=actions.available.actions/ /controls:action controls:action - /controls:action !-- will add the urls later once those screens get implemented -- controls:action url= bean:message key=actions.thislogger.delete/ /controls:action /controls:actions /div /td /tr /table %@ include file=buttons.jsp % br table class=back-table border=0 cellspacing=0 cellpadding=0 width=100% tr td controls:table tableStyle=front-table lineStyle=line-row controls:row header=true labelStyle=table-header-text dataStyle=table-header-text controls:labelbean:message key=service.property//controls:label controls:databean:message key=service.value//controls:data /controls:row controls:row labelStyle=table-label-text dataStyle=table-normal-text controls:labelbean:message key=connector.type/:/controls:label controls:data bean:write name=loggerForm property=loggerType scope=session/ /controls:data /controls:row controls:row labelStyle=table-label-text dataStyle=table-normal-text controls:labelbean:message key=server.debuglevel/:/controls:label controls:data html:select property=debugLvl bean:define id=debugLvlVals name=loggerForm property=debugLvlVals/ html:options collection=debugLvlVals property=value labelProperty=label/ /html:select /controls:data /controls:row controls:row labelStyle=table-label-text dataStyle=table-normal-text controls:labelVerbosity Level:/controls:label controls:data html:select property=verbosityLvl bean:define id=verbosityLvlVals name=loggerForm property=verbosityLvlVals/ html:options collection=verbosityLvlVals property=value labelProperty=label/ /html:select /controls:data /controls:row /controls:table %-- Display the following fileds only if it is a FileLogger --% logic:equal name=loggerForm property=loggerType scope=session value=FileLogger controls:table tableStyle=front-table lineStyle=line-row controls:row labelStyle=table-label-text dataStyle=table-normal-text controls:labelbean:message key=logger.directory/:/controls:label controls:data html:text property=directory size=25/ /controls:data /controls:row controls:row labelStyle=table-label-text dataStyle=table-normal-text controls:labelbean:message key=logger.prefix/:/controls:label controls:data html:text property=prefix size=25/ /controls:data /controls:row controls:row
DO NOT REPLY [Bug 4954] - When specifying CATALINA_BASE explicitly, that dir has to have shared/lib/jasper-*.jar in it
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4954. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4954 When specifying CATALINA_BASE explicitly, that dir has to have shared/lib/jasper-*.jar in it [EMAIL PROTECTED] changed: What|Removed |Added Component|Jasper |Catalina -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 5379] - j-t-c webapps java can not compile
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5379. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5379 j-t-c webapps java can not compile [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2002-01-27 01:05 --- Fixed. The build is now integrated with the main TC 4 build. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 5396] - Tomcat start shutcut fails when HTTPS is set
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5396. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5396 Tomcat start shutcut fails when HTTPS is set [EMAIL PROTECTED] changed: What|Removed |Added Component|Other Connectors|Installable Packages -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 5855] - manager webapp does not fire LifecycleListener events
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5855. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5855 manager webapp does not fire LifecycleListener events [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2002-01-27 01:20 --- A reload will now generate a reload lifecycle event. The event will be generated after the reload is complete. Sorry, we really can't generate a start or a stop, unless we choose to change what a reload currently does (right now, reload != stop + start). -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 5951] New: - authentication does not work with ajp13
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5951. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5951 authentication does not work with ajp13 Summary: authentication does not work with ajp13 Product: Tomcat 4 Version: 4.0.2 Beta 1 Platform: PC OS/Version: Windows NT/2K Status: RESOLVED Severity: Normal Priority: Other Component: AJP Connector AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I tried the tomcat 3.2 security example using basic authentication with tomcat 4 standalone. It works fine. As soon as I use the tomcat 4 ajp13 connector with iis5, it does not work. Where I expect the logon form to appear, it simply just goes directly to a tomcat 4.2.b1 http status 403 - access to the requested resource has been denied screen. I expected tomcat to respond with a Status: 401 unauthorized and a WWW-Authenticate: Basic realm= response. I even tried it with the /manager webapp with the same results. I even tried it with form base authentication with same results. Please advise. Following is the ajp13 debug log. [Ajp13] read got # 4 [Ajp13] receive: len = 294 [Ajp13] read got # 294 [Ajp13] receive: total read = 294 [Ajp13] decodeRequest() [Ajp13] === BaseRequest === method = GET protocol= HTTP/1.1 requestURI = /examples/jsp/security/protected/index.jsp remoteAddr = 127.0.0.1 remoteHost = 127.0.0.1 serverName = www.foo.com serverPort = 80 remoteUser = authType= queryString = null scheme = http secure = false contentLength = 0 contentType = null attributes = {} headers = === MimeHeaders === accept = */* accept-language = en-us connection = Keep-Alive host = www.jwh.net referer = http://www.foo.com/examples/jsp/index.html user-agent = Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461) accept-encoding = gzip, deflate content-length = 0 cookies = === Cookies === jvmRoute= null === AjpRequest === jvmRoute= null [Ajp13] sendHeaders() [Ajp13] status is: 403(Forbidden) [Ajp13] send() [Ajp13] sending msg, len = 35 [Ajp13] doWrite(byte[], 0, 735) [Ajp13] send() [Ajp13] sending msg, len = 743 [Ajp13] finish() [Ajp13] send() [Ajp13] sending msg, len = 6 [Ajp13] recycle() [Ajp13] receiveNextRequest() [Ajp13] receive() --- Additional Comments From [EMAIL PROTECTED] 2002-01-27 01:27 --- *** This bug has been marked as a duplicate of 5647 *** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 5647] - AJP13 connector will not pass authentication requests
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5647. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5647 AJP13 connector will not pass authentication requests [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2002-01-27 01:27 --- *** Bug 5951 has been marked as a duplicate of this bug. *** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 6023] - removing context from standard host causes runnable thread to be blocked
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6023. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6023 removing context from standard host causes runnable thread to be blocked [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2002-01-27 01:33 --- Those race conditions have been fixed in 4.0.2b2. *** This bug has been marked as a duplicate of 5747 *** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 4668] - file download over http corrupt
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4668. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4668 file download over http corrupt [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Component|Unknown |HTTP/1.1 Connector Resolution||WORKSFORME --- Additional Comments From [EMAIL PROTECTED] 2002-01-27 01:40 --- After spending two more months streaming MP3s from my Tomcat server, it *really* does work fine. One thing which can cause trouble is if the MIME type of the file is incorrectly set. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-tomcat-4.0/webapps/tomcat-docs/config ajp.xml
billbarker02/01/26 20:15:05 Modified:webapps/tomcat-docs/config Tag: tomcat_40_branch ajp.xml Log: Adding documentation for ApacheConfig and IISConfig. Revision ChangesPath No revision No revision 1.2.2.4 +190 -3jakarta-tomcat-4.0/webapps/tomcat-docs/config/Attic/ajp.xml Index: ajp.xml === RCS file: /home/cvs/jakarta-tomcat-4.0/webapps/tomcat-docs/config/Attic/ajp.xml,v retrieving revision 1.2.2.3 retrieving revision 1.2.2.4 diff -u -r1.2.2.3 -r1.2.2.4 --- ajp.xml 25 Jan 2002 14:54:37 - 1.2.2.3 +++ ajp.xml 27 Jan 2002 04:15:05 - 1.2.2.4 @@ -298,8 +298,9 @@ subsection name=Configuring Tomcat - pTomcat 4 won't automatically generate the Apache configuration - file at the moment./p + pTomcat 4 can be configured to automatically generate the Apache + configuration file. The next section describes how to enable + this option./p pAfter enabling the AJP 1.3 connector, you need to define workers, using a code$CATALINA_HOME/conf/workers.properties/code file. @@ -309,6 +310,100 @@ /subsection + subsection name=Using ApacheConfig + pTomcat 4 provides extra flexability over Tomcat 3 in setting up + the automatic generation of the Apache configuration file. + However, this comes at the cost of a bit more complexity. Each + time that Tomcat is started, it will write the configuration file + to code$CATALINA_HOME/conf/auto/mod_jk.conf/code. You can + then either + sourceInclude $CATALINA_HOME/conf/auto/mod_jk.conf/source + in your codehttpd.conf/code file./p + pTo generate the global Apache directives (e.g. + codeLoadModule/code, codeJkLogFile/code), you define a + codeServer/code Listener:/p +source + lt;Server port=8005 shutdown=SHUTDOWN debug=0gt; + lt;Listener className=org.apache.ajp.tomcat4.config.ApacheConfig /gt; + ... +/source + pTo configure the individual context information, you then either + define a codeHost/code Listener or a codeContext/code + Listener depending on if you are using virutal hosting or not. + Defining a codeHost/code Listener will generate the Apache + codelt;VirtualHostgt;/code directive and include all of + the configurations for the codeContexts/code under this host. + Using the codeContext/code Listener allows you the flexability + to configure the codeContext/code the same way even if it + is being served from several hosts./p + pExcept for the placement of the codelt;Listener ...gt;/code, + the syntax is virtualy identical for the codeHost/code + Listener and the codeContext/code Listener. The examples that + follow will demonstrate the functionality for a codeHost/code + Listener. The simplest configuration is:/p +source +lt;Host name=localhost debug=0 appbase=webapps gt; + lt;Listener className=org.apache.ajp.tomcat4.config.ApacheConfig + append=true /gt; +/source +pIt is possible to modify the output configuration file with the +following attributes:/p + attributes + attribute name=configHome required=false + Default parent directory for the following paths. If not set, this + defaults to CATALINA_HOME. Ignored whenever any of the following + paths is absolute + /attribute + attribute name=jkConfig required=false + Path to write apacke mod_jk conf file to. If not set, defaults to + conf/auto/mod_jk.conf. + /attribute + attribute name=workersConfig required=false + Path to workers.properties file used by mod_jk. If not set, + defaults to conf/jk/workers.properties. + /attribute + attribute name=modJk required=false + Path to Apache mod_jk plugin file. If not set, defaults to + modules/mod_jk.dll on windows, modules/mod_jk.nlm on netware, + and libexec/mod_jk.so everywhere else. + /attribute + attribute name=jkLog required=false + Path to log file to be used by mod_jk + /attribute + attribute name=jkDebug required=false + JK Loglevel setting. May be debug, info, error, or emerg. If not + set, defaults to no log. + /attribute + attribute name=jkWorker required=false + The desired worker. Must be set to one of the workers defined in + the workers.properties file. ajp13 or inprocess are + the workers found in the default workers.properties file. If not
Building connectors from CVS has errors?
I'm having problems with webapp-module 1.0.1 mangling uploads and read that the latest code in CVS should fix the problem. I followed the instructions and grabbed connectors and APR from CVS but after issuing the following instructions I get the following errors: ./support/buildconf.sh [runs w/o error] ./configure --with-apxs [snip] creating ./java/Constants.java sed: can't read ././java/Constants.java.in: No such file or directory creating ./apache-1.3/Makefile All done. Now you can issue make. Good luck. make /home/mgoyer/jakarta-tomcat-connectors/webapp/apr/libtool /usr/bin/gcc -static -g -O2 -g -O2 -DLINUX=2 -D_REENTRANT -I/home/mgoyer/jakarta-tomcat-connectors/webapp/apr/include -I/home/mgoyer/jakarta-tomcat-connectors/webapp/include -c pr_warp.c /usr/bin/gcc -g -O2 -g -O2 -DLINUX=2 -D_REENTRANT -I/home/mgoyer/jakarta-tomcat-connectors/webapp/apr/include -I/home/mgoyer/jakarta-tomcat-connectors/webapp/include -c pr_warp.c -o pr_warp.o pr_warp.c: In function `headers': pr_warp.c:198: `TYPE_REQ_HEADER' undeclared (first use in this function) pr_warp.c:198: (Each undeclared identifier is reported only once pr_warp.c:198: for each function it appears in.) pr_warp.c: In function `warp_handle': pr_warp.c:245: `TYPE_REQ_INIT' undeclared (first use in this function) pr_warp.c:279: `TYPE_REQ_CONTENT' undeclared (first use in this function) pr_warp.c:291: `TYPE_REQ_SCHEME' undeclared (first use in this function) pr_warp.c:303: `TYPE_REQ_AUTH' undeclared (first use in this function) pr_warp.c:329: `TYPE_REQ_CLIENT' undeclared (first use in this function) pr_warp.c:345: `TYPE_REQ_SERVER' undeclared (first use in this function) pr_warp.c:359: `TYPE_REQ_PROCEED' undeclared (first use in this function) pr_warp.c:372: `TYPE_RES_STATUS' undeclared (first use in this function) pr_warp.c:380: `TYPE_RES_HEADER' undeclared (first use in this function) pr_warp.c:391: `TYPE_RES_COMMIT' undeclared (first use in this function) pr_warp.c:396: `TYPE_RES_BODY' undeclared (first use in this function) pr_warp.c:403: `TYPE_RES_DONE' undeclared (first use in this function) pr_warp.c:408: `TYPE_CBK_READ' undeclared (first use in this function) pr_warp.c:416: `TYPE_CBK_DONE' undeclared (first use in this function) pr_warp.c:418: `TYPE_CBK_DATA' undeclared (first use in this function) pr_warp.c:421: `TYPE_ERROR' undeclared (first use in this function) pr_warp.c:431: `TYPE_ASK_SSL' undeclared (first use in this function) pr_warp.c:435: `TYPE_REP_SSL_NO' undeclared (first use in this function) pr_warp.c:438: `TYPE_REP_SSL' undeclared (first use in this function) pr_warp.c:450: `TYPE_ASK_SSL_CLIENT' undeclared (first use in this function) pr_warp.c:457: `TYPE_REP_SSL_CERT' undeclared (first use in this function) pr_warp.c:373: warning: unreachable code at beginning of switch statement ? Thanks, Matt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Cookie Spec Tomcat 3.2.3
A new vendor were evaluating to processes XML through our site (Telephony support via XML) now claims (indirectly) that Tomcat 3.2.3 has incorrectly implemented the specification for Cookies, more specifically in the use of the Path attribute. The container is throwning an exception when they call back to us with a cookie named Path, which is of-couse illegal. All we create is a Session object which in turn creates the Cookie with JSESSION and its associated attributes. After reading the IETF RFC2109 (two or three times) it also seems clear to me that the Path attribute is permitted to have quotes around it (Section 5.1 Examples uses them ) and that Tomcat is doing it right. They claim that browsers don't necessarily enforce the spec and that's why the browsers works against the rest of the site but the XML traffic from their site doesn't. I think this is a load of crap especially since everything broke after they updated their software and the app subsequently stopped working. I saw bug #231 related to a fix in 3.3 but related to high volume which we're not and the bug (#231) could not be reproduced. Will have my team try TC 3.3 on Moday but I don't think anything is going to change. So to the question, is there a governing body that has newer, more complete definition of the Cookie specification that I should have read, is Bug #231 really related to our problem, or is it time for a heart-to-heart with these guys. Thanks, John Moore