Is this a stupid question or something? Why no nibbles?
At 01:08 AM 1/25/02 -0800, you wrote: FIRST If I want several development urls, e.g. app1.mycompany.com app2.mycompany.com app3.mycompany.com to be accessed through one registered url, e.g. www.mycompany.com can I do this with server.xml alone or do I have to also configrue the dns server to cooperate? SECOND If the server.xml alone, do I do it the same way we did with Tomcat 3.2? If not, what changes are now in order? Thanks for any assistance. I think that if there were a simple sample server.xml to look at, all these things would be immediately resolved. -- micael -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Ajp handler and URI rewriting
Hi, I'm working with Tomcat 3.2 behind an Apache server. On Apache side, I've install mod_jk to transfer all the requests for the root context of a specific host to Tomcat using AJP13. This seems to work fine as long as my client browser does accept cookies. However, when working with URL rewriting, Tomcat does not seems to be able to handle the request. I've got a page not found error. I've look a little bit further and I can tell the following: - If I request direclty Tomcat (by specifying the port on the URI), everything works fine. - Looking at the ContextManager debug messages, I've seen that when going through the AJP handler, Tomcat tries to get the real path for the URI including the rewriting. (e.g. /jsp/test.jsp;jsessionid=7rfhs767). While when requesting directly Tomcat, the URI seems to have been parsed before since Tomcat tries to locate /jsp/test.jsp Maybe, I did something wrong with the configuration but I don't know what. Does anybody have an idea? thanks, --Eric -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Is this a stupid question or something? Why no nibbles?
--- Micael Padraig Og mac Grene [EMAIL PROTECTED] wrote: At 01:08 AM 1/25/02 -0800, you wrote: FIRST If I want several development urls, e.g. app1.mycompany.com app2.mycompany.com app3.mycompany.com to be accessed through one registered url, e.g. www.mycompany.com can I do this with server.xml alone or do I have to also configrue the dns server to cooperate? Are you accessing these dev urls from outside your local LAN or inside? Do you have an internal DNS server? You are going to have to configure DNS for machines outside of your LAN to know what IP address app1.mycompany.com should resolve to. If you are only concerned w/ 1 or 2 internal machines you could set up a host file on those machines that maps the different name to the same IP address. Of course, if these are to be different contexts you will have to edit server.xml . I have yet to upgrade to 4.0 so I can't answer in detail about that. SNIP = [EMAIL PROTECTED] Hacking is a Good Thing! See http://www.tuxedo.org/~esr/faqs/hacker-howto.html __ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Problem with JDBC-Connection to DB2 from Tomcat4.0.1
Hi Remy, the problem with the driver is solved. I have changed catalina.bat (set the Tomcat-CLASSPATH to the original driver-directory) and now the driver is found. Thank you for your help Anja Falkner -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Accessing Manager app through URLConnection
On Fri, 25 Jan 2002, Christian Cryder wrote: Date: Fri, 25 Jan 2002 23:31:28 -0700 From: Christian Cryder [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat-User [EMAIL PROTECTED] Subject: Accessing Manager app through URLConnection Ok, how can I go about accessing the Manager app through a URL connection? Its currently generating a 401 error code, and I know the reason is because of the role stuff...how can I programatically assign a role? Or is there a way I can pass the user/pwd info along with the url poarameters somehow? I'd greatly appreciate some ideas on this... Hi Christian, You are indeed getting a 401 error because the manager webapp is protected by a security constraint using BASIC authentication. If you run it from a browser, you get the usual pop-up dialog. To use automated connections, your client code is going to have to create an Authorization header that encodes the username and password, in the format required by RFC 2617, and include it with the request to bypass the 401 dialog. One source of code you could use to figure out what's necessary is in the HEAD branch of the Tomcat 4 repository -- in class org.apache.catalina.ant.AbstractCatalinaTask. (As the name implies, this is the base class for a set of custom Ant tasks that interact with the Manager webpp, documented on the manager-howto.html page in the nightly builds of Tomcat 4. THanks, Christian Craig McClanahan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Is a jsp page compiled a SERVLET?
Monica Guerra wrote: Please help me with that question: Is a jsp page compiled a SERVLET? The jsp page compiled, the .class is a SERVLET Every JSP page is transformed into a Java source file for a servlet (done by Jasper in Tomcat) and then compiled into a Java class by javac. Then it is deployed. You'll find both source and class in $CATALINA_HOME/work/$VHost/ Nix. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Ajp handler and URI rewriting
I've got some additional information. When accessing the JSP directly on Tomcat (using http://localhost:8080/test.jsp), I've got the following ContextManager debug message: ContextManager: ProcessRequest: R( /test.jsp;jsessionid=2ab86g20t1) and then the SessionInterceptor can retrieve the session When accessing the same page through Apache with mod_jk and Ajp13 connector, I've got the following message: ContextManager: ProcessRequest: R( /test.jsp%3bjsessionid=ipt44x1ye1) and the SessionInterceptor CANNOT retrieve the session. Is it something wrong with the Ajp13Connector? --Eric
Using Warp Connector only: remove http from server.xml?
Hello List... Newbie question. Setting up Redhat7.0/TC4.0.1/Apache1.3.20 and after some ironing out, all now appears to work as expected. My question is: do I still need the standalone http connector (configured in server.xml) when I'm using Warp with Apache? thanks /j-p. - JUSTATEST Art Online. www.justatest.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Accessing Manager app through URLConnection
I setup mine and it authenticates then gives me, FAIL - Unknown command I don't even know where to begin troubleshooting because I don't know what I am supposed to be looking for. Localhost_log file has the following, 2002-01-26 15:13:35 StandardWrapper[/manager:Manager]: Loading container servlet Manager 2002-01-26 15:13:35 Manager: init 2002-01-26 15:13:35 Manager: init: Associated with Deployer 'localhost' localhost_access_log has 192.168.0.1 - - [26/Jan/2002:15:13:33 -0500] GET /manager HTTP/1.1 401 618 192.168.0.1 - dwlee1 [26/Jan/2002:15:13:35 -0500] GET /manager HTTP/1.1 200 40 Original Message Follows From: Craig R. McClanahan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Accessing Manager app through URLConnection Date: Sat, 26 Jan 2002 08:46:45 -0800 (PST) On Fri, 25 Jan 2002, Christian Cryder wrote: Date: Fri, 25 Jan 2002 23:31:28 -0700 From: Christian Cryder [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat-User [EMAIL PROTECTED] Subject: Accessing Manager app through URLConnection Ok, how can I go about accessing the Manager app through a URL connection? Its currently generating a 401 error code, and I know the reason is because of the role stuff...how can I programatically assign a role? Or is there a way I can pass the user/pwd info along with the url poarameters somehow? I'd greatly appreciate some ideas on this... Hi Christian, You are indeed getting a 401 error because the manager webapp is protected by a security constraint using BASIC authentication. If you run it from a browser, you get the usual pop-up dialog. To use automated connections, your client code is going to have to create an Authorization header that encodes the username and password, in the format required by RFC 2617, and include it with the request to bypass the 401 dialog. One source of code you could use to figure out what's necessary is in the HEAD branch of the Tomcat 4 repository -- in class org.apache.catalina.ant.AbstractCatalinaTask. (As the name implies, this is the base class for a set of custom Ant tasks that interact with the Manager webpp, documented on the manager-howto.html page in the nightly builds of Tomcat 4. THanks, Christian Craig McClanahan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- I am Microsoft of Borg. You will be assimilated. Resistance is futi . . . GENERAL PROTECTION FAULT IN MSBORG32.DLL -- Donald Lee ([EMAIL PROTECTED]) Associate Enterprise Engineer MCSE, Compaq ASE, ACT, A+, TCT, HP _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Accessing Manager app through URLConnection
Are you giving it a command? e.g. http://your.server/manager/list From the log, it looks like you're not including the command (list in this case) So the manager sees an empty command string and doesn't recognize what it's supposed to do with it. Catch you later, Tom On Sat, 26 Jan 2002, Donald Lee wrote: I setup mine and it authenticates then gives me, FAIL - Unknown command I don't even know where to begin troubleshooting because I don't know what I am supposed to be looking for. Localhost_log file has the following, 2002-01-26 15:13:35 StandardWrapper[/manager:Manager]: Loading container servlet Manager 2002-01-26 15:13:35 Manager: init 2002-01-26 15:13:35 Manager: init: Associated with Deployer 'localhost' localhost_access_log has 192.168.0.1 - - [26/Jan/2002:15:13:33 -0500] GET /manager HTTP/1.1 401 618 192.168.0.1 - dwlee1 [26/Jan/2002:15:13:35 -0500] GET /manager HTTP/1.1 200 40 Original Message Follows From: Craig R. McClanahan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Accessing Manager app through URLConnection Date: Sat, 26 Jan 2002 08:46:45 -0800 (PST) On Fri, 25 Jan 2002, Christian Cryder wrote: Date: Fri, 25 Jan 2002 23:31:28 -0700 From: Christian Cryder [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat-User [EMAIL PROTECTED] Subject: Accessing Manager app through URLConnection Ok, how can I go about accessing the Manager app through a URL connection? Its currently generating a 401 error code, and I know the reason is because of the role stuff...how can I programatically assign a role? Or is there a way I can pass the user/pwd info along with the url poarameters somehow? I'd greatly appreciate some ideas on this... Hi Christian, You are indeed getting a 401 error because the manager webapp is protected by a security constraint using BASIC authentication. If you run it from a browser, you get the usual pop-up dialog. To use automated connections, your client code is going to have to create an Authorization header that encodes the username and password, in the format required by RFC 2617, and include it with the request to bypass the 401 dialog. One source of code you could use to figure out what's necessary is in the HEAD branch of the Tomcat 4 repository -- in class org.apache.catalina.ant.AbstractCatalinaTask. (As the name implies, this is the base class for a set of custom Ant tasks that interact with the Manager webpp, documented on the manager-howto.html page in the nightly builds of Tomcat 4. THanks, Christian Craig McClanahan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- I am Microsoft of Borg. You will be assimilated. Resistance is futi . . . GENERAL PROTECTION FAULT IN MSBORG32.DLL -- Donald Lee ([EMAIL PROTECTED]) Associate Enterprise Engineer MCSE, Compaq ASE, ACT, A+, TCT, HP _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Accessing Manager app through URLConnection
I was able to get it to work by following the instructions in Craigs email. I'm attaching a couple of classes that I created to make the whole thing easy. Basically, look at the very bottom of HttpRequester.java, and you'll see an example that looks something like this: HttpRequester hr = new HttpRequester(); String urlStr = http://localhost:8080/manager/list;; hr.setRequest(urlStr, HttpRequester.GET, null, admin, 123123, null); hr.connect(); String inputLine; while ((inputLine = hr.readLine()) != null) { System.out.println(inputLine); } hr.disconnect(); urlStr = http://localhost:8080/manager/reload?path=/examples;; hr.setRequest(urlStr, HttpRequester.GET, null, admin, 123123, null); hr.connect(); String inputLine; while ((inputLine = hr.readLine()) != null) { System.out.println(inputLine); } hr.disconnect(); Both of these work for me. Christian -- Christian Cryder [[EMAIL PROTECTED]] Internet Architect, ATMReports.com Barracuda - http://barracuda.enhydra.org -- What a great time to be a(n employed) Geek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] he.org]On Behalf Of Donald Lee Sent: Saturday, January 26, 2002 12:58 PM To: [EMAIL PROTECTED] Subject: Re: Accessing Manager app through URLConnection I setup mine and it authenticates then gives me, FAIL - Unknown command I don't even know where to begin troubleshooting because I don't know what I am supposed to be looking for. Localhost_log file has the following, 2002-01-26 15:13:35 StandardWrapper[/manager:Manager]: Loading container servlet Manager 2002-01-26 15:13:35 Manager: init 2002-01-26 15:13:35 Manager: init: Associated with Deployer 'localhost' localhost_access_log has 192.168.0.1 - - [26/Jan/2002:15:13:33 -0500] GET /manager HTTP/1.1 401 618 192.168.0.1 - dwlee1 [26/Jan/2002:15:13:35 -0500] GET /manager HTTP/1.1 200 40 Original Message Follows From: Craig R. McClanahan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Accessing Manager app through URLConnection Date: Sat, 26 Jan 2002 08:46:45 -0800 (PST) On Fri, 25 Jan 2002, Christian Cryder wrote: Date: Fri, 25 Jan 2002 23:31:28 -0700 From: Christian Cryder [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat-User [EMAIL PROTECTED] Subject: Accessing Manager app through URLConnection Ok, how can I go about accessing the Manager app through a URL connection? Its currently generating a 401 error code, and I know the reason is because of the role stuff...how can I programatically assign a role? Or is there a way I can pass the user/pwd info along with the url poarameters somehow? I'd greatly appreciate some ideas on this... Hi Christian, You are indeed getting a 401 error because the manager webapp is protected by a security constraint using BASIC authentication. If you run it from a browser, you get the usual pop-up dialog. To use automated connections, your client code is going to have to create an Authorization header that encodes the username and password, in the format required by RFC 2617, and include it with the request to bypass the 401 dialog. One source of code you could use to figure out what's necessary is in the HEAD branch of the Tomcat 4 repository -- in class org.apache.catalina.ant.AbstractCatalinaTask. (As the name implies, this is the base class for a set of custom Ant tasks that interact with the Manager webpp, documented on the manager-howto.html page in the nightly builds of Tomcat 4. THanks, Christian Craig McClanahan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- I am Microsoft of Borg. You will be assimilated. Resistance is futi . . . GENERAL PROTECTION FAULT IN MSBORG32.DLL -- Donald Lee ([EMAIL PROTECTED]) Associate Enterprise Engineer MCSE, Compaq ASE, ACT, A+, TCT, HP _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] HttpRequester.java Description: Binary data HttpOutputWriter.java Description: Binary data HttpConverter.java Description: Binary data -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Accessing Manager app through URLConnection
On Sat, 26 Jan 2002, Donald Lee wrote: Date: Sat, 26 Jan 2002 14:57:56 -0500 From: Donald Lee [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Accessing Manager app through URLConnection I setup mine and it authenticates then gives me, FAIL - Unknown command Manager is a non-interactive webapp that uses the request URI, plus request parameters, to tell it what to do. Details are in the Tomcat docs included with Tomcat 4, or online at: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html Craig -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: canno startup Tomcat 4.0.1 - how to nobble JSP?
Micael, After dowloading j2sdk1.4 and Tomcat 1.4 it worked straightaway! I can only conclude that a particular version pair was the cause and like i always join the slowest supermarket queue Admittedly these versions are all beta however this does not hurt me right now and i will proceed from here. Ah, there is one question you might no the answer to. Apparentely the only reason the jdk rather than the jre is used by Tomcat is in the support of jsp. Since i do not intend to use jsp at all(there is much better technology e.g. webmacro) ...Q How to disable the initilisation of JSP? Thanks. for your support... Regards, David. On Friday 25 January 2002 7:57 am, you wrote: I downloaded a new copy of Tomcat and the problems disappeared. At 11:40 AM 1/22/02 +, you wrote: Despite the good advice to carefully go through the documentation again the 'problem' still persists : It appears neither to start nor to fail? glibc version is 2.2.4-21 jdk is 1.3.1 i have set: ulimit -s 2048 and: export LD_ASSUME_KERNEL=2.2.5 I see i am not alone as two others report similar problem. Yet a colleague of mine on, i am quite sure, the same level of suse 7.3 jdk etc has succeeded immediately. The only known difference is that my colleague has made a clean install while mine was an upgrade from 7.2 Q. Can there be a remnant from an older installation of tomcat that could be the cause? The log for the startup gives just a one line comment as follows: 2002-01-22 09:55:43 HttpConnector Opening server socket on all host IP addresses but their is no reported failure! Indeed an active process is created. but despite the implication tht it is listening on the specified port an http request cannot connect to the port. (Other ports are working fine. e.g apache/jserv) I have also tried setting another unused port other than 8080 to no avail... The problem appears to be something more basic? Regards, David. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Tomcat 4 Runtime.exec()? (solved)
Hi guys, Well, I just figured it out...turns out that when I run it as a standalone application, something like this works just fine: File path = new File(C:/temp99); String cmd = test.bat; Runtime.getRuntime().exec(cmd, null, path); When I run it in Tomcat, however, the cmd _must_ include the path, like this: File path = new File(C:/temp99); String cmd = C:/temp99/test.bat; Runtime.getRuntime().exec(cmd, null, path); If I don't do this, it blows up. Is that wierd or what? What I can't figure out is that in both cases I am using the same JDK (1.3.1), so I'm not sure why the first example works standalone but not in a servlet. Wierd wierd wierd. Oh well, at least it works... *sigh* :-) Thanks for your everyone's help! Christian -- Christian Cryder [[EMAIL PROTECTED]] Internet Architect, ATMReports.com Barracuda - http://barracuda.enhydra.org -- What a great time to be a(n employed) Geek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] he.org]On Behalf Of Christian Cryder Sent: Friday, January 25, 2002 7:43 PM To: Tomcat-User Subject: Tomcat 4 Runtime.exec()? Can anyone tell me why the Runtime.exec() call in the following piece of code runs fine standalone, but blows chunks in Tomcat 4? File path = new File(E:/WebProjects/lutris/cvs/Barracuda/src); String[] args = new String[] {ant.bat,admin.sample1}; try { Process p = Runtime.getRuntime().exec(args, null, path); StringBuffer sbOut = new StringBuffer(1000); BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream())); while (true) { String s = br.readLine(); if (s==null) break; System.out.println(s); } br.close(); p.waitFor(); System.out.println (sbOut.toString()); System.out.println (Exit status: +p.exitValue()); } catch (Exception e) { System.out.println (Unexpected error executing cmd:+e); } Like I said, it works fine when run as an application. But in Tomcat, I get the following stack trace: Path: E:\WebProjects\lutris\cvs\Barracuda\src (exists=true) Args[0]: ant.bat Args[1]: admin.sample1 Unexpected error executing cmd:java.io.IOException: CreateProcess: ant.bat admin.sample1 error=2 java.io.IOException: CreateProcess: ant.bat admin.sample1 error=2 at java.lang.Win32Process.create(Native Method) at java.lang.Win32Process.init(Unknown Source) at java.lang.Runtime.execInternal(Native Method) at java.lang.Runtime.exec(Unknown Source) ... snip ... Suggestions? Is there something I don't know about invoking Runtime.exec() from with a servlet? Thanks, Christian -- Christian Cryder [[EMAIL PROTECTED]] Internet Architect, ATMReports.com Barracuda - http://barracuda.enhydra.org -- What a great time to be a(n employed) Geek -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat 4.0.2
I would really appreciate it if someone could let me know when the Tomcat 4.0.2 final release is supposed to come out. Thanks. __ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0.2
On Sat, 26 Jan 2002, Asim Razzaq wrote: Date: Sat, 26 Jan 2002 17:22:19 -0800 (PST) From: Asim Razzaq [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Tomcat 4.0.2 I would really appreciate it if someone could let me know when the Tomcat 4.0.2 final release is supposed to come out. There's a standard open source response to this question - you'll see it when you see it :-). In practical terms, the last comments I've seen on the DEV list talk about a couple of weeks. This is primarily an issue of stabilizing the web connectors -- if that's not a big concern to you, there's no reason not to start using the release candidate version (4.0.2b2) now. We're not going to be making any risky changes from here to final release. Thanks. Craig -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: 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
server.xml and Catalina
I sure am having trouble getting an example of server.xml. I bathed! Is the 4.0 server.xml structured about like the 3.2 was? I have looked at the documentation, but I am practically oriented. If someone would show me one copy of a working server.xml with virtual hosting, I would be off and running. But --- no! ;-) Come on, someone, help me out. -- micael -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Is this a stupid question or something? Why no nibbles?
At 04:16 AM 1/26/02 -0800, you wrote: --- Micael Padraig Og mac Grene [EMAIL PROTECTED] wrote: At 01:08 AM 1/25/02 -0800, you wrote: FIRST If I want several development urls, e.g. app1.mycompany.com app2.mycompany.com app3.mycompany.com to be accessed through one registered url, e.g. www.mycompany.com can I do this with server.xml alone or do I have to also configrue the dns server to cooperate? Are you accessing these dev urls from outside your local LAN or inside? Do you have an internal DNS server? You are going to have to configure DNS for machines outside of your LAN to know what IP address app1.mycompany.com should resolve to. If you are only concerned w/ 1 or 2 internal machines you could set up a host file on those machines that maps the different name to the same IP address. Of course, if these are to be different contexts you will have to edit server.xml . I have yet to upgrade to 4.0 so I can't answer in detail about that. SNIP = [EMAIL PROTECTED] Hacking is a Good Thing! -- Thanks Charles, Access is from outside. I will have an internal dns server in about a month, but right now it is being served by the company that is giving me bandwidth and an ip address. Any further help you can give me would be greatly appreciated. -- micael -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]