RE: tomcat-server
Stock Exchange, I think. On Fri, 24 Jan 2003, Turner, John wrote: All I want to know is what, exactly, is a "semi-government organization". ;) John -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 1:22 AM To: [EMAIL PROTECTED] Subject: Re: tomcat-server 1) Much what Jason said: You can run Tomcat behind IIS to take advantage of ASP support, or you can get fancy and use Java <--> COM bridges to do much the same thing. From your description, I'd guess that you want the first option. 2) Again, what Jason said. You can view the Apache license (which covers Tomcat) at http://www.apache.org/LICENSE The price is whatever your ISP is charging for downloads ;-). 3) If you want a local tech-support contract, then I don't know (except that Jason seems to be offering :). Otherwise, point your browser to http://jakarta.apache.org/site/binindex.cgi 4) Personally, my sites don't get more than about 100 simultaneous connections :(. However, I've heard reliable reports that Tomcat will scale happily to up to two orders of magnitude higher. Of course, this all depends on what your webapp actually does. :) "Leela Nanda" <[EMAIL PROTECTED]> wrote in message 001201c2c344$f2f06b30$4901a8c0@sco">news:001201c2c344$f2f06b30$4901a8c0@sco... Dear Sir, I, Leelanand Reddy hereby would like to introduce myself as a Java programmer in a software development firm in Kuala Lumpur, Malaysia. Hence I'm hereby submitting my queries for which I need a detailed explanation. We have been developing a web based application for a reputed semi-government organization in Malaysia. My application is to display live information on the web pages where as the live feed is a frequent flow during day hours(from 8:30am to 6:30pm). The live information on the web pages is displayed by "Java Swing Applets", for this currently I'm implementing the "Tomcat3.2.4". But according to suggestion of technologists I want to buy the "Tomcat Server" 1. So I need to know, whether "Tomcat Server" is fully compatible with ASP or not (because my web pages are developed in ASP) 2. Can I have a price quotation for Tomcat Sever? 3. What is the right place (vendor)in Malaysia that I can put a purchase-order for above? 4. Finally, whether the server can serve number of users? I'm so grateful to you if you respond for this mail. Thanking you, Sincerely yours, Leelanand Reddy B -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003 --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: tomcat-server
Leelanand, Tomcat (server) is an open-source developed product. This means that you may use it without fee. Please see http://jakarta.apache.org/tomcat . If what you mean by purchase is support or professional assistance, then there are many companies in South East Asia which will assist you for fee. We have done work in Singapore and Bangkok and can attest to the quantity of labor. Tomcat is compatible with Microsoft IIS server v4 & v5, Tomcat does not serve Active Server Pages. Tomcat can be integrated with IIS ASP. Tomcat has great performance, it can serve many users. If you would like to contact us directly, please do so. Sincerely, Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. 1. So I need to know, whether "Tomcat Server" is fully compatible with ASP or not (because my web pages are developed in ASP) 2. Can I have a price quotation for Tomcat Sever? 3. What is the right place (vendor)in Malaysia that I can put a purchase-order for above? 4. Finally, whether the server can serve number of users? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Anyone VIRTUAL WEBAPP?
not the same, but have a need similar: we have a file organization /c:/foo/bar/publicfiles and /d:/foo/bar/publicfiles/photos we would like to "symlink" this into the context, but our filesystem does not support it, was hoping to do it in the config. On Wed, 22 Jan 2003, David Keyes wrote: I am working on a project that involves creating a web application. Within our build environment, the webapp does not exist in the standard webapp structure. For example, we have servlets/jsp/html/images/etc in various directories that need to be merged into the standard webapp structure (we use an ant script for this) before they can be deployed and run on an app server (i.e. tomcat). The problem with this is that it really stinks to run a hefty ant script every time that I want to see a minor change in a JSP. So here's what I would like to do in my development environment (wich happens to be Eclipse). It involves two parts: 1. Create a development context class loader. Sysdeo has already written one of these that allows multiple arbitrary paths to be added to the standard set (WEB-INF/classes and WEB-INF/lib) supported by the servlet spec. This works reasonably well, and allows me to load servlets/resources/etc from the various places that they exist within my development environment. No copying/moving/etc. required! 2. The next thing required would be to have a tomcat Context that would look in various non-standard places for requested resources such as JSPs, html files, images, etc. Essentially, I would like to have tomcat look in a series of directories for a requested resource (within a single Context), rather than just in the docBase. For example, if the url http://localhost:8080/myapp/index.html were requested, I would like tomcat to look in c:\dev\module1\web, c:\dev\module2\web, c:\dev\moduleN\web, etc. The process would stop as soon as the resource was found. Has anyone seen something like this already implemented? If not, are there any suggestions on where I would start to do this myself? I was thinking that I might be able to simply extend the StandardContext in Catalina, but it looks like things are pretty hard coded around the idea of a single docBase directory. Other people have to have similar development structures, so how are others doing this? Dave Keyes -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
iis, tomcat, jstl, locale issue.
Looking for other users experience on this issue. iis 4 and 5 tomcat 4.1.12 problem: DateFormat / fail to function, it just does a toString(), on the date. this only happens when certain parameters are passed to the JSP and the browser header "Accept-Language: en-us" is sent. It does not happen when a request is sent directly to tomcat. working on ways to get more info about this scenario -jason pyeron for more details: http://projects.pyerotechnics.com/show_bug.cgi?id=7 -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: MySQL Hell
you dont want to put 'your' classes there only shared libraries. hope things work well On Wed, 22 Jan 2003 [EMAIL PROTECTED] wrote: Thanks for your advice on which groups to try Barney - it was very useful to someone out there... jason, that worked - all I had to do was put the classes and jars in ~/common/classes and common/lib respectively Many thanks, Med "mwm" rphy.co.uk>cc: Subject: Re: MySQL Hell 22/01/2003 15:28 Please respond to "Tomcat Users List" Not really related, but I thought I'd mention that the driver has been renamed to com.mysql.jdbc.Driver. (The one you're using remains as a wrapper for backwards compatibility.) Mike. - Original Message - From: "Jason Pyeron" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 3:23 PM Subject: RE: MySQL Hell We have encountered strange results when drivers are loaded in the WEB-INF folders we reccommend having the sysadmin putting them in the TOMCAT_HOME/common/lib folder -jason pyeron On Wed, 22 Jan 2003, Barney Hamish wrote: I'd suggest looking at the comments in the examples for DBCP about how the examples need to be run. The required JDBC driver needs to be pre-loaded for it to work. If you have any further questions you should probably send them to the commons mailing list. Hamish > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 4:14 PM > To: Tomcat Users List > Subject: MySQL Hell > > > > Hello all, > > i have been breaking my brain trying to get connection pooling, using > Tomcat 4.1.12's build in dbcp, with mySQL 3.23. > > I have followed the instructions on the how this should be > done, and I am > getting an exception when I try to get a connection .. (like > many other > people it seems).. If anyone has solved this problem.. or > has a link to a > forum where this problem is answered please let me know.. > > I have downloaded mysql-connector-java-2.0.14.zip > > I unzipped it and copied : > * the contents of WEB-INF/lib to my lib folder > * contents of com to my WEB-INF/classes folder > * contents of org to my WEB-INF/classes folder (this *does* contain > org.gjt.mm.mysql.Driver) > > This does not work. My jsp test code follows, and the > Exception occurs on > getConnection()... > > <%@ page language="java" import="java.sql.*, javax.sql.*, > javax.naming.*" > errorPage="error.jsp" %> > > <% > Context initContext = new InitialContext(); > Context envContext = > (Context)initContext.lookup("java:/comp/env"); > DataSource ds = (DataSource)envContext.lookup("jdbc/mehdi"); > Connection conn = ds.getConnection(); > > %> > > Exception is > > java.sql.SQLException: Cannot load JDBC driver class > 'org.gjt.mm.mysql.Driver' > > SERVER.XML > > reloadable="true"> > >prefix="localhost_DBTest_log." suffix=".txt" > timestamp="true"/> > > auth="Container" >type="javax.sql.DataSource"/> > > > > factory > org.apache.commons.dbcp.BasicDataSourceFactory > > > > > maxActive > 100 > > > > > maxIdle > 30 > > > > > maxWait > 1 > > > > > username > mehdi > > > password >
RE: MySQL Hell
We have encountered strange results when drivers are loaded in the WEB-INF folders we reccommend having the sysadmin putting them in the TOMCAT_HOME/common/lib folder -jason pyeron On Wed, 22 Jan 2003, Barney Hamish wrote: I'd suggest looking at the comments in the examples for DBCP about how the examples need to be run. The required JDBC driver needs to be pre-loaded for it to work. If you have any further questions you should probably send them to the commons mailing list. Hamish > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 22, 2003 4:14 PM > To: Tomcat Users List > Subject: MySQL Hell > > > > Hello all, > > i have been breaking my brain trying to get connection pooling, using > Tomcat 4.1.12's build in dbcp, with mySQL 3.23. > > I have followed the instructions on the how this should be > done, and I am > getting an exception when I try to get a connection .. (like > many other > people it seems).. If anyone has solved this problem.. or > has a link to a > forum where this problem is answered please let me know.. > > I have downloaded mysql-connector-java-2.0.14.zip > > I unzipped it and copied : > * the contents of WEB-INF/lib to my lib folder > * contents of com to my WEB-INF/classes folder > * contents of org to my WEB-INF/classes folder (this *does* contain > org.gjt.mm.mysql.Driver) > > This does not work. My jsp test code follows, and the > Exception occurs on > getConnection()... > > <%@ page language="java" import="java.sql.*, javax.sql.*, > javax.naming.*" > errorPage="error.jsp" %> > > <% > Context initContext = new InitialContext(); > Context envContext = > (Context)initContext.lookup("java:/comp/env"); > DataSource ds = (DataSource)envContext.lookup("jdbc/mehdi"); > Connection conn = ds.getConnection(); > > %> > > Exception is > > java.sql.SQLException: Cannot load JDBC driver class > 'org.gjt.mm.mysql.Driver' > > SERVER.XML > > reloadable="true"> > >prefix="localhost_DBTest_log." suffix=".txt" > timestamp="true"/> > > auth="Container" >type="javax.sql.DataSource"/> > > > > factory > org.apache.commons.dbcp.BasicDataSourceFactory > > > > > maxActive > 100 > > > > > maxIdle > 30 > > > > > maxWait > 1 > > > > > username > mehdi > > > password > mypass > > > > >driverClassName >org.gjt.mm.mysql.Driver > > > > > url > > jdbc:mysql://localhost:3306/mehdi?autoReconnect=true > > > > > > > running out of time, and hair. > > Thanks, > > Med > > > > > -- > 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]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
code snipit request: how to get time zone from user's browser.
Does anyone know how to get the client's time zone? I did not see anything in the HttpServletRequest, nor do i really have clue what to search for on google. TIA -jason pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Abnormal TomCat Shutdown
could you post the tail of your stderr and stdout logs? can you reproduce this problem consistantly? On Sat, 18 Jan 2003, Mr. King wrote: Dear Friends, I am having Tomcat 4.0 on windows 2000 server Operating System running Java Servlets, JSP and Oracle9i database. When I try to access web pages hosted on Tomcat, then after a few quick clicks Tomcat stops automatically without any information in logs (or may be i could not find it in the logs). Any quick help will be highly appreciated. Thanks a million... -RDX __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: JSTL quickie [ot]
thanks, i was having mental blocks on this one: its a page to list the exceptions thrown by tomcat for a web app. We never display an exception to a user, instead we give them a message like : We are sorry that you are having trouble with this application. If you require assistance with this application please contact our support department. For your reference you have been assigned an incident number of #112048. and then look them up ourselves. <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql"; %><%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> SELECT * FROM exceptions ORDER BY id DESC <%= new String((byte[])((java.util.Map)pageContext.findAttribute("indx")).get("exceptiontxt"))%> On Sat, 18 Jan 2003, Kris Schneider wrote: Don't think that's gonna happen with JSTL. Something like the following expression element should work: <%= new String(((ClassOfIndx)pageContext.findAttribute("indx")).getExceptiontxt()) %> > On Sat, 18 Jan 2003, Jason Pyeron wrote: > > > > > > is giving a [B@19c4091, thats a byte array, how do I burp this out as > text? > > -jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: JSTL quickie [ot]
yields 1069711897461089711010... ...1041141019710046106971189758535154411310 On Sat, 18 Jan 2003, Jason Pyeron wrote: is giving a [B@19c4091, thats a byte array, how do I burp this out as text? -jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
JSTL quickie [ot]
is giving a [B@19c4091, thats a byte array, how do I burp this out as text? -jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Game server - two player board game [OT]
Mark, This is really off topic, but here it goes. You have two tasks at hand: 1: specify / create backend [business] logic 2: specify / create frontend UI If you design the backend in a bean architecture, the threading/persistance issues should be non-existant or obvious at least. as far as security you will have to define how much is enough. for mild paranoia: ssl login page hashed passwords used one login at a time allowed if you would like more on architecture, please mail me off list. -jason pyeron On Sat, 18 Jan 2003, Mark wrote: Hi, I'm using Tomcat 4.1 to set up a game server for the two player board game, Tanbo (similar to Go). Basically, I will be providing one board and a waiting list, and a chat. I need advice on how to set up the object architecture. I'm considering using an int array to represent the board. And possibly a separate class to evaluate legal moves. I need advice on security, persistence, thread safety and anything else that I might need to know to make this a successful web site (tanbo.com). Thanks in advance. Mark Steere [EMAIL PROTECTED] -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: Simulating a browser session
cURL can be obtained from http://curl.haxx.se/ for windows, cygwin, linux, etc. -jason On Thu, 16 Jan 2003, Brandon Cruz wrote: Jason, Thanks for the info. What exactly is this cURL program? Is it something I can run from a linux command line or a program I can download? Anyway, I really appreciate the info! Brandon -Original Message- From: Jason Pyeron [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 12:30 PM To: [EMAIL PROTECTED] Subject: Re: Simulating a browser session Brandon, 9 times out of 10 it is my cookie, or ssl, or other non-complient logic in my code, but otherwise, this may be you, ... 1 times out of 10 when I have trouble interacting with a webapplication, it is caused by the useragent setting i pass. My steps to diagnose my problems are: 1: Try to work with the web app in internet explorer 5.5 2: trace interactions with site using cURL acting as IE5.5 3: trace interactions with site using cURL acting as the suspect agent my favorite usage is: curl -viLsA 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; .NET CLR 1.0.3705)' url -F for form values -b & -c for cookies -k for ssl issues -u for user auth -o for output file ( i like the screen better ) On Thu, 16 Jan 2003, Brandon Cruz wrote: Does anyone have familiarity with using JAVA to simulate a browser session and navigate multiple pages in a https based web application, storing session cookies, doing form posts, etc.? We are trying to do an https post, but the application is acting as if the parameters are never passed. We have done the exact same thing before at another website with no problems. The only difference is that the one that does not work is using session cookies, although we are able to successfully get and set the cookies. In both situations, the web application we are trying to navigate is ASP based. We are trying to integrate one of our partners applications to ours and could really use any information, web pages to reference, anything. We're out of ideas. Thanks in advance and sorry for the off topic post, please reply to me directly. Brandon -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- 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]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Simulating a browser session
Brandon, 9 times out of 10 it is my cookie, or ssl, or other non-complient logic in my code, but otherwise, this may be you, ... 1 times out of 10 when I have trouble interacting with a webapplication, it is caused by the useragent setting i pass. My steps to diagnose my problems are: 1: Try to work with the web app in internet explorer 5.5 2: trace interactions with site using cURL acting as IE5.5 3: trace interactions with site using cURL acting as the suspect agent my favorite usage is: curl -viLsA 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; .NET CLR 1.0.3705)' url -F for form values -b & -c for cookies -k for ssl issues -u for user auth -o for output file ( i like the screen better ) On Thu, 16 Jan 2003, Brandon Cruz wrote: Does anyone have familiarity with using JAVA to simulate a browser session and navigate multiple pages in a https based web application, storing session cookies, doing form posts, etc.? We are trying to do an https post, but the application is acting as if the parameters are never passed. We have done the exact same thing before at another website with no problems. The only difference is that the one that does not work is using session cookies, although we are able to successfully get and set the cookies. In both situations, the web application we are trying to navigate is ASP based. We are trying to integrate one of our partners applications to ours and could really use any information, web pages to reference, anything. We're out of ideas. Thanks in advance and sorry for the off topic post, please reply to me directly. Brandon -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
is there a list for jsp / tag development?
I am trying to get this answered, I guess I dont know where to ask. -jason On Wed, 15 Jan 2003, Jason Pyeron wrote: To those who like to deal with tags, I have some JSP code that gets stamped allover every day, it requires tweaking in each situation, hence it is error prone. We decided to make it a tag, but got stuck on two issues: how do we scope the 'formBean' var in the JSP page like how do we simulate now I am sure we can brute force this, by using reflection and iteration, but is there a method already written? here is my JSP code. <%formBean.setPageContext(pageContext);%> <%formBean.go();%> here is the intended tag syntax. -Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Tomcat behavior
for example on red hat 7.x, the log rotate script does HUP apache. you may have things like that going on. but you give us no system info. -jason On Thu, 16 Jan 2003, Mohbe, Sameer wrote: Hi Folks , I have a question Folks : Does Tomcat Processes become 0 at some point if Web Application is not accessed for a while. What has happened is twice in our environment that on a Weekend Morning around 2:00 AM Tomcat Processes became 0 and they later increased to 36 processes .I found out it through a small Script that checks for the number of Apache and Tomcat processes every Minute .I found the similar behavior for Apache Twice with Apache processes becoming 0 and then after a while number changing to 8 which is normal in our environment. My question is : Does Tomcat Shuts down and restarts itself at a certain regular interval like once in a month or so .If yes then ,is there any Configuration file in Tomcat from where this can be Controlled.The same question applies for Apache --if Apache shuts and restarts itself at a certain regular interval . Thanks in Advance Sameer -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: [ot?] Frontpage extensions for tomcat or related items
I think the parts people use have to do with the navigation widgets. All those useless directories that are created, etc. I guess thats the stuff I am looking for. -jason On Wed, 15 Jan 2003, Don Saxton wrote: Isn't frontpage a webdav client? Tomcat docs (4.18) state that IE is a webdav client. my impression was that Frontpage was needed to make it into a writing / editing webdav client. If so that would give you the publishing part. There are other webdav clients you might want to check out at wevdav.org. Then comes the "...for jsp..." part. I think at minimum it would have respect taglib tags. The last time I saw respect coming from ms was ten years ago. - Original Message ----- From: "Jason Pyeron" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 8:05 AM Subject: [ot?] Frontpage extensions for tomcat or related items > > I am looking for resources related to Frontpage for jsp. > does anyone know of some sites to look at, Google does not help much. > > -jason > > -- > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > - - > - Jason Pyeron http://www.pyerotechnics.com - > - Owner & Lead Pyerotechnics Development, Inc. - > - +1 410 808 6646 (c) 500 West University Parkway #1S - > - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - > - - > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. If you > have received it in error, purge the message from your system and > notify the sender immediately. Any other use of the email by you > is prohibited. > > > > > -- > 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]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: stack trace error when viewing html source, but the displayinbrowser is good.
talina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:380) > at > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:533) > at java.lang.Thread.run(Thread.java:491) > > > __ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > -- > 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: [ot?] Frontpage extensions for tomcat or related items
I dont want to use it, my paying clients think it is the best thing since sliced bread. On Wed, 15 Jan 2003, Ken Anderson wrote: FP extensions are an MS centric server based technology primarily for MS based Webservers (although there are limited versions for unix/linux with gaping security holes...). They support server based M$ widgets that your FP web pages can talk to and do things like counters and forms and chat with WYSIWYG drop-in 'web-bots' (components that talk to the FP extensions on the server). FrontPage, the editor, will no doubt mangle java code beyond recognition as it does to all other non-M$ code. Not sure if it even supports any kind of plugins to recognize non-M$ code... I doubt it. Turn away from the dark side... Ken Jason Pyeron wrote: > I am looking for resources related to Frontpage for jsp. > does anyone know of some sites to look at, Google does not help much. > > -jason > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: stack trace error when viewing html source, but the display inbrowser is good.
not quite sure I understand your question. are supposing that the page works fine untill you view the html src in you browser? for example in IE browse to http://foobar.jsp then right click View Source, and then you get a stack trace? if so delete your cahced files, exit the browser, verify all instances of the browser are gone and cahce is empty, then reproduce the error, send us the output. On Wed, 15 Jan 2003, Paul Tomsic wrote: Has anyone ever seen the expected results in a browser from their servlet, but when you view source, there is a stack trace? Not sure what would be causing this, but here's how we're generating output to the browser: public void printPage(HttpServletResponse response) { response.setContentType("text/html"); // get content is a method that simply returns // a byte array of the content to send to the // browser byte[] b = getContent(); ServletOutputStream out = response.getOutputStream(); out.write(b); ... } if I do a System.out.println(new String(b)); then that output shows me exactly what I see in the browser, but when I view source on it in the browser, I get a stacktrace. Any thoughts on this strange behaviour? Thank you, Paul __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: tomcat 3.3.1 - win2k iis- examples
I am assuming you are running NT4/2k jdk1.4.x is installed. are you running tomcat as a service? do you have any regulations controling how the system is configured? can you run tomcat 4.1.x (it has a nice installer) in the meantime, you want to locate servlet.jar and its friends i belive they are in tomcathome\common\lib put these in your classpath for SYSTEM VARIABLES CLASSPATH=c:\tomcathome\common\lib\servlet.jar;etc;blah;. this fix is not a proper fix, but something to get it working -jason pyeron On Wed, 15 Jan 2003, Schultz, Cecilia wrote: I tried running the jsp examples that comes with Tomcat and got the error: == Error: 500 Location: /examples/jsp/num/numguess.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:0: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase. package jsp.num; ^ F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:3: Package javax.servlet not found in import. import javax.servlet.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:4: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ F:\i1440root\opt\local\tomcat\work\webapps2\examples\jsp\num\numguess_1.java:5: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ 4 errors at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:479) = what am I missing?? Thanks Cecilia > -Original Message- > From: Schultz, Cecilia > Sent: Wednesday, January 15, 2003 10:45 AM > To: 'Tomcat users list (E-mail)' > Subject: RE: tomcat 3.3.1 - win2k iis > > It seems I am missing some path somewhere. I copied a web app > that does work in another server (with another container, not > tomcat) into the problem server. > I got a similar error when bringing up the default page: > > Class javax.servlet.http.HttpServlet not found in class > org.apache.jasper.runtime.HttpJspBase. > > > any help is much appreciated > Cecilia > > Error: 500 > Location: /ranchodev/web/default.jsp > Internal Servlet Error: > org.apache.jasper.JasperException: Unable to compile > F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def > ault_1.java:0: Class javax.servlet.http.HttpServlet not found > in class org.apache.jasper.runtime.HttpJspBase. > package web; > ^ > F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def > ault_1.java:3: Package javax.servlet not found in import. > import javax.servlet.*; >^ > F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def > ault_1.java:4: Package javax.servlet.http not found in import. > import javax.servlet.http.*; >^ > F:\i1440root\opt\local\tomcat\work\webapps2\ranchodev\web\_def > ault_1.java:5: Package javax.servlet.jsp not found in import. > import javax.servlet.jsp.*; >^ > 4 errors > > at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) > at > org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) > at > org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) > at > org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) > at > org.apache.tomcat.core.ContextManager.internalService(Unknown Source) > at org.apache.tomcat.core.ContextManager.service(Unknown Source) > at > org.apache.tomcat.modules.server.Ajp13Interceptor.processConne > ction(Unknown Source) > at > org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > Unknown Source) > at java.lang.Thread.run(Thread.java:479 > > > > > > -Original Message- > > From: Schultz, Cecilia > > Sent: Wednesday, January 15, 2003 9:56 AM > > To: Tomcat users list (E-mail) > > Subject:tomcat 3.3.1 - win2k iis > > >
Re: iis basic authentication
We have not had time to diagnose this problem, but it does exist. It may be a simple config error, or an error in isapi_redirector. We hope it is not in IIS cause we cant fix this then, it would be upto micorsoft. Our todo list includes this line: Check ISAPI for php, verify NTAUTH does not work on php files. If it does work ADD fix ISAPI for tomcat. -jason pyeron On Wed, 15 Jan 2003, Will Hartung wrote: > From: "Gustafson, Grant" <[EMAIL PROTECTED]> > Sent: Wednesday, January 15, 2003 8:33 AM > Subject: iis basic authentication > I am not finding information on setting up iis basic authentication with > tomcat. any help is appreciated! You'd like to think that the IIS Authentication mechanism would kick in before Tomcat even has a chance to see the request, and that by the time Tomcat DOES see it, then its, implicitly, already authenticated and all of the authentication HTTP headers should be in the request passed to Tomcat. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Tomcat on windows platform?
oh yea, forgot about the second bug. iis security cannot be applied to files served by iis_redirector see post under "iis basic authentication" On Wed, 15 Jan 2003, Jason Pyeron wrote: no the priorities does not solve this problem. I belive the redirector claims a request if it finds '.jsp' in a file name not as a suffix. and for files in the _vti_cnf folder, it follows the rules to the tee. http:/dir/StaffRosters.jsp http:/dir/_vti_cnf/StaffRosters.jsp http:/dir/_overlay/staffrosters_edit.jsp.shtml_nav_pyerotechnicsdevelopment-ca15010_bnr.gif On Wed, 15 Jan 2003, David Boyer wrote: Does it help to change the priority of the ISAPI filters for each? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Tomcat on windows platform?
no the priorities does not solve this problem. I belive the redirector claims a request if it finds '.jsp' in a file name not as a suffix. and for files in the _vti_cnf folder, it follows the rules to the tee. http:/dir/StaffRosters.jsp http:/dir/_vti_cnf/StaffRosters.jsp http:/dir/_overlay/staffrosters_edit.jsp.shtml_nav_pyerotechnicsdevelopment-ca15010_bnr.gif On Wed, 15 Jan 2003, David Boyer wrote: Does it help to change the priority of the ISAPI filters for each? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Tomcat on windows platform?
When on windows, do like windows I say. For windows (nt4/2k) machines we use IIS-Tomcat 4.12 it works like a charm, except one issue found. that is the redirector (logic) sends frontpage stuff to tomcat as well i.e. for the page: http:/dir/StaffRosters.jsp tomcat also gets the requests, among many others http:/dir/_vti_cnf/StaffRosters.jsp http:/dir/_overlay/staffrosters_edit.jsp.shtml_nav_pyerotechnicsdevelopment-ca15010_bnr.gif -jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Wed, 15 Jan 2003, Yaogeng Cheng wrote: Hi, We are currently running a web server using apache + tomcat on a linux machine, but we want to move the web server to a windows machine to avoid linux system administration. Could anybody share some ideas on how well apache+tomcat work on windows platform, and how is the security compared with Linux machine? If apache+tomcat doesn't work well, is there an alternative solution to run the JSP and Servlet on windows without degrading the performance? Any help will be greatly appreciated! Yaogeng -- 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]>
making a tag do do some non-standard? stuff
To those who like to deal with tags, I have some JSP code that gets stamped allover every day, it requires tweaking in each situation, hence it is error prone. We decided to make it a tag, but got stuck on two issues: how do we scope the 'formBean' var in the JSP page like how do we simulate now I am sure we can brute force this, by using reflection and iteration, but is there a method already written? here is my JSP code. <%formBean.setPageContext(pageContext);%> <%formBean.go();%> here is the intended tag syntax. -Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
[ot?] Frontpage extensions for tomcat or related items
I am looking for resources related to Frontpage for jsp. does anyone know of some sites to look at, Google does not help much. -jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
[Bonehead mistake of the week] web.xml issue?
So I was about to put together a very big posting with conf files and then I realized after a week of debuging, Tomcat did not have read permission on the tld file. -jp I am trying to use the JSTL, but some where I have an error in my web.xml or tld file. When starting the context I get this: 2003-01-14 12:58:12 ContextConfig[] Exception processing TLD at resource path /WEB-INF/tld/c-rt.tld javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/tld/c-rt.tld at ... - Root Cause - java.lang.IllegalArgumentException: Invalid TLD resource path /WEB-INF/tld/c-rt.tld at ... -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: [OT] Question regarding payment processing
Denise, I will be able to read the docs after lunch today. What Noel was talking about is the asynchronous web gateways, like authorize.net. That is one of the most common situations. Keep in mind, I have not read your docs yet, but I will write anyway. >From your descriptions it sounds like Chase has provided you with a "VPN" like client. You pass in via command line args or STDIN and it pumps out results on STDOUT or to a file. Typically gateways provide such an app to "guarantee" bug free operation, but they fail to document it as a software API. In these situations one can dumb down your application, find competent tier2 support (like I said, we might be able to help), or write your own VPN app (as a class file). I don't know what your time frame is like, but there is a chance that there is a synchronous protocol, over SSL you might be able to use. If that is the case, for security/simplicity reasons, you might want to do that. But it would be a rewrite of the comm routines. -Jason Pyeron On Tue, 14 Jan 2003, Denise Mangano wrote: Noel, The problems that I am having have to do with specifically Chase's values that are being returned to me and the possible scenarios each value can cause. My frustration is that I ask a simple question such as will a decline always have SomeValue is > 5 - and what I get back is a bunch of business logic explaining that I am only concerned with approvals, anything else is a non-transaction. While this is true in the business sense, my program is concerned with every scenario, and everything that completes the process (including declines) is considered a transaction. What do you mean by the gateway mechanism doing a "callback" to one of my pages? The way I have it set up is my JSP instantiates transactionBean with all the necessary values. The methods in this bean do the actual formatting of the input document, make the API call to the gateway to submit the input document, and receive the result document. The bean will also determine if the transaction is a success, and if it is a decline or approval. Then my JSP will access this information to relay it to the browser ( as well as include a script that writes it back to my back end app). We are not storing any user information, so a database is not coming into play for me. The backend app is a UNIX program that I pass a value to via a URL and the program on the UNIX box parses that URL and records the appropriate values. Is this a feasible scenario? If so, then wouldn't the session be persistent throughout the process? Thanks, Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. > -Original Message- > From: Noel J. Bergman [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 14, 2003 4:11 AM > To: Tomcat Users List > Subject: RE: [OT] Question regarding payment processing > > > Denise, > > I haven't done Chase's gateway specifically, but I've done > some others. What's problems are you having? > > One issue I encountered in the past is that some of the > gateway mechanisms will do a callback to one of your pages. > The catch is that you want to be able to re-associate the > session, but you won't get a session cookie. In the past, I > was able to do that by explicit URL rewriting. I haven't > tried it with recent versions of tomcat, but I should still > have an example of that technique around here somewhere. > > --- Noel > > > -- > 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]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: [OT] Question regarding payment processing
We deal with things like this, if you want feel free to contact us, we would be happy to answer a few questions to get you on your way. On Mon, 13 Jan 2003, Denise Mangano wrote: My apologies in advance for posting a non-Tomcat issue... I know this question is not directly related to Tomcat, but since JSP & servlets are popular technologies used for payment processing over the internet, and Tomcat appears to be the most widely used server to implement this, I just had to give this list a try... Has anyone had any experience processing credit card payments through Chase ClearCommerce Global Gateway (particularly writing JSP to process these transactions)?? If so I have a few programming questions that "tech support" only seems to answer with business logic. I would really appreciate it if anyone has programmed applications for this gateway would email me off-list so that I can ask some questions regarding what I should be concerned with from a programming perspective. Again, sorry for posting this, but I'm at my wits end... Sincerely, Denise -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: reading forms
for lack of a better description the names are radmonized. This is because they are in a hash. if you need them in a given order, you may want to "number" them. ex: then you can take request.getParameterNames() and sort it. if you still have trouble using it, then you can make a translation hash for all in (request.getParameterNames()) xlatehash.put(val.substring(10),val); now you can access them in order or by unprefixed name. does this help? IMHO: if you need the names in order there is a problem with you logic, cause there is no gaurentee that the browser will send them in any give fasion. -jason pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Thu, 9 Jan 2003, Peter Choe wrote: is there a way to specify the order of the parameters are read from a form in a servlet? it seems that if i do request.getParameterNames() there is no logic to which parameters are read first. Peter Choe -- 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]>
RE: How to specify a name for a content beeing served by s servlet[off-toppic]
yea, i agree but not all [dumb?] browsers respect it. -jason pyeron On Thu, 9 Jan 2003, Ralph Einfeldt wrote: You are looking at the wrong spec :} It part of the mime standard: http://www.nacs.uci.edu/indiv/ehood/MIME/rfc2183.txt You need to set a header Content-Disposition with the value of filename=somefile.ext; > -Original Message- > From: Cédric Viaud [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 09, 2003 5:24 PM > To: Tomcat users > Subject: How to specify a name for a content beeing served by > s servlet > > i would like to know if it is possible to indicate in the > HTTP header of a response a name for a ressource. > Is there a way to indicate a name for the ressource beeing > served to the client ? I've spent much time on the HTTP RFC, > be i can't manage to find what i'm looking for. > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: How to specify a name for a content beeing served by s servlet
Cédric, You could write something like this, as we have done. /some-path/getbyidservice/93847572934/foo-filename.jpg We have done this in Perl, and will be attacking this in servlets 1st week February. This allows the browser to cache (if allowed by headers) and to have the extension/filename set as intended. If you want to encode more details in the request, i don't see why you cannot introduce delimiters into the id path element. -jason pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Thu, 9 Jan 2003, Cédric Viaud wrote: Hi, i would like to know if it is possible to indicate in the HTTP header of a response a name for a ressource. Let be a little clearer. I got a controler servlet wich map all request with "*.do". I check the URL use the name before the ".do" to know the command. For exemple, if the request is "getRequest.do", my servlet look for what to do with "getRequest". My problem is that i use this servlet to serve native contents (such as images, video, etc ...). On request like "getNativeContent.do?id=42135125", my servlet look for the native content of id=42135125, and send it back to the client. I set the correct "content-type" and use a ServletOutputStream to send binary content. It works fine, but i've got a light problem. It seem's that the content type is not always used by the client to know wich application must be run, but the file name is used (the extension of this filename). Or, the filename that the client see is "getNativeContent.do" and so the extension is "do". In this case, the user is prompted for which application must be associated with the ".do" extension. More that this, if the user want to save it to disk, the defaut name is "getNativeContent.do". Is there a way to indicate a name for the ressource beeing served to the client ? I've spent much time on the HTTP RFC, be i can't manage to find what i'm looking for. Sorry for my awfull English. Regards, Cédric -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: One other freaky thing
We had a similar problem running tomcat 3.x (3.3?) and apache 1.x (1.19?) mod_jk sometimes would deliver static html/gfx from one context to another. Also there would be session corruption. To the best of my knowledge there was a on-line casino which had the same problem. I was never able to track this down. My only solution was to connect directly to tomcat. -jason pyeron On Wed, 8 Jan 2003, Michael Molloy wrote: Our application is running on a server in Pennsylvania. A user there was working as well as a user in Tennessee. The user in Tennessee got an error on a page, hit her back key, and the user in Pennsylvania's screen showed up on the Tennessee user's screen. The people in Tennessee are connected to the Pennsylvania system via a frame relay. Everything is contained within each user's session, so this should never happen. The application has been under development for a year now, and this has never happened before. Some kind of weird bug that we shouldn't worry about, or something that someone else has encountered? Thanks for any help, --Michael Molloy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
install error or runtime error?
I have done a google on this, nothing useful. tomcat just dies out after a few more of these. I dont understand what '/var/tomcat4/conf/tomcat-users.xml.new' is, Ive greped for it, that string does not exist. has any one seen this before? Jan 8, 2003 11:34:18 AM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Jan 8, 2003 11:34:18 AM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance Jan 8, 2003 11:34:19 AM org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer Jan 8, 2003 11:34:20 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 GlobalResourcesLifecycleListener: Exception processing Global JNDI Resources javax.naming.NamingException: /var/tomcat4/conf/tomcat-users.xml.new (Permission denied) at org.apache.naming.NamingContext.lookup(Unknown Source) at org.apache.naming.NamingContext.lookup(Unknown Source) at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(Unknown Source) at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(Unknown Source) at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(Unknown Source) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown Source) at org.apache.catalina.core.StandardServer.start(Unknown Source) at org.apache.catalina.startup.Catalina.start(Unknown Source) at org.apache.catalina.startup.Catalina.execute(Unknown Source) at org.apache.catalina.startup.Catalina.process(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Unknown Source) Starting service Tomcat-Standalone Apache Tomcat/4.1 javax.naming.NamingException: /var/tomcat4/conf/tomcat-users.xml.new (Permission denied) at org.apache.naming.NamingContext.lookup(Unknown Source) -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: RPMs [off topic: why rpm?]
forgot the most import issue, we use RPM/MSI for jar files. IMHO: You do have many valid points there. To justifty what we do here: We do not assume, the validity of any package (unless our support contract covers it). That said we role our own RPMs here. We put together systems (servers?) for our clients. We need the assurance that we can deploy a patch, update, or new software on these machines. We use RPMs and MSIs for this reason. If you have a hundred RedHat 7.x and fifty Win2k machines out there running slightly different flavors of your product, you would use (need?) this type of mgmt system. On Tue, 7 Jan 2003, Turner, John wrote: Believe me, I understand what/why RPMs (and other package schemes) were developed. My point was that there is no need for them with Tomcat. A binary install does nothing to the system. I change Tomcat installations simply by changing a symlink. There is only one dependency, and that is the JDK. I guess it comes down to a trust issue. There's no guarantee that the builder of an RPM did the right thing, nor that an RPM is secure or trusted. All of my servers are RH servers, for example. Unless I'm buying support from Red Hat, any RPM is foreign and untrusted. The only trusted RPM would be one obtained from RH (appropriately signed) under an RH support contract. In the time it takes me or another admin to dissect and analyze an untrusted RPM's actions on a sacrifice box, we can install the app ourselves and have exact, explicit control over how it gets installed. RPMs and a lot of the other package schemes I've worked with over the years have a myth about them...people assume that because it's an RPM that everything is OK. That's a bad assumption to make, and all due respect, it's not wise to base corporate policy on bad assumptions. At my company, the administrators install and configure things themselves, and track it all in a maintenance tracking system for future reference. After all, an RPM can't make any decision about dependencies and interactions if there are custom applications installed; and RPM only knows what it knows, and how can Joe RPMBuilder on the other side of the world know what you've done to your server? I guess for a "plain vanilla" server that only performs basic services and is the same as everyone else's, that would be OK, but for any server that has proprietary applications installed or custom compiled versions of common software, blindly installing a RPM, accepting what it does, and believing everything will be OK just because it's a RPM is foolish. John > -Original Message- > From: Jason Pyeron [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 12:27 PM > To: Tomcat Users List > Subject: RE: RPMs [off topic: why rpm?] > > > RPMs provide transaction level control for system > modification. When you > install an application manually, you ASSUME that the > administrator has > investigated ALL interactions and dependences. Can correctly > uninstall the > package when needed, rembers it is installed. > > Now rpm puts these details on the packager, who is assumed to have > knowledge of the workings of the application. > > But lastly, there are services that can issue updates automaticly as > needed. Esp for security. > > on RedHat there is the Red Hat Network > on Windows there is windows update > > That being said, our Systems admin are not allowed to install ANY > application, patch any software without using/creating a RPM. This is > company policy, the same goes for our windows boxes. > > -jason > > On Tue, 7 Jan 2003, Turner, John wrote: > > > Actually, the release builds have moved to a new scenario, > basically the > same as Apache HTTP. Tomcat release binaries are available > from various > mirror sites. On any given mirror, there are only /bin and > /src, and in > /bin there are the full versions and the LE versions. I > think RPMs went > away with 4.1.17, though I could be wrong. > > In any case, you can find pre-4.1.18 RPMs here: > > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/ > > On that note, there's no need for an RPM for Tomcat, in my > opinion. The > only thing a RPM adds (AFAIK) is the creation of a tomcat user and the > installation of a start/stop init script. Both tasks are > easily completed > manually, leaving just the need for the binaries themselves. > > John > > > > -Original Message- > > From: Jason Pyeron [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, January 07, 2003 12:08 PM > > To: Tomcat Users List > > Subject: Re: RPMs > > > > > > i think the general tree structure is as follows: >
RE: RPMs [off topic: why rpm?]
IMHO: You do have many valid points there. To justifty what we do here: We do not assume, the validity of any package (unless our support contract covers it). That said we role our own RPMs here. We put together systems (servers?) for our clients. We need the assurance that we can deploy a patch, update, or new software on these machines. We use RPMs and MSIs for this reason. If you have a hundred RedHat 7.x and fifty Win2k machines out there running slightly different flavors of your product, you would use (need?) this type of mgmt system. On Tue, 7 Jan 2003, Turner, John wrote: Believe me, I understand what/why RPMs (and other package schemes) were developed. My point was that there is no need for them with Tomcat. A binary install does nothing to the system. I change Tomcat installations simply by changing a symlink. There is only one dependency, and that is the JDK. I guess it comes down to a trust issue. There's no guarantee that the builder of an RPM did the right thing, nor that an RPM is secure or trusted. All of my servers are RH servers, for example. Unless I'm buying support from Red Hat, any RPM is foreign and untrusted. The only trusted RPM would be one obtained from RH (appropriately signed) under an RH support contract. In the time it takes me or another admin to dissect and analyze an untrusted RPM's actions on a sacrifice box, we can install the app ourselves and have exact, explicit control over how it gets installed. RPMs and a lot of the other package schemes I've worked with over the years have a myth about them...people assume that because it's an RPM that everything is OK. That's a bad assumption to make, and all due respect, it's not wise to base corporate policy on bad assumptions. At my company, the administrators install and configure things themselves, and track it all in a maintenance tracking system for future reference. After all, an RPM can't make any decision about dependencies and interactions if there are custom applications installed; and RPM only knows what it knows, and how can Joe RPMBuilder on the other side of the world know what you've done to your server? I guess for a "plain vanilla" server that only performs basic services and is the same as everyone else's, that would be OK, but for any server that has proprietary applications installed or custom compiled versions of common software, blindly installing a RPM, accepting what it does, and believing everything will be OK just because it's a RPM is foolish. John > -Original Message- > From: Jason Pyeron [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 12:27 PM > To: Tomcat Users List > Subject: RE: RPMs [off topic: why rpm?] > > > RPMs provide transaction level control for system > modification. When you > install an application manually, you ASSUME that the > administrator has > investigated ALL interactions and dependences. Can correctly > uninstall the > package when needed, rembers it is installed. > > Now rpm puts these details on the packager, who is assumed to have > knowledge of the workings of the application. > > But lastly, there are services that can issue updates automaticly as > needed. Esp for security. > > on RedHat there is the Red Hat Network > on Windows there is windows update > > That being said, our Systems admin are not allowed to install ANY > application, patch any software without using/creating a RPM. This is > company policy, the same goes for our windows boxes. > > -jason > > On Tue, 7 Jan 2003, Turner, John wrote: > > > Actually, the release builds have moved to a new scenario, > basically the > same as Apache HTTP. Tomcat release binaries are available > from various > mirror sites. On any given mirror, there are only /bin and > /src, and in > /bin there are the full versions and the LE versions. I > think RPMs went > away with 4.1.17, though I could be wrong. > > In any case, you can find pre-4.1.18 RPMs here: > > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/ > > On that note, there's no need for an RPM for Tomcat, in my > opinion. The > only thing a RPM adds (AFAIK) is the creation of a tomcat user and the > installation of a start/stop init script. Both tasks are > easily completed > manually, leaving just the need for the binaries themselves. > > John > > > > -Original Message- > > From: Jason Pyeron [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, January 07, 2003 12:08 PM > > To: Tomcat Users List > > Subject: Re: RPMs > > > > > > i think the general tree structure is as follows: >
RE: RPMs
rpm -tb tarfile will create a rpm from a tarball, it assumes that there is a spec file inside the tarball. If there is no spec file present you can make one. Google: rpm howto http://www.linux.org/docs/ldp/howto/RPM-HOWTO/ On Tue, 7 Jan 2003, Kevin Wilson wrote: If you have a Linux box and like to keep your installed programs nice and tidy using the RPM program then rpms are essential unless there is another program used for managing installation of program from tar/tgz/tar.gz archives? I run SuSE v8.0 & 8.1 and there was a kb article that said to use a program called /sbin/installpkg for installing ".tgz" packages but I have never seen this nor am I sure that "tar.gz" is the same as ".tgz" Guidance? -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 11:15 AM To: 'Tomcat Users List' Subject: RE: RPMs Actually, the release builds have moved to a new scenario, basically the same as Apache HTTP. Tomcat release binaries are available from various mirror sites. On any given mirror, there are only /bin and /src, and in /bin there are the full versions and the LE versions. I think RPMs went away with 4.1.17, though I could be wrong. In any case, you can find pre-4.1.18 RPMs here: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/ On that note, there's no need for an RPM for Tomcat, in my opinion. The only thing a RPM adds (AFAIK) is the creation of a tomcat user and the installation of a start/stop init script. Both tasks are easily completed manually, leaving just the need for the binaries themselves. John > -Original Message- > From: Jason Pyeron [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 12:08 PM > To: Tomcat Users List > Subject: Re: RPMs > > > i think the general tree structure is as follows: > > > /.../bin > /rpm > /src > > > different builds move around the tree, and not all builds > have rpms (at > least until some one builds them) > > On Tue, 7 Jan 2003, Kevin Wilson wrote: > > where are all the RPMs for the 4.1.X versions of Tomcat? > > > -- > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > - - > - Jason Pyeron http://www.pyerotechnics.com - > - Owner & Lead Pyerotechnics Development, Inc. - > - +1 410 808 6646 (c) 500 West University Parkway #1S - > - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - > - - > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. If you > have received it in error, purge the message from your system and > notify the sender immediately. Any other use of the email by you > is prohibited. > > > > > -- > 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]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: [OT] debuging SQL/datasource
com.inzoom.jdbcado.Driver and org.apache.commons.dbcp.BasicDataSourceFactory oh it is deleting the row, and others. I am hoping to get a trace on the SQL so I may test it in a controled environment. On Tue, 7 Jan 2003, Carl wrote: What data manager and what driver. Certain drivers just ignore the deleteRow() request. - Original Message - From: "Jason Pyeron" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 12:17 PM Subject: [OT] debuging SQL/datasource > all, > > I am at a loss of where to start on this. I have a compiled bean, which > uses a datasource. It is belived to execute ResultSet.deleteRow(), but it > is going ary. I performed the belived action at teh db interface, and it > acted as intended. > > are there any debugging directives I may put into the server.xml / web.xml > to trace the datasource messages? Opinions? > > -jason > > -- > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > - - > - Jason Pyeron http://www.pyerotechnics.com - > - Owner & Lead Pyerotechnics Development, Inc. - > - +1 410 808 6646 (c) 500 West University Parkway #1S - > - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - > - - > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. If you > have received it in error, purge the message from your system and > notify the sender immediately. Any other use of the email by you > is prohibited. > > > > > -- > 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]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: RPMs [off topic: why rpm?]
RPMs provide transaction level control for system modification. When you install an application manually, you ASSUME that the administrator has investigated ALL interactions and dependences. Can correctly uninstall the package when needed, rembers it is installed. Now rpm puts these details on the packager, who is assumed to have knowledge of the workings of the application. But lastly, there are services that can issue updates automaticly as needed. Esp for security. on RedHat there is the Red Hat Network on Windows there is windows update That being said, our Systems admin are not allowed to install ANY application, patch any software without using/creating a RPM. This is company policy, the same goes for our windows boxes. -jason On Tue, 7 Jan 2003, Turner, John wrote: Actually, the release builds have moved to a new scenario, basically the same as Apache HTTP. Tomcat release binaries are available from various mirror sites. On any given mirror, there are only /bin and /src, and in /bin there are the full versions and the LE versions. I think RPMs went away with 4.1.17, though I could be wrong. In any case, you can find pre-4.1.18 RPMs here: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/ On that note, there's no need for an RPM for Tomcat, in my opinion. The only thing a RPM adds (AFAIK) is the creation of a tomcat user and the installation of a start/stop init script. Both tasks are easily completed manually, leaving just the need for the binaries themselves. John > -Original Message- > From: Jason Pyeron [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 07, 2003 12:08 PM > To: Tomcat Users List > Subject: Re: RPMs > > > i think the general tree structure is as follows: > > > /.../bin > /rpm > /src > > > different builds move around the tree, and not all builds > have rpms (at > least until some one builds them) > > On Tue, 7 Jan 2003, Kevin Wilson wrote: > > where are all the RPMs for the 4.1.X versions of Tomcat? > > > -- > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > - - > - Jason Pyeron http://www.pyerotechnics.com - > - Owner & Lead Pyerotechnics Development, Inc. - > - +1 410 808 6646 (c) 500 West University Parkway #1S - > - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - > - - > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. If you > have received it in error, purge the message from your system and > notify the sender immediately. Any other use of the email by you > is prohibited. > > > > > -- > 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]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
[OT] debuging SQL/datasource
all, I am at a loss of where to start on this. I have a compiled bean, which uses a datasource. It is belived to execute ResultSet.deleteRow(), but it is going ary. I performed the belived action at teh db interface, and it acted as intended. are there any debugging directives I may put into the server.xml / web.xml to trace the datasource messages? Opinions? -jason -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: RPMs
i think the general tree structure is as follows: /.../bin /rpm /src different builds move around the tree, and not all builds have rpms (at least until some one builds them) On Tue, 7 Jan 2003, Kevin Wilson wrote: where are all the RPMs for the 4.1.X versions of Tomcat? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Error in Tomcat 4.18 + Apache 2.0.43 + JK2 Conenctor
Ms. Krishna please read: http://www.tuxedo.org/~esr/faqs/smart-questions.html here is the contents of her attached document: If I try to browse a jpg file of size greater than 34KB then I get an image which has a dark pattern from the middle of the image. This only happens if the image is greater than 34KB. This is happening to another colleague of mine. I also noticed that if I try to browse the same image (> 34KB) under the subfolder of examples (i.e. jsp folder) I get the following errors (logged in apache error.log file). This however happens to any file (No size constraint) [Fri Jan 03 17:40:28 2003] [error] Error ajp_process_callback - write failed [Fri Jan 03 17:40:28 2003] [error] ajp13.service() ajpGetReply recoverable error 3 [Fri Jan 03 17:40:28 2003] [error] Error ajp_process_callback - write failed [Fri Jan 03 17:40:28 2003] [error] ajp13.service() ajpGetReply recoverable error 3 [Fri Jan 03 17:40:28 2003] [error] ajp13.service() Error forwarding ajp13:localhost:8019 1 0 [Fri Jan 03 17:40:28 2003] [error] mod_jk.handler() Error connecting to tomcat 3 Can someone please help me in solving this problem I have the following settings in my config files. Server.xml Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8019" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="2" useURIValidationHack="false" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" worker2.properties [shm] file=c:/apache/Apache2/logs/shm.file size=1048576 # Example socket channel, override port and host. [channel.socket:localhost:8019] port=8019 host=127.0.0.1 # define the worker [ajp13:localhost:8019] channel=channel.socket:localhost:8019 # Uri mapping [uri:/test/*] worker=ajp13:localhost:8019 jk2.properties # list of needed handlers. handler.list=apr,channelSocket,request # Override the default port for the channelSocket channelSocket.port=8019 -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Mon, 6 Jan 2003 [EMAIL PROTECTED] wrote: I have explained the error in this attached document. (See attached file: problem.doc) Thanks a lot Krishna -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: web apps and directory structure...
thats only for windows 2000, but thanks. also we are looking for a more general solution not dependant on the OS On Sun, 5 Jan 2003, Noel J. Bergman wrote: Jason, Does this help at all? http://www.mvps.org/win32/ntfs/lnw.html --- Noel -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
web apps and directory structure...
to all, this may be silly, but it is real issue. rationale: I have a client run windows nt 4.0 One of his vendors provides him with oracle, and other IIS based applications. His support contract does not allow hime to change the directory structure on his machine. details: here is the directory tree: /c /iisfiles /app1 /app2 /app3 /ourapp4 /d /publicdata /reports /images iis config mounts /d/publicdata/images under each app[1..3] etc. we have written a web app (which they got approval to install) /c/iisfiles/ourapp4 now we need to make use of the dataunder /d/publicdata question: can we modify the config to mount/alias d:/publicdata/foodata to WEBAPP/foodata? that is: treated like it is a sub dir under the WEBAPP? -jason pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
another apache thread... [virtual hosting]
all, WE are runnign about 80-90 apache based web sites some have ssl enabled on them. some would like jsp what is the best approach? our goal is not to have to edit tomcat configs each time we add a host. and btw, since switching from jserv to tomcat the virtual hosts get scrambled together sometimes under heavy load (100-500 hits/sec) -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: can tomcat do dynamic virtual hosts?
I find this a VERY IMPORTANT issue. I have been very dissatisfied with the connectors of late. apache has a document root property. apache knows the url requested. i dont know why this information cannot be used by tomcat like jserv did. end rant On Wed, 1 Jan 2003, Joseph Shraibman wrote: Can tomcat do dynamic virtual hosts? I'm currently doing dynamic virtual hosts with apache + Jserv but I don't know how to do that with tomcat. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Placement of Java Bean [fixed typo]
I did not read your posting very carfully so be warned: my first hack at this would be to place the class in a package ex: package com.complusdata.beans; public class FormBean { //... } then when compiled it should be in the WEB-INF/classes/com/complusdata/beans directory. then in your page see if that helps -jason pyeron On Wed, 1 Jan 2003, Denise Mangano wrote: Hi all. I'm still trying to get my Form Validation to work. The action of my form is FormValidate.jsp. Here I use a bean called FormBean. My code here is: When I try to test the form, I click submit and no matter what I try I get the same errors: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /CCPayments/28/FormValidate.jsp Generated servlet error: [javac] Compiling 1 source file /usr/local/jakarta-tomcat-4.1.17/work/Standalone/www.parkingticketpayment.co m/_/CCPayments/28/FormValidate_jsp.java:43: cannot resolve symbol symbol : class FormBean location: class org.apache.jsp.FormValidate_jsp FormBean formHandler = null; ^ I can manually compile the FormBean, so I don't think the problem is with that file. FormValidate_jsp.java is being written to the work directory. The problem seems to be that FormValidate_jsp.java can't be compiled because it can't find the class FormBean.class. I'm not exactly sure where I am supposed to place FormBean in order for FormValidate_jsp.java to find it. I have tried in the same directory as my jsp file. I have tried in $CATALINA_HOME/webapps/ROOT/WEB-INF/classes/. Yet I keep getting the same errors. Thanks in advance :) Denise -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Placement of Java Bean
I did not read your posting very carfully so be warned: my first hack at this would be to place the class in a package ex: package com.complusdata.beans; public class FormBean { //... } then when compiled it should be in the WEB-INF/classes/com/complusdata/beans directory. see if that helps -jason pyeron On Wed, 1 Jan 2003, Denise Mangano wrote: Hi all. I'm still trying to get my Form Validation to work. The action of my form is FormValidate.jsp. Here I use a bean called FormBean. My code here is: When I try to test the form, I click submit and no matter what I try I get the same errors: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /CCPayments/28/FormValidate.jsp Generated servlet error: [javac] Compiling 1 source file /usr/local/jakarta-tomcat-4.1.17/work/Standalone/www.parkingticketpayment.co m/_/CCPayments/28/FormValidate_jsp.java:43: cannot resolve symbol symbol : class FormBean location: class org.apache.jsp.FormValidate_jsp FormBean formHandler = null; ^ I can manually compile the FormBean, so I don't think the problem is with that file. FormValidate_jsp.java is being written to the work directory. The problem seems to be that FormValidate_jsp.java can't be compiled because it can't find the class FormBean.class. I'm not exactly sure where I am supposed to place FormBean in order for FormValidate_jsp.java to find it. I have tried in the same directory as my jsp file. I have tried in $CATALINA_HOME/webapps/ROOT/WEB-INF/classes/. Yet I keep getting the same errors. Thanks in advance :) Denise -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
securing tomcat...
has any one put together a faq/howto on securing tomcat? our first goal is to prevent determination of the server version by a web client. an example of this is for url http://127.1:8080/xxdfsdf this is returned, note the Server: Apache Coyote/1.0 and Apache Tomcat/4.1.12 HTTP/1.1 404 /xxdfsdf Content-Type: text/html;charset=ISO-8859-1 Content-Language: en-US Transfer-Encoding: chunked Date: Tue, 31 Dec 2002 20:46:09 GMT Server: Apache Coyote/1.0 Apache Tomcat/4.1.12 - Error report<!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --> HTTP Status 404 - /xxdfsdfty pe Status reportmessage /xxdfsdfdescription The requested resource (/xxdfsdf) is not available.Apache Tomcat/4.1.12 -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Is session id guaranteed to be unique?
Where can we find Tim's patch (post the patch to the list please). two reasons for this: to implement it and to peer review it. -jp -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Sun, 29 Dec 2002, Bill Barker wrote: "Jason Pyeron" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > should the source not be patched? IMHO, the source should be patched. As a result, Tim's patch will be in the 4.1.19 release. > > how inefficient would collision detection be? > best case it would be a HashSet.contains and the storage for the set > > -jason pyeron > > On Sun, 29 Dec 2002, Tim Funk wrote: > > See this thread for more information: > > http://marc.theaimsgroup.com/?l=tomcat-dev&m=104072138429223&w=2 > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: Is session id guaranteed to be unique?
should the source not be patched? how inefficient would collision detection be? best case it would be a HashSet.contains and the storage for the set -jason pyeron On Sun, 29 Dec 2002, Tim Funk wrote: See this thread for more information: http://marc.theaimsgroup.com/?l=tomcat-dev&m=104072138429223&w=2 Glenn Olander wrote: > Yes, it should be rare. We observed it once under heavy system load, but > haven't been > able to reproduce it. For our app however (or any security-sensitive > app), this could have > serious security consequences, so we'd like to ensure it never happens. > > Craig, if you're around, I'm guessing the check was removed for > performance reasons? > I verified that there is no check for uniqueness by using my own random > number > generator which always returns the same sequence of bytes. > Any advice on how to enforce uniqueness other than replacing > StandardManager > with a manager of our own? > > Note that this issue should be independent of the seeding algorithm. > Regardless of > how the seed is derived, it would still be possible for the random > number generator to produce a session id which matches one which is already > in use, thus effectively giving one user access to another user's session. > > - Glenn > > > Turner, John wrote: > >> >> >> I guess that depends on your definition of "guaranteed". I happened >> to be >> researching this very question earlier today, and I ended up at this URL: >> >> http://w6.metronet.com/~wjm/tomcat/2001/Sep/msg00544.html >> >> According to that (though it is over a year old), Tomcat 4 uses >> java.security.SecureRandom to generate session ids. The seeding >> algorithm >> is a combination of things, so I guess its possible that there be >> identical >> session ids, but my guess is it would be unbelievably rare. >> >> John >> >> -Original Message- >> From: Glenn O >> To: Tomcat Users List >> Sent: 12/28/02 10:48 PM >> Subject: Is session id guaranteed to be unique? >> >> >> I'm tracking down a problem which only occurs rarely, but has the >> symptom that when I attach >> data to one session, it appears to mistakenly become attached to another >> >> session. It is almost as if >> tomcat is generating two sessions which have the same session id. >> >> I'm looking at the tomcat source for createSession() in >> ManagerBase.java, and I notice this code is >> commented out: >> >> } >> /* >> synchronized (sessions) { >> while (sessions.get(sessionId) != null)// Guarantee >> uniqueness >> sessionId = generateSessionId(); >> } >> */ >> session.setId(sessionId); >> >> >> Does that mean tomcat could occasionally produce duplicate session id's? >> >> >> > > > > -- > 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]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: Question - Form Validation
your general concept here: validate page parameters is valid -> redirect to processing page display form display default values for fields display form hints for invalid data if you don't have time to learn/implement this you might want to consider outsourcing your problem. typically one would use a tag library to do this. -Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Sat, 28 Dec 2002, Denise Mangano wrote: Any web site references? I'm pressed for time so can't wait for item to be shipped and no local bookstores have it in stock... Also, if I am to have my JSP form post back to itself to validate, I would need to employ Java Beans for this - is that correct? Sorry - I'm a newbie :) Thanks! -Original Message- From: Paul Campbell To: Tomcat Users List Sent: 12/28/2002 3:29 PM Subject: RE: Question - Form Validation Advanced Java Server Pages by Geary (Prentice Hall 2001) At 03:30 PM 12/28/2002 -0500, you wrote: >It seems to me that Struts is more for large scale enterprise webapps. >Eventually once my webapp is up and running in a production environment, if >our project seems to be more popular than expected, then updates will be >necessary and alternative approaches will be considered. > >In the meantime, our webapp is for less than medium size organization, the >site is pretty simple - just select the fee you are paying and provide the >cc info for processing - all this for a pretty stable number of users (for >the time being). > >Can anyone provide links to any resources for form validation with JSP - not >using Struts? I have a couple of books, but none seem to go into enough >detail.. > >Thanks :) >Denise > >-Original Message- >From: Noel J. Bergman >To: Tomcat Users List >Sent: 12/27/2002 11:34 PM >Subject: RE: Question - Form Validation > >Denise, > >There are a number of ways to do it. One is to build a Struts >application. >Another is to have the form post back to itself. If it likes the form >data >(validates), then it can forward to the target page. There are various >other solutions. > >--- Noel > > >-- >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]> -- 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: web application manager package
if you are installing for some dists, it is in the webapp installer ex: tomcat4-admin-webapps-4.1.12-full.2jpp.noarch.rpm -jason pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Thu, 26 Dec 2002 [EMAIL PROTECTED] wrote: Hello Everybody I have installed TomCat 4.1 and there is not web aplication manager in mine. Can we find seperate package for this or we have to reinstall TomCat? Birendra Thapa -- 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]>
Re: localhost [OT] win98 reference
Google search is our friend: http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&safe=off&q=localhost+does+not+resolve+on+windows+98&btnG=Google+Search finds this doc: http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/win98/reskit/part7/wrkappf.asp remember you can have more than one name per ip, this is useful for vhosting. -jason pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Thu, 26 Dec 2002, Joel Rees wrote: > Hi Jason, > > I am running windows 98, where is this file? If you're running MSW98, my memory is you don't have this in a file. It's the kind of thing you'd find in the "registry", however. What key, I don't remember. Nor do I remember if you can get at it by right-clicking on youy "My Network" icon or digging around in the ethernet/TCP-IP dialogs in your system control panel (where you would have set the IP address). Maybe it's hard-wired. But if it were hard-wired in, your box should respond to localhost and 127.0.0.1. Can your box access itself at http://127.0.0.1? > Thanks > Tomislav > > - Original Message - > From: "Jason Pyeron" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Wednesday, December 25, 2002 5:13 PM > Subject: Re: localhost [OT] > > > > Typically localhost is defined in your hosts file as > > > > 127.0.0.1 localhost > > > > a hosts file is queried before DNS on most systems. > > > > what system type are you running? > > > > -jason pyeron > > > > -- > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > - - > > - Jason Pyeron http://www.pyerotechnics.com - > > - Owner & Lead Pyerotechnics Development, Inc. - > > - +1 410 808 6646 (c) 500 West University Parkway #1S - > > - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - > > - - > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > > > This message is for the designated recipient only and may contain > > privileged, proprietary, or otherwise private information. If you > > have received it in error, purge the message from your system and > > notify the sender immediately. Any other use of the email by you > > is prohibited. > > > > > > On Wed, 25 Dec 2002, Tomislav Miladinovic wrote: > > > > Hi All, > > > > After I installed Tomcat 4.1.18 my browser doesn't recognize localhost > variable. If I browse http://localhost:8080 it gives me error HTTP 500 but > if I browse localhost with ip address in dot notation it works fine (ex. > http://xx.xx.xx.xx:8080). Where and when is this variable assigned? > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: localhost [OT]
Typically localhost is defined in your hosts file as 127.0.0.1 localhost a hosts file is queried before DNS on most systems. what system type are you running? -jason pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Wed, 25 Dec 2002, Tomislav Miladinovic wrote: Hi All, After I installed Tomcat 4.1.18 my browser doesn't recognize localhost variable. If I browse http://localhost:8080 it gives me error HTTP 500 but if I browse localhost with ip address in dot notation it works fine (ex. http://xx.xx.xx.xx:8080). Where and when is this variable assigned? Thanks, Tomislav -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: RE: using regexp in JSPs on Tomcat
if this does not help, please send the .java source to your file. <%try{%> <% } catch (Throwable t) { %><% do { out.println("Exception ("+t+") caused by ("+t.getCause()+") stacktrace:"); t.printStackTrace(new java.io.PrintWriter(out)); if (t instanceof javax.servlet.jsp.JspException) t=((javax.servlet.jsp.JspException)t).getRootCause(); else t=t.getCause(); } while (t!=null); %><% } %> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Wed, 25 Dec 2002, Albert Wang wrote: - Original Message - From: "PELOQUIN,JEFFREY (HP-Boise,ex1)" <[EMAIL PROTECTED]> Date: Tuesday, December 24, 2002 2:56 pm Subject: RE: using regexp in JSPs on Tomcat > hmmm, do you use RE at all in the init method of your class? Nope, not at all. > > also now that I look more carefully at the stack trace, you might try > looking at the compiled java for the calling jsp page. From your > stack trace > the calling jsp page is viewSample.jsp, do you use any RE's in > this jsp? No, I just instantiated that class and called the method. > > the compiled java code will be found within the > $TOMCAT/work//path/to/jsp > the offending line will be 367, because of the use of a $ in the > file name > you may have trouble vi'ing or more'ing the file. I usaully ftp > such files > to a windows machine. > Right, I looked at that java file, but the problem is the bulk of the entire generated class is one big Try block, and line 367 is just where the REException is thrown in the corresponding catch block. So the actual problem could be anywhere... The more I look at it, the more it seems to me like this is a potential Jasper bug. I hope I'm wrong... -- 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]>
SSLPeerUnverifiedException?
does any one have a clue about this exception I found in the standard out? i get this exception ever time i fetch a document via ssl. Dec 24, 2002 1:44:36 AM org.apache.coyote.http11.Http11Processor action WARNING: Exception getting SSL attributes javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificateChain(DashoA6275) at org.apache.tomcat.util.net.JSSESupport.getPeerCertificateChain(JSSESupport.java:118) at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:543) at org.apache.coyote.Response.action(Response.java:216) at org.apache.coyote.tomcat4.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:314) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:221) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:536) excerpt from server.xml: some links I found, but have not helped, by googling around: http://forum.java.sun.com/thread.jsp?thread=159440&forum=2&message=993653 http://www-106.ibm.com/developerworks/java/library/j-customssl/?dwzone=java http://wp.netscape.com/eng/ssl3/ -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Tomcat-User Archives?
Is there a current archive site? I have not been able to find it. Page http://jakarta.apache.org/site/mail2.html has instructed our company to take initiative. We will allocate resources on our systems for a public archive. Does anyone have experince in setting up these things? -jason pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: ssl redirection? in tomcat
http -> https solved: /securedir /securedir/ /securedir/* /securedir/** CONFIDENTIAL any ideas on https -> http? -jason pyeron On Tue, 24 Dec 2002, Jason Pyeron wrote: given http://server/context/securedir/foo.html needs to redirect to https://server/context/securedir/foo.html and https://server/context/nosslhere/bar.html to http://server/context/nosslhere/bar.html cant seem to find any docs on this subject. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
ssl redirection? in tomcat
given http://server/context/securedir/foo.html needs to redirect to https://server/context/securedir/foo.html and https://server/context/nosslhere/bar.html to http://server/context/nosslhere/bar.html cant seem to find any docs on this subject. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re: request / suggestion
As I have a big screen... And I dont like to filter my messages... I guess it could be done in procmail. I will work on it and post my solution for those who would like it. this will just leave the Outlook users on there own? can the list server be configured per user? -jp On Mon, 23 Dec 2002, James C. McMaster (Jim) wrote: I disagree...Please *DO NOT* mangle Subject to include any extra garbage. Screen real-estate is valuable, and there are other ways to filter messages. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
[ot] request / suggestion
please have the list server put the list name in the subject, example: [Tomcat-User] SSL Mode Re: [Tomcat-User] SSL Mode -jason pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Tomcat Standalone SSL and client certificates?
oh I got a good one here all, in tomcat-docs/ssl-howto.html under section Introduction to SSL, I quote: In certain cases, the server may also request a Certificate from your web browser, asking for proof that you are who you claim to be. This is known as "Client Authentication," although in practice this is used more for business-to-business (B2B) transactions than with individual users. Most SSL-enabled web servers do not request Client Authentication. can tomcat do Client Authentication? if so how, as i need to doit? -Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Re[2]: a sure way to work with tomcat under windows NT/2000/XP (sorrymisread)
sorry, misread the post (skippied over the first reply) . On Mon, 23 Dec 2002, Jacob Kjome wrote: Hello Jason, Monday, December 23, 2002, 12:44:02 PM, you wrote: JP> this list is designed to be 'fool proof'? not efficient. Huh? What are you saying herewhat is your point??? Jake -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: a sure way to work with tomcat under windows NT/2000/XP
On Mon, 23 Dec 2002, Jacob Kjome wrote: : :You should set up your variables under System instead of User because if they are :you run Tomcat as a service, the User variables will not be read. Also, :Tomcat doesn't care about the system classpath. J2EE_HOME is fine to set :if you need that for something else. Tomcat doesn't need it. Also, :TOMCAT_HOME is for Tomcat-3.x.x and below. CATALINA_HOME is the only this list is designed to be 'fool proof'? not efficient. :variable that Tomcat-4.x.x cares about other than JAVA_HOME. : :Jake : :At 12:42 PM 12/23/2002 +0100, you wrote: :>Hello Jason, :> :>My name is Kinsley and I am new to Tomcat. I have successfully :>installed the Jakarta Tomcat on Windows 2000 Advanced Server. It seems :>to be OK for now as I have not done so much with it. :> :>I noticed that there are some differences between your procedures and :>the one I followed. They are as follows: :>1. I had installed j2sdk1.4.1, and then I also installed the :>j2sdkee1.3.1 setting class path to j2sdkee1.3.1.jar :>2. I installed the Tomcat and set the following variables, JAVA_HOME, :>J2EE_HOME, TOMCAT_HOME, CATALINA_HOME. :> :>But I did all of these in the User Variables for Administrator and not :>in the System Variables section as your suggested below. :> :>I eventually hit the Tomcat home page which makes me think all is well. :> :>I ran some of the examples, and they went well. :> :>I am about to proceed to install the Watchdog. But I need to know if :>the installation I have done has any fundamental error in it that may :>lead to problems later. :> :>Please revert. :> :> :>Kingsley Omon-Edo, :>Developer, :>MTech Communications Ltd :> :> :>-Original Message- :>From: Jason Pyeron [mailto:[EMAIL PROTECTED]] :>Sent: Monday, December 23, 2002 11:59 AM :>To: Tomcat Users List :>Subject: a sure way to work with tomcat under windows NT/2000/XP :> :>this seems to be a recurring theme here: :> :>these steps I give out to my clients, if they are followed without :>variation then tomcat will run happilly. :> :>Downloads: :> :>1: download jdk 1.4.1_01 from :>http://java.sun.com/webapps/download/Display?BundleId=7150 :>2: download tomcat 4.1.12 from :>http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.1.12/bin :>/jakarta-tomcat-4.1.12.exe :>3: download ant 1.5.1 from :>http://ftp.epix.net/apache/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar.g :>z :> :>PreInstall: :> :>4: browse to http://windowsupdate.microsoft.com/ :>4a: install all required patches :>4b: Reboot the machine if instructed. :>4c: Repeat step 4 until there are no more reboots required, or software :> installed. :> :>5: open control pannel, open system, choose environment variables. :>5a: find SYSTEM VARIABLES :>5b: set variable JAVA_HOME to value: c:\j2sdk1.4.1_01 :>5c: set variable CATALINA_HOME to value: C:\Program Files\Apache :>Group\Tomcat 4.1 :>5d: set variable JASPER_HOME to value: C:\Program Files\Apache :>Group\Tomcat 4.1 :>5e: set variable tomcat_home to value: C:\Program Files\Apache :>Group\Tomcat 4.1 :>5f: edit variable Path and prepend to value: :>C:\j2sdk1.4.1_01\bin;C:\Program Files\jakarta-ant-1.5.1\bin; :> :> :> :>Installs and tests: :> :>5: install JDK :>5a: click [next] button :>5b: aggree to license :>5c: verify: Destination folder should read "C:\j2sdk1.4.1_01" :>5d: click [next] button :>5e: verify: all boxes should be checked :>5f: click [next] button :>5g: verify: Microsoft Internet Explorer box should be checked :>5h: click [next] button :> :>6: Start->Run cmd.exe :>6a: at the shell propmt type and press enter:java -version :>6b: verify java executes and reports: :> :> java version "1.4.1_01" :> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) :> Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) :> :>6c: at the shell prompt type and press enter: echo public class :>test{public static void main(String[] args){System.out.println("Hello :>World!");}} > test.java :>6d: at the shell prompt type and press enter: javac test.java :>6e: at the shell prompt type and press enter: java test :>6f: verify java executes and reports: :> :> Hello World! :> :>7: install tomcat :>7a: verify an alert box pops up stating: Using Java Development Kit :>found in c:\j2sdk1.4.1_01 :>7b: click [OK] button :>7c: click [I Agree] button :>7d: select all boxes [Full (w/Source Code)] :>7e: click [Install] button :>7f: choose defaults for port/user/password [8080,Admin,""] :>7g: click [Next] button :>7h: click [close] nutton :> :>8: test tomcat: :>8a: verify Apache T
a sure way to work with tomcat under windows NT/2000/XP
this seems to be a recurring theme here: these steps I give out to my clients, if they are followed without variation then tomcat will run happilly. Downloads: 1: download jdk 1.4.1_01 from http://java.sun.com/webapps/download/Display?BundleId=7150 2: download tomcat 4.1.12 from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.1.12/bin/jakarta-tomcat-4.1.12.exe 3: download ant 1.5.1 from http://ftp.epix.net/apache/dist/ant/binaries/jakarta-ant-1.5.1-bin.tar.gz PreInstall: 4: browse to http://windowsupdate.microsoft.com/ 4a: install all required patches 4b: Reboot the machine if instructed. 4c: Repeat step 4 until there are no more reboots required, or software installed. 5: open control pannel, open system, choose environment variables. 5a: find SYSTEM VARIABLES 5b: set variable JAVA_HOME to value: c:\j2sdk1.4.1_01 5c: set variable CATALINA_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1 5d: set variable JASPER_HOME to value: C:\Program Files\Apache Group\Tomcat 4.1 5e: set variable tomcat_home to value: C:\Program Files\Apache Group\Tomcat 4.1 5f: edit variable Path and prepend to value: C:\j2sdk1.4.1_01\bin;C:\Program Files\jakarta-ant-1.5.1\bin; Installs and tests: 5: install JDK 5a: click [next] button 5b: aggree to license 5c: verify: Destination folder should read "C:\j2sdk1.4.1_01" 5d: click [next] button 5e: verify: all boxes should be checked 5f: click [next] button 5g: verify: Microsoft Internet Explorer box should be checked 5h: click [next] button 6: Start->Run cmd.exe 6a: at the shell propmt type and press enter:java -version 6b: verify java executes and reports: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) 6c: at the shell prompt type and press enter: echo public class test{public static void main(String[] args){System.out.println("Hello World!");}} > test.java 6d: at the shell prompt type and press enter: javac test.java 6e: at the shell prompt type and press enter: java test 6f: verify java executes and reports: Hello World! 7: install tomcat 7a: verify an alert box pops up stating: Using Java Development Kit found in c:\j2sdk1.4.1_01 7b: click [OK] button 7c: click [I Agree] button 7d: select all boxes [Full (w/Source Code)] 7e: click [Install] button 7f: choose defaults for port/user/password [8080,Admin,""] 7g: click [Next] button 7h: click [close] nutton 8: test tomcat: 8a: verify Apache Tomcat 4.1 service is started [control panel -> Administrative tools -> Services] 8b: browse to http://127.0.0.1:8080 9: install ant 9a: open jakarta-ant-1.5.1.tar.gz with WinZip or your favorite archive utility 9b: extract to c:\Program Files 10: test ant 10a: Start->Run cmd.exe 10b: at the shell propmt type and press enter:ant -version 10c: verify ant executes and reports: Apache Ant version 1.5.1 compiled on October 2 2002 DONE! :) steps for windows 9x/ME may vary slightly. cmd.exe is command.com variables are set in autoexec.bat and require a reboot tomcat cannot install a service, and will have to be run as an application from the start menu. I highly suggest the you install cygwin, a full install http://www.cygwin.com/setup.exe -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: Error in autocompiling JSP files in 4.1.12 standalone
it looks like Kailash is running v1.4.1 rel 01 I have two guesses as to why the errors are occuring: 1: more than one jdk installed 2: for jdk 1.4.x classpath should not be set, further it should use \ not / under windows. my recommendation is to Start->Find [all local drives] java*.exe uninstall all java sdk / runtimes unistall tomcat download and install jdk 1.4.1 rel 01 download and install tomcat 4.1.12 -jason pyeron On Mon, 23 Dec 2002, Deepa Raja wrote: Hi Kailash, I had same problem and mailed tomcat group. I was told that this is due to the version of jdk. Please upgrade your j2sdk to 1.4.1.01 and it should sort your compilation problem. Thanks Deepa -Original Message- From: Kailash Kalyani [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 22, 2002 11:32 AM To: [EMAIL PROTECTED] Subject: Error in autocompiling JSP files in 4.1.12 standalone Dear all, When running a jsp file for the first time, I get the following runtime error from Tomcat. I'm running Windows 98 with Java 1.4 SDK. (error report at bottom of message) My classpath and other relevant env settings in Windows 98 CATALINA_HOME=C:\jakarta-tomcat-4.1.12 JAVA_HOME=C:\j2sdk1.4.1_01 CLASSPATH=%JAVA_HOME%/jre/lib;%CATALINA_HOME%\common\lib;.;%CATALINA_HOME%\c om mon\lib\servlet.jar However when I compile the Jsp file, now converted to a .java file in the work directory, it compiles just fine and when I access the .jsp file after, there are no problems. Its just an irritating nag, but I wonder if there is a solution to it. I looked through the list questions and some of the Tomcat documentation for running and setting up Tomcat. I'd be happy if someone could guide me to a solution by pointing me to a page or suggesting a solution. Thanks, Kailash Error report. *** org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle r. java:120) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2 93 ) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4 74 ) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1 84 ) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application Fi lterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ai n.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va :260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eN ext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va :191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eN ext(StandardPipeline.java:643) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .j ava:471) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eN ext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eN ext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. ja va:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eN ext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eN ext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :1 74) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eN ext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase
[ot] Re: SSL Certificate
now for some very OFF TOPIC HELP, any more than this needs to be directed to a [open]ssl group, or consulting comapany (shameless plug) for windows of u*nx? I reccommend the openssl utility. windows: http://www.cygwin.com/setup.exe install everything so you dont have questions. redhat7.3: ftp://rpmfind.net/linux/redhat/updates/7.3/en/os/i386/openssl-0.9.6b-28.i386.rpm commands to read about: openssl ca req x509 simply put: you need to make a cert request object. you need to generate a public / private key pair you need to have your cert req signed (in your case self signed) typically you will keep things stored in PEM format. windows like PEM format with a ".crt" extension this should be enough information to rtfm easily. man openssl man x509 man req man ca -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Sun, 22 Dec 2002, Rafael Fernandez wrote: Can somebody send me a link where I can find information on making my own SSL certificate? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
RE: "Naive question" thread
the number of threads is needed so the server can respond to multiple requests at the same time. the system can only answer one socket per thread a a time. -Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. On Thu, 19 Dec 2002, Denise Mangano wrote: Hi all :) In response, I was running ps -ef to view what was running. I haven't had a chance to read the man on ps, but I did quickly try pstree -aup as you suggested. It looks like (if I am reading the tree right) there is only one java process, with a number of threads branching off. The same for the httpd process. Just out of curiousity, why would so many threads be spawned just after starting the services before doing anything? Thanks :) Denise -Original Message- From: jon wingfield To: Tomcat Users List Sent: 12/19/2002 1:47 PM Subject: RE: "Naive question" thread i use pstree -aup. Very useful with multiple java apps running on one server :) -Original Message- From: Milt Epstein [mailto:[EMAIL PROTECTED]] Sent: 18 December 2002 20:15 To: Tomcat Users List Subject: "Naive question" thread Saw a post in the "naive question" thread earlier today that I wanted to respond to, but my quick "delete" finger got to it before I got around to it. This was a thread in which John Turner, Denise Mangano, and some others had been participating. Anyway, Denise posted the output of ps that had a whole bunch of java processes listed. I'd be concerned about the number of such processes, because normally there shouldn't be so many -- in fact, most typically (i.e. one tomcat instance), there should be just one. Now, Denise said she's using linux, and it's my understanding that ps under linux will list threads, not just processes. So it's possible all those java listings were all the threads running in one java process. And I think there's an option to ps to cause it list actual processes, not threads. So you might try that and see what the output looks like. Milt Epstein Research Programmer Integration and Software Engineering (ISE) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] -- 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]> -- 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]>
rpm 4.1.17?
where is there a rpm for v4.1.17? or when should it be available? Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Context /manager question.
I just swithed from v3, spent the last month preparing for this and I still ran into problems, doh! how can i setup a manager context for each virtual host? I am put in the situation where I need to reload a context on hostA without interrupting hostB? I assumed that this would work, it just shows the defaultHost's /manager context: Jason Pyeron -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron http://www.pyerotechnics.com - - Owner & Lead Pyerotechnics Development, Inc. - - +1 410 808 6646 (c) 500 West University Parkway #1S - - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, purge the message from your system and notify the sender immediately. Any other use of the email by you is prohibited. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>