JasperException
Hi. I have been developing web apps using Tomcat for a couple of years now and just recently ran into a problem that has me somewhat stumped. Recently, whenever I edit a jsp file and then go to a browser to reload it I get an error indicating that the jasper compiler is having some difficulty with the file as follows... 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: -1 in the jsp file: null --- The error message continues with a stack trace the bottom of which is as follows... at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:534) This happens even when I take a working copy of the file from my production server and replace the one I am editing and then reload it in my browser. I am not sure what else to say about this except that I would appreciate any help I can get on this. Thank you, Reg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JasperException
A full stacktrace would be more helpfull.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[PATCH] org.apache.catalina.Context
A minor one, needless import statement stopped the code from compiling and wasn't being used Index: Context.java === RCS file: /home/cvspublic/jakarta-tomcat-catalina/catalina/src/share/org/apache/ catalina/Context.java,v retrieving revision 1.6 diff -u -r1.6 Context.java --- Context.java 19 May 2003 21:56:28 - 1.6 +++ Context.java 13 Jul 2003 11:26:13 - @@ -67,8 +67,6 @@ import javax.servlet.ServletContext; -import org.apache.tomcat.util.http.mapper.Mapper; - import org.apache.catalina.deploy.ApplicationParameter; import org.apache.catalina.deploy.ContextEjb; import org.apache.catalina.deploy.ContextEnvironment; -- To be governed is to be watched over, inspected, spied on, directed, legislated... - Pierre-Joseph Proudhon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
apache cvs and eclipse
This is a little of topic (sorry), but I'm trying to use Eclipse as my main dev environment, and I'm getting some strange behaviour when connecting to the apache cvs. I'm guessing that other developers on this list use Eclipse (there are TODO tags in code) and I was wandering how they managed to setup eclipse to check in/out to the apache cvs repository? At the moment, when I check out a project from cvs (jakarta-tomcat) it doesn't seem to bring back all the required files (org.apache.tomcat.util.http) being a good example. Any help to resolve this would be greatly appreciated, off list/direct to personal mail would probably be best. Thanks Kev -- To be governed is to be watched over, inspected, spied on, directed, legislated... - Pierre-Joseph Proudhon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[GUMP] Build timed out - jk2
This email is autogenerated from the output from: http://cvs.apache.org/builds/gump/2003-07-13/jakarta-tomcat-jk-native2.html Buildfile: build.xml init.taskdef: guess.os: [echo] build.properties i386.Linux [echo] Linux:true Win32:${win32} Netware:${netware} Solaris:${solaris} HPUX:${hpux} init.win32.properties: init.win32.mc: init.win32: init.netware: init.os: guess.server: [echo] Apache2 /usr/local/apache2 true [echo] Apache13 /usr true [echo] IIS ${iis.home} ${iis.detect} [echo] Iplanet ${iplanet.home} ${iplanet.detect} [echo] AOLserver ${aolserver.home} ${aolserver.detect} [echo] JNI true init: [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-connectors/jk/build/jk2 apache20: [mkdir] Created dir: /home/rubys/jakarta/jakarta-tomcat-connectors/jk/build/jk2/apache2 [so] Compiling 42 out of 42 Compiling /home/rubys/jakarta/jakarta-tomcat-connectors/jk/native2/common/jk_channel_jni.c /home/rubys/bin/timeout: timed out - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JasperException
http://jakarta.apache.org/tomcat/faq/misc.html#compile Reginald Oake wrote: Hi. I have been developing web apps using Tomcat for a couple of years now and just recently ran into a problem that has me somewhat stumped. Recently, whenever I edit a jsp file and then go to a browser to reload it I get an error indicating that the jasper compiler is having some difficulty with the file as follows... 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: -1 in the jsp file: null --- The error message continues with a stack trace the bottom of which is as follows... at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619) at java.lang.Thread.run(Thread.java:534) This happens even when I take a working copy of the file from my production server and replace the one I am editing and then reload it in my browser. I am not sure what else to say about this except that I would appreciate any help I can get on this. Thank you, Reg - 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]
Bug report for Tomcat 3 [2003/07/13]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=CriticalMAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | | 258|Unc|Nor|2000-11-27|response.SendRedirect() resets/destroys Cookies th| | 2350|Ver|Nor|2001-06-27|ServletConfig.getInitParameter() requires url-patt| | 2478|Opn|Cri|2001-07-06|Passing Session variables between JSP's and Servle| | 4551|Opn|Nor|2001-10-31|Ctx( /tt01 ): IOException in: R( /tt01 + /com/abc/| | 4893|Unc|Blk|2001-11-15|Tomcat dies with following error..| | 4980|New|Min|2001-11-20|Startup message indicates incorrect log file | | 4994|New|Nor|2001-11-21|Tomcat needs a mechanism for clean and certain shu| | 5064|New|Cri|2001-11-25|Socket write error when include files is more than| | 5108|New|Maj|2001-11-26|Docs for Tomcat 3.2.x appear to be for Tomcat 3.3 | | 5137|New|Nor|2001-11-27|Null pointer in class loader after attempting to r| | 5160|Unc|Maj|2001-11-28|'IllegalStateException' | | 5331|New|Nor|2001-12-09|getPathInfo vs URL normalization | | 5510|New|Blk|2001-12-19|How to call ejb deployed in JBoss from Tomcat serv| | 5756|New|Nor|2002-01-08|jspc.bat exits with wrong ERRORLEVEL | | 5797|New|Nor|2002-01-10|UnCatched ? StringIndexOutOfBoundsException: Strin| | 6027|New|Maj|2002-01-25|Tomcat Automatically shuts down as service | | 6168|New|Blk|2002-02-01|IllegalStateException | | 6451|New|Cri|2002-02-14|Stackoverflow | | 6478|New|Enh|2002-02-14|Default Tomcat Encoding | | 6488|Ver|Maj|2002-02-15|Error: 304. Apparent bug in default ErrorHandler c| | 6648|New|Nor|2002-02-25|jakarta-servletapi build with java 1.4 javadoc err| | 6702|New|Cri|2002-02-27|win 2k services not working | | 6796|New|Cri|2002-03-01|Tomcat dies periodically | | 6989|New|Maj|2002-03-08|Unable to read tld file during parallel JSP compil| | 7008|Opn|Maj|2002-03-10|facade.HttpServletRequestFacade.getParameter(HttpS| | 7013|New|Cri|2002-03-10|Entering a servlet path with non-ISO8859-1 charact| | 7227|New|Nor|2002-03-19|error-code directive don't work | | 7236|New|Blk|2002-03-19|Permission denied to do thread.stop | | 7626|New|Nor|2002-03-29|classloader not working properly | | 7652|New|Cri|2002-04-01|Tomcat stalls periodically| | 7762|New|Enh|2002-04-05|stdout logfile handling | | 7785|New|Blk|2002-04-06|tomcat bug in context reloading | | 7789|New|Maj|2002-04-06|JSP Cookie Read/Write Fails With DNS Names| | 7863|New|Maj|2002-04-09|I have a problem when running Tomcat with IIS | | 8154|New|Nor|2002-04-16|logrotate script in RPM rotates non-existing file | | 8155|New|Nor|2002-04-16|Tomcat from RPM doesn't do logrotate | | 8187|New|Cri|2002-04-17|Errors when Tomcat used with MS Access database | | 8239|New|Cri|2002-04-18|Resource temporary unavailable| | 8263|New|Cri|2002-04-18|url-pattern easy to circumvent| | 8634|New|Nor|2002-04-30|no way to specify different modules.xml file | | 8992|New|Blk|2002-05-10|IE6/XP: Limitation of POST Area within HTTP reques| | 9086|New|Enh|2002-05-14|NPE org.apache.tomcat.core.ServerSession.setAttrib| | 9250|New|Maj|2002-05-20|outOfMemoryError | | 9362|New|Nor|2002-05-23|compiilation of JSP that includes a non-existant f| | 9367|New|Maj|2002-05-23|HttpSessionBindingEvent not thrown for HttpSession| | 9390|New|Nor|2002-05-24|jasper compilation error in tomcat| | 9480|New|Nor|2002-05-29|Data connection pooling | | 9607|New|Maj|2002-06-04|precompile JSP| | 9737|New|Nor|2002-06-10|ArrayIndexOutOfBoundsException when sending just p| |1|New|Cri|2002-06-19|IOException Broken Pipe when authenticating JDBCRe| |10039|New|Nor|2002-06-20|TimeStamp will not work correctly.|
Bug report for Tomcat 4 [2003/07/13]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=CriticalMAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | | 218|Unc|Nor|2000-11-02|IIS in-process tomcat BugRat Report#333 | | 234|New|Nor|2000-11-10|Can't set multiple cookies in servlet response hea| | 2885|Opn|Maj|2001-07-30|JspCompiler does not recompile changed JSP's | | 3098|Opn|Maj|2001-08-11|RequestDispatcher on relative (to request path) | | 3614|Opn|Nor|2001-09-14|bug in manager webapp | | 3888|Opn|Blk|2001-09-30|WebappClassLoader: Lifecycle error : CL stopped | | 4138|Opn|Nor|2001-10-12|Processor threads have inconsistent ClassLoader st| | 4350|Ass|Nor|2001-10-22|SSLAuthenticator did not associate SSO session| | 4352|Ass|Nor|2001-10-22|JDBCRealm does not work with CLIENT-CERT auth-meth| | 5143|New|Enh|2001-11-27|Please allow to specify the cipher set for HTTPS c| | 5329|New|Nor|2001-12-08|NT Service exits startup before Tomcat is finished| | 5598|Opn|Maj|2001-12-27|(JSP Problem) RequestDispatcher doesn't include HT| | 5704|Ass|Maj|2002-01-05|CgiServlet corrupting images? | | 5715|Opn|Nor|2002-01-07|response.setContentType() in Filter.doFilter not c| | 5759|Opn|Maj|2002-01-09|CGI servlet mapping by extension *.cgi does not wo| | 5762|Opn|Maj|2002-01-09|CGI servlet misses to include port number in HTTP_| | 5795|New|Enh|2002-01-10|Catalina Shutdown relies on localhost causing prob| | 5829|New|Enh|2002-01-13|StandardManager needs to cope with sessions throwi| | 5858|New|Enh|2002-01-15|Add tomcat dir to java.library.path | | 5952|Opn|Nor|2002-01-22|Refence to $JAVACMD in tomcat.conf incorrect in R| | 5985|New|Enh|2002-01-23|Tomcat should perform a more restrictive validatio| | 6218|Opn|Nor|2002-02-04|Relative links broken for servlets| | 6229|New|Enh|2002-02-04|Need way to specify where to write catalina.out | | 6279|New|Nor|2002-02-06|Resubmit to j_security_check mistakenly fetches a | | 6399|New|Nor|2002-02-12|unknown protocol: https | | 6408|New|Enh|2002-02-12|Starting tomcat from a cygwin bash shell using 'st| | 6582|New|Min|2002-02-20|Sample code does not match behavior | | 6600|Opn|Enh|2002-02-20|enodeURL adds 'jsession' when 'isRequestedSessionI| | 6614|New|Enh|2002-02-21|Have Bootstrap and StandardClassLoader use the sam| | 6649|New|Nor|2002-02-25|jakarta-servletapi-4 build using java 1.4 javadoc | | 6659|New|Nor|2002-02-25|HttpUtils.getRequestURL gives incorrect URL with w| | 6671|New|Enh|2002-02-25|Simple custom tag example uses old declaration sty| | 7043|New|Enh|2002-03-12|database user and password for JDBC Based Store | | 7080|New|Maj|2002-03-13|Interbase JDBCRealm - Bug # 5564 - Have a safe fix| | 7116|New|Min|2002-03-14|JDBC realm doesn't handle NULLpasswords | | 7190|New|Nor|2002-03-18|GenericServlet spurious log's in init(), destroy()| | 7207|New|Nor|2002-03-18|Redeployment Problem under Tomcat 4.0.2 | | 7360|New|Nor|2002-03-22|res-sharing-scope not supported | | 7366|New|Enh|2002-03-22|ISAPI Redirector Replacement | | 7374|New|Enh|2002-03-22|Apache Tomcat/4.0.1 message on standard output| | 7506|New|Nor|2002-03-27|Reading InputStream returned in the following sena| | 7571|New|Nor|2002-03-28|DataInputStream readLong() Problem| | 7588|New|Nor|2002-03-28|Session cannot be established if there are multipl| | 7676|New|Enh|2002-04-02|Allow name property to use match experssions in h| | 7689|New|Min|2002-04-02|Performance problem with Xerces parser| | 7702|New|Enh|2002-04-03|[PATCH] Speed up Tomcat a tiny bit| | 7723|New|Enh|2002-04-03|[patch] additional factory for org.apache.naming.f| | 7831|New|Nor|2002-04-08|[PATCH] JNDIRealm does not work with CLIENT-CERT a| | 7880|Ver|Cri|2002-04-09|If a TLV flags flags an error during the translati| | 7968|New|Min|2002-04-11|JSSE Documentation| | 8026|New|Enh|2002-04-12|Exceptions in StandardHostDeployer.addChild are lo| |
Bug report for Watchdog [2003/07/13]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=CriticalMAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | | 278|Unc|Nor|2000-12-04|Bug in GetParameterValuesTestServlet.java file Bug| | 279|Unc|Nor|2000-12-04|Logical Error in GetParameterValuesTestServlet Bug| | 469|Unc|Nor|2001-01-17|in example-taglib.tld urn should be uri BugRat| | 470|Unc|Nor|2001-01-17|FAIL positiveForward.jsp and positiveInclude.jsp B| | 9634|New|Enh|2002-06-05|No tests exist for ServletContext.getResourcePaths| |10703|New|Enh|2002-07-11|Need to test getRequestURI after RequestDispatcher| |11336|New|Enh|2002-07-31|Test wrapped path methods with RD.foward()| |11663|New|Maj|2002-08-13|JSP precompile tests rely on Jasper specific behav| |11664|New|Maj|2002-08-13|A sweep is needed of all Watchdog 4.0 tag librarie| |11665|New|Maj|2002-08-13|ServletToJSPErrorPageTest and ServletToServletErro| |11666|New|Maj|2002-08-13|SetBufferSize_1TestServlet is invalid.| |14004|New|Maj|2002-10-28|Incorrent behaviour of all attribute-related lifec| |15504|New|Nor|2002-12-18|JSP positiveGetValues test relies on order preserv| +-+---+---+--+--+ | Total 13 bugs | +---+ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 5143] - Please allow to specify the cipher set for HTTPS connectors
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=5143. 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=5143 Please allow to specify the cipher set for HTTPS connectors [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-07-13 15:51 --- This is now supported in the latest verison of the connectors. Thanks to Jan and Bill for making the changes. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JasperException
Hi. Just to let you know that it appears that I have this problem solved (at least I got a JSP to compile once). Thanks to Tim Funk for his help in this although the solution to the problem actually came from a different source. I have been running Jakarta 4.1.24 LE (for java 1.4.x) and recently updated my development machine (the one on which I was having this difficulty) to j2sdk1.4.2 which I got from java.sun.com. I thought I had also done the same to my production server but was mistaken. I copied the j2sdk (j2skd1.4.1 from blackdown.org) directory from my production server to my development machine, restarted Tomcat and now everything appears to be back to normal. I have no idea whether this indicates that there is a problem with Sun's j2sdk1.4.2 or with j2sdk on Linux only or if blackdown's j2sdk is simply better in this respect but it might be worthwhile to add this to the list of possible solutions to this problem. Again, thank you for your help with this situation. Reg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 234] - Can't set multiple cookies in servlet response headers through Ajp13 BugRat Report#371
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=234. 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=234 Can't set multiple cookies in servlet response headers through Ajp13 BugRat Report#371 --- Additional Comments From [EMAIL PROTECTED] 2003-07-13 19:10 --- I was using mod_jk2-2.0.43.so (jk2 v2.0.1) downloaded from the jakarta site, and it appears that the problem is related to this library. I downloaded jakarta-tomcat-connectors-4.1.24-src (jk2 v2.0.2), rebuilt the library, and the cookies now get through. Unfortunately for some reason, only solaris and win32 binaries are available from the jakarta site for v2.0.2, so linux users will have to build their own... This bug should probably be closed. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk 1.2 endpoint cache
I have been testing mod_jk 1.2.5 with Apache 2 and load balancing. I noticed in the source that mod_jk 1.2 endpoint cache's are disabled by forcing ep_cache_sz=0. I did a cvs log and could not find any comments on why this is so. Is there a reason why this is disabled? Using a cache with a cache timeout sure would be handy for Apache 2 when using the worker MPM. This feature is documented in the jk docs and I don't see where anything is mentioned that it is disabled. Regards, Glenn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: apache cvs and eclipse
- Original Message - From: kev [EMAIL PROTECTED] To: Tomcat List [EMAIL PROTECTED] Sent: Sunday, July 13, 2003 5:39 AM Subject: apache cvs and eclipse This is a little of topic (sorry), but I'm trying to use Eclipse as my main dev environment, and I'm getting some strange behaviour when connecting to the apache cvs. I'm guessing that other developers on this list use Eclipse (there are TODO tags in code) and I was wandering how they managed to setup eclipse to check in/out to the apache cvs repository? At the moment, when I check out a project from cvs (jakarta-tomcat) it doesn't seem to bring back all the required files (org.apache.tomcat.util.http) being a good example. These moved to j-t-c a while ago. jakarta-tomcat officially uses type coyote_10 branch in j-t-c. Any help to resolve this would be greatly appreciated, off list/direct to personal mail would probably be best. Thanks Kev -- To be governed is to be watched over, inspected, spied on, directed, legislated... - Pierre-Joseph Proudhon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 21549] New: - mod_jk2 interference with other mods needs to be resolved
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=21549. 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=21549 mod_jk2 interference with other mods needs to be resolved Summary: mod_jk2 interference with other mods needs to be resolved Product: Tomcat 4 Version: 4.1.18 Platform: Other URL: http://nagoya.apache.org/eyebrowse/ReadMsg?listName=tomc [EMAIL PROTECTED]msgId=697376 OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Connector:Coyote JK 2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] The URL references an entire discussion on the topic, which I have read end to end. Last message was a couple of months ago. I checked the CVS and did not see any change. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21546 for an example of mod_jk2 conflicting with mod_dav. Another example follows for mod_jk2 and mod_rewrite: If I have: RewriteRule^/oldpathpart(.*)$ /newpath/ [NC,L,R=permanent] JkSet uri:domain/*.jsp.group ajp13:worker then /path/ goes to /newpath/ with no trouble. BUT ... /path/foo.html - works /path/foo.jsp - gets an error because of mod_jk2 takes precedence. This whole module precedence area seemingly needs to be work out with the httpd team, since administrative control was removed in Apache 2. But it sounded from the tail end of the thread that Mladen had verified that it should work now. I have VirtualHosts using mod_rewrite and mod_dav wit mod_jk2, and am willing to test if changes are made. I'll reinstall both httpd and tomcat so that I build from source. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_rewrite mod_jk2
hi first: i did post to tomcat user-first got reply to check out tomcat-dev is mod_rewrite supported ? example: RewriteEngine on RewriteRule^/test$ /examples/servlets/index.html JkSet uri:/examples/*.group ajp13:unixsocket the request /test tries to access /examples/servlets/index.html in document Root any solution or not implemented ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11Processor.java
billbarker2003/07/13 14:52:06 Modified:http11/src/java/org/apache/coyote/http11 Http11Processor.java Log: It seems I need to learn the difference between true and false :(. Revision ChangesPath 1.71 +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.70 retrieving revision 1.71 diff -u -r1.70 -r1.71 --- Http11Processor.java 6 Jul 2003 06:16:00 - 1.70 +++ Http11Processor.java 13 Jul 2003 21:52:05 - 1.71 @@ -1269,7 +1269,7 @@ // If we know that the request is bad this early, add the // Connection: close header. -keepAlive = keepAlive statusDropsConnection(statusCode); +keepAlive = keepAlive !statusDropsConnection(statusCode); if (!keepAlive) { response.addHeader(Connection, close); } else if (!http11) { - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11 Http11Processor.java
billbarker2003/07/13 14:53:07 Modified:http11/src/java/org/apache/coyote/http11 Tag: coyote_10 Http11Processor.java Log: Porting patch. Revision ChangesPath No revision No revision 1.55.2.3 +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.55.2.2 retrieving revision 1.55.2.3 diff -u -r1.55.2.2 -r1.55.2.3 --- Http11Processor.java 6 Jul 2003 06:23:40 - 1.55.2.2 +++ Http11Processor.java 13 Jul 2003 21:53:07 - 1.55.2.3 @@ -1215,7 +1215,7 @@ // If we know that the request is bad this early, add the // Connection: close header. -keepAlive = keepAlive statusDropsConnection(statusCode); +keepAlive = keepAlive !statusDropsConnection(statusCode); if (!keepAlive) { response.addHeader(Connection, close); } else if (!http11) { - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modules/generators StaticInterceptor.java
billbarker2003/07/13 15:11:07 Modified:src/share/org/apache/tomcat/modules/generators StaticInterceptor.java Log: Clean up the default TRACE handler. Add a trailing CRLF to the output, and don't use the deprecated method to get the header. Revision ChangesPath 1.28 +2 -1 jakarta-tomcat/src/share/org/apache/tomcat/modules/generators/StaticInterceptor.java Index: StaticInterceptor.java === RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/generators/StaticInterceptor.java,v retrieving revision 1.27 retrieving revision 1.28 diff -u -r1.27 -r1.28 --- StaticInterceptor.java12 Jul 2003 08:35:39 - 1.27 +++ StaticInterceptor.java13 Jul 2003 22:11:07 - 1.28 @@ -517,9 +517,10 @@ Enumeration headers = req.getHeaderNames(); while( headers.hasMoreElements() ) { String hName = (String)headers.nextElement(); - String hValue = (String)req.getHeader(hName); + String hValue = req.getMimeHeaders().getHeader(name); resp.append(CRLF).append(hName).append(: ).append(hValue); } + resp.append(CRLF); res.setContentLength(resp.length()); Writer out = res.getBuffer(); out.write(resp.toString()); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 21552] New: - Web Admin Tool deletes needed entries in server.xml
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=21552. 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=21552 Web Admin Tool deletes needed entries in server.xml Summary: Web Admin Tool deletes needed entries in server.xml Product: Tomcat 5 Version: 5.0.3 Platform: PC OS/Version: All Status: NEW Severity: Blocker Priority: Other Component: Webapps:Administration AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I created some virtual hosts entries in server.xml which had several context elements declared within them such as /admin and /manager and the context. I started Tomcat and logged into one of the vhost admin apps and modified some settings and then did a Commit Changes. The caused Tomcat to completely rewrite server.xml and in the process it wrote out the virtual host entries but there were no contexts within them. It also deleted every comment that I had placed in the file. What I would expect to happen is that it would just rewrite or add the element that I changed and not affect everything else in the file. Gerry Reno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 17702] - Could not shutdown the tomcat4
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=17702. 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=17702 Could not shutdown the tomcat4 [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Additional Comments From [EMAIL PROTECTED] 2003-07-13 23:43 --- There is actually a bug with Tomcat 4.1.x on JDK 1.3 (maybe only on Windows). This is duplicated in Bug 17193 and Bug 19098. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 17702] - Could not shutdown the tomcat4
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=17702. 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=17702 Could not shutdown the tomcat4 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2003-07-13 23:44 --- *** This bug has been marked as a duplicate of 17193 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 17193] - java.net.bindException during shutdown in Tomcat 4.1.18
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=17193. 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=17193 java.net.bindException during shutdown in Tomcat 4.1.18 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] ||l.com --- Additional Comments From [EMAIL PROTECTED] 2003-07-13 23:44 --- *** Bug 17702 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 19098] - Tomcat shutdown problem
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=19098. 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=19098 Tomcat shutdown problem [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Additional Comments From [EMAIL PROTECTED] 2003-07-13 23:49 --- There is actually a bug with Tomcat 4.1.x on JDK 1.3 (maybe only on Windows). This is duplicated in Bug 17193 and Bug 17702. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 19098] - Tomcat shutdown problem
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=19098. 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=19098 Tomcat shutdown problem [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2003-07-13 23:49 --- *** This bug has been marked as a duplicate of 17193 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 17193] - java.net.bindException during shutdown in Tomcat 4.1.18
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=17193. 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=17193 java.net.bindException during shutdown in Tomcat 4.1.18 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2003-07-13 23:49 --- *** Bug 19098 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 21552] - Web Admin Tool deletes needed entries in server.xml
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=21552. 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=21552 Web Admin Tool deletes needed entries in server.xml [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-13 23:54 --- Tomcat will now move context declarations from server.xml to separate context declaration files, similar to those used for the manager and admin context. This bug will not be addressed, please do not reopen it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 21553] New: - Accessing /manager via Alias lists webapps for default Host rather than this Host
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=21553. 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=21553 Accessing /manager via Alias lists webapps for default Host rather than this Host Summary: Accessing /manager via Alias lists webapps for default Host rather than this Host Product: Tomcat 5 Version: 5.0.3 Platform: PC OS/Version: All Status: NEW Severity: Blocker Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Using the following server.xml declaration: Host className=org.apache.catalina.core.StandardHost appBase=vhosts/webapps/community-2.com autoDeploy=true backgroundProcessorDelay=-1 configClass=org.apache.catalina.startup.ContextConfig contextClass=org.apache.catalina.core.StandardContext debug=0 deployOnStartup=true deployXML=true domain=Catalina errorReportValveClass=org.apache.catalina.valves.ErrorReportValve liveDeploy=true name=www.community-2.com unpackWARs=true xmlNamespaceAware=false xmlValidation=false Aliascommunity-2.com/Alias Context path=/admin docBase=/usr/local/jakarta-tomcat/server/webapps/admin debug=0 privileged=true / Context path=/manager docBase=/usr/local/jakarta-tomcat/server/webapps/manager debug=0 privileged=true / /Host If the /manager context is accessed as http://community-2.com/manager/html it results in listing the webapps for http://localhost:8080/manager/html which is the default Host. It should be showing the webapps for the Host which contains the alias. Gerry Reno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper Mapper.java
remm2003/07/13 19:52:41 Modified:util/java/org/apache/tomcat/util/http/mapper Mapper.java Log: - Add support for mapping host aliases. I apparently forgot that, oops (bug 21553). - All host aliases will share the same context array instance. Revision ChangesPath 1.22 +64 -35 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java Index: Mapper.java === RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- Mapper.java 21 May 2003 17:45:18 - 1.21 +++ Mapper.java 14 Jul 2003 02:52:41 - 1.22 @@ -181,14 +181,27 @@ * @param name Virtual host name * @param host Host object */ -public synchronized void addHost(String name, Object host) { +public synchronized void addHost(String name, String[] aliases, + Object host) { Host[] newHosts = new Host[hosts.length + 1]; Host newHost = new Host(); + ContextList contextList = new ContextList(); newHost.name = name; + newHost.contextList = contextList; newHost.object = host; if (insertMap(hosts, newHosts, newHost)) { hosts = newHosts; } + for (int i = 0; i aliases.length; i++) { + newHosts = new Host[hosts.length + 1]; + newHost = new Host(); + newHost.name = aliases[i]; + newHost.contextList = contextList; + newHost.object = host; + if (insertMap(hosts, newHosts, newHost)) { + hosts = newHosts; + } + } } @@ -197,17 +210,23 @@ * * @param name Virtual host name */ -public synchronized void removeHost(String name) { +public synchronized void removeHost(String name, String[] aliases) { Host[] newHosts = new Host[hosts.length - 1]; if (removeMap(hosts, newHosts, name)) { hosts = newHosts; } + for (int i = 0; i aliases.length; i++) { + newHosts = new Host[hosts.length - 1]; + if (removeMap(hosts, newHosts, aliases[i])) { + hosts = newHosts; + } + } } public String[] getHosts() { -String hostN[]=new String[ hosts.length]; -for( int i=0; ihosts.length; i++ ) { -hostN[i]=hosts[i].name; +String hostN[] = new String[hosts.length]; +for( int i = 0; i hosts.length; i++ ) { +hostN[i] = hosts[i].name; } return hostN; } @@ -243,7 +262,7 @@ Host[] hosts = this.hosts; int pos = find(hosts, hostName); if( pos 0 ) { -addHost(hostName, ); +addHost(hostName, new String[0], ); hosts = this.hosts; pos = find(hosts, hostName); } @@ -252,7 +271,7 @@ } Host host = hosts[pos]; if (host.name.equals(hostName)) { -Context[] contexts = host.contexts; +Context[] contexts = host.contextList.contexts; synchronized (host) { Context[] newContexts = new Context[contexts.length + 1]; Context newContext = new Context(); @@ -261,7 +280,7 @@ newContext.welcomeResources = welcomeResources; newContext.resources = resources; if (insertMap(contexts, newContexts, newContext)) { -host.contexts = newContexts; +host.contextList.contexts = newContexts; } } } @@ -283,14 +302,14 @@ } Host host = hosts[pos]; if (host.name.equals(hostName)) { -Context[] contexts = host.contexts; +Context[] contexts = host.contextList.contexts; if( contexts.length == 0 ){ return; } synchronized (host) { Context[] newContexts = new Context[contexts.length - 1]; if (removeMap(contexts, newContexts, path)) { -host.contexts = newContexts; +host.contextList.contexts = newContexts; } } } @@ -305,8 +324,8 @@ public String[] getContextNames() { List list=new ArrayList(); for( int i=0; ihosts.length; i++ ) { -for( int j=0; jhosts[i].contexts.length; j++ ) { -String cname=hosts[i].contexts[j].name; +for( int j=0; jhosts[i].contextList.contexts.length; j++ ) { +String cname=hosts[i].contextList.contexts[j].name;
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5 MapperListener.java
remm2003/07/13 19:54:52 Modified:catalina/src/share/org/apache/coyote/tomcat5 MapperListener.java Log: - Add support for mapping host aliases. I apparently forgot that, oops (bug 21553). - All host aliases will share the same context array instance. Revision ChangesPath 1.8 +8 -6 jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/MapperListener.java Index: MapperListener.java === RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/MapperListener.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- MapperListener.java 2 May 2003 20:12:15 - 1.7 +++ MapperListener.java 14 Jul 2003 02:54:52 - 1.8 @@ -296,15 +296,15 @@ } /** - * Register host (FIXME). + * Register host. */ private void registerHost(ObjectName objectName) -throws Exception -{ +throws Exception { String name=objectName.getKeyProperty(host); -log.debug(Register host + name); if( name != null ) { -mapper.addHost(name, objectName); +String[] aliases = (String[]) +mBeanServer.invoke(objectName, findAliases, null, null); +mapper.addHost(name, aliases, objectName); } } @@ -315,7 +315,9 @@ private void unregisterHost(ObjectName objectName) throws Exception { String name=objectName.getKeyProperty(host); -mapper.removeHost(name); +String[] aliases = (String[]) +mBeanServer.invoke(objectName, findAliases, null, null); +mapper.removeHost(name, aliases); } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 21553] - Accessing /manager via Alias lists webapps for default Host rather than this Host
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=21553. 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=21553 Accessing /manager via Alias lists webapps for default Host rather than this Host [EMAIL PROTECTED] changed: What|Removed |Added Severity|Blocker |Normal Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-07-14 03:01 --- I think you should look into issues more before filing bugs. The problem here was that alias mapping was not implemented in the new mapper. The issue has nothing to do with the manager webapp. This has now been implemented, and will be in 5.0.4. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper Mapper.java
Host[] newHosts = new Host[hosts.length + 1]; Host newHost = new Host(); + ContextList contextList = new ContextList(); newHost.name = name; + newHost.contextList = contextList; newHost.object = host; if (insertMap(hosts, newHosts, newHost)) { hosts = newHosts; } + for (int i = 0; i aliases.length; i++) { + newHosts = new Host[hosts.length + 1]; + newHost = new Host(); + newHost.name = aliases[i]; + newHost.contextList = contextList; + newHost.object = host; + if (insertMap(hosts, newHosts, newHost)) { + hosts = newHosts; + } + } } The Tab-police are going to be after you big-time for this ;-). This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper Mapper.java
remm2003/07/13 20:14:11 Modified:util/java/org/apache/tomcat/util/http/mapper Mapper.java Log: - Remove tabs. Revision ChangesPath 1.23 +19 -19 jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java Index: Mapper.java === RCS file: /home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/mapper/Mapper.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- Mapper.java 14 Jul 2003 02:52:41 - 1.22 +++ Mapper.java 14 Jul 2003 03:14:10 - 1.23 @@ -182,26 +182,26 @@ * @param host Host object */ public synchronized void addHost(String name, String[] aliases, - Object host) { + Object host) { Host[] newHosts = new Host[hosts.length + 1]; Host newHost = new Host(); - ContextList contextList = new ContextList(); +ContextList contextList = new ContextList(); newHost.name = name; - newHost.contextList = contextList; +newHost.contextList = contextList; newHost.object = host; if (insertMap(hosts, newHosts, newHost)) { hosts = newHosts; } - for (int i = 0; i aliases.length; i++) { - newHosts = new Host[hosts.length + 1]; - newHost = new Host(); - newHost.name = aliases[i]; - newHost.contextList = contextList; - newHost.object = host; - if (insertMap(hosts, newHosts, newHost)) { - hosts = newHosts; - } - } +for (int i = 0; i aliases.length; i++) { +newHosts = new Host[hosts.length + 1]; +newHost = new Host(); +newHost.name = aliases[i]; +newHost.contextList = contextList; +newHost.object = host; +if (insertMap(hosts, newHosts, newHost)) { +hosts = newHosts; +} +} } @@ -215,12 +215,12 @@ if (removeMap(hosts, newHosts, name)) { hosts = newHosts; } - for (int i = 0; i aliases.length; i++) { - newHosts = new Host[hosts.length - 1]; - if (removeMap(hosts, newHosts, aliases[i])) { - hosts = newHosts; - } - } +for (int i = 0; i aliases.length; i++) { +newHosts = new Host[hosts.length - 1]; +if (removeMap(hosts, newHosts, aliases[i])) { +hosts = newHosts; +} +} } public String[] getHosts() { - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 21552] - Web Admin Tool deletes needed entries in server.xml
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=21552. 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=21552 Web Admin Tool deletes needed entries in server.xml --- Additional Comments From [EMAIL PROTECTED] 2003-07-14 04:15 --- Remy, Could you elaborate a little on this. Are you saying that when using the admin tool and changes are committed to server.xml that all contexts will be extracted out and placed into separate context files? This would be ok. When I observed the current behavior though I did not find any context files produced for the local manager or admin. Is this behavior you describe in a later release? And is there going to be a way to preserve comments? If there are certain things that cannot be done, not a problem, just would like to know what to expect when using the admin tool. Gerry Reno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 21553] - Accessing /manager via Alias lists webapps for default Host rather than this Host
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=21553. 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=21553 Accessing /manager via Alias lists webapps for default Host rather than this Host --- Additional Comments From [EMAIL PROTECTED] 2003-07-14 04:59 --- Remy, Do you expect that everyone knows that alias mapping was not implemented? I was just reporting behavior that seemed abnormal. I hope you don't expect everyone to sift through the HEAD and every possible discussion on dev where its often not even clear exactly what things are being implemented. I did some searches on the lists for alias and manager and got lots of hits. I read through a reasonable number of these without locating any resolution so I opened a bug. Please excuse. Gerry Reno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]