Tomcat on IIS Shudown Procedure
Hi all, I am using tomcat 4.0.4 on IIS with Win NT 4.0 This is our intranet Server, Tomcat is installed as service. At the day end this server automatically shuts down with the shutdown utility of windown resourse kit. Sometimes Next day i find problems with the server that the .JSP pages do not run properly. Am i closing it in a wrong way. can any one help me pls.. Thanks Regards ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Vishal Mukherjee IRSSL Vashi 91.022.7896004.155 (voice) 022.7896020(fax) Life goes on within you and without you G. Harrison. 1943-2001 ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Getting Tomcat to redirect requests
Hi, Does anyone know how I can set-up Tomcat to redirect requests to a particular web-app. I have done it using Apache and iPlanet and would like to know how to do this with Tomcat. I have a particular web-app that I want to take down for a short period and redirect any requests to this app to an html page informing the user that the site is temporarily unavailable. Any help would be appreciated. Thanks Jim. PLEASE READ: The information contained in this email is confidential and intended for the named recipient(s) only. If you are not an intended recipient of this email you must not copy, distribute or take any further action in reliance on it and you should delete it and notify the sender immediately. Email is not a secure method of communication and Nomura International plc cannot accept responsibility for the accuracy or completeness of this message or any attachment(s). Please examine this email for virus infection, for which Nomura International plc accepts no responsibility. If verification of this email is sought then please request a hard copy. Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of Nomura International plc. This email is intended for informational purposes only and is not a solicitation or offer to buy or sell securities or related financial instruments. Nomura International plc is regulated by the Financial Services Authority and is a member of the London Stock Exchange. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat 4.0.2 - 4.1.8test; problem with Realm not loading
Subject: Re: tomcat 4.0.2 - 4.1.8test; problem with Realm not loading From: Torgeir Veimo [EMAIL PROTECTED] === Remy Maucherat wrote: Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: tomcat 4.0.2 - 4.1.8test; problem with Realm not loading From: Torgeir Veimo [EMAIL PROTECTED] === I just moved to tomcat 4.1.8-LE-jdk14 on my linux development machine, and one Realm which worked flawlessly under tomcat 4.0.2 now gives an exception at startup. This Realm uses special class loading; the realm impl itself is in server/lib, while some classes it makes use of (which also need to be visible to webapps, lives in common/lib. Any clues on where to look for errors? You can't use custom components along with the JMX features (at least how they're implemented in 5.0). You can disable the ServerLifecycleListener to solve this. This is strange. specifying any of the included realm implementations does not give this error, only my own, which extends RealmBase. I do nothing in reference to JMX, I only triggers lifecycle events when my realm starts. Are you saying I shouldn't do this? -- -Torgeir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
ANT and Tomcat4
Hi Im putting together a build enviroment that builds the servlet.war, uploads it to the server. Now I wonder if there any packages that enables me to use the ant tasks in the new tomcat4.1 build ? Since I havent installed the tomcat4 on my computer, then I dont have the tomcat4.1 build. It would be nice to have a library that comes together with tomcat4.1 so developers just uses that library ( a subset of the entire tomcat4.1 library). Does the Ant tasks work together with tomcat 4.0.X? BTW, I havent found any documentation about the ant tasks. How should I use them? Do I still have to upload .war file? In my build script im having trouble getting the tomcat to deploy the new uploaded .war file. It seems that the tomcat only reads from the webapps/servlet/ directory before it unpacks the webapps/servlet.war file, so how can I remove that directory, so it must unpack the new war file? //Erik - Erik Mattsson imBridge AB Vasaplatsen 8 SE-411 34 Göteborg Phone: +46-31-138310 Mobile: +46-733-174116 www.imbridge.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat Bug #7013
Hi Group, I am yash,. I Have a Query ,There is a bug in tomcat ,7013-Entering a servlet path with non-ISO8859-1 charact Can any body suggest me ,this bug has been fixed or not,if yes then in which release it has been fixed. Please reply very urgently.It is very important Regards Yash Bhatnagar Monex Inc. Pacific Century Place Marunouchi 19F, 1-11-1,Marunouchi, Chiyoda-Ku, Tokyo 1006219, Japan. Tel:81-3-6212-3831(Direct) Mobile:81-90-53071610,81-90-66533897 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: tomcat 4.0.2 - 4.1.8test; problem with Realm not loading
Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: Re: tomcat 4.0.2 - 4.1.8test; problem with Realm not loading From: Torgeir Veimo [EMAIL PROTECTED] === Remy Maucherat wrote: Jakarta Tomcat Newsgroup (@Basebeans.com) wrote: Subject: tomcat 4.0.2 - 4.1.8test; problem with Realm not loading From: Torgeir Veimo [EMAIL PROTECTED] === I just moved to tomcat 4.1.8-LE-jdk14 on my linux development machine, and one Realm which worked flawlessly under tomcat 4.0.2 now gives an exception at startup. This Realm uses special class loading; the realm impl itself is in server/lib, while some classes it makes use of (which also need to be visible to webapps, lives in common/lib. Any clues on where to look for errors? You can't use custom components along with the JMX features (at least how they're implemented in 5.0). You can disable the ServerLifecycleListener to solve this. This is strange. specifying any of the included realm implementations does not give this error, only my own, which extends RealmBase. I do nothing in reference to JMX, I only triggers lifecycle events when my realm starts. Are you saying I shouldn't do this? Yes, I know, but the JMX code attempts to create model MBeans for all the running Catalina components. To do that, it uses the modeler (from commons), and this needs the description of the object. Remy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
unable to start tomcat on redhat linux 7.2
I have installed tomcat 3.3 on a redhat linux box with blackdown java (with sdk version j2sdk1.3.1).I get the following error when I try to run the startup script: cant find libjava.so I have set the JAVA_HOME and TOMCAT_HOME variables correctly therefore cant figure out what is wrong. thanks for any help RS __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Mod_webapp.so problems
Hi all, I have encountered randomly halt in Apache server. The mob_webapp.so is normally running when startup both Apache and Tomcat. However, the apache was halted by segmentation fault. The following is the text cut from log(httpd). CUT from log [notice] child pid 7371 exit signal Segmentation fault (11) JFC: wam_match request 08144f48 [notice] child pid 7373 exit signal Segmentation fault (11) JFC: wam_match request 08144f48 The environment is Redhat Linux 7.3, Apache 1.3.23-9(bundle with RH), Tomcat 4.0.3, mod_webapp.so(tomcat-connectors-1.0-1.4.0.2.src.rpm), JDK 1.4.0. Also, I have tried to recompile the mod_webapp.so with -DEAPI. The problems are still here. =( Thanks. Regards, Tony -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Trouble re-deploying a war file through manager
Besides the other question about Ant and tomcat, Im having problems with the deploying through the manager. First I undeploy the servlet through http://192.168.0.150:8180/manager/remove?path=/iwipwebservice Then I upload the new iwipwebservice.war file to the webapps dir, and delete the unpacked directory webapps/iwipwebservice/. (to provoke it to unpack the new war file) Then I try to deploy the servlet using http://192.168.0.150:8180/manager/install?path=/iwipwebservicewar=jar:file:/usr/local/tomcat/webapps/iwipwebservice.war!/ But I get the following error message: FAIL - Encountered exception java.lang.IllegalStateException: zip file closed Reading the localhost_log.2002-07-26.txt i find out the following java Exception: 2002-07-26 12:12:22 Manager: install: Installing web application at '/iwipwebservice' from 'jar:file:/usr/local/tomcat/webapps/iwipwebservice.war!/' 2002-07-26 12:12:22 StandardHost[localhost]: Installing web application at context path /iwipwebservice from URL jar:file:/usr/local/tomcat/webapps/i wipwebservice.war!/ 2002-07-26 12:12:22 ManagerServlet.install[/iwipwebservice] java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.entries(ZipFile.java:284) at java.util.jar.JarFile.entries(JarFile.java:192) at org.apache.catalina.core.StandardHost.expand(StandardHost.java:969) at org.apache.catalina.core.StandardHost.install(StandardHost.java:695) at org.apache.catalina.servlets.ManagerServlet.install(ManagerServlet.java:376) at org.apache.catalina.servlets.ManagerServlet.doGet(ManagerServlet.java:277) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:531) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125) at java.lang.Thread.run(Thread.java:484) 2002-07-26 12:13:29 Manager: install: Installing web application at '/iwipwebservice' from 'jar:file:/usr/local/tomcat/webapps/iwipwebservice.war!/' 2002-07-26 12:13:29 StandardHost[localhost]: Installing web application at context path /iwipwebservice from URL jar:file:/usr/local/tomcat/webapps/i wipwebservice.war!/ 2002-07-26 12:13:29 WebappLoader[/iwipwebservice]: Deploying class repositories to work directory /usr/local/jakarta-tomcat4.0.4/work/Standalone/loca lhost/iwipwebservice 2002-07-26 12:13:29
Re: Login-Password http://localhost/manager ????? Please help me....
Hi, look at http://localhost:8080/tomcat-docs/manager-howto.html. There it says You can add the manager role to the comma-delimited roles attriute for one or more existing users, and/or create new users with that assigned role. So just add ,manager to one of those users. Then you can use this user for the manager app. For safety reason you should not use one of the predefined users but define a new user with role manager. After that you have to restart Tomcat. Hope that's what's needed by you. Andreas hi, I have installed TomCat 4.0.4 on W2K. Everything seems OK. I can access the examples and run them thru http://localhost:8080 Now when I access http://localhost:8080/manager I enter tomcat/tomcat it doesn't run this way. I have also gone thru the user configuration file where I found 3 default users. I've tried all those. So far I haven't done anything with the configuration files. Could anyone tell me the default login/password of http://localhost:8080/manager ??? best regards, Sameer Arora [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Request forwarding to a specific target frame?
Hi, does anyone know how to forward a request to a specific frame? I use: dispatcher = getServletContext().getRequestDispatcher( /servlet/MyServlet ); dispatcher.forward( request, response ); Is there any way to define a target frame (TARGET='myFrame') in such a request forwarding? Greetings, Andreas -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Request forwarding to a specific target frame?
Can't be done server-side. This is a client issue. Best Regards, Anthony Geoghegan. J2EE Developer CPS Ireland Ltd. - Original Message - From: Andreas Schlegel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 25, 2002 10:18 AM Subject: Request forwarding to a specific target frame? Hi, does anyone know how to forward a request to a specific frame? I use: dispatcher = getServletContext().getRequestDispatcher( /servlet/MyServlet ); dispatcher.forward( request, response ); Is there any way to define a target frame (TARGET='myFrame') in such a request forwarding? Greetings, Andreas -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Request forwarding to a specific target frame?
I don't think this is possible as the webserver doesn't care about which browser frame responses are being sent to. Is there are reason this can't be done client side by specifying a target for the link the user is clicking on (or whatever triggers the response in the first place)? Hamish -Original Message- From: Andreas Schlegel [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:19 AM To: [EMAIL PROTECTED] Subject: Request forwarding to a specific target frame? Hi, does anyone know how to forward a request to a specific frame? I use: dispatcher = getServletContext().getRequestDispatcher( /servlet/MyServlet ); dispatcher.forward( request, response ); Is there any way to define a target frame (TARGET='myFrame') in such a request forwarding? Greetings, Andreas -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: Request forwarding to a specific target frame?
On the server side this can't be solved as tomcat doesn't know anything about targets. 3 ways to achive something like that: - include javascript in the output of the servlet - include javascript in the calling page that issues the request from the right target. - forget abou frames (That's what I prefer) -Ursprüngliche Nachricht- Von: Andreas Schlegel [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 25. Juli 2002 11:19 An: [EMAIL PROTECTED] Betreff: Request forwarding to a specific target frame? does anyone know how to forward a request to a specific frame? I use: dispatcher = getServletContext().getRequestDispatcher( /servlet/MyServlet ); dispatcher.forward( request, response ); -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Trouble re-deploying a war file through manager
I do something similar but different: 1: remove existing application 2: remove the war AND the unpacked war 3: install the new war from somewhere other than /webapps 4: All works OK - Original Message - From: Erik Mattsson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 25, 2002 10:03 AM Subject: Trouble re-deploying a war file through manager Besides the other question about Ant and tomcat, Im having problems with the deploying through the manager. First I undeploy the servlet through http://192.168.0.150:8180/manager/remove?path=/iwipwebservice Then I upload the new iwipwebservice.war file to the webapps dir, and delete the unpacked directory webapps/iwipwebservice/. (to provoke it to unpack the new war file) Then I try to deploy the servlet using http://192.168.0.150:8180/manager/install?path=/iwipwebservicewar=jar:file: /usr/local/tomcat/webapps/iwipwebservice.war!/ But I get the following error message: FAIL - Encountered exception java.lang.IllegalStateException: zip file closed Reading the localhost_log.2002-07-26.txt i find out the following java Exception: 2002-07-26 12:12:22 Manager: install: Installing web application at '/iwipwebservice' from 'jar:file:/usr/local/tomcat/webapps/iwipwebservice.war!/' 2002-07-26 12:12:22 StandardHost[localhost]: Installing web application at context path /iwipwebservice from URL jar:file:/usr/local/tomcat/webapps/i wipwebservice.war!/ 2002-07-26 12:12:22 ManagerServlet.install[/iwipwebservice] java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.entries(ZipFile.java:284) at java.util.jar.JarFile.entries(JarFile.java:192) at org.apache.catalina.core.StandardHost.expand(StandardHost.java:969) at org.apache.catalina.core.StandardHost.install(StandardHost.java:695) at org.apache.catalina.servlets.ManagerServlet.install(ManagerServlet.java:376) at org.apache.catalina.servlets.ManagerServlet.doGet(ManagerServlet.java:277) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:531) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1027) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125 ) at java.lang.Thread.run(Thread.java:484) 2002-07-26 12:13:29 Manager: install: Installing web application at '/iwipwebservice' from
Re: Best practice for virtual host configuration
On Wed, Jul 24, 2002 at 09:46:28AM -0400, Cox, Charlie wrote: if your context is under the appBase, then it will autoload it. If your context is not under the appBase(shared contexts), then you have to provide the path to it. I've never tried leaving docBase empty for a context, so I don't know what path it would look under. I guess webapps could be assumed as the default directory for defined contexts even if you change the appbase. so you changed your example to: Context path= docBase= debug=1 reloadable=true /Context This would take the ROOT context, which is fine if all your virtual hosts use ROOT as their root context. I have different contexts that are the default context for their virtual hosts, so I have to provide a docBase to distinguish between them. My configuration is similar to your original except that I have a dummy appBase(prevent autoloading) and specify a absolute path for docBase. Well, I suppose this won't work with mod_webapp - using application name in WebAppDeploy in httpd.conf couses tomcat (probably) to search for this name under appBase. So my working configuration is appBase=webapps/aaa docBase=aaa and application in webapps/aaa/aaa. A little mesh, but I think I will be able to cut one 'aaa' as soon as I'll be able to migrate to mod_jk (now I'm not because of mod_jserv used with the same apache). Regards, Richard. -- ** Internet Designers S.A., ul. Przedmiejska 6-10, 54-201 Wrocaw ** tel. (071) 35 00 445 w. 25; fax (071) 37 35 946; http://www.id.pl/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: More mod_jk/tomcat integration
Of course, an RPM is not necessary here - I'll settle for a build. These seem to be missing from the builds/jakarta-tomcat-connectors directory, although there are encouraging messages about how the empty places will soon be filled. Are we talking days or weeks for this? Peter Peter B. West wrote: I have seen a number of questions about this in recent postings in the archive, so I am in good company. I am installing tomcat 4.0.4 with apache-1.3.23-11 rpms from redhat on a redhat 7.3 system. I had previously installed a beta version of 3.3 with the then-current apache, and I had the transfer of control from apache to tomcat via an ajp13 connector working. That was a while ago. Some questions: Is mod_webapp.so available in any of the rpms? If not, should I just remove references to it in server.xml and go with the ajp13 connector? What about mod_jk.so? It came with an earlier tomcat3.3 rpm. Is a current version still available in rpm? Why does the documentation refere to libexec/mod_*.so in a number of places? There is no libexec directory anywhere in my installation of apache. Neither is there a modules directory, but that doesn't stop the httpd.conf file referring to modules/mod_*.so. Are both modules and libexec translated in the bowels of apache? Should I replace all doumentation references to libexec/mod_*.so for unix systems with modules/mod_*.so? One of the references to libexec/mod_jk.so is in the section on Using ApacheConfig inthe AJP config page. The modJk attribute to the Listener element within the Host element is said to have this default. modJk (and , I think workersConfig) is on the apache side of the equation, isn't it? Yet modJk and workersConfig (default conf/jk/workers.properties) are supposedly referenced relative to CATALINA_HOME by default. This doesn't seem to make sense. What is the rationale for this? Peter -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest Lord, to whom shall we go? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
strange jsp compile error in tomcat4.1.8
Subject: strange jsp compile error in tomcat4.1.8 From: Torgeir Veimo [EMAIL PROTECTED] === I see this strange compilation error when using struts nested tag libs and jsp:include on the latest tomcat test; org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file /usr/local/jakarta-tomcat-4.1.8-LE-jdk14/work/Standalone/localhost/main/publishing/desk/sectiontree_jsp.java:179: include(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,java.lang.String,javax.servlet.jsp.JspWriter,boolean) in org.apache.jasper.runtime.JspRuntimeLibrary cannot be applied to (javax.servlet.http.HttpServletRequest,javax.servlet.ServletResponse,java.lang.String,javax.servlet.jsp.JspWriter,boolean) JspRuntimeLibrary.include(request, response, treenode.jsp, out, false); The code that triggers this is this jsp page; %@ page contentType=text/html;charset=utf-8 % %@ taglib uri=/WEB-INF/struts-nested.tld prefix=nested % %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/tiles.tld prefix=tiles % html head html:base / link rel=stylesheet type=text/css href=../../style/default.css /head body nested:form action=/sectiontree.do bean:message key=desk/br table border=0 cellpadding=0 cellspacing=0 nested:nest property=tree %--tiles:insert page=treenode.jsp flush=false/--% jsp:include page=treenode.jsp flush=false / /nested:nest /table /nested:form /body /html For some reason, the compiler seems to get confused ServletResponse and HttpServletResponse. Do anyone have any clue why this doesn't work on 4.1.8 while it works on 4.0.2? Can the taglib be to blame? -- -Torgeir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Invalid command 'JkMount'?!? Help!!
Hi All, I'm trying to integrate Apache (1.3.23) with Tomcat (4.0.3) on Linux (RedHat 7.3) using mod_jk. I'm getting the following error when I try to restart Apache (or use apachectl configtest): Syntax error on line 1260 of /etc/httpd/conf/httpd.conf: Invalid command 'JkMount', perhaps mis-spelled or defined by a module not included in the server configuration Line 1260 of httpd.conf is the fifth line of the following: VirtualHost 137.48.138.201 ServerName bioinformatics.ist.unomaha.edu ServerAlias bioinformatics.unomaha.edu DocumentRoot /bioinformatics/webapps JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 DirectoryIndex index.jsp index.html /VirtualHost I have no idea how to fix this as JkMount is indeed spelled correctly. Is it possible that the mod_jk.so that I am using is corrupt or the wrong version? I'musing mod_jk-3.3-ap13-eapi.so that I found at http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/linux/i386/. BTW,Ihavefollowedtheconfigurationinstructionsat http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html and http://www.galatea.com/flashguides/apache-tomcat-4-unix.xml on how to do this. From what I can tell, tomcat is running correctly with the modifications I have made (no errors on restart). Any help would be appreciated! Mark Mark A. Pauley College of Information Science Technology, UNO Omaha, NE 68182-0116 e-mail: [EMAIL PROTECTED] phone: (402) 554-4954 fax: (402) 554-3284 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: Request forwarding to a specific target frame?
3 ways to achive something like that: - include javascript in the output of the servlet - include javascript in the calling page that issues the request from the right target. - forget abou frames (That's what I prefer) 4th way: - output of [autoreloading] frameset and saving the requestparameters in a session bean. :-)) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
classpath question
shoud i add the web app directory in my classpath ? i have a application deployed as follows webapps | |dms | | | |- jsp |-classes |dms | | | -beans |-servlets |- |- inorder to access files in the classes dms.* pakage do i have to declare it in the class path ? thanks in advanced Billy V. Kantartzis (Msc Ect), University Of Essex, wivenhoe park , co4 3sq Clochester, Essex,Uk mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Login-Password http://localhost/manager ????? Please help me....
Actually there is no default password. You will have to change the user configuration file to set the login and password as you wish. Also, the roles have to be set. To manage everything set the following roles: Standard, Manager. My tomcat-users.xml looks like this ... user name=mgrLogin password=mgrPass roles=standard, manager / Regards, John. IT-INDIA.com wrote: hi, I have installed TomCat 4.0.4 on W2K. Everything seems OK. I can access the examples and run them thru http://localhost:8080 Now when I access http://localhost:8080/manager I enter tomcat/tomcat it doesn't run this way. I have also gone thru the user configuration file where I found 3 default users. I've tried all those. So far I haven't done anything with the configuration files. Could anyone tell me the default login/password of http://localhost:8080/manager ??? best regards, Sameer Arora [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
WML or HTML detection
From a servlet how can you detect what should be output from the type of client that sent the request. i.e. If a WAP phone accesses a servlet then it outputs WML or if a Web Browser accesses the same servlet then HTML is output Thanks. Dave
Tomcat4 - HTTP Code 400 Response when URL contains %00
Hi to all, An applet builds a relative URL path like /server/Input/%7a%00 an connects to a tomcat4 server. My servlet running on tomcat4 receives the applet's request as long there is no %00. Otherwise Tomcat response with the 400 HTTP Code. For some reasons the applet cannot suppress the %00 strings, so is there a way to configure tomcat's behaviour for my special case? Thanks in advance, Kristian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: WML or HTML detection
Assuming HttpServletRequest request: String clientBrowser = request.getHeader(User-Agent); String clientReferer = request.getHeader(Referer); String clientIP = request.getRemoteAddr(); John Turner [EMAIL PROTECTED] -Original Message- From: David Oxley [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 8:37 AM To: 'Tomcat Users List' Subject: WML or HTML detection From a servlet how can you detect what should be output from the type of client that sent the request. i.e. If a WAP phone accesses a servlet then it outputs WML or if a Web Browser accesses the same servlet then HTML is output Thanks. Dave -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Hardening Tomcat 3.2.4
Think about the account you are running it under. -Original Message- From: Patel, Rajni M [mailto:[EMAIL PROTECTED]] Sent: 23 July, 2002 12:17 PM To: '[EMAIL PROTECTED]' Subject: Hardening Tomcat 3.2.4 Importance: High I have tomcat installed and running on a Windows NT 4.0 SP6a box and need to harden the installation. The things that I have thought about and I can do is: 1) Change the HTTP port in server.xml file from default value of 8080. 2) Remove the TOMCAT_HOME\examples directory 3) Remove the weapp\admin directory 4) Utilise a Firewall and restrict access to the NT box to IP Domain. Is there anything else that I could do, like modify the tomcat.policy file, but I'm a little unsure of what else needs to be done. Thanks in advance for your help. Rajni This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message . -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: More mod_jk/tomcat integration
If you're using apache with tomcat, there is no benefit to using mod_webapp. Mod_webapp does not differentiate between static and dynamic content at this time...if you use mod_webapp, all content will be served by tomcat. If you want apache to serve static content, and tomcat to server dynamic content, you want mod_jk. I would remove references to mod_webapp in your configuration. John Turner [EMAIL PROTECTED] -Original Message- From: Peter B. West [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 10:55 PM To: Tomcat Users List Subject: More mod_jk/tomcat integration I have seen a number of questions about this in recent postings in the archive, so I am in good company. I am installing tomcat 4.0.4 with apache-1.3.23-11 rpms from redhat on a redhat 7.3 system. I had previously installed a beta version of 3.3 with the then-current apache, and I had the transfer of control from apache to tomcat via an ajp13 connector working. That was a while ago. Some questions: Is mod_webapp.so available in any of the rpms? If not, should I just remove references to it in server.xml and go with the ajp13 connector? What about mod_jk.so? It came with an earlier tomcat3.3 rpm. Is a current version still available in rpm? Why does the documentation refere to libexec/mod_*.so in a number of places? There is no libexec directory anywhere in my installation of apache. Neither is there a modules directory, but that doesn't stop the httpd.conf file referring to modules/mod_*.so. Are both modules and libexec translated in the bowels of apache? Should I replace all doumentation references to libexec/mod_*.so for unix systems with modules/mod_*.so? One of the references to libexec/mod_jk.so is in the section on Using ApacheConfig inthe AJP config page. The modJk attribute to the Listener element within the Host element is said to have this default. modJk (and , I think workersConfig) is on the apache side of the equation, isn't it? Yet modJk and workersConfig (default conf/jk/workers.properties) are supposedly referenced relative to CATALINA_HOME by default. This doesn't seem to make sense. What is the rationale for this? Peter -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest Lord, to whom shall we go? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Doubt
Which operating system? 2000, XP, NT? Any error messages? If so, what are they? Do you have the correct JDK installed? What are the values of JAVA_HOME and CATALINA_HOME? John Turner [EMAIL PROTECTED] -Original Message- From: Dinesh Ramasamy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 9:34 AM To: [EMAIL PROTECTED] Subject: Doubt Hi , i installed the binary distribution of Tomcat and unzipped the file and put kept it in D:\jakarta-Tomcat4.0.4.However when i start the startup.bat file in bin dir and type the the URL http://localhost:8080 it takes a very long process and atlas i am not able to view the home page . If would welcome if anybody knows how to solve this problem and let me know. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: SOAP
How is this a tomcat question? Or even a servlet/JSP question? John Turner [EMAIL PROTECTED] -Original Message- From: Sudhir Kumar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 9:00 AM To: 'Tomcat Users List' Subject: SOAP I ahve a VB client server aplication running on my machine. Now i need to communicate with a similar VB application running on a remote machine. Can i use SOAP to achive this. if yes, is there any code change required in the existing one?? Any other better ways of achiving this?? Any help in this regard will be appreciated.. Thanks in advance.. Sudhir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Change JDK version for tomcat4.0.4
Install 1.4.1 into a separate directory, change the value of JAVA_HOME to point to the new directory. John Turner [EMAIL PROTECTED] -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 3:58 PM To: Tomcat Users List Subject: Change JDK version for tomcat4.0.4 Hi, I am running tomcat4.0.4 on my windows 2000 server, I had jdk1.3.1 when i installed it and is running fine, but now i want to use jdk1.4.1 , so how can i upgrade tomcat to use jdk1.4 instead of jdk1.3.1 without installing it again Ashish __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: unable to start tomcat on redhat linux 7.2
I haven't run Blackdown in a while, but my advice would be to add the directory containing libjava.so to /etc/ld.so.conf and then re-run ldconfig. George Sexton MH Software, Inc. Voice: 303 438 9585 http://www.mhsoftware.com -Original Message- From: LinuxTyro [mailto:[EMAIL PROTECTED]] Sent: 25 July, 2002 2:43 AM To: [EMAIL PROTECTED] Subject: unable to start tomcat on redhat linux 7.2 I have installed tomcat 3.3 on a redhat linux box with blackdown java (with sdk version j2sdk1.3.1).I get the following error when I try to run the startup script: cant find libjava.so I have set the JAVA_HOME and TOMCAT_HOME variables correctly therefore cant figure out what is wrong. thanks for any help RS __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: classpath question
Hi, You should not have the webapps directory on your classpath. That is the structure you deploy into. You should have a src tree somewhere else that's in your classpath for compilation. Please refer to http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html (specifically, the Deployment Organization and Source Organization sections) for complete details. Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy V. Kantartzis [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 8:14 AM To: [EMAIL PROTECTED] Subject: classpath question shoud i add the web app directory in my classpath ? i have a application deployed as follows webapps | |dms | | | |- jsp |-classes |dms | | | -beans |-servlets |- |- inorder to access files in the classes dms.* pakage do i have to declare it in the class path ? thanks in advanced Billy V. Kantartzis (Msc Ect), University Of Essex, wivenhoe park , co4 3sq Clochester, Essex,Uk mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
mod_webapp+Apache 1.3
Hi all, I have a problem with my tomcat-setup. I am using Tomcat 4.0.3, Apache 1.3.26 and mod_webapp.so to connect the two. There are a lot of errors about Premature packet end header in the tomcat-logs. After that the Apache will reconnect. So most time it is just a little bit noise. But once every day - perhaps a little bit more - the tomcat-webapp will not answer any requests any more, till I restart tomcat (and apache). I have tried different connectors (4.0.2, 4.0.4), different java versions (1.4.0, 1.3.0, 1.3.1) and different apaches (1.3.20-). All the combinations I tried gave the same error. Any idea anyone? Thanks Felix PS: One of those Errormessages looks like 2002-07-25 00:15:02 [org.apache.catalina.connector.warp.WarpConnection] Exception on socket java.io.IOException: Premature packet header end at org.apache.catalina.connector.warp.WarpConnection.recv(WarpConnection.java:237) at org.apache.catalina.connector.warp.WarpRequestHandler.handle(WarpRequestHandler.java:112) at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java:194) at java.lang.Thread.run(Thread.java:536) Online Fotoalben - jetzt kostenlos bei http://www.ePost.de -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: WML or HTML detection
Try looking at the Accept header. That should tell you if the browser accepts HTML or WML, maybe. That with a combination of User-Agent checks should be able to help you... Donie -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: July 25, 2002 14:14 To: 'Tomcat Users List' Subject:RE: WML or HTML detection Assuming HttpServletRequest request: String clientBrowser = request.getHeader(User-Agent); String clientReferer = request.getHeader(Referer); String clientIP = request.getRemoteAddr(); John Turner [EMAIL PROTECTED] -Original Message- From: David Oxley [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 8:37 AM To: 'Tomcat Users List' Subject: WML or HTML detection From a servlet how can you detect what should be output from the type of client that sent the request. i.e. If a WAP phone accesses a servlet then it outputs WML or if a Web Browser accesses the same servlet then HTML is output Thanks. Dave -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Getting Tomcat to redirect requests
Howdy, A simple filter could do the trick. Have do a response.sendRedirect() for every request. The filter's url-pattern would be /MyApp/* where MyApp is the app you want to take down. However, this solution requires you to edit the web.xml and restart your tomcat server in order to deploy the filter. Yoav Shapira Millennium ChemInformatics -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 4:09 AM To: 'Tomcat Users List' Subject: Getting Tomcat to redirect requests Hi, Does anyone know how I can set-up Tomcat to redirect requests to a particular web-app. I have done it using Apache and iPlanet and would like to know how to do this with Tomcat. I have a particular web-app that I want to take down for a short period and redirect any requests to this app to an html page informing the user that the site is temporarily unavailable. Any help would be appreciated. Thanks Jim. PLEASE READ: The information contained in this email is confidential and intended for the named recipient(s) only. If you are not an intended recipient of this email you must not copy, distribute or take any further action in reliance on it and you should delete it and notify the sender immediately. Email is not a secure method of communication and Nomura International plc cannot accept responsibility for the accuracy or completeness of this message or any attachment(s). Please examine this email for virus infection, for which Nomura International plc accepts no responsibility. If verification of this email is sought then please request a hard copy. Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of Nomura International plc. This email is intended for informational purposes only and is not a solicitation or offer to buy or sell securities or related financial instruments. Nomura International plc is regulated by the Financial Services Authority and is a member of the London Stock Exchange. -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Update JDK version for tomcat
Hi, I am running tomcat4.0.4 on windows2000, when i installed it i had jdk1.3.1 on my machine, so tomcat used jdk1.3.1 while installing, now i want to upgrade to jdk1.4.1, so how can i do it?? if only i change the classpath will it work or i will have to reinstall tomcat after changing my classpth??? Ashish __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Apache, Tomcat and Struts
Situation: RedHat Linux 7.2 with Apache forwarding requests to Tomcat 4.0.4 works OK. I'm using Struts in my Tomcat application. What I want to have happen is this: 1. Client connects to Apache with some URL foo.com 2. Apache has been set up to look for an index.do welcome-file via the DirectoryIndex Directive 3. Apache/AJP3 configured such that all *.do patterns get sent to Tomcat 4. Using Struts/Tomcat, I have mapped index.do to some Action in struts-config.xml 5. Tomcat process action for index.do, runs logic, forwards to JSP, etc. I have set this up on my Linux machine. I had to add a dummy index.do file in the document root that is empty. This seemed to be necessary to get Apache and Tomcat to try to return it, and it sets the processing above into motion. Problem: All works fine when I access Apache from the Linux machine itself as localhost. However when I access Apache from another machine as foo.com, Apache seems to be return the empty index.do file and does not forward on to Tomcat. How can I get this to work when I access everything from a remote machine? Some relevant entries from my config files: httpd.conf: IfModule mod_dir.c DirectoryIndex index.do index.jsp index.html /IfModule mod_jk.conf: VirtualHost localhost ServerName localhat JkMount /*.do ajp13 JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 /VirtualHost Is this a reasonable approach end-to-end, or how have other people implemented the same funcitionality? Thanks!
RE: Getting Tomcat to redirect requests
Thanks Yoav, I'll try that. Regards Jim. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: 25 July 2002 14:28 To: Tomcat Users List Subject: RE: Getting Tomcat to redirect requests Howdy, A simple filter could do the trick. Have do a response.sendRedirect() for every request. The filter's url-pattern would be /MyApp/* where MyApp is the app you want to take down. However, this solution requires you to edit the web.xml and restart your tomcat server in order to deploy the filter. Yoav Shapira Millennium ChemInformatics -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 4:09 AM To: 'Tomcat Users List' Subject: Getting Tomcat to redirect requests Hi, Does anyone know how I can set-up Tomcat to redirect requests to a particular web-app. I have done it using Apache and iPlanet and would like to know how to do this with Tomcat. I have a particular web-app that I want to take down for a short period and redirect any requests to this app to an html page informing the user that the site is temporarily unavailable. Any help would be appreciated. Thanks Jim. PLEASE READ: The information contained in this email is confidential and intended for the named recipient(s) only. If you are not an intended recipient of this email you must not copy, distribute or take any further action in reliance on it and you should delete it and notify the sender immediately. Email is not a secure method of communication and Nomura International plc cannot accept responsibility for the accuracy or completeness of this message or any attachment(s). Please examine this email for virus infection, for which Nomura International plc accepts no responsibility. If verification of this email is sought then please request a hard copy. Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of Nomura International plc. This email is intended for informational purposes only and is not a solicitation or offer to buy or sell securities or related financial instruments. Nomura International plc is regulated by the Financial Services Authority and is a member of the London Stock Exchange. -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] PLEASE READ: The information contained in this email is confidential and intended for the named recipient(s) only. If you are not an intended recipient of this email you must not copy, distribute or take any further action in reliance on it and you should delete it and notify the sender immediately. Email is not a secure method of communication and Nomura International plc cannot accept responsibility for the accuracy or completeness of this message or any attachment(s). Please examine this email for virus infection, for which Nomura International plc accepts no responsibility. If verification of this email is sought then please request a hard copy. Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of Nomura International plc. This email is intended for informational purposes only and is not a solicitation or offer to buy or sell securities or related financial instruments. Nomura International plc is regulated by the Financial Services Authority and is a member of the London Stock Exchange. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
mod_jk load balacing configuration
Is the load balancing configuration of mod_jk documentated somewhere? Pointers to RTFM appreciated!
AW: Apache, Tomcat and Struts
shouldn't VirtualHost localhost be better VirtualHost foo.com ? -Ursprüngliche Nachricht- Von: Chris Ruegger [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 25. Juli 2002 15:42 An: Tomcat Users List Betreff: Apache, Tomcat and Struts -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: More mod_jk/tomcat integration
In that scenario, how would tomcat reference static (apache) content? Would all of the responses generated by servlets and JSPs be text only? To allow a page generated by tomcat (via servlet or JSP) to see an image located in /image under the apache site root, you would have to use absolute paths: http://some.domain.com/image/static_image.gif . Otherwise, you will need a corresponding image folder within the web application context with duplicates of all the static content that exists under the apache root. That's twice the filespace, twice the management, etc. Seems like it would be easier all around to just create one site root, and allow apache and tomcat to serve content out of that one location, using relative paths, and allow apache to serve the static content. In that scenario, the connector you would want is mod_jk, not mod_webapp. I never successfully compiled and integrated mod_webapp before discovering it's limitations, so I can't say for sure, but as I understand it, if you have a directory that can be seen by both apache and tomcat, and you are using mod_webapp, all content in that directory will be served by tomcat, regardless of it's type. I'm not advocating one way or the other, I just usually try and post replies to people who state that they are using mod_webapp, because many of them do not realize that mod_webapp can't differentiate content...they usually install/choose mod_webapp because it's supposed to be better than AJP, and while that may be true, the choice to use it should be an informed choice. If your situation allows you to separate your content like you've indicated, then mod_webapp might be the right choice. In my scenario, given there aren't any performance gains using mod_webapp (from what I can tell), mod_jk is the right choice. John Turner [EMAIL PROTECTED] -Original Message- From: Feng Zhou [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 9:29 AM To: Tomcat Users List Subject: RE: More mod_jk/tomcat integration Hi John, I am newbie here but just have a question regarding the point you made below.What if the web site is configured to use separate directories for dynamic and static contents? Say one puts all images in /image directory and do not pass the directory to Tomcat. What would happen then if someone calls JSP page which uses the files under /image? WOuld that still be handled by TOmcat or Apache? We are running successfuly on Solaris 7 Apache 2.0.36+Tomcat 4.0.3 using mod_webapp, however it seems impossible to compile mod_jk on Solaris 7. The binary is available for Solaris 8, but not 7. I tried to use make or ant and both failed with compilation complaints. Has anybody done this successfuly? -Feng Zhou UNIX administrator Quotesmith.com -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 8:18 AM To: 'Tomcat Users List' Subject: RE: More mod_jk/tomcat integration If you're using apache with tomcat, there is no benefit to using mod_webapp. Mod_webapp does not differentiate between static and dynamic content at this time...if you use mod_webapp, all content will be served by tomcat. If you want apache to serve static content, and tomcat to server dynamic content, you want mod_jk. I would remove references to mod_webapp in your configuration. John Turner [EMAIL PROTECTED] -Original Message- From: Peter B. West [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 10:55 PM To: Tomcat Users List Subject: More mod_jk/tomcat integration I have seen a number of questions about this in recent postings in the archive, so I am in good company. I am installing tomcat 4.0.4 with apache-1.3.23-11 rpms from redhat on a redhat 7.3 system. I had previously installed a beta version of 3.3 with the then-current apache, and I had the transfer of control from apache to tomcat via an ajp13 connector working. That was a while ago. Some questions: Is mod_webapp.so available in any of the rpms? If not, should I just remove references to it in server.xml and go with the ajp13 connector? What about mod_jk.so? It came with an earlier tomcat3.3 rpm. Is a current version still available in rpm? Why does the documentation refere to libexec/mod_*.so in a number of places? There is no libexec directory anywhere in my installation of apache. Neither is there a modules directory, but that doesn't stop the httpd.conf file referring to modules/mod_*.so. Are both modules and libexec translated in the bowels of apache? Should I replace all doumentation references to libexec/mod_*.so for unix systems with modules/mod_*.so? One of the references to libexec/mod_jk.so is in the section on Using ApacheConfig inthe AJP config page. The modJk attribute to the Listener element within the Host element is said to have this default. modJk (and , I think workersConfig) is on the apache side of the equation, isn't it? Yet modJk and workersConfig (default
AW: mod_jk load balacing configuration
http://www.ubeans.com/tomcat -Ursprüngliche Nachricht- Von: Chris Ruegger [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 25. Juli 2002 15:45 An: Tomcat Users List Betreff: mod_jk load balacing configuration Is the load balancing configuration of mod_jk documentated somewhere? Pointers to RTFM appreciated! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Update JDK version for tomcat
Your question has been answered already. Install JDK 1.4.1 into a separate directory from 1.3.1. Change the value of JAVA_HOME to point to the new directory. Stop tomcat. Start tomcat. As far as I know, tomcat assembles it's own CLASSPATH parameter, so there should be no reason to change yours as long as JAVA_HOME is set correctly, but it probably couldn't hurt. John Turner [EMAIL PROTECTED] -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 9:31 AM To: Tomcat Users List Subject: Update JDK version for tomcat Hi, I am running tomcat4.0.4 on windows2000, when i installed it i had jdk1.3.1 on my machine, so tomcat used jdk1.3.1 while installing, now i want to upgrade to jdk1.4.1, so how can i do it?? if only i change the classpath will it work or i will have to reinstall tomcat after changing my classpth??? Ashish __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Apache, Tomcat and Struts
And what's the value of Host in your server.xml? -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 9:43 AM To: Tomcat Users List Subject: AW: Apache, Tomcat and Struts shouldn't VirtualHost localhost be better VirtualHost foo.com ? -Ursprüngliche Nachricht- Von: Chris Ruegger [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 25. Juli 2002 15:42 An: Tomcat Users List Betreff: Apache, Tomcat and Struts -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mod_jk load balacing configuration
I'm not sure about documentation, but I've participated in a few mailing list discussions quite some time ago about load balancing. The only reason I knew anything about it (don't run load balancing myself) is that I've spent some time in workers.properties. IIRC, there are comments and sample directives in workers.properties that show how to configure load balancing. Best Regards, Jason Koeninger JJ Computer Consulting http://www.jjcc.com On Thu, 25 Jul 2002 09:44:34 -0400, Chris Ruegger wrote: Is the load balancing configuration of mod_jk documentated somewhere? Pointers to RTFM appreciated! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Can two tomcats back each other up on one machine?
Brandon Cruz wrote: I am running tomcat 3.2.4 (I know it's old, but it works great!). We typically have around 50 database connections and twice as many sessions going at any given time. I would like to set up another tomcat, or find a solution to restart without having to kill everyone's session. Is there anyway I can set up this up so that if one tomcat goes down for restart the sessions can automatically be transferred over to the other tomcat? After I restart the first, then I can restart the second the same way. The problem is that we usually add two or three virtual hosts per day and need those changes to be recognized. Has anyone done anything like this before or run into the same problem? Not sure about exactly how you do what you're describing, but another solution is as follows. 1) set up a redirector with sticky session management, so requests are routed through to whichever container their session is bound to 2) when you want to update your services, you don't shut down either container, you simply prevent new sessions being created on one or the other. 3) when all active sessions have cleared from the unreachable container, you can shut it down and reconfigure it 4) repeat in the obvious fashion for the other It may be possible (well okay, it's possible, it may be easy) to automate this, and similarly it scales to multiple instances quite nicely. It's trivial if you have good hardware redirectors, but they're not exactly cheap bits of kit so it's entirely likely you don't. Hope that's of some help, Tom -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: Re: Can two tomcats back each other up on one machine?, Tom Oinn RE: Can two tomcats back each other up on one machine?, Brandon Cruz -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: Can two tomcats back each other up on one machine?, Tom Oinn RE: Can two tomcats back each other up on one machine?, Brandon Cruz -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: Can two tomcats back each other up on one machine?, Tom Oinn RE: Can two tomcats back each other up on one machine?, Brandon Cruz -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: Can two tomcats back each other up on one machine?, Tom Oinn RE: Can two tomcats back each other up on one machine?, Brandon Cruz -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: Can two tomcats back each other up on one machine?, Tom Oinn RE: Can two tomcats back each other up on one machine?, Brandon Cruz Chronological -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: Can two tomcats back each other up on one machine? Tom Oinn RE: Can two tomcats back each other up on one machine? Brandon Cruz Reply via email to
RE: Can two tomcats back each other up on one machine?
Thanks Tom, I also saw that there was development under way to set up something that will replicate sessions across all tomcat instances. I don't know how long ago that was written, does anyone know if that has happened yet? Brandon -Original Message- From: Tom Oinn [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 9:05 AM To: Tomcat Users List Subject: Re: Can two tomcats back each other up on one machine? Brandon Cruz wrote: I am running tomcat 3.2.4 (I know it's old, but it works great!). We typically have around 50 database connections and twice as many sessions going at any given time. I would like to set up another tomcat, or find a solution to restart without having to kill everyone's session. Is there anyway I can set up this up so that if one tomcat goes down for restart the sessions can automatically be transferred over to the other tomcat? After I restart the first, then I can restart the second the same way. The problem is that we usually add two or three virtual hosts per day and need those changes to be recognized. Has anyone done anything like this before or run into the same problem? Not sure about exactly how you do what you're describing, but another solution is as follows. 1) set up a redirector with sticky session management, so requests are routed through to whichever container their session is bound to 2) when you want to update your services, you don't shut down either container, you simply prevent new sessions being created on one or the other. 3) when all active sessions have cleared from the unreachable container, you can shut it down and reconfigure it 4) repeat in the obvious fashion for the other It may be possible (well Re: Can two tomcats back each other up on one machine?, Tom Oinn RE: Can two tomcats back each other up on one machine?, Brandon Cruz -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: Can two tomcats back each other up on one machine?, Tom Oinn RE: Can two tomcats back each other up on one machine?, Brandon Cruz -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: Can two tomcats back each other up on one machine?, Tom Oinn RE: Can two tomcats back each other up on one machine?, Brandon Cruz -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: Can two tomcats back each other up on one machine?, Tom Oinn RE: Can two tomcats back each other up on one machine?, Brandon Cruz -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: Can two tomcats back each other up on one machine?, Tom Oinn RE: Can two tomcats back each other up on one machine?, Brandon Cruz -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to RE: Can two tomcats back each other up on one machine?, Brandon Cruz Chronological -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: Can two tomcats back each other up on one machine? Tom Oinn RE: Can two tomcats back each other up on one machine? Brandon Cruz Reply via email to
Re: mod_jk load balacing configuration
This is my barebone configuration for tomcat4.0.4 3instances with loadbalancer. My OS is RHLinux 7.1, and tomcat is connected to apache2.0.39 using mod_jk.so. I hope this will be helpful to you and I would appreciate it if anyone has a comment or enhancement. ### httpd.conf Include /usr/local/tomcat/conf/mod_jk.conf prod_jk resides in the main instance of tomcat. You do not need to have mod_jk.conf in every instance of tomcat. ### mod_jk.conf This file will include all your virtual hosts definition together with needed parameters for mod_jk. All the defaults can go there, I am not going to put my stuff here for you, but get the hint ;) JkMount /* loadbalancer JkMount /servlet/* loadbalancer JkMount /manager loadbalancer JkMount /manager/* loadbalancer Worker.properties. workers.tomcat_home=/usr/local/tomcat workers.java_home=/usr/local/j2sdk1.4.0 ps=/ worker.list=tc13,intra13, extra13, loadbalancer worker.tc13.port=8039 worker.tc13.host=localhost worker.tc13.type=ajp13 worker.tc13.lbfactor=1 worker.intra13.port=8049 worker.intra13.host=localhost worker.intra13.type=ajp13 worker.intra13.lbfactor=1 worker.extra13.port=8059 worker.extra13.host=localhost worker.extra13.type=ajp13 worker.extra13.lbfactor=1 worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=tc13, intra13, extra13 worker.inprocess.type=jni worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar worker.inprocess.cmd_line=start worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)libjvm.so worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr End Worker file. You need to copy your original tomcat to X number of instances that you want to have running on your server. Make sure you reflect the number of instances with the right number of workers that you define. For example if you have 3 tomcatS you must have 3 workers. Make the following changes to your server.xml for each copy of tomcat. !-- Change Server Port per tomcat instance in the sever.xml.-- Server port=8015 shutdown=SHUTDOWN debug=0 !-- Change Connector port per tomcat instance in the server.xml -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8039 minProcessors=5 maxProcessors=75 acceptCount=50 debug=0/ !-- Define the top level container in our container hierarchy -- !-- You MUST add jvmRoute=WorkerName to each or the tomcat instances. Also define your defaultHost, although this is not needed for load balancing, it is good to have. -- Engine jvmRoute=tc13 name=Standalone defaultHost=www.domainA.com debug=0 Although I have 3 instances of tomcat, I decided to have one copy of webapps. Since I am running Linux I made a softlink to my /usr/local/webapps in each of my instances. This way if you fix a bug in one of your applications you do not have to repeat it all over. But that is your call where to have your webapps. I do not think you need anything else to get your load balancing going. Start your tomcatS, then appache and test. I would look at the log files to see which one is accepting requests, and then shutdown one at a time and see the effects. Enjoy. --- Jason Koeninger [EMAIL PROTECTED] wrote: I'm not sure about documentation, but I've participated in a few mailing list discussions quite some time ago about load balancing. The only reason I knew anything about it (don't run load balancing myself) is that I've spent some time in workers.properties. IIRC, there are comments and sample directives in workers.properties that show how to configure load balancing. Best Regards, Jason Koeninger JJ Computer Consulting http://www.jjcc.com On Thu, 25 Jul 2002 09:44:34 -0400, Chris Ruegger wrote: Is the load balancing configuration of mod_jk documentated somewhere? Pointers to RTFM appreciated! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Apache, Tomcat and Struts
I believe your virtualhost setup is the problem here. I had a go with virtualhosts. Make sure you have the directory serving a specific virtualhost defined inside the virtualhost block otherwise it will be going to the default directory of the server. Hope this would hlep. --- Chris Ruegger [EMAIL PROTECTED] wrote: Situation: RedHat Linux 7.2 with Apache forwarding requests to Tomcat 4.0.4 works OK. I'm using Struts in my Tomcat application. What I want to have happen is this: 1. Client connects to Apache with some URL foo.com 2. Apache has been set up to look for an index.do welcome-file via the DirectoryIndex Directive 3. Apache/AJP3 configured such that all *.do patterns get sent to Tomcat 4. Using Struts/Tomcat, I have mapped index.do to some Action in struts-config.xml 5. Tomcat process action for index.do, runs logic, forwards to JSP, etc. I have set this up on my Linux machine. I had to add a dummy index.do file in the document root that is empty. This seemed to be necessary to get Apache and Tomcat to try to return it, and it sets the processing above into motion. Problem: All works fine when I access Apache from the Linux machine itself as localhost. However when I access Apache from another machine as foo.com, Apache seems to be return the empty index.do file and does not forward on to Tomcat. How can I get this to work when I access everything from a remote machine? Some relevant entries from my config files: httpd.conf: IfModule mod_dir.c DirectoryIndex index.do index.jsp index.html /IfModule mod_jk.conf: VirtualHost localhost ServerName localhat JkMount /*.do ajp13 JkMount /*.jsp ajp13 JkMount /servlet/* ajp13 /VirtualHost Is this a reasonable approach end-to-end, or how have other people implemented the same funcitionality? Thanks! __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: classpath question
that is what ithought too. Thanks for your quick reply all of you best Billy ---Original Message--- From: Tomcat Users List Date: ÐÝìðôç, 25 Éïýëéïò 2002 02:24:44 ìì To: Tomcat Users List Subject: RE: classpath question Hi, You should not have the webapps directory on your classpath. That is the structure you deploy into. You should have a src tree somewhere else that's in your classpath for compilation. Please refer to http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html (specifically, the Deployment Organization and Source Organization sections) for complete details. Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy V. Kantartzis [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 8:14 AM To: [EMAIL PROTECTED] Subject: classpath question shoud i add the web app directory in my classpath ? i have a application deployed as follows webapps | |dms | | | |- jsp |-classes |dms | | | -beans |-servlets |- |- inorder to access files in the classes dms.* pakage do i have to declare it in the class path ? thanks in advanced Billy V. Kantartzis (Msc Ect), University Of Essex, wivenhoe park , co4 3sq Clochester, Essex,Uk mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] org -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: classpath question
that is what ithought too. Thanks for your quick reply all of you best Billy ---Original Message--- From: Tomcat Users List Date: P]lptg, 25 Io}kior 2002 02:24:44 ll To: Tomcat Users List Subject: RE: classpath question Hi, You should not have the webapps directory on your classpath. That is the structure you deploy into. You should have a src tree somewhere else that's in your classpath for compilation. Please refer to http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html (specifically, the Deployment Organization and Source Organization sections) for complete details. Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy V. Kantartzis [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 8:14 AM To: [EMAIL PROTECTED] Subject: classpath question shoud i add the web app directory in my classpath ? i have a application deployed as follows webapps | |dms | | | |- jsp |-classes |dms | | | -beans |-servlets |- |- inorder to access files in the classes dms.* pakage do i have to declare it in the class path ? thanks in advanced Billy V. Kantartzis (Msc Ect), University Of Essex, wivenhoe park , co4 3sq Clochester, Essex,Uk mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] org -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: classpath question
that is what ithought too. Thanks for your quick reply all of you best Billy ---Original Message--- From: Tomcat Users List Date: P]lptg, 25 Io}kior 2002 02:24:44 ll To: Tomcat Users List Subject: RE: classpath question Hi, You should not have the webapps directory on your classpath. That is the structure you deploy into. You should have a src tree somewhere else that's in your classpath for compilation. Please refer to http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html (specifically, the Deployment Organization and Source Organization sections) for complete details. Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy V. Kantartzis [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 8:14 AM To: [EMAIL PROTECTED] Subject: classpath question shoud i add the web app directory in my classpath ? i have a application deployed as follows webapps | |dms | | | |- jsp |-classes |dms | | | -beans |-servlets |- |- inorder to access files in the classes dms.* pakage do i have to declare it in the class path ? thanks in advanced Billy V. Kantartzis (Msc Ect), University Of Essex, wivenhoe park , co4 3sq Clochester, Essex,Uk mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] org -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: classpath question
that is what ithought too. Thanks for your quick reply all of you best Billy ---Original Message--- From: Tomcat Users List Date: P]lptg, 25 Io}kior 2002 02:24:44 ll To: Tomcat Users List Subject: RE: classpath question Hi, You should not have the webapps directory on your classpath. That is the structure you deploy into. You should have a src tree somewhere else that's in your classpath for compilation. Please refer to http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/index.html (specifically, the Deployment Organization and Source Organization sections) for complete details. Yoav Shapira Millennium ChemInformatics -Original Message- From: Billy V. Kantartzis [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 8:14 AM To: [EMAIL PROTECTED] Subject: classpath question shoud i add the web app directory in my classpath ? i have a application deployed as follows webapps | |dms | | | |- jsp |-classes |dms | | | -beans |-servlets |- |- inorder to access files in the classes dms.* pakage do i have to declare it in the class path ? thanks in advanced Billy V. Kantartzis (Msc Ect), University Of Essex, wivenhoe park , co4 3sq Clochester, Essex,Uk mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] org -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: WML or HTML detection
You should check the headers his browser sent you, you will be able to understand which file he support, if he supports HTML then give it to him, else is WML is supported the send the WML if (request.getHeader(Accept).lastIndexOf (wml) != -1) send WML else send HTML Arthur - Original Message - From: David Oxley [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, July 25, 2002 2:37 PM Subject: WML or HTML detection From a servlet how can you detect what should be output from the type of client that sent the request. i.e. If a WAP phone accesses a servlet then it outputs WML or if a Web Browser accesses the same servlet then HTML is output Thanks. Dave -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Help Needed With Deployement
Hi, I am currently trying to deploy Web Applications using Apache 2.0.39 and Tomcat 4.1.7 integrated using mod_jk. Is there any better and more efficient integration? I am looking for the most up-to-date stable integration working on a Windows machine... Anyway, I would need someone to go through my server.xml and my mod_jk.conf (included in my httpd.conf) to check why the integration seems to be working as long as I use html pages, but does not work anymore as soon as I use jsp pages. I am also hoping that I am doing it the most efficient way, but I'd again need to have someone to check what I am doing. I did make sure to add JkMount /mywebapp ajp13 and JkMount /mywebapp/* ajp13 for each of my webapp. I also did make sure to add Context path=/mywebapp docBase=F:/Cassiopee Projects/webapps/mywebapp debug=0 privileged=true reloadable=true/ for each of my webapp. Did I missunderstand something? Thanks, Frederick -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
*FREE* slides of an upcoming web presendation : MVC+ STANDARD tags
Subject: *FREE* slides of an upcoming web presendation : MVC+ STANDARD tags From: Vic C. [EMAIL PROTECTED] === In order to facilitate discussion of the live web presentation (coming up in less than 24 hours) you can download the slides before the presentation; I have uploaded to basicportal.sourceforge.net. (Why attend the web presentation?: I have done more pubic and private hands on lab Struts training than all others combined When: tmrw at 8:30 am, it is only 20 minutes for those who know MVC already; register at www.proJ.com/webEx.jsp) You can post comments before or after to mvc-programmers mail group ( [EMAIL PROTECTED] is one place to join ) on basicPortal (aka: MVC+ STANDARD tags Vertical webApps good practices) Review the slides and ... download the application source code and maybe even deploy it. In case you do not know already, basicportal.sourceforge.net also has an open source download of sample web app using Struts + JSTL with DB CRUD (DB Insert, update, etc.) Also, *coming to a your city * -NYC 8/2 (Registration will close today) -Chicago 8/9 (Registration closes in a few days) -Atlanta 8/16 see www.basebeans.com/syllabus.jsp Also... web registration will close at 6PM Pacific time (today!) (like how I use the word FREE?, it's a big marketing word) Enjoy, Vic C. [EMAIL PROTECTED] - Phone 866-800-4503 Struts Mentor An engineer can show you how to do it faster and cheaper ps1: Web Open Standards news groups at http://news.netbean.net/cgi-bin/webnews.cgi ps2: Point you news reader, such as Outlook to news.baseBeans.com for Tomcat, Struts, JSTL, PostgreSQL, MySQL, Jakarta, etc. ps3: *FREE* Daily java news at http://www.baseBeans.com/dailyJava.jsp -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
mod_jk on solaris
Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Help Needed With Deployement
What error messages are you seeing? Does tomcat work at all on port 8080 or wherever you installed it? If you goto http://localhost:8080/mywebapp/someServlet , do you get a valid response? As an aside, I would delete all spaces from your paths...for example, install tomcat in F:\tomcat or whatever, not F:\Apache Tomcat. John Turner [EMAIL PROTECTED] -Original Message- From: Frederick Aubert [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:07 AM To: [EMAIL PROTECTED] Subject: Help Needed With Deployement Hi, I am currently trying to deploy Web Applications using Apache 2.0.39 and Tomcat 4.1.7 integrated using mod_jk. Is there any better and more efficient integration? I am looking for the most up-to-date stable integration working on a Windows machine... Anyway, I would need someone to go through my server.xml and my mod_jk.conf (included in my httpd.conf) to check why the integration seems to be working as long as I use html pages, but does not work anymore as soon as I use jsp pages. I am also hoping that I am doing it the most efficient way, but I'd again need to have someone to check what I am doing. I did make sure to add JkMount /mywebapp ajp13 and JkMount /mywebapp/* ajp13 for each of my webapp. I also did make sure to add Context path=/mywebapp docBase=F:/Cassiopee Projects/webapps/mywebapp debug=0 privileged=true reloadable=true/ for each of my webapp. Did I missunderstand something? Thanks, Frederick -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk on solaris
Do you have libgcc_s.so.1 on your Solaris box? The error message is file not found for that particular file. Do you have another file, say libgcc_s.so.X, and if so, what happens if you just symlink the file you have to libgcc_s.so.1? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: mod_jk on solaris Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mod_jk on solaris
By chance did you not compile Apache with DSO support on the Solaris machine? I don't remember specifically about RH7.2 but I've seen where the RPM version of apache are precomiled with DSO support so they can optionally install mod_X from an RPM with out needing to rebuild apapche. On Thu, 2002-07-25 at 11:14, Andrew wrote: Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Sean M. Alderman ITRACK Systems Analyst PACE/NCI - NASA Glenn Research Center (216) 433-2795 Calling a windowed operating system Windows is like naming an automobile Wheels. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Help Needed With Deployement
Hi, [Not an answer to your main question] I am currently trying to deploy Web Applications using Apache 2.0.39 and Tomcat 4.1.7 integrated using mod_jk. Is there any better and more efficient integration? I am looking for the most up-to-date stable integration working on a Windows machine... If you're looking for stable builds, don't use beta. 4.1.x is beta, nothing there is release-quality yet. Use 4.0.4 instead. Good luck, Yoav Shapira Millennium ChemInformatics -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: More mod_jk/tomcat integration
John, Thanks for the clarification. Where can I find a mod_jk.so binary that works with my 1.3.23 and tomcat 4.0.4? Btw, how closely tied are modules to particular versions of apache? Peter Turner, John wrote: If you're using apache with tomcat, there is no benefit to using mod_webapp. Mod_webapp does not differentiate between static and dynamic content at this time...if you use mod_webapp, all content will be served by tomcat. If you want apache to serve static content, and tomcat to server dynamic content, you want mod_jk. I would remove references to mod_webapp in your configuration. -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest Lord, to whom shall we go? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk on solaris
Assuming you have gcc installed: Try making a symbolic link from /usr/local/lib/libgcc_s.so.1 into /usr/lib/libgcc_s.so.1 and /usr/lib/libgcc_s.so then recompiling apache. Bruce Luxon -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 10:15 AM To: [EMAIL PROTECTED] Subject: mod_jk on solaris Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
java.lang.IllegalStateException: getOutputStream()
When I open an email attachment, it works fine, but then I get this error, if I click twice on the hyperlink to the attachment. Obviously, this is a webmail application. 2002-07-25 11:26:51 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apache.catalina.connector.ResponseBase.getWriter(ResponseBase.java:750) at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:165) at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:166) at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:158) at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:205) at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:177) at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:198) at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:193) at org.apache.jsp.doAttachment$jsp._jspService(doAttachment$jsp.java:259) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551) at java.lang.Thread.run(Thread.java:536) __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: More mod_jk/tomcat integration
I'm fairly certain the binaries were removed several weeks back. You can compile from source here: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/ (you want the file labeled connectors) Perhaps someone on the list can send you a binary. The modules (connectors) are not co-ordinated with the Apache HTTP project or with Tomcat, as far as I can tell. Three different projects (HTTP, tomcat, connectors) and then each of the connectors (AJP, WARP) has it's own team, so something like 5 separate teams are involved. The AJP connector (mod_jk) works with Apache 1.3.x and Apache 2.0.x, and versions 3 and 4 of tomcat, as far as I know. John Turner [EMAIL PROTECTED] -Original Message- From: Peter B. West [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:21 AM To: Tomcat Users List Subject: Re: More mod_jk/tomcat integration John, Thanks for the clarification. Where can I find a mod_jk.so binary that works with my 1.3.23 and tomcat 4.0.4? Btw, how closely tied are modules to particular versions of apache? Peter Turner, John wrote: If you're using apache with tomcat, there is no benefit to using mod_webapp. Mod_webapp does not differentiate between static and dynamic content at this time...if you use mod_webapp, all content will be served by tomcat. If you want apache to serve static content, and tomcat to server dynamic content, you want mod_jk. I would remove references to mod_webapp in your configuration. -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest Lord, to whom shall we go? -- To unsubscribe, e-mail: Reply via email to RE: More mod_jk/tomcat integration, Turner, John Re: More mod_jk/tomcat integration, Peter B. West java.lang.IllegalStateException: getOutputStream(), Luminous Heart RE: More mod_jk/tomcat integration, Turner, John -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to RE: More mod_jk/tomcat integration, Turner, John Re: More mod_jk/tomcat integration, Peter B. West java.lang.IllegalStateException: getOutputStream(), Luminous Heart RE: More mod_jk/tomcat integration, Turner, John -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to RE: More mod_jk/tomcat integration, Turner, John Re: More mod_jk/tomcat integration, Peter B. West java.lang.IllegalStateException: getOutputStream(), Luminous Heart RE: More mod_jk/tomcat integration, Turner, John -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to RE: More mod_jk/tomcat integration, Turner, John Re: More mod_jk/tomcat integration, Peter B. West java.lang.IllegalStateException: getOutputStream(), Luminous Heart RE: More mod_jk/tomcat integration, Turner, John -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to RE: More mod_jk/tomcat integration, Turner, John Re: More mod_jk/tomcat integration, Peter B. West java.lang.IllegalStateException: getOutputStream(), Luminous Heart RE: More mod_jk/tomcat integration, Turner, John -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: More mod_jk/tomcat integration, Peter B. West java.lang.IllegalStateException: getOutputStream(), Luminous Heart RE: More mod_jk/tomcat integration, Turner, John -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: More mod_jk/tomcat integration, Peter B. West java.lang.IllegalStateException: getOutputStream(), Luminous Heart RE: More mod_jk/tomcat integration, Turner, John -- Chronological -- -- Thread -- [EMAIL PROTECTED]"> Reply via email to Re: More mod_jk/tomcat integration, Peter B. West java.lang.IllegalStateException: getOutputStream(), Luminous Heart RE: More mod_jk/tomcat integration, Turner, John -- Chronological -- -- Thread -- [EMAIL PROTECTED]">
RE: mod_jk on solaris
No. I couldn't find libgcc_s.so.l nor libgcc_s.so.X on my Solaris box. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:17 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris Do you have libgcc_s.so.1 on your Solaris box? The error message is file not found for that particular file. Do you have another file, say libgcc_s.so.X, and if so, what happens if you just symlink the file you have to libgcc_s.so.1? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: mod_jk on solaris Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcato4.0.4 and included jsp compilation problem
Hi, I m using tomcat4.0.4 , i found out today that when i modify the included jsp , tomcat does not recompile it. i.e. I have suppose a jsp called test.jsp and i include a jsp called test1.jsp. If for some reason i modify test1.jsp and dont modify test.jsp. tomcat does not recompile test.jsp so it is as if i am using old test1.jsp, but if i modify test.jsp (just add some space to make it look new) it works, so is this the correct way of working?? how does other app server behave, or is this a bug, or need to do some settings??? Ashish __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk on solaris
Well, there you go. ;) This may be a silly question (it isn't clear from your post), but do you have gcc installed on that machine at all? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:29 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris No. I couldn't find libgcc_s.so.l nor libgcc_s.so.X on my Solaris box. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:17 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris Do you have libgcc_s.so.1 on your Solaris box? The error message is file not found for that particular file. Do you have another file, say libgcc_s.so.X, and if so, what happens if you just symlink the file you have to libgcc_s.so.1? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: mod_jk on solaris Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcato4.0.4 and included jsp compilation problem
There are 2 kinds of includes, one is compile time, one is runtime. If you're using a compile time include, i.e. %@ include file=include.jsp% then you need to update the file that is calling the include. For example, 'touch file_that_includes_something.jsp'. This is not a bug. -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 10:31 AM To: Tomcat Users List Subject: Tomcato4.0.4 and included jsp compilation problem Hi, I m using tomcat4.0.4 , i found out today that when i modify the included jsp , tomcat does not recompile it. i.e. I have suppose a jsp called test.jsp and i include a jsp called test1.jsp. If for some reason i modify test1.jsp and dont modify test.jsp. tomcat does not recompile test.jsp so it is as if i am using old test1.jsp, but if i modify test.jsp (just add some space to make it look new) it works, so is this the correct way of working?? how does other app server behave, or is this a bug, or need to do some settings??? Ashish __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcato4.0.4 and included jsp compilation problem
With static includes, that's Tomcat's normal operation. The reason being that recursively checking timestamps on all includes could become very expensive. You can use the touch utility if you don't want to edit the file. Another option is to use dynamic includes with jsp:include... if it's a major problem, but there's a performance impact. Best Regards, Jason Koeninger JJ Computer Consulting http://www.jjcc.com On Thu, 25 Jul 2002 08:31:12 -0700 (PDT), Ashish Kulkarni wrote: Hi, I m using tomcat4.0.4 , i found out today that when i modify the included jsp , tomcat does not recompile it. i.e. I have suppose a jsp called test.jsp and i include a jsp called test1.jsp. If for some reason i modify test1.jsp and dont modify test.jsp. tomcat does not recompile test.jsp so it is as if i am using old test1.jsp, but if i modify test.jsp (just add some space to make it look new) it works, so is this the correct way of working?? how does other app server behave, or is this a bug, or need to do some settings??? Ashish __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
svg question
Can Tomcat handle svg in a jsp page? I put an svg document, set the content type to image/svg+xml, in a jsp, but tomcat always puts a leading html tag and screws it up. The svg document on its own works, but I want it in a jsp. Has anyone done this successfully?
Re: Tomcato4.0.4 and included jsp compilation problem
Hi, About the performance, if i use runtime include, does it mean the each time that page it called it compiles the included jsp??? is there any good documentation of what is the difference between these two type of includes?? Also where can i get this touch utility?? is there any documentation of it Thanx for the help Ashish Thanx for the reply, i think it is better to use compile time include, for performance.. --- Jason Koeninger [EMAIL PROTECTED] wrote: With static includes, that's Tomcat's normal operation. The reason being that recursively checking timestamps on all includes could become very expensive. You can use the touch utility if you don't want to edit the file. Another option is to use dynamic includes with jsp:include... if it's a major problem, but there's a performance impact. Best Regards, Jason Koeninger JJ Computer Consulting http://www.jjcc.com On Thu, 25 Jul 2002 08:31:12 -0700 (PDT), Ashish Kulkarni wrote: Hi, I m using tomcat4.0.4 , i found out today that when i modify the included jsp , tomcat does not recompile it. i.e. I have suppose a jsp called test.jsp and i include a jsp called test1.jsp. If for some reason i modify test1.jsp and dont modify test.jsp. tomcat does not recompile test.jsp so it is as if i am using old test1.jsp, but if i modify test.jsp (just add some space to make it look new) it works, so is this the correct way of working?? how does other app server behave, or is this a bug, or need to do some settings??? Ashish __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
mod_jk/tomcat RPM configuration
Peter B. West wrote: I am installing tomcat 4.0.4 with apache-1.3.23-11 rpms from redhat on a redhat 7.3 system. I had previously installed a beta version of 3.3 with the then-current apache, and I had the transfer of control from apache to tomcat via an ajp13 connector working. That was a while ago. Why does the documentation refere to libexec/mod_*.so in a number of places? There is no libexec directory anywhere in my installation of apache. Neither is there a modules directory, but that doesn't stop the httpd.conf file referring to modules/mod_*.so. Are both modules and libexec translated in the bowels of apache? Should I replace all doumentation references to libexec/mod_*.so for unix systems with modules/mod_*.so? Ok, having seen some other postings, I realise that apache as compiled on unix boxes puts modules in /usr/local/apache/libexec, e.g., /usr/local/apache/libexec/mod_jk.so. Presumably then, an apache installation is aware of the equivalent of APACHE_HOME. The location of the standard modules in the apache RPMs is /usr/lib/apache, e.g., /usr/lib/apache/mod_mime.so. Does this mean that the references to, e.g., libexec/mod_jk.so should be replaced with relative paths mod_jk.so, or with absolute paths? How then are the LoadModule commands in httpd.conf, which specify modules/mod_*.so, interpreted? One of the references to libexec/mod_jk.so is in the section on Using ApacheConfig inthe AJP config page. The modJk attribute to the Listener element within the Host element is said to have this default. modJk (and , I think workersConfig) is on the apache side of the equation, isn't it? Yet modJk and workersConfig (default conf/jk/workers.properties) are supposedly referenced relative to CATALINA_HOME by default. This doesn't seem to make sense. What is the rationale for this? -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest Lord, to whom shall we go? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Frame annoyance
On Thu, 25 Jul 2002, Nikola Milutinovic wrote: Date: Thu, 25 Jul 2002 07:31:49 +0200 From: Nikola Milutinovic [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Frame annoyance That is perfect. I was hoping to avoid JavaScript, but I couldn't find any other way. We ran into this exact issue with the admin webapp in Tomcat 4.1.x (which also uses frames), and solved it by adding the following to the top of the login page: script language=JavaScript type=text/javascript !-- if (window.self != window.top) { window.open(., _top); } // -- /script This causes the login page to immediately redisplay itself if it gets shown inside a frame. There is no other way. There is no way for Tomcat to know in which frame the client is. It is up to the browser to play with displaying of HTML and frames. And the only way to do something on the client side is to use J(ava)Script. More generally, Tomcat, or any other web server, has no clue what a frame is. All it does is respond to requests that come in, and the requests for each frame are (from the perspective of the server) all separate. Nix. Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat does not pick the modified servlet
Hi, I am using tomcat4.0.4 and i have a problem when i modify the servlet and put it in tomcat. The problem is tomcat does not pick up the new servlet code, so i have to go to the manager and restart the application. Is there a way tomcat will pick automatically new servlet code with out restarting. I have added the servlets in web.xml file Ashish __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk/tomcat RPM configuration
You can use absolute paths in your httpd.conf, apache handles that just fine. Or simply create the directories that you want and copy the files there to match the instructions. John Turner [EMAIL PROTECTED] -Original Message- From: Peter B. West [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:46 AM To: Tomcat Users List Subject: mod_jk/tomcat RPM configuration Peter B. West wrote: I am installing tomcat 4.0.4 with apache-1.3.23-11 rpms from redhat on a redhat 7.3 system. I had previously installed a beta version of 3.3 with the then-current apache, and I had the transfer of control from apache to tomcat via an ajp13 connector working. That was a while ago. Why does the documentation refere to libexec/mod_*.so in a number of places? There is no libexec directory anywhere in my installation of apache. Neither is there a modules directory, but that doesn't stop the httpd.conf file referring to modules/mod_*.so. Are both modules and libexec translated in the bowels of apache? Should I replace all doumentation references to libexec/mod_*.so for unix systems with modules/mod_*.so? Ok, having seen some other postings, I realise that apache as compiled on unix boxes puts modules in /usr/local/apache/libexec, e.g., /usr/local/apache/libexec/mod_jk.so. Presumably then, an apache installation is aware of the equivalent of APACHE_HOME. The location of the standard modules in the apache RPMs is /usr/lib/apache, e.g., /usr/lib/apache/mod_mime.so. Does this mean that the references to, e.g., libexec/mod_jk.so should be replaced with relative paths mod_jk.so, or with absolute paths? How then are the LoadModule commands in httpd.conf, which specify modules/mod_*.so, interpreted? One of the references to libexec/mod_jk.so is in the section on Using ApacheConfig inthe AJP config page. The modJk attribute to the Listener element within the Host element is said to have this default. modJk (and , I think workersConfig) is on the apache side of the equation, isn't it? Yet modJk and workersConfig (default conf/jk/workers.properties) are supposedly referenced relative to CATALINA_HOME by default. This doesn't seem to make sense. What is the rationale for this? -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest Lord, to whom shall we go? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: ANT and Tomcat4
On Thu, 25 Jul 2002, Erik Mattsson wrote: Date: Thu, 25 Jul 2002 10:12:11 +0200 From: Erik Mattsson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: ANT and Tomcat4 Hi Im putting together a build enviroment that builds the servlet.war, uploads it to the server. Now I wonder if there any packages that enables me to use the ant tasks in the new tomcat4.1 build ? Since I havent installed the tomcat4 on my computer, then I dont have the tomcat4.1 build. It would be nice to have a library that comes together with tomcat4.1 so developers just uses that library ( a subset of the entire tomcat4.1 library). Does the Ant tasks work together with tomcat 4.0.X? Tomcat 4.1 includes the file server/lib/catalina-ant.jar which contains the code for the documented Ant tasks. Just put this in your $ANT_HOME/lib directory to enable them. BTW, I havent found any documentation about the ant tasks. How should I use them? Do I still have to upload .war file? It's on the manager how-to page, since the tasks use Manager behind the scenes. http://localhost:8080/tomcat-docs/manager-howto.html In my build script im having trouble getting the tomcat to deploy the new uploaded .war file. It seems that the tomcat only reads from the webapps/servlet/ directory before it unpacks the webapps/servlet.war file, so how can I remove that directory, so it must unpack the new war file? You might want to look at the build.xml example file packaged with the Application Developer's Guide in Tomcat 4.1. It can be used with no changes for most webapp development, as is pretty thoroughly documented. http://localhost:8080/tomcat-docs/appdev/index.html One thing you will note is that there's no reason to copy the WAR (or directory) into webapps if you are using the install task -- if you are on the same machine Tomcat is running on, you just need to give it the pathname of your WAR file or directory. If you're on a different machine, use the deploy task instead to upload the WAR to the remote server and dynamically deploy it. //Erik - Erik Mattsson Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Routing With tomcat
Could anyone tell me if it is possible to route some specific request to another web server. More clearly, when a user type www.brol.be he receives a response from Tomcat, when he type mail.brol.be he receives a response from another web server than tomcat. The domain brol.be is pointing to a router that route the request with destination port 80 to the machine with the Tomcat server. How can I configure Tomcat to re-route request coming for virtual host mail.brol.be to another machine ... Thanks in advance ... __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk on solaris
gcc is installed =) I figured out what's the problem now. The mod_jk.so I'm using wasn't compiled under Solaris. So everything worked after I got the right mod_jk.so. Thanks for all your help Andrew -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:31 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris Well, there you go. ;) This may be a silly question (it isn't clear from your post), but do you have gcc installed on that machine at all? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:29 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris No. I couldn't find libgcc_s.so.l nor libgcc_s.so.X on my Solaris box. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:17 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris Do you have libgcc_s.so.1 on your Solaris box? The error message is file not found for that particular file. Do you have another file, say libgcc_s.so.X, and if so, what happens if you just symlink the file you have to libgcc_s.so.1? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: mod_jk on solaris Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: WML or HTML detection
On Thu, 25 Jul 2002, David Oxley wrote: Date: Thu, 25 Jul 2002 13:37:01 +0100 From: David Oxley [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: WML or HTML detection From a servlet how can you detect what should be output from the type of client that sent the request. i.e. If a WAP phone accesses a servlet then it outputs WML or if a Web Browser accesses the same servlet then HTML is output String userAgent = request.getHeader(user-agent); You can use this value to determine what the client device (or browser) is, including the version number. Thanks. Dave Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat does not pick the modified servlet
Hello Ashish I have the same problem. I have created a SOAP client servlet. When I try to run for first time everything is at place. But when I try to change and recompile my servlet it doesnot work. It picks up the earlier servlet code from somewhere. When I tried to use the same thing with IBM Websphere it wokred great. Everytime I compile it it automatically looks for the newly comiled servlet. Still looking for the answerkeep working lets see some gurus can answer it... Nishant Awasthi Corporate Systems Development Progressive Insurance Ashish Kulkarni kulkarni_ash13@To: Tomcat Users List yahoo.com [EMAIL PROTECTED] cc: (bcc: Nishant Awasthi) 07/25/2002 11:49Subject: Tomcat does not pick the modified AM servlet Please respond to Tomcat Users List Hi, I am using tomcat4.0.4 and i have a problem when i modify the servlet and put it in tomcat. The problem is tomcat does not pick up the new servlet code, so i have to go to the manager and restart the application. Is there a way tomcat will pick automatically new servlet code with out restarting. I have added the servlets in web.xml file Ashish __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat4 - HTTP Code 400 Response when URL contains %00
On Thu, 25 Jul 2002, Kristian Kasprowicz wrote: Date: Thu, 25 Jul 2002 14:55:31 +0200 From: Kristian Kasprowicz [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Tomcat4 - HTTP Code 400 Response when URL contains %00 Hi to all, An applet builds a relative URL path like /server/Input/%7a%00 an connects to a tomcat4 server. My servlet running on tomcat4 receives the applet's request as long there is no %00. Otherwise Tomcat response with the 400 HTTP Code. For some reasons the applet cannot suppress the %00 strings, so is there a way to configure tomcat's behaviour for my special case? Tomcat 4.0 has special code to reject URLs that have % characters in them, because not doing so made it vulnerable to security checks. 4.1 handles these things somewhat better. But you should really get your applet fixed, instead of trying to work around its bugs on the server side. Thanks in advance, Kristian Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Routing With tomcat
You could use a filter in Tomcat, but that would be overkill. On your router, add a static route for ports 25 and 110 (SMTP and POP3) to go to the IP address of the other machine. Add the IMAP port if you're using that port. Or are you really asking how to run a webmail server that allows people to check and send mail via webpages served on port 80 on a machine other than the tomcat server? John Turner [EMAIL PROTECTED] -Original Message- From: Nicolas Brasseur [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:54 AM To: Tomcat Users List Subject: Routing With tomcat Could anyone tell me if it is possible to route some specific request to another web server. More clearly, when a user type www.brol.be he receives a response from Tomcat, when he type mail.brol.be he receives a response from another web server than tomcat. The domain brol.be is pointing to a router that route the request with destination port 80 to the machine with the Tomcat server. How can I configure Tomcat to re-route request coming for virtual host mail.brol.be to another machine ... Thanks in advance ... __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk on solaris
Where did you find the mod_jk binary? -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 10:56 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris gcc is installed =) I figured out what's the problem now. The mod_jk.so I'm using wasn't compiled under Solaris. So everything worked after I got the right mod_jk.so. Thanks for all your help Andrew -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:31 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris Well, there you go. ;) This may be a silly question (it isn't clear from your post), but do you have gcc installed on that machine at all? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:29 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris No. I couldn't find libgcc_s.so.l nor libgcc_s.so.X on my Solaris box. -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:17 AM To: 'Tomcat Users List' Subject: RE: mod_jk on solaris Do you have libgcc_s.so.1 on your Solaris box? The error message is file not found for that particular file. Do you have another file, say libgcc_s.so.X, and if so, what happens if you just symlink the file you have to libgcc_s.so.1? John Turner [EMAIL PROTECTED] -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:15 AM To: [EMAIL PROTECTED] Subject: mod_jk on solaris Hi all, I'm trying to install mod_jk for tomcat 4.0.4 and apache1.3.24 under solaris5.8. After configured everything I run apachectl configtest and received the following error: Syntax error on line 4 of /usr/local/jakarta-tomcat-4.0.4/conf/mod_jk.conf: Cannot load /usr/local/apache/libexec/mod_jk.so into server: ld.so.1: /usr/local /apache/bin/httpd: fatal: libgcc_s.so.1: open failed: No such file or directory However, the same mod_jk configuration works fine on my other Redhat 7.2 box. Any suggestions? Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
connection type....
I have some scripts under win2000, this run fine, but when i try run this under Linux, doesn't run... If change the connection string, run fine...why..?? WIN2000 connection string: DBABeanTest.createConnection(oracle.jdbc.driver.OracleDriver,jdbc:oracle:thin:@www.domain:1521:,,); Linux DriverManager.getConnection (jdbc:oracle:thin:@(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.200.10)(PORT = 1521)))(CONNECT_DATA =(SERVICE_NAME = (SRVR = DEDICATED))),,); any ideas..?? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcato4.0.4 and included jsp compilation problem
No, it doesn't compile the included JSP every time. The difference is that with static includes, the code is included directly into the servlet created by the JSP. With dynamic includes, the output of the included JSP is generated at the point you include it and sent to the client. It's a very slight difference in performance unless, of course, you have a lot of nested static includes that you convert to dynamic. Looking at the .java files generated in the work directory of Tomcat for your web application makes it more clear how static vs. dynamic works. Touch utilities are generally included in most Unix/Linux systems. Do man touch to get more information. If you're on Windows, I'm not sure what the equivalent would be. Best Regards, Jason Koeninger JJ Computer Consulting http;//www.jjcc.com On Thu, 25 Jul 2002 08:46:26 -0700 (PDT), Ashish Kulkarni wrote: Hi, About the performance, if i use runtime include, does it mean the each time that page it called it compiles the included jsp??? is there any good documentation of what is the difference between these two type of includes?? Also where can i get this touch utility?? is there any documentation of it Thanx for the help Ashish Thanx for the reply, i think it is better to use compile time include, for performance.. --- Jason Koeninger [EMAIL PROTECTED] wrote: With static includes, that's Tomcat's normal operation. The reason being that recursively checking timestamps on all includes could become very expensive. You can use the touch utility if you don't want to edit the file. Another option is to use dynamic includes with jsp:include... if it's a major problem, but there's a performance impact. Best Regards, Jason Koeninger JJ Computer Consulting http://www.jjcc.com On Thu, 25 Jul 2002 08:31:12 -0700 (PDT), Ashish Kulkarni wrote: Hi, I m using tomcat4.0.4 , i found out today that when i modify the included jsp , tomcat does not recompile it. i.e. I have suppose a jsp called test.jsp and i include a jsp called test1.jsp. If for some reason i modify test1.jsp and dont modify test.jsp. tomcat does not recompile test.jsp so it is as if i am using old test1.jsp, but if i modify test.jsp (just add some space to make it look new) it works, so is this the correct way of working?? how does other app server behave, or is this a bug, or need to do some settings??? Ashish __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: svg question
Looks like svg embed is the answer. http://printx.org/svgembed/index.php -Original Message- From: Koes, Derrick Sent: Thursday, July 25, 2002 11:47 AM To: 'Tomcat Users List' Subject: svg question Can Tomcat handle svg in a jsp page? I put an svg document, set the content type to image/svg+xml, in a jsp, but tomcat always puts a leading html tag and screws it up. The svg document on its own works, but I want it in a jsp. Has anyone done this successfully? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Are usernames case-sensitive in JDBCRealm?
Hello, I use JDBCRealm and for some reason the usernames are not checked with the database in a case-sensitive manner. The passwords are still checked case-sensitive as they should be. Is this expected behaviour in JDBCRealm, or do you think there's something wrong with my webapp or database? Thanks, Mete __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Routing With tomcat
Thanks for paying attention to my message John, Your second proposition is right, I have a web mail client, actually a lotus domino server that listen on the port 80 (for other reasons it MUST be the port 80). Nicolas --- Turner, John [EMAIL PROTECTED] wrote: You could use a filter in Tomcat, but that would be overkill. On your router, add a static route for ports 25 and 110 (SMTP and POP3) to go to the IP address of the other machine. Add the IMAP port if you're using that port. Or are you really asking how to run a webmail server that allows people to check and send mail via webpages served on port 80 on a machine other than the tomcat server? John Turner [EMAIL PROTECTED] -Original Message- From: Nicolas Brasseur [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:54 AM To: Tomcat Users List Subject: Routing With tomcat Could anyone tell me if it is possible to route some specific request to another web server. More clearly, when a user type www.brol.be he receives a response from Tomcat, when he type mail.brol.be he receives a response from another web server than tomcat. The domain brol.be is pointing to a router that route the request with destination port 80 to the machine with the Tomcat server. How can I configure Tomcat to re-route request coming for virtual host mail.brol.be to another machine ... Thanks in advance ... __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Switch from SUN jre to IBM jre
Hello everyone, I am looking at switching from Sun's jre to IBM's jre on my system. I originally installed Tomcat 4.0 as a binary distribution on my Linux system (Suse 7.2). I installed IBM JAVA2 (1.3.1) implementation on my system the other day and tried setting $JAVA_HOME to the installation directory. However, when I start up Tomcat I get the error shown below. Do I need to build Tomcat from the source to make it work with IBM's jre or am I just missing something. I tried downloading sun XMLPack and putting the jar with org.apache.xerces.jaxp.SAXParserFactoryImpl in my CLASSPATH, but I continue to get the same error. Any help would be greatly appreciated! Thanks! ~Andrew Exception during startup processing java.lang.reflect.InvocationTargetException: javax.xml.parsers.FactoryConfigurat ionError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java: 141) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:224) at org.apache.catalina.startup.Catalina.start(Catalina.java:725) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: JSPs/Servlets
What are the system resources? On 18 Jul 2002 at 11:00, Ben Heller wrote: Hello, I am writing to inquire about the use of Servlets and JSP using Tomcat. I managed to get it set up on my machine but none of the servlet examples except for HelloWorld work at all and most of the JSP examples don't either. Some of them bring me to a startup screen but they all eventually crash. Is there a way I can reconfigure Tomcat so that these examples will work? Thanks, -Ben Heller -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Routing With tomcat
There's no reason why you can't have one web server on one port and another web server on another port. You'd just have to setup two different port forwardings in your router. So you could have port 80 go to the main server and say port 8080 go to the web mail server. That is unless the two servers co-exist on the same physical machine. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Nicolas Brasseur [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 9:14 AM To: Tomcat Users List Subject: RE: Routing With tomcat Thanks for paying attention to my message John, Your second proposition is right, I have a web mail client, actually a lotus domino server that listen on the port 80 (for other reasons it MUST be the port 80). Nicolas --- Turner, John [EMAIL PROTECTED] wrote: You could use a filter in Tomcat, but that would be overkill. On your router, add a static route for ports 25 and 110 (SMTP and POP3) to go to the IP address of the other machine. Add the IMAP port if you're using that port. Or are you really asking how to run a webmail server that allows people to check and send mail via webpages served on port 80 on a machine other than the tomcat server? John Turner [EMAIL PROTECTED] -Original Message- From: Nicolas Brasseur [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:54 AM To: Tomcat Users List Subject: Routing With tomcat Could anyone tell me if it is possible to route some specific request to another web server. More clearly, when a user type www.brol.be he receives a response from Tomcat, when he type mail.brol.be he receives a response from another web server than tomcat. The domain brol.be is pointing to a router that route the request with destination port 80 to the machine with the Tomcat server. How can I configure Tomcat to re-route request coming for virtual host mail.brol.be to another machine ... Thanks in advance ... __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Trying to compile the servlet
Hi all, I am trying to compile the servlet with the JAVAC tool of J2SDK. But on compilation it shows errors which indicate that JAVAX package is not present in its path or classpath. Can anyone figure out from where i can get JAVAX package and put it in my path so that my servlet can see it. Thanks, Vikas. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Routing With tomcat
Ok, but if this is a different machine, I'm still not understanding why there is even an issue. If www.brol.be = 1.2.3.4 and mail.brol.be = 6.7.8.9, there's no possible way a request on port 80 for mail.brol.be would ever be seen by tomcat. Sounds like your DNS is messed up. All you need to do is set the correct IP addresses for the two hostnames and you should be good to go. Your tomcat server should never see requests for mail.brol.be if they are separate machines. If they aren't separate machines, you can't run more than one thing on port 80, unless you want to setup virtual hosting with two separate URLs. If you wanted to do that, you could just write a filter on www.brol.be that looks at the request header and issues a redirect to mail.brol.be if the request header is equal to mail.brol.be. John Turner [EMAIL PROTECTED] -Original Message- From: Nicolas Brasseur [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 12:14 PM To: Tomcat Users List Subject: RE: Routing With tomcat Thanks for paying attention to my message John, Your second proposition is right, I have a web mail client, actually a lotus domino server that listen on the port 80 (for other reasons it MUST be the port 80). Nicolas --- Turner, John [EMAIL PROTECTED] wrote: You could use a filter in Tomcat, but that would be overkill. On your router, add a static route for ports 25 and 110 (SMTP and POP3) to go to the IP address of the other machine. Add the IMAP port if you're using that port. Or are you really asking how to run a webmail server that allows people to check and send mail via webpages served on port 80 on a machine other than the tomcat server? John Turner [EMAIL PROTECTED] -Original Message- From: Nicolas Brasseur [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:54 AM To: Tomcat Users List Subject: Routing With tomcat Could anyone tell me if it is possible to route some specific request to another web server. More clearly, when a user type www.brol.be he receives a response from Tomcat, when he type mail.brol.be he receives a response from another web server than tomcat. The domain brol.be is pointing to a router that route the request with destination port 80 to the machine with the Tomcat server. How can I configure Tomcat to re-route request coming for virtual host mail.brol.be to another machine ... Thanks in advance ... __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Switch from SUN jre to IBM jre
I think you want the JDK, not the JRE. The JRE is missing things that tomcat needs to run. John Turner [EMAIL PROTECTED] -Original Message- From: Andrew Ferayorni [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 12:16 PM To: [EMAIL PROTECTED] Subject: Switch from SUN jre to IBM jre Hello everyone, I am looking at switching from Sun's jre to IBM's jre on my system. I originally installed Tomcat 4.0 as a binary distribution on my Linux system (Suse 7.2). I installed IBM JAVA2 (1.3.1) implementation on my system the other day and tried setting $JAVA_HOME to the installation directory. However, when I start up Tomcat I get the error shown below. Do I need to build Tomcat from the source to make it work with IBM's jre or am I just missing something. I tried downloading sun XMLPack and putting the jar with org.apache.xerces.jaxp.SAXParserFactoryImpl in my CLASSPATH, but I continue to get the same error. Any help would be greatly appreciated! Thanks! ~Andrew Exception during startup processing java.lang.reflect.InvocationTargetException: javax.xml.parsers.FactoryConfigurat ionError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java: 141) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:224) at org.apache.catalina.startup.Catalina.start(Catalina.java:725) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
mod_webapp vs Coyote JK 2
Subject: mod_webapp vs Coyote JK 2 From: Ove [EMAIL PROTECTED] === What is recommended to use on a Tomcat 4.x install with Apache. (Solaris) And what is the most important differences? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Trying to compile the servlet
Which javax package? There are many. Some are in J2SE, some are in J2EE. John Turner [EMAIL PROTECTED] -Original Message- From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 12:23 PM To: '[EMAIL PROTECTED]' Subject: Trying to compile the servlet Hi all, I am trying to compile the servlet with the JAVAC tool of J2SDK. But on compilation it shows errors which indicate that JAVAX package is not present in its path or classpath. Can anyone figure out from where i can get JAVAX package and put it in my path so that my servlet can see it. Thanks, Vikas. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Switch from SUN jre to IBM jre
Hi, You have multiple versions of at least one XML parser in your classpath. Check to make sure you only have one of the SAX, DOM, JAXP APIs in your classpath. See the tomcat readme section on XML parsers, as tomcat 4.x comes with its own copy of Xerces that is visible to your classpath by default. Yoav Shapira Millennium ChemInformatics -Original Message- From: Andrew Ferayorni [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 12:16 PM To: [EMAIL PROTECTED] Subject: Switch from SUN jre to IBM jre Hello everyone, I am looking at switching from Sun's jre to IBM's jre on my system. I originally installed Tomcat 4.0 as a binary distribution on my Linux system (Suse 7.2). I installed IBM JAVA2 (1.3.1) implementation on my system the other day and tried setting $JAVA_HOME to the installation directory. However, when I start up Tomcat I get the error shown below. Do I need to build Tomcat from the source to make it work with IBM's jre or am I just missing something. I tried downloading sun XMLPack and putting the jar with org.apache.xerces.jaxp.SAXParserFactoryImpl in my CLASSPATH, but I continue to get the same error. Any help would be greatly appreciated! Thanks! ~Andrew Exception during startup processing java.lang.reflect.InvocationTargetException: javax.xml.parsers.FactoryConfigurat ionError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java: 141) at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:224) at org.apache.catalina.startup.Catalina.start(Catalina.java:725) at org.apache.catalina.startup.Catalina.execute(Catalina.java:681) at org.apache.catalina.startup.Catalina.process(Catalina.java:179) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Trying to compile the servlet
Does your CLASSPATH contain a full path to J2EE_HOME/lib/j2ee.jar like: /usr/local/j2sdkee1.3.1/lib/j2ee.jar -Original Message- From: Nagpal, Vikas [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 12:23 PM To: '[EMAIL PROTECTED]' Subject: Trying to compile the servlet Hi all, I am trying to compile the servlet with the JAVAC tool of J2SDK. But on compilation it shows errors which indicate that JAVAX package is not present in its path or classpath. Can anyone figure out from where i can get JAVAX package and put it in my path so that my servlet can see it. Thanks, Vikas. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Trying to compile the servlet
Hello, the servlet lib is not include in JSDK. You must add the servlet.jar in your CLASSPATH to have the javax hierarchy. You can find the servlet.jar in the /common/lib of Tomcat. Bye -- Jean-Baptiste Onofré (Nanthrax) Membre fondateur de phpFR.org http://www.phpfr.org [EMAIL PROTECTED] Membre fondateur du LUG Béziers http://lug-beziers.org [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]