IIS 6 and Tomcat5.0 [Our Ref:CPT6950D]
Hi I need to connect to Tomcat5.0 using an isapi redirect filter. In addition I would like to prevent any other access to Tomcat (other than from IIS 6). How can I go about configuring Tomcat to achieve this objective? This e-mail is intended exclusively for the addressee. If you are not the addressee you must not read, copy, use or disclose the e-mail nor the content; please notify us immediately (by clicking Reply) and delete this e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: IIS 6 and Tomcat5.0 [Our Ref:CPT6950D]
if a machine name will work. Restart IIS. At this stage we can test the tomcat examples, using this URL : http://www.myIISWebServer.com/jsp-examples/index.html If it loads we are good to continue. If not, you will need to look at the troubleshooting section of the howto/iis.html document. If we are good to continue, we will next add the flex context. The following assumes a default Flex install, with your application in: ...\Tomcat 5.0\webapps\flex Adding the flex context: On the IIS web server, edit: C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\conf\uriworkermap.properties In the # [URL ]=[Worker name] section, add this line: /flex/*=wlb Save the file. Restart IIS. Finally, test the connector with Flex using an URL like this: http://www.myIISWebServer.com/flex/myApp/myFile.mxml. Security caveat: In our setup, where the flex app was called from a custom wrapper in a tightly secured ASP.NET application, adding the connector / isapi redirector had the consequence of breaking the security on the Flex app because it can be called directly from the web. The ideal solution would have been for the Tomcat container's authorization module to read the ASP.NET forms security token to permit access. Regretfully, I have not been able to make this work yet. Tracy Spratt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 5:59 AM To: tomcat-user@jakarta.apache.org Subject: IIS 6 and Tomcat5.0 [Our Ref:CPT6950D] Hi I need to connect to Tomcat5.0 using an isapi redirect filter. In addition I would like to prevent any other access to Tomcat (other than from IIS 6). How can I go about configuring Tomcat to achieve this objective? This e-mail is intended exclusively for the addressee. If you are not the addressee you must not read, copy, use or disclose the e-mail nor the content; please notify us immediately (by clicking Reply) and delete this e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache2.x and Tomcat5.0.x Session' data
hi everyone, i was just wondering how i can pass user's session data from Apache to Tomcat and visversa: an example: Im restricting access to a directory secret/* with Apache Authentication on Mysql (AAOM) Inside that directory ther is a link to one of my servlets what i want is to pass the user's data already collected after the log in against AAOM (username, etc ...) to that servlet ill be glade for any ideas how i can perform this ps im using mod_jk which mean im using tomcat only as a servlet container behind apache since the most data iam serving is a static data Thanks in Advance Sincerly Yassine ELassad __ Verpassen Sie keine eBay-Auktion und bieten Sie bequem und schnell über das Telefon mit http://www.telefonbieten.de Ihre eMails auf dem Handy lesen - ohne Zeitverlust - 24h/Tag eMail, FAX, SMS, VoiceMail mit http://www.directbox.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache2.x and Tomcat5.0.x Session' data
From: Yassine ELassad [mailto:[EMAIL PROTECTED] Subject: Apache2.x and Tomcat5.0.x Session' data Inside that directory ther is a link to one of my servlets what i want is to pass the user's data already collected after the log in against AAOM (username, etc ...) to that servlet You might find it simpler just to migrate to Tomcat 5.5 and eliminate httpd - check Peter Lin's report on performance testing at: http://jakarta.apache.org/tomcat/articles/benchmark_summary.pdf - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache2.x and Tomcat5.0.x Session' data
Have you tried calling getRemoteUser() on the HttpRequest object? If the authentication for MySQL is done with basic auth style authentication, the the user should be set and passed to tomcat. You can use that to query the rest of the data from the database. If you want to pass more data in, you will need to write a CGI on the web server to make a URL containing the data and redirect to it. You may also be able to set it in a COOKIE and let the web browser pass it back to the app server. Byron -Original Message- From: Yassine ELassad [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 31, 2005 7:13 AM To: tomcat-user@jakarta.apache.org Subject: Apache2.x and Tomcat5.0.x Session' data hi everyone, i was just wondering how i can pass user's session data from Apache to Tomcat and visversa: an example: Im restricting access to a directory secret/* with Apache Authentication on Mysql (AAOM) Inside that directory ther is a link to one of my servlets what i want is to pass the user's data already collected after the log in against AAOM (username, etc ...) to that servlet ill be glade for any ideas how i can perform this ps im using mod_jk which mean im using tomcat only as a servlet container behind apache since the most data iam serving is a static data Thanks in Advance Sincerly Yassine ELassad __ Verpassen Sie keine eBay-Auktion und bieten Sie bequem und schnell über das Telefon mit http://www.telefonbieten.de Ihre eMails auf dem Handy lesen - ohne Zeitverlust - 24h/Tag eMail, FAX, SMS, VoiceMail mit http://www.directbox.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to implement Cluster using tomcat5.0
Hi Everybody, How to implement Cluster using tomcat5.0. Regards Sridhar
Re: How to implement Cluster using tomcat5.0
On 7/21/05, Sridhar [EMAIL PROTECTED] wrote: Hi Everybody, How to implement Cluster using tomcat5.0. Start here first: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html Then try to get it working and if you have trouble try researching the issues a little and then if you get stumped post your questions to the list. Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat5.0 Database Connection Pooling Configuration
Hi there, Have a question on dbcp settings. I'd done the settings by configuring the server.xml and the web.xml of my application and it works fine. But since i need to install multiple application on the same Tomcat server, i'll need to place different context tag in the server.xml for each application to enable the datasource for each of my apps. Since my apps are all connecting to a same database server, is there any configuration method that allows me to setup once in server.xml (such as setting a 'common context') and let my web.xml to handle the rest? Thanx. Regards, F.S.
Re: Tomcat5.0 Database Connection Pooling Configuration
you can define resources for all of a host's contexts by using a GlobalNamingResources element see here for more info: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/globalresources.html On 7/13/05, Foo Shyn [EMAIL PROTECTED] wrote: Hi there, Have a question on dbcp settings. I'd done the settings by configuring the server.xml and the web.xml of my application and it works fine. But since i need to install multiple application on the same Tomcat server, i'll need to place different context tag in the server.xml for each application to enable the datasource for each of my apps. Since my apps are all connecting to a same database server, is there any configuration method that allows me to setup once in server.xml (such as setting a 'common context') and let my web.xml to handle the rest? Thanx. Regards, F.S. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problem :integration of iis6.0 with tomcat5.0
hi, all I have developed a web application tomcat5 , I want to use IIS to serve my http requests, I followed below procedure downloaded isapi_redirect2.dll and kept it in my catalina_home\bin host name is dotnetserver cretaed workers2.properties file as following # setup windows application log file [logger.win32] level=DEBUG #communication channel settings [channel.socket:dotnetserver:8009] host=dotnetserver p0rt=8009 #shared memory settings [shm] file=C:\Program Files\Apache Software Foundation\Tomcat5.0\conf\jk2.shm size=10 #declare tomcat worker [ajp13:dotnetserver:8009] channel=channel.socket: dotnetserver:8009 #uri mappings for a application context #requests for any web component (indicated by wild card *) are dispatched #to tomcat [uri:/jsp-examples/*] info=mappings for jsp-examples context of tomcat --- and in jk2.properties file added following lines channelSocket.address=dotnetserver channelSocket.port=8009 shm.file=C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\jk2.shm and followed total instructions as creating virtual directory on the name of jakarta added filter to IIS added registry componenets added webservice extensions(isapi_redirect2.dll) to IIS. but i am unable to get it work it properly, it is displaying http://dotnetserver/jsp-examples/dates/date.jsp page cannot displayed error message In event log viewer the following message is shown The description for Event ID ( 4 ) in Source ( Apache Jakarta Connector2 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: [jk_isapi_plugin.c (422)]: HttpFilterProc check if [/jakarta/isapi_redirector2.dll] is pointing to the web-inf directory Iam struggling with this problem for the last 3 days, can anyone please suggest the solution will be appreciated. advance thanks to all. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat5.0.x - Proxy (pippoProxy)
Hi list, Does anyone know about Pippo Proxy?. This is a 100% pure Java HTTP proxy designed and implemented for TomCat. IF so, Is it using in production environment ? what a result ? and about a security? Thanks Acacio Furtado Costa Pesquisa e Tecnologia GIA - Magnesita S/A ((0xx31) 3368-1349 * [EMAIL PROTECTED]
Re: Tomcat5.0.x - Proxy (pippoProxy)
I have no experience with it. But this article might be helpful for you: http://www.javaworld.com/javaworld/jw-02-2005/jw-0228-pippo.html Acácio Furtado Costa wrote: Hi list, Does anyone know about Pippo Proxy?. This is a 100% pure Java HTTP proxy designed and implemented for TomCat. IF so, Is it using in production environment ? what a result ? and about a security? Thanks Acacio Furtado Costa Pesquisa e Tecnologia GIA - Magnesita S/A ((0xx31) 3368-1349 * [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Change in JSP error handling in Tomcat5.0??
Hi. While testing a JSP error page that was working fine 9 months ago, I found that the page is not now performing its function. Instead of displaying an appropriate error message when the associated JSP receives alphabetic data instead of the integer data that it is expecting, an HTTP 500 message saying that the data manipulation JSP cannot be displayed is generated by the browser. The simple application behaves fine when valid data is entered, and the JSP error page itself can be rendered directly (if a suitable check is made for the implicit object 'exception' being equal to null). Here is the (very ordinary) error page declaration line in the data manipulation JSP: %@ page errorPage=AdderError.jsp % Here is the (equally ordinary) associated line in the JSP error page: %@ page isErrorPage=true % The only changes that have taken place since I last tested these pages are the replacement of Java SDK1.4.2 with SDK1.5.0/5.0 and the replacement of Tomcat 4.1 with Tomcat 5.0. It seems highly unlikely that the change of SDK could have led to this problem, but I suppose that there may be some change to Tomcat (or, more likely, version 2.4 of the servlet API) that has passed me by. Can anybody shed light on the cause of this change in behaviour? Any assistance would be greatly appreciated. Cheers. Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat5.0 configuration
Hi, I have written a simple servlet and trying to access an init param from the web.xml but the servlet is giving me a runtime error, please help, I'm stuck here, my runtime error says.. [code] HTTP Status 404 - Servlet invoker is not available type Status report message Servlet invoker is not available description The requested resource (Servlet invoker is not available) is not available. Apache Tomcat/5.0.28 [/code] my code and web.xml fiels look like this.. InitParamServlet.java [code] import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class InitParamServlet extends HttpServlet { private String name; public void init() throws ServletException { name = (String) getServletContext().getAttribute(name); if (name == null) { name = no name initialized; throw new UnavailableException(Couldn't get database.); } } public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException { PrintWriter out = res.getWriter(); res.setContentType(text/html); out.println(html); out.println(head meta http-equiv=\Content-Language\ content=\en-gb\ meta http-equiv=\Content-Type\ content=\text/html; charset=windows-1252\); out.println(titleHello/title); out.println(/head); out.println(body); out.println(p align=\center\nbsp;/p); out.println(p align=\center\nbsp;/p); out.println(p align=\center\bfont size=\6\Hello, My Name is + name + This is a sample webpage, ); out.println(/body); out.println(/html); } } [/code] web.xml is [code] ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 display-nameWelcome to Tomcat/display-name description Welcome to Tomcat /description !-- JSPC servlet mappings start -- servlet servlet-nameorg.apache.jsp.index_jsp/servlet-name servlet-classorg.apache.jsp.index_jsp/servlet-class /servlet servlet servlet-nameInitParamServlet/servlet-name servlet-classInitParamServlet/servlet-class init-param param-namename/param-name param-valueClint Fivefield!/param-value /init-param /servlet servlet-mapping servlet-nameInitParamServlet/servlet-name url-pattern/InitParamServlet/url-pattern /servlet-mapping servlet-mapping servlet-nameorg.apache.jsp.index_jsp/servlet-name url-pattern/index.jsp/url-pattern /servlet-mapping !-- JSPC servlet mappings end -- /web-app [/code] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0 configuration
Looks like you are using the wrong url to access your servlet. Try http://host:port/context/InitParamServlet Mark Raasi Potluri wrote: Hi, I have written a simple servlet and trying to access an init param from the web.xml but the servlet is giving me a runtime error, please help, I'm stuck here, my runtime error says.. [code] HTTP Status 404 - Servlet invoker is not available type Status report message Servlet invoker is not available description The requested resource (Servlet invoker is not available) is not available. Apache Tomcat/5.0.28 [/code] my code and web.xml fiels look like this.. InitParamServlet.java [code] import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class InitParamServlet extends HttpServlet { private String name; public void init() throws ServletException { name = (String) getServletContext().getAttribute(name); if (name == null) { name = no name initialized; throw new UnavailableException(Couldn't get database.); } } public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException { PrintWriter out = res.getWriter(); res.setContentType(text/html); out.println(html); out.println(head meta http-equiv=\Content-Language\ content=\en-gb\ meta http-equiv=\Content-Type\ content=\text/html; charset=windows-1252\); out.println(titleHello/title); out.println(/head); out.println(body); out.println(p align=\center\nbsp;/p); out.println(p align=\center\nbsp;/p); out.println(p align=\center\bfont size=\6\Hello, My Name is + name + This is a sample webpage, ); out.println(/body); out.println(/html); } } [/code] web.xml is [code] ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4 display-nameWelcome to Tomcat/display-name description Welcome to Tomcat /description !-- JSPC servlet mappings start -- servlet servlet-nameorg.apache.jsp.index_jsp/servlet-name servlet-classorg.apache.jsp.index_jsp/servlet-class /servlet servlet servlet-nameInitParamServlet/servlet-name servlet-classInitParamServlet/servlet-class init-param param-namename/param-name param-valueClint Fivefield!/param-value /init-param /servlet servlet-mapping servlet-nameInitParamServlet/servlet-name url-pattern/InitParamServlet/url-pattern /servlet-mapping servlet-mapping servlet-nameorg.apache.jsp.index_jsp/servlet-name url-pattern/index.jsp/url-pattern /servlet-mapping !-- JSPC servlet mappings end -- /web-app [/code] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat5.0 shutdown
tomcat shuts down without any warning what could be the problem? also how do i remove my name from the mailing list? _ Get 10Mb extra storage for MSN Hotmail. Subscribe Now! http://join.msn.com/?pgmarket=en-hk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0 shutdown
You are cool... First you ask a question and then you ask to be removed from the list very cool... Take a look a the logs, there should be some message which can help you. /rob usman usman wrote: tomcat shuts down without any warning what could be the problem? also how do i remove my name from the mailing list? _ Get 10Mb extra storage for MSN Hotmail. Subscribe Now! http://join.msn.com/?pgmarket=en-hk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 -- Nordic Messaging Technologies is a trademark of Infoflex Connect. Please visit www.nordicmessaging.se for more information about our carrier-grade messaging products. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0 shutdown
On Thu, Dec 02, 2004 at 08:51:55AM +, usman usman wrote: : tomcat shuts down without any warning : what could be the problem? Could be anything. Log messages, situations, OS, version, etc -- these would be helpful. There are few mind-readers here. : also how do i remove my name from the mailing list? Do you remember how you subscribed? If not, check the website. btw, shouldn't you unsub after you've resolved your shutdown problem? ;) -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't get servlet to work on tomcat5.0.x.
You need a servlet-mapping for your servlet. The Invoker servlet, which gives you a configuration shortcut, has been disabled since Tomcat 4.1.12. http://jakarta.apache.org/tomcat/faq/misc.html#invoker nyhgan wrote: Hi, I finished the apach2 and tomcat5.0.27 integration today, The JSP is fine, but the servlets are not working. When I try to login to my application, I got the this page cannot be displayed message. There are no error messages in catalina.out I have the invoker servlet turn on. My serlets are package in a jar file, place under my WEB-INF/lib directory. Here are the related configurations --- web.xml - ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nameloginHandler/servlet-name servlet-classsite.music.servlet.LoginHandler/servlet-class /servlet /web-app workers2.properties # Uri mapping for jsp [uri:127.0.0.1/*.jsp] group=ajp13:localhost:8009 # Uri mapping for jsp [uri:127.0.0.1/servlet/*] group=ajp13:localhost:8009 - Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't get servlet to work on tomcat5.0.x.
On Tue, Sep 07, 2004 at 09:31:48PM -0700, nyhgan wrote: : I finished the apach2 and tomcat5.0.27 integration today, The JSP is fine, but the servlets are not working. When I try to login to my application, I got the this page cannot be displayed message. There are no error messages in catalina.out Step 1 of Apache/jk(2)/Tomcat debugging: take Apache and JK out of the picture. Enable an HTTP connector on Tomcat and access it directly. If that works, check the Apache setup. Try to think of the Apache as a mask or a pass-through for Tomcat. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't get servlet to work on tomcat5.0.x. (solved)
nyhgan [EMAIL PROTECTED] wrote:Hi, I fixed the problem. It was because I have a mix of jk and jk2 directives in my httpd.conf. Everything works after I added the JkUriSet for the servlets and commented the IfModule block below Location /*.jsp JkUriSet worker ajp13:localhost:8009 /Location Location /servlet/* JkUriSet worker ajp13:localhost:8009 /Location # IfModule mod_jk.c # JkMount /*.jsp ajp13 # JkMount /servlet/* ajp13 # JkMount /*.xml ajp13 #AddType text/xml .xml # /IfModule nyhgan [EMAIL PROTECTED] wrote: Hi, I finished the apach2 and tomcat5.0.27 integration today, The JSP is fine, but the servlets are not working. When I try to login to my application, I got the this page cannot be displayed message. There are no error messages in catalina.out I have the invoker servlet turn on. My serlets are package in a jar file, place under my WEB-INF/lib directory. Here are the related configurations --- web.xml - ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nameloginHandler/servlet-name servlet-classsite.music.servlet.LoginHandler/servlet-class /servlet /web-app workers2.properties # Uri mapping for jsp [uri:127.0.0.1/*.jsp] group=ajp13:localhost:8009 # Uri mapping for jsp [uri:127.0.0.1/servlet/*] group=ajp13:localhost:8009 - Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. - Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. - Do you Yahoo!? Shop for Back-to-School deals on Yahoo! Shopping.
Can't get servlet to work on tomcat5.0.x.
Hi, I finished the apach2 and tomcat5.0.27 integration today, The JSP is fine, but the servlets are not working. When I try to login to my application, I got the this page cannot be displayed message. There are no error messages in catalina.out I have the invoker servlet turn on. My serlets are package in a jar file, place under my WEB-INF/lib directory. Here are the related configurations --- web.xml - ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nameloginHandler/servlet-name servlet-classsite.music.servlet.LoginHandler/servlet-class /servlet /web-app workers2.properties # Uri mapping for jsp [uri:127.0.0.1/*.jsp] group=ajp13:localhost:8009 # Uri mapping for jsp [uri:127.0.0.1/servlet/*] group=ajp13:localhost:8009 - Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard.
RE: how to configure tomcat5.0 to remove the limitation of jsp code length?
This is somewhat of a stab, but it's possible the Jasper changed so that the generated code for your page is slightly more verbose, bumping it into some restrictions of the Java language spec. The magic number seems to be 64k. From the Java Specialists (http://www.javaspecialists.co.za/archive/Issue059.html), this sounds likely related: 2. The amount of code per non-native, non-abstract method is limited to 65536 bytes by the sizes of the indices in the exception_table of the Code attribute, in the LineNumberTable attribute, and in the LocalVariableTable attribute. As does this thread at IBM developerWorks: http://www-106.ibm.com/developerworks/forums/dw_thread.jsp?message=52566cat=10thread=12882forum=177#52566 Google is your friend. And if you have 5000 lines in a single JSP, perhaps Martin Fowler should be, too. Benjamin J. Armintor Systems Analyst ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED] -Original Message- From: nong nong [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 9:37 PM To: [EMAIL PROTECTED] Subject: how to configure tomcat5.0 to remove the limitation of jsp code length? hi all I develop a Jsp application, some Jsps' code exceed 5000 rows. In tomcat4.0, it work correctly, but in tomcat5.0, it report an error:'code too large for try statement'. Whether are there any limitations of jsp code length? how to configure tomcat5.0 to remove the limitation of jsp code length? thanks _ MSN Messenger: http://messenger.msn.com/cn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to configure tomcat5.0 to remove the limitation of jsp code length?
hi all I develop a Jsp application, some Jsps' code exceed 5000 rows. In tomcat4.0, it work correctly, but in tomcat5.0, it report an error:'code too large for try statement'. Whether are there any limitations of jsp code length? how to configure tomcat5.0 to remove the limitation of jsp code length? thanks _ MSN Messenger: http://messenger.msn.com/cn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat5.0 or 4.1
Howdy, I am new to Tomcat and Java and I am trying to decide whether to use 4.1 or 5.0. I have the enterprise version of Jbuilder which doesn't support 5.0 yet. What advantages would there be for me to go with 5.0 over 4.1? If I do 4.1 how hard would it be to migrate in 6-10 months After Jbuilder updates? What IDEs do you guys use? In reverse order: IDE: people use many different ones ;) I still like emacs, and I occasionally use Eclipse, but I wouldn't pay for an IDE ;) Upgrade difficulty: depends on how compliant your app is with the servlet specification. This is true for all containers. The more compliant you are, the easier your upgrade path. In general if you use a version of tomcat after 4.1.18 (when the invoker servlet became commented out), you should not have a hard time upgrading. Advantages: 5.x is faster, more reliable, has more features, and is being actively developed. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat5.0 or 4.1
Hi Howdy, I am new to Tomcat and Java and I am trying to decide whether to use 4.1 or 5.0. I have the enterprise version of Jbuilder which doesn't support 5.0 yet. What advantages would there be for me to go with 5.0 over 4.1? If I do 4.1 how hard would it be to migrate in 6-10 months After Jbuilder updates? What IDEs do you guys use? In reverse order: IDE: people use many different ones ;) I still like emacs, and I occasionally use Eclipse, but I wouldn't pay for an IDE ;) Does anyone use Jbuilder that could give me some guidance here? I am working on mid sized enterprise stuff. We have a small staff So anything we can use to aid in development is huge. Upgrade difficulty: depends on how compliant your app is with the servlet specification. This is true for all containers. The more compliant you are, the easier your upgrade path. In general if you use a version of tomcat after 4.1.18 (when the invoker servlet became commented out), you should not have a hard time upgrading. How many differences exist between JSP2.0 and 1.3 or 1.4 or how About servlet 1.3 to 1.4 spec? Will this cause me troubles Upgrading? Advantages: 5.x is faster, more reliable, has more features, and is being actively developed. Yoav Shapira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat5.0 or 4.1
Howdy, How many differences exist between JSP2.0 and 1.3 or 1.4 or how About servlet 1.3 to 1.4 spec? Will this cause me troubles Upgrading? The JSP spec went from version 1.2 to 2.0, and has many enhancements. It's has a new expression languages as a mandatory part of the spec, for example. The Servlet spec went from version 2.3 to version 2.4, and has fewer changes. There are a couple of new listeners, the web.xml went from a DTD to a schema (so the order of elements in the web.xml file is not as critical), you can have a servlet welcome file, and there have been behavioral clarifications regarding some lifecycle and mapping events. For the specs, as always, maximum effort is made at backwards compatibility. Tomcat, in going from version 4.x to 5.x, had many internal changes aimed at better performance and reliability. These include the HTTP processing pipeline, the request mapping mechanism, handling of welcome files, and many configuration differences. For someone who never used tomcat before, there's no problem just starting with tomcat 5. If you used tomcat 4 and relied on TC4-specific behavior, your upgrade path will be more difficult. So stick to the servlet specification and avoid common pitfalls, such as getRealPath() and absolute links, and you'll be fine. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat5.0 or 4.1
I am new to Tomcat and Java and I am trying to decide whether to use 4.1 or 5.0. I have the enterprise version of Jbuilder which doesn't support 5.0 yet. What advantages would there be for me to go with 5.0 over 4.1? If I do 4.1 how hard would it be to migrate in 6-10 months After Jbuilder updates? What IDEs do you guys use? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache2 to Tomcat5.0.x
Possibly. If I am not mistaken it has to do with the fact that Apache under windows uses a single worker thread whereas under Linux that is not the case.. I think Mladen Turk is the authority to speak on that though. Yiannis -Original Message- From: Bill Dudney [mailto:[EMAIL PROTECTED] Sent: 11 February 2004 23:03 To: [EMAIL PROTECTED] Subject: Apache2 to Tomcat5.0.x Hi, I'm trying to connect Apache2 to Tomcat5.0.x on my mac (OS X) and I'm unable to get jni to work. What is the expected/required/best way to connect these two on a Unix platform? I read in the archive that someone did not expect the jni connection to work on Linux, does that apply to all unixes? Or did I just misunderstand... I don't need (yet anyway) configuration files or anything. I'm trying to find out if I'm running down a rat hole trying to connect Apache2 to Tomcat with jni. Thanks in advance for any help. -bd- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
Re: Apache2 to Tomcat5.0.x
Thanks Yiannis, Any idea what the best way to connect the two on unix? I'm happy with the socket approach but it seems that the JNI connection would perform better. Thanks! -bd- On Feb 12, 2004, at 2:06 AM, Yiannis Mavroukakis wrote: Possibly. If I am not mistaken it has to do with the fact that Apache under windows uses a single worker thread whereas under Linux that is not the case.. I think Mladen Turk is the authority to speak on that though. Yiannis -Original Message- From: Bill Dudney [mailto:[EMAIL PROTECTED] Sent: 11 February 2004 23:03 To: [EMAIL PROTECTED] Subject: Apache2 to Tomcat5.0.x Hi, I'm trying to connect Apache2 to Tomcat5.0.x on my mac (OS X) and I'm unable to get jni to work. What is the expected/required/best way to connect these two on a Unix platform? I read in the archive that someone did not expect the jni connection to work on Linux, does that apply to all unixes? Or did I just misunderstand... I don't need (yet anyway) configuration files or anything. I'm trying to find out if I'm running down a rat hole trying to connect Apache2 to Tomcat with jni. Thanks in advance for any help. -bd- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ___ _ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. ___ _ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache2 to Tomcat5.0.x
Hi, I'm trying to connect Apache2 to Tomcat5.0.x on my mac (OS X) and I'm unable to get jni to work. What is the expected/required/best way to connect these two on a Unix platform? I read in the archive that someone did not expect the jni connection to work on Linux, does that apply to all unixes? Or did I just misunderstand... I don't need (yet anyway) configuration files or anything. I'm trying to find out if I'm running down a rat hole trying to connect Apache2 to Tomcat with jni. Thanks in advance for any help. -bd- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
an question occured during using tomcat5.0
All friends: hello. I had used DataSource accompanyed with tomcat5.I configured this Data which named JDBC/ORADB via the web page http://localhost:8080/admin,everything was completed.then ,i retrieved this DataSource on my client which is an application. My core code of client is here: java.util.Properties p = new java.util.Properties(); p.put( Context.INITIAL_CONTEXT_FACTORY,org.apache.naming.factory.ResourceFactory); //p.put( Context.INITIAL_CONTEXT_FACTORY,com.sun.jndi.fscontext.RefFSContextFactory); p.put( Context.PROVIDER_URL,http://localhost:8080;); // System.setProperty(java.naming.factory,initial, org.apache.catalina.users.MemoryUser); try { Context context = new javax.naming.InitialContext( p); Context initCtx = ( Context)context.lookup(java:comp/env); DataSource ds = ( DataSource) initCtx.lookup(JDBC/ORADB); return ds; } catch (NamingException e) { e.printStackTrace(); return null; } but it failed.And the all err message like this : javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.naming.factory.ResourceFactory. Root exception is java.lang.ClassCastException at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.init(InitialContext.java:219) at javax.naming.InitialContext.init(InitialContext.java:195) at com.airversal.cer.utility.service.ServiceImp.getDataSource(ServiceImp.java:48) at com.ariversal.cer.debug.DSTest.main(DSTest.java:21) i do not know what had happend.i look view some sample code on www.apache.org. They all are too simple.Error occur with my try. what had happend or how did i use datasource with tomcat5,i beg someone give me some introduce and some advise .
an question occured during using tomcat5.0
All friends: hello. I had used DataSource accompanyed with tomcat5.I configured this Data which named JDBC/ORADB via the web page http://localhost:8080/admin,everything was completed.then ,i retrieved this DataSource on my client which is an application. My core code of client is here: java.util.Properties p = new java.util.Properties(); p.put( Context.INITIAL_CONTEXT_FACTORY,org.apache.naming.factory.ResourceFactory); //p.put( Context.INITIAL_CONTEXT_FACTORY,com.sun.jndi.fscontext.RefFSContextFactory); p.put( Context.PROVIDER_URL,http://localhost:8080;); // System.setProperty(java.naming.factory,initial, org.apache.catalina.users.MemoryUser); try { Context context = new javax.naming.InitialContext( p); Context initCtx = ( Context)context.lookup(java:comp/env); DataSource ds = ( DataSource) initCtx.lookup(JDBC/ORADB); return ds; } catch (NamingException e) { e.printStackTrace(); return null; } but it failed.And the all err message like this : javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.naming.factory.ResourceFactory. Root exception is java.lang.ClassCastException at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.init(InitialContext.java:219) at javax.naming.InitialContext.init(InitialContext.java:195) at com.airversal.cer.utility.service.ServiceImp.getDataSource(ServiceImp.java:48) at com.ariversal.cer.debug.DSTest.main(DSTest.java:21) i do not know what had happend.i look view some sample code on www.apache.org. They all are too simple.Error occur with my try. what had happend or how did i use datasource with tomcat5,i beg someone give me some introduce and some advise .
RE: an question occured during using tomcat5.0
Tomcat does not expose it's JNDI resources to the outside world. Therefore you cannot access any Tomcat Data Sources from an application outside tomcat. -Original Message- From: asd [mailto:[EMAIL PROTECTED] Sent: 03 February 2004 09:41 To: [EMAIL PROTECTED] Subject: an question occured during using tomcat5.0 All friends: hello. I had used DataSource accompanyed with tomcat5.I configured this Data which named JDBC/ORADB via the web page http://localhost:8080/admin,everything was completed.then ,i retrieved this DataSource on my client which is an application. My core code of client is here: java.util.Properties p = new java.util.Properties(); p.put( Context.INITIAL_CONTEXT_FACTORY,org.apache.naming.factory.ResourceFactory) ; //p.put( Context.INITIAL_CONTEXT_FACTORY,com.sun.jndi.fscontext.RefFSContextFactory ); p.put( Context.PROVIDER_URL,http://localhost:8080;); // System.setProperty(java.naming.factory,initial, org.apache.catalina.users.MemoryUser); try { Context context = new javax.naming.InitialContext( p); Context initCtx = ( Context)context.lookup(java:comp/env); DataSource ds = ( DataSource) initCtx.lookup(JDBC/ORADB); return ds; } catch (NamingException e) { e.printStackTrace(); return null; } but it failed.And the all err message like this : javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.naming.factory.ResourceFactory. Root exception is java.lang.ClassCastException at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.init(InitialContext.java:219) at javax.naming.InitialContext.init(InitialContext.java:195) at com.airversal.cer.utility.service.ServiceImp.getDataSource(ServiceImp.java:4 8) at com.ariversal.cer.debug.DSTest.main(DSTest.java:21) i do not know what had happend.i look view some sample code on www.apache.org. They all are too simple.Error occur with my try. what had happend or how did i use datasource with tomcat5,i beg someone give me some introduce and some advise . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).
Charles I've only been able to get jk2 iis-tomcat working with a isapi_redirector2.dll version 2.0.1 which I can no longer find on jakarta.apache.org The latest seems to be 2.0.1 whichi I've never got to work. If you like I can email it to you direct outside of this list. I tried sending it direct to the list but it didn't turn up I guess .dll attachements are blocked !? Or does anyone know if the 2.0.1 version is still accessible at jakarta.apache.org - URL please ! Or anyone know of problems/fixes for 2.0.1 ?? Christopher -Original Message- From: charles doweary [mailto:[EMAIL PROTECTED] Sent: 23 December 2003 22:07 To: [EMAIL PROTECTED] Subject: RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0). Thanks, but that did not help. I changed the direction of the slashes in the extension_uri and got the same results...no redirection. Do you have any other ideas? Your support in this matter is greatly appreciated. From: Wendell Holmes [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0). Date: Tue, 23 Dec 2003 11:37:36 -0700 Try changing the extension_uri to forward slashes - /jakarta/isapi_redirect.dll Wendell Holmes Sorry for not quoting, but it bounced as too large for mailserver _ Have fun customizing MSN Messenger - learn how here! http://www.msnmessenger-download.com/tracking/reach_customize - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).
Hi Christopher, You might like to check out my guide How To Link Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html that I wrote yesterday to solve this problem for us. In your case you might want to undo some of the additions you've made to avoid complications from mixed installations. TJ 2XP To Explore, To Experience, To Express - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).
I finally got it to work!!! After adding the .jsp extension with mime type application/octet-stream to IIS 6.0 under the web site properties, http headers tab, my jsp-exapmles were processed successfully by Tomcat 5.0. This needs to be added to all of the HOW TO documentation that out there currently. Thanks for all of your input. From: Christopher Watson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0). Date: Wed, 24 Dec 2003 09:18:47 - Charles I've only been able to get jk2 iis-tomcat working with a isapi_redirector2.dll version 2.0.1 which I can no longer find on jakarta.apache.org The latest seems to be 2.0.1 whichi I've never got to work. If you like I can email it to you direct outside of this list. I tried sending it direct to the list but it didn't turn up I guess .dll attachements are blocked !? Or does anyone know if the 2.0.1 version is still accessible at jakarta.apache.org - URL please ! Or anyone know of problems/fixes for 2.0.1 ?? Christopher -Original Message- From: charles doweary [mailto:[EMAIL PROTECTED] Sent: 23 December 2003 22:07 To: [EMAIL PROTECTED] Subject: RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0). Thanks, but that did not help. I changed the direction of the slashes in the extension_uri and got the same results...no redirection. Do you have any other ideas? Your support in this matter is greatly appreciated. From: Wendell Holmes [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0). Date: Tue, 23 Dec 2003 11:37:36 -0700 Try changing the extension_uri to forward slashes - /jakarta/isapi_redirect.dll Wendell Holmes Sorry for not quoting, but it bounced as too large for mailserver _ Have fun customizing MSN Messenger - learn how here! http://www.msnmessenger-download.com/tracking/reach_customize - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Have fun customizing MSN Messenger learn how here! http://www.msnmessenger-download.com/tracking/reach_customize - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).
I've followed every instruction that I could find, and none of them have worked for me. According to the log file, it appears as though the error is occurring when the jk_open_socket trys to connect. I've included the following platform, IIS, registry, log file, properties files, server.xml, and web.xml information. Originally, I tried to use isapi.redirector2.dll, but that file did not work at all. No log file was created when I used isapi.redirector2.dll. So, I tryed isapi_redirect-1.2.5.dll and renamed it to isapi_redirect.dll, and was able to generate a log file. Please help me to get tomcat to work with IIS. Thanks. Platform: Windows Server 2003, IIS 6.0, JWSDP-1.3, Tomcat 5.0. IIS is setup with the following options: 1.The web site level is set to Run WWW service in IIS 5.0 isolation mode. 2.The ISAPI filter green arrow is up with a high priority for file isapi_redirect.dll 3.Web Service Extension contains a jakarta entry for file isapi_redirect.dll 4.Integrated Windows Authentication is activated. Registers for Apache Software Foundation - Jakarta Isapi Redirector - 1.0 extension_uri \jakarta\isapi_redirect.dll log_fileC:\jwsdp-1.3\logs\jk2_iis.log log_level debug worker_file C:\jwsdp-1.3\conf\worker.properties worker_mount_fileC:\jwsdp-1.3\conf\uriworkermap.properties worker.properties: worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 uriworkermap.properties: /*.jsp=ajp13 /jsp-examples/*=ajp13 /jsp-examples/*.jsp=ajp13 /jsp-examples/servlet/*=ajp13 server.xml: ?xml version=1.0 encoding=utf-8 ? - Server className=org.apache.catalina.core.StandardServer debug=0 port=8005 shutdown=SHUTDOWN Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0 / Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener debug=0 / - GlobalNamingResources Environment description=Absolute Pathname of the JWSDP Installation name=jwsdp.home override=true type=java.lang.String value=C:\jwsdp-1.3 / Environment name=simpleValue override=true type=java.lang.Integer value=30 / Resource auth=Container description=User database that can be updated and saved name=UserDatabase scope=Shareable type=org.apache.catalina.UserDatabase / Resource name=mysql scope=Shareable type=javax.sql.DataSource / - ResourceParams name=UserDatabase - parameter namefactory/name valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value /parameter - parameter namepathname/name valueconf/tomcat-users.xml/value /parameter /ResourceParams - ResourceParams name=mysql - parameter namemaxWait/name value1/value /parameter - parameter namemaxActive/name value50/value /parameter - parameter namepassword/name valueJuly2000/value /parameter - parameter nameurl/name valuejdbc.mysql://localhost/generic/value /parameter - parameter namedriverClassName/name valueorg.gjt.mm.mysql.Driver/value /parameter - parameter namemaxIdle/name value20/value /parameter - parameter nameusername/name valueAdministrator/value /parameter /ResourceParams /GlobalNamingResources - Service className=org.apache.catalina.core.StandardService debug=0 name=Java Web Services Developer Pack Connector className=org.apache.coyote.tomcat5.CoyoteConnector acceptCount=10 bufferSize=2048 clientAuth=false compression=off connectionLinger=-1 connectionTimeout=2 connectionUploadTimeout=30 debug=0 disableUploadTimeout=true enableLookups=true keepAlive=true maxKeepAliveRequests=100 maxProcessors=75 minProcessors=5 port=8009 protocol=HTTP/1.1 protocolHandlerClassName=org.apache.coyote.http11.Http11Protocol proxyPort=0 redirectPort=8443 scheme=http secure=false serverSocketTimeout=500 tcpNoDelay=true tomcatAuthentication=false xpoweredBy=true / - Engine className=org.apache.catalina.core.StandardEngine backgroundProcessorDelay=10 baseDir=C:\jwsdp-1.3 debug=0 defaultHost=localhost domain=Catalina name=Catalina - Host className=org.apache.catalina.core.StandardHost appBase=webapps autoDeploy=true backgroundProcessorDelay=-1 configClass=org.apache.catalina.startup.ContextConfig contextClass=org.apache.catalina.core.StandardContext debug=0 deployOnStartup=true deployXML=true domain=Catalina errorReportValveClass=org.apache.catalina.valves.ErrorReportValve liveDeploy=true name=localhost unpackWARs=false xmlNamespaceAware=false xmlValidation=false Valve className=org.apache.catalina.authenticator.SingleSignOn debug=0 / /Host Logger className=org.apache.catalina.logger.FileLogger debug=0 directory=logs prefix=jwsdp_log. suffix=.txt timestamp=true verbosity=1 / Realm className=org.apache.catalina.realm.UserDatabaseRealm debug=0 resourceName=UserDatabase validate=true / Valve className=org.apache.catalina.valves.AccessLogValve debug=0 directory=logs fileDateFormat=-MM-dd
RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).
Try changing the extension_uri to forward slashes - /jakarta/isapi_redirect.dll Wendell Holmes Sorry for not quoting, but it bounced as too large for mailserver
RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0).
Thanks, but that did not help. I changed the direction of the slashes in the extension_uri and got the same results...no redirection. Do you have any other ideas? Your support in this matter is greatly appreciated. From: Wendell Holmes [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Not Redirecting (IIS6.0 - JWSDP1.3 with Tomcat5.0). Date: Tue, 23 Dec 2003 11:37:36 -0700 Try changing the extension_uri to forward slashes - /jakarta/isapi_redirect.dll Wendell Holmes Sorry for not quoting, but it bounced as too large for mailserver _ Have fun customizing MSN Messenger learn how here! http://www.msnmessenger-download.com/tracking/reach_customize - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: May I transfer to tomcat5.0 ???
Not sure, if you are referring to a post from me, when I said that migration is difficult, but if so: It *is* difficult (more or less, depending on your configuration), because config files (server.xml) change with every version, it seems, and the setup has to be done all new with every new version by hand. So it may take a lot of time, but it can be done in most cases. Good luck! Alex javen fang schrieb: Hi all: On this list, I have seen somebody said that we cannot transfer to tomcat 5.0. I have a win2000 server served by tomcat 4.1. I want to configure iis + tomcat by jk2, can give me any suggestion ? thanks!!! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: May I transfer to tomcat5.0 ???
Howdy, Not sure, if you are referring to a post from me, when I said that migration is difficult, but if so: It *is* difficult (more or less, depending on your configuration), because config files (server.xml) change with every version, it seems, and the setup has to be done all new with every new version by hand. So it may take a lot of time, but it can be done in most cases. Tomcat, like the Servlet Specification, tries to be as backwards compatible as possible. I haven't had to change my deployment scripts since tomcat 4.0.1 and had zero changes going to 5.0.16. If you develop your application to the Servlet Specification and keep it self-contained (i.e. one WAR with all your stuff) as opposed to relying on servlet-specific features, your migration will be painless and in many cases effortless. Yoav Shapira Good luck! Alex javen fang schrieb: Hi all: On this list, I have seen somebody said that we cannot transfer to tomcat 5.0. I have a win2000 server served by tomcat 4.1. I want to configure iis + tomcat by jk2, can give me any suggestion ? thanks!!! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
May I transfer to tomcat5.0 ???
Hi all: On this list, I have seen somebody said that we cannot transfer to tomcat 5.0. I have a win2000 server served by tomcat 4.1. I want to configure iis + tomcat by jk2, can give me any suggestion ? thanks!!! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Need Configuration Instructions for Apache2.0, Tomcat5.0 and JK2
Hi I am new to Apache Tomcat and want to use the latest versions of the software. There are no instructions available to configure Tomcat 5.0 and Apache 2.0 to work together with jk2. The folowing link does not get me to the JK2 documentation: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/ I need a guide to configure these softwares and I am in an urgent need. Looking forward for a prompt reply. Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need Configuration Instructions for Apache2.0, Tomcat5.0 and JK2
Try the 4.1 docs. This part hasn't really changed significantly. Yogita Bhardwaj [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi I am new to Apache Tomcat and want to use the latest versions of the software. There are no instructions available to configure Tomcat 5.0 and Apache 2.0 to work together with jk2. The folowing link does not get me to the JK2 documentation: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/ I need a guide to configure these softwares and I am in an urgent need. Looking forward for a prompt reply. Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat5.0 source update build errors
I'm trying to update my build of tomcat5.0. I go to my $CATALINA_HOME directory and and enter: ant this is what I get: build-commons-daemon: [echo] == Building: commons-daemon BUILD FAILED file:/home/mike/dev/tomcat5.0/jakarta-tomcat-5/build.xml:482: java.io.FileNotFoundException: /home/mike/dev/tomcat5.0/jakarta-commons/daemon/build.xml (No such file or directory) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0 source update build errors
Michael C. Starkie wrote: I'm trying to update my build of tomcat5.0. I go to my $CATALINA_HOME directory and and enter: ant this is what I get: build-commons-daemon: [echo] == Building: commons-daemon BUILD FAILED file:/home/mike/dev/tomcat5.0/jakarta-tomcat-5/build.xml:482: java.io.FileNotFoundException: /home/mike/dev/tomcat5.0/jakarta-commons/daemon/build.xml (No such file or directory) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The solution to this problem is to simply blow away the ${tomcat.source} directory, recreate it, download the build.xml file again and rebuild tomcat by issuing ant from the new ${tomcat.source} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0
As you have already been told WEB-INF has a special meaning. You should know that it is possible to move this and any application to anywhere on your system but this involves configuring the server to know where it has been moved to. For now don't worry about that kind of thing and just go with as many of the default settings as you can. If you NEED to move it you can mail me and I'll give you instructions. Andoni. - Original Message - From: Raicea Lavinia [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 10:58 AM Subject: tomcat5.0 Hi, My name is Lavinia Raicea and I am a student. I am trying to learn about JSP2.0 and Servlets so I have installed Apache Tomcat 5.0 (Windows XP) and I took some documentation to run some servlet examples. I don't know what I am doing wrong but when I put the source code in the folder $installdir/webapps/ROOT/WEB-INF/classes it works. But when I do the same thing but in a subfolder of ROOT (.../ROOT/deploy/WEB-INF/classes) it doesn't work anymore.I think is something with my configuration of tomcat but I dont't seem to get it right. If you would be so kind and tell me where I am wrong I would be very grateful. Thank you very much, Lavinia - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat5.0
Hi, My name is Lavinia Raicea and I am a student. I am trying to learn about JSP2.0 and Servlets so I have installed Apache Tomcat 5.0 (Windows XP) and I took some documentation to run some servlet examples. I don't know what I am doing wrong but when I put the source code in the folder $installdir/webapps/ROOT/WEB-INF/classes it works. But when I do the same thing but in a subfolder of ROOT (.../ROOT/deploy/WEB-INF/classes) it doesn't work anymore.I think is something with my configuration of tomcat but I dont't seem to get it right. If you would be so kind and tell me where I am wrong I would be very grateful. Thank you very much, Lavinia - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software
Re: tomcat5.0
WEB-INF has a special meaning to a servlet container (e.g., Tomcat) and must be a top-level directory in your web application directory (in this case, it must be located at .../ROOT/WEB-INF). Download the servlet specification and take a look at section 9.5: http://java.sun.com/products/servlet/download.html Raicea Lavinia wrote: Hi, My name is Lavinia Raicea and I am a student. I am trying to learn about JSP2.0 and Servlets so I have installed Apache Tomcat 5.0 (Windows XP) and I took some documentation to run some servlet examples. I don't know what I am doing wrong but when I put the source code in the folder $installdir/webapps/ROOT/WEB-INF/classes it works. But when I do the same thing but in a subfolder of ROOT (.../ROOT/deploy/WEB-INF/classes) it doesn't work anymore.I think is something with my configuration of tomcat but I dont't seem to get it right. If you would be so kind and tell me where I am wrong I would be very grateful. Thank you very much, Lavinia - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat5.0
You need to create a web-app for the example(s)... ROOT is technically a web-app (I think), so instead of putting it in ROOT, put the base folder for your webapp NEXT to ROOT i.e. in the CATALINA_HOME/webapps folder. You will also need to create a deployment descriptor and a context for your webapp -Original Message- From: Raicea Lavinia [mailto:[EMAIL PROTECTED] Sent: 29 July 2003 10:59 To: [EMAIL PROTECTED] Subject: tomcat5.0 Hi, My name is Lavinia Raicea and I am a student. I am trying to learn about JSP2.0 and Servlets so I have installed Apache Tomcat 5.0 (Windows XP) and I took some documentation to run some servlet examples. I don't know what I am doing wrong but when I put the source code in the folder $installdir/webapps/ROOT/WEB-INF/classes it works. But when I do the same thing but in a subfolder of ROOT (.../ROOT/deploy/WEB-INF/classes) it doesn't work anymore.I think is something with my configuration of tomcat but I dont't seem to get it right. If you would be so kind and tell me where I am wrong I would be very grateful. Thank you very much, Lavinia - Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Configuring Tomcat5.0 on caldera openlinux 3.1
hi all, i have caldera openlinux 3.1 installed. I downloaded tomcat 5.0 for linux and unzipped it in /root/Tomcat5.0/jakarta-tomcat-5.0.3 directory. i m not getting the thing to work. i will include the errors below This is the bashrc file i made changes to make CATALINA_HOME variable # /etc/config.d/shells/bashrc # $Id: bashrc,v 1.4 2000/11/17 10:08:40 ray Exp ray $ # Full fledged, system-wide initialization of interactive-shells # (source-able by $HOME/.bashrc) #[ -e /etc/config.d/D ] echo /etc/config.d/shells/bashrc: \$-='$-' 12 # if we haven't read /etc/profile (e.g. rsh or su) read it now... [ -z $_ETC_PROFILE ] . /etc/profile # fiddle with umask umask 022 [ -n $USER ][ $USER = `id -gn` ][ $UID != 0 ] umask 002 # set up HOME variables for certain packages... [ -z $KDEDIRS ][ -d /opt/kde2 ] export KDEDIRS=/opt/kde2 [ -z $KDEHOME ][ -d $HOME/.kde2 ] export KDEHOME=$HOME/.kde2 [ -z $KDEDIR ][ -d /opt/kde ] export KDEDIR=/opt/kde [ -z $OPENWINHOME ][ -d /usr/openwin ] export OPENWINHOME=/usr/openwin [ -z $JAVA_HOME ][ -d /usr/java ] { export JAVA_HOME=/usr/java [ -r $JAVA_HOME/lib/classes.zip ] export CLASSPATH=$JAVA_HOME/lib/classes.zip export CLASSPATH=$JAVA_HOME } [ -z $CATALINA_HOME ] [ -d $HOME/Tomcat5.0/jakarta-tomcat-5.0.3 ] export CATALINA_HOME=$HOME/Tomcat5.0/jakarta-tomcat-5.0.3 # try to generate an elaborate PATH ... _p=$HOME/bin [ $UID = 0 ] _p=$_p /usr/local/sbin /sbin /usr/sbin _q=`echo $PATH | sed -e 's/:/ /g' -e 's/ \.[. ]* / /g'` _q=$_q /usr/local/bin /opt/bin _q=$_q $KDEDIRS/bin $KDEDIR/bin $OPENWINHOME/bin $JAVA_HOME/bin _q=$_q /usr/X11R6/bin /opt/teTeX/bin _P= for _i in $_p $_q; do case :$_P: in *:$_i:*) : $_i;; *) [ -d $_i ] _P=$_P:$_i ;; esac done while [ $_P != ${_P#:} ]; do _P=${_P#:}; done # if you have relaxed security concerns you may un-comment the following... #[ -n $UID ][ $UID != 0 ] _P=${_P}:. export PATH=$_P unset _p _q _i _P # try solve this tedious 'Backspace vs. Delete' problem... case $- in *i*) if [ -z $TERM ]; then echo .bashrc: TERM empty! This should never happen! 12 echoPlease contact '[EMAIL PROTECTED]' 12 elif [ $(LC_ALL=C tty) = not a tty ]; then echo .bashrc: interactive on non-terminal! This should never happen! 12 echoPlease contact '[EMAIL PROTECTED]' 12 else case $TERM in dumb) : ;; linux*) stty erase '^?' ;; *) stty erase '^H' ;; esac fi ;; esac # general environment settings export MAIL=/var/mail/$USER #export GROFF_TYPESETTER=latin1 #export LC_CTYPE=iso-8859-1 export LESSCHARSET=latin1 export PAGER=less #export METAMAIL_PAGER=$PAGER # bash-specific settings PS1=[EMAIL PROTECTED] \W]\\$ HISTSIZE=100 alias which='type -path' alias h='history' alias j='jobs -l' alias l='ls -Fax' alias ll='ls -Alg' alias pd='pushd' alias z='suspend' errors while starting the tomcat server i.e. $bash startup.sh Using CATALINA_BASE: /root/Tomcat5.0/jakarta-tomcat-5.0.3 Using CATALINA_HOME: /root/Tomcat5.0/jakarta-tomcat-5.0.3 Using CATALINA_TMPDIR: /root/Tomcat5.0/jakarta-tomcat-5.0.3/temp Using JAVA_HOME: /usr/java errors here:--- sun.misc.InvalidJarIndexException: Invalid index! at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:594) at sun.misc.URLClassPath.getResource(URLClassPath.java:134) at java.net.URLClassLoader$1.run(URLClassLoader.java:192) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:520) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:520) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java
Fwd: Configuring Tomcat5.0 on caldera openlinux 3.1
From: Anand Kapadi [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Configuring Tomcat5.0 on caldera openlinux 3.1 Date: Thu, 10 Jul 2003 17:16:12 +0530 hi all, i have caldera openlinux 3.1 installed. I downloaded tomcat 5.0 for linux and unzipped it in /root/Tomcat5.0/jakarta-tomcat-5.0.3 directory. i m not getting the thing to work. i will include the errors below This is the bashrc file i made changes to make CATALINA_HOME variable # /etc/config.d/shells/bashrc # $Id: bashrc,v 1.4 2000/11/17 10:08:40 ray Exp ray $ # Full fledged, system-wide initialization of interactive-shells # (source-able by $HOME/.bashrc) #[ -e /etc/config.d/D ] echo /etc/config.d/shells/bashrc: \$-='$-' 12 # if we haven't read /etc/profile (e.g. rsh or su) read it now... [ -z $_ETC_PROFILE ] . /etc/profile # fiddle with umask umask 022 [ -n $USER ][ $USER = `id -gn` ][ $UID != 0 ] umask 002 # set up HOME variables for certain packages... [ -z $KDEDIRS ][ -d /opt/kde2 ] export KDEDIRS=/opt/kde2 [ -z $KDEHOME ][ -d $HOME/.kde2 ] export KDEHOME=$HOME/.kde2 [ -z $KDEDIR ][ -d /opt/kde ] export KDEDIR=/opt/kde [ -z $OPENWINHOME ][ -d /usr/openwin ] export OPENWINHOME=/usr/openwin [ -z $JAVA_HOME ][ -d /usr/java ] { export JAVA_HOME=/usr/java [ -r $JAVA_HOME/lib/classes.zip ] export CLASSPATH=$JAVA_HOME/lib/classes.zip export CLASSPATH=$JAVA_HOME } [ -z $CATALINA_HOME ] [ -d $HOME/Tomcat5.0/jakarta-tomcat-5.0.3 ] export CATALINA_HOME=$HOME/Tomcat5.0/jakarta-tomcat-5.0.3 # try to generate an elaborate PATH ... _p=$HOME/bin [ $UID = 0 ] _p=$_p /usr/local/sbin /sbin /usr/sbin _q=`echo $PATH | sed -e 's/:/ /g' -e 's/ \.[. ]* / /g'` _q=$_q /usr/local/bin /opt/bin _q=$_q $KDEDIRS/bin $KDEDIR/bin $OPENWINHOME/bin $JAVA_HOME/bin _q=$_q /usr/X11R6/bin /opt/teTeX/bin _P= for _i in $_p $_q; do case :$_P: in *:$_i:*) : $_i;; *) [ -d $_i ] _P=$_P:$_i ;; esac done while [ $_P != ${_P#:} ]; do _P=${_P#:}; done # if you have relaxed security concerns you may un-comment the following... #[ -n $UID ][ $UID != 0 ] _P=${_P}:. export PATH=$_P unset _p _q _i _P # try solve this tedious 'Backspace vs. Delete' problem... case $- in *i*) if [ -z $TERM ]; then echo .bashrc: TERM empty! This should never happen! 12 echoPlease contact '[EMAIL PROTECTED]' 12 elif [ $(LC_ALL=C tty) = not a tty ]; then echo .bashrc: interactive on non-terminal! This should never happen! 12 echoPlease contact '[EMAIL PROTECTED]' 12 else case $TERM in dumb) : ;; linux*) stty erase '^?' ;; *) stty erase '^H' ;; esac fi ;; esac # general environment settings export MAIL=/var/mail/$USER #export GROFF_TYPESETTER=latin1 #export LC_CTYPE=iso-8859-1 export LESSCHARSET=latin1 export PAGER=less #export METAMAIL_PAGER=$PAGER # bash-specific settings PS1=[EMAIL PROTECTED] \W]\\$ HISTSIZE=100 alias which='type -path' alias h='history' alias j='jobs -l' alias l='ls -Fax' alias ll='ls -Alg' alias pd='pushd' alias z='suspend' errors while starting the tomcat server i.e. $bash startup.sh Using CATALINA_BASE: /root/Tomcat5.0/jakarta-tomcat-5.0.3 Using CATALINA_HOME: /root/Tomcat5.0/jakarta-tomcat-5.0.3 Using CATALINA_TMPDIR: /root/Tomcat5.0/jakarta-tomcat-5.0.3/temp Using JAVA_HOME: /usr/java errors here:--- sun.misc.InvalidJarIndexException: Invalid index! at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:594) at sun.misc.URLClassPath.getResource(URLClassPath.java:134) at java.net.URLClassLoader$1.run(URLClassLoader.java:192) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:520) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:520) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756) at java.lang.ClassLoader.loadClassInternal
Fwd: Configuring Tomcat5.0 on caldera openlinux 3.1
hi all, i have caldera openlinux 3.1 installed. I downloaded tomcat 5.0 for linux and unzipped it in /root/Tomcat5.0/jakarta-tomcat-5.0.3 directory. i m not getting the thing to work. i will include the errors below This is the bashrc file i made changes to make CATALINA_HOME variable # /etc/config.d/shells/bashrc # $Id: bashrc,v 1.4 2000/11/17 10:08:40 ray Exp ray $ # Full fledged, system-wide initialization of interactive-shells # (source-able by $HOME/.bashrc) #[ -e /etc/config.d/D ] echo /etc/config.d/shells/bashrc: \$-='$-' 12 # if we haven't read /etc/profile (e.g. rsh or su) read it now... [ -z $_ETC_PROFILE ] . /etc/profile # fiddle with umask umask 022 [ -n $USER ][ $USER = `id -gn` ][ $UID != 0 ] umask 002 # set up HOME variables for certain packages... [ -z $KDEDIRS ][ -d /opt/kde2 ] export KDEDIRS=/opt/kde2 [ -z $KDEHOME ][ -d $HOME/.kde2 ] export KDEHOME=$HOME/.kde2 [ -z $KDEDIR ][ -d /opt/kde ] export KDEDIR=/opt/kde [ -z $OPENWINHOME ][ -d /usr/openwin ] export OPENWINHOME=/usr/openwin [ -z $JAVA_HOME ][ -d /usr/java ] { export JAVA_HOME=/usr/java [ -r $JAVA_HOME/lib/classes.zip ] export CLASSPATH=$JAVA_HOME/lib/classes.zip export CLASSPATH=$JAVA_HOME } [ -z $CATALINA_HOME ] [ -d $HOME/Tomcat5.0/jakarta-tomcat-5.0.3 ] export CATALINA_HOME=$HOME/Tomcat5.0/jakarta-tomcat-5.0.3 # try to generate an elaborate PATH ... _p=$HOME/bin [ $UID = 0 ] _p=$_p /usr/local/sbin /sbin /usr/sbin _q=`echo $PATH | sed -e 's/:/ /g' -e 's/ \.[. ]* / /g'` _q=$_q /usr/local/bin /opt/bin _q=$_q $KDEDIRS/bin $KDEDIR/bin $OPENWINHOME/bin $JAVA_HOME/bin _q=$_q /usr/X11R6/bin /opt/teTeX/bin _P= for _i in $_p $_q; do case :$_P: in *:$_i:*) : $_i;; *) [ -d $_i ] _P=$_P:$_i ;; esac done while [ $_P != ${_P#:} ]; do _P=${_P#:}; done # if you have relaxed security concerns you may un-comment the following... #[ -n $UID ][ $UID != 0 ] _P=${_P}:. export PATH=$_P unset _p _q _i _P # try solve this tedious 'Backspace vs. Delete' problem... case $- in *i*) if [ -z $TERM ]; then echo .bashrc: TERM empty! This should never happen! 12 echoPlease contact '[EMAIL PROTECTED]' 12 elif [ $(LC_ALL=C tty) = not a tty ]; then echo .bashrc: interactive on non-terminal! This should never happen! 12 echoPlease contact '[EMAIL PROTECTED]' 12 else case $TERM in dumb) : ;; linux*) stty erase '^?' ;; *) stty erase '^H' ;; esac fi ;; esac # general environment settings export MAIL=/var/mail/$USER #export GROFF_TYPESETTER=latin1 #export LC_CTYPE=iso-8859-1 export LESSCHARSET=latin1 export PAGER=less #export METAMAIL_PAGER=$PAGER # bash-specific settings PS1=[EMAIL PROTECTED] \W]\\$ HISTSIZE=100 alias which='type -path' alias h='history' alias j='jobs -l' alias l='ls -Fax' alias ll='ls -Alg' alias pd='pushd' alias z='suspend' errors while starting the tomcat server i.e. $bash startup.sh Using CATALINA_BASE: /root/Tomcat5.0/jakarta-tomcat-5.0.3 Using CATALINA_HOME: /root/Tomcat5.0/jakarta-tomcat-5.0.3 Using CATALINA_TMPDIR: /root/Tomcat5.0/jakarta-tomcat-5.0.3/temp Using JAVA_HOME: /usr/java errors here:--- sun.misc.InvalidJarIndexException: Invalid index! at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:594) at sun.misc.URLClassPath.getResource(URLClassPath.java:134) at java.net.URLClassLoader$1.run(URLClassLoader.java:192) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:520) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:520) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:857) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:756) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass
Re: tomcat5.0 build problem
When I tried, telnet cvs.apache.org 2401, I got 'connect failed' message. I assume I already have everything on my PC, can I turn off the 'cvs' feature, and compile all local files? I understand there is need for version control, but for a starter, is there a simple way out? Thanks, Steve Tim Funk [EMAIL PROTECTED] wrote:There is a good chance CVS is blocked by your firewall. It was for me. You can test this by: telnet cvs.apache.org 2401 If your connection times out - then your blocked by your firewall. -Tim Steve Guo wrote: Actually I am using Ant 1.5.1.Although my company has a firewall, we do not use a proxy server (?), because this is the setup in IE when accessing the Internet from office. In IE5.5, Tools | Internet Options | Connections | Lan Settings, proxy server is unchecked, 'Use automatic configuration script' is checked. But when using Yahoo Messenger or MSN messenger from office, I have to set the following: Use Proxies (checked) Enable HTTP proxy (checked) HTTP Proxy server name: FIREWALL server port: 80 --- So based on above, I make the following build.properties file: proxy.host=FIREWALL proxy.port=80 proxy.use=on base.path=/usr/local Still the same error message. I am really confused. Following Filip Hanik, I downloaded cvs, it is a challenge to set it up too. Actually I have been able to use the binary version (4.1.18) fine, but I thought I would try my luck building from source. Thanks all, steve Bill Barker wrote:Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need to use at least 1.5 to build TC 5. Filip Hanik wrote in message news:[EMAIL PROTECTED] try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more
Re: tomcat5.0 build problem
There is a good chance CVS is blocked by your firewall. It was for me. You can test this by: telnet cvs.apache.org 2401 If your connection times out - then your blocked by your firewall. -Tim Steve Guo wrote: Actually I am using Ant 1.5.1.Although my company has a firewall, we do not use a proxy server (?), because this is the setup in IE when accessing the Internet from office. In IE5.5, Tools | Internet Options | Connections | Lan Settings, proxy server is unchecked, 'Use automatic configuration script' is checked. But when using Yahoo Messenger or MSN messenger from office, I have to set the following: Use Proxies (checked) Enable HTTP proxy (checked) HTTP Proxy server name: FIREWALL server port: 80 --- So based on above, I make the following build.properties file: proxy.host=FIREWALL proxy.port=80 proxy.use=on base.path=/usr/local Still the same error message. I am really confused. Following Filip Hanik, I downloaded cvs, it is a challenge to set it up too. Actually I have been able to use the binary version (4.1.18) fine, but I thought I would try my luck building from source. Thanks all, steve Bill Barker [EMAIL PROTECTED] wrote:Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need to use at least 1.5 to build TC 5. Filip Hanik wrote in message news:[EMAIL PROTECTED] try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0 build problem
Hmm I've got Ant-1.5.2beta1 installed on Win2k and I can't get past here... build-main: [javac] Compiling 1 source file to D:\myclasses\Repository\Jakarta\tomcat5_2 003-02-21\jakarta-tomcat-5\build\server\webapps\admin\WEB-INF\classes [javac] This version of java does not support the classic compiler; upgradin g to modern [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\server\webapps\admin\WEB-INF\src\admin [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\webapps\ROOT\WEB-INF\src [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\webapps\ROOT\WEB-INF\classes [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\webapps\jsp-examples\WEB-INF\src [jasper2] Error in class org.apache.jasper.JspC BUILD FAILED file:D:/myclasses/Repository/Jakarta/tomcat5_2003-02-21/jakarta-tomcat-5/build.x ml:265: org.apache.jasper.JasperException: Error compiling \jsp2\tagfiles\hello. jsp Jake At 08:15 PM 2/21/2003 -0800, you wrote: Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need to use at least 1.5 to build TC 5. Filip Hanik [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the cvs task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0 build problem
This a known issue due to pre-compiling all the JSP's that the developers are working through. For now - make the task optional by added an if condition to the target definition, for example: target name=build-webapps-precompile depends=init description=Builds the admin webapp if=precompile_webapps Then this will skip this task UNLESS you pass -Dprecompile_webapps=true on the ant command line. For example: ant -Dprecompile_webapps=true clean deploy OR You can just ignore this error because it is the last step of the build and tomcat5 should start up fine. -Tim Jacob Kjome wrote: Hmm I've got Ant-1.5.2beta1 installed on Win2k and I can't get past here... build-main: [javac] Compiling 1 source file to D:\myclasses\Repository\Jakarta\tomcat5_2 003-02-21\jakarta-tomcat-5\build\server\webapps\admin\WEB-INF\classes [javac] This version of java does not support the classic compiler; upgradin g to modern [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\server\webapps\admin\WEB-INF\src\admin [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\webapps\ROOT\WEB-INF\src [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\webapps\ROOT\WEB-INF\classes [mkdir] Created dir: D:\myclasses\Repository\Jakarta\tomcat5_2003-02-21\jaka rta-tomcat-5\build\webapps\jsp-examples\WEB-INF\src [jasper2] Error in class org.apache.jasper.JspC BUILD FAILED file:D:/myclasses/Repository/Jakarta/tomcat5_2003-02-21/jakarta-tomcat-5/build.x ml:265: org.apache.jasper.JasperException: Error compiling \jsp2\tagfiles\hello. jsp Jake At 08:15 PM 2/21/2003 -0800, you wrote: Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need to use at least 1.5 to build TC 5. Filip Hanik [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the cvs task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat5.0 build problem
Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the cvs task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more
RE: tomcat5.0 build problem
try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the cvs task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0 build problem
Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need to use at least 1.5 to build TC 5. Filip Hanik [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the cvs task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat5.0 build problem
Actually I am using Ant 1.5.1.Although my company has a firewall, we do not use a proxy server (?), because this is the setup in IE when accessing the Internet from office. In IE5.5, Tools | Internet Options | Connections | Lan Settings, proxy server is unchecked, 'Use automatic configuration script' is checked. But when using Yahoo Messenger or MSN messenger from office, I have to set the following: Use Proxies (checked) Enable HTTP proxy (checked) HTTP Proxy server name: FIREWALL server port: 80 --- So based on above, I make the following build.properties file: proxy.host=FIREWALL proxy.port=80 proxy.use=on base.path=/usr/local Still the same error message. I am really confused. Following Filip Hanik, I downloaded cvs, it is a challenge to set it up too. Actually I have been able to use the binary version (4.1.18) fine, but I thought I would try my luck building from source. Thanks all, steve Bill Barker [EMAIL PROTECTED] wrote:Since you are behind a firewall, make sure that you have set 'proxy.host', 'proxy.port', and 'proxy.use' in your build.properties file. They are commented out in the build.properties.default file. At a guess, the wall you are hitting first is due to using a version of Jakarta-Ant 1.5. You need to use at least 1.5 to build TC 5. Filip Hanik wrote in message news:[EMAIL PROTECTED] try this, cvs checkout jakarta-tomcat-5 cd jakarta-tomcat-5 ant download ant checkout ant dist Filip -Original Message- From: Steve Guo [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 1:54 PM To: tomcatuser Subject: tomcat5.0 build problem Hi, this is the first time I tried to build tomcat from source, ran into the following problems. If you can provide your comment or point me to resource, I would appreciate it. Thanks. Steve 1. I followed the instructions in BUILDING.TXT, almost exactly - the Xerces2.2.1 I am using does not have xalan.jar, so I used the same file from Xalan2.4.1. 2. I got the following error after running ant: Buildfile: build.xml check.source: get.source: check.out: BUILD FAILED Build.xml:67: the task doesn't support the 'compression' attribute. 3. I am running behind corporate firewall. - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more
Did Tomcat5.0 fix the http 302 issue?
There was a discussion a month or two ago about fixing the issue wherein Tomcat *redirects* to the welcome page rather than forwarding to it. For instance, www.abc.com would be redirected to www.abc.com/index.html. Was this issue in fact resolved in Tomcat 5.0? I attempted to take a look at the change log but its empty. :( http://jakarta.apache.org/tomcat/tomcat-5.0-doc/CHANGELOG.txt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]