RE: Apache 2.0.50 - Tomcat 5.0.28 - Mod_jk - .htaccess
This is the configuration httpd.conf IfModule !mod_jk.c LoadModule jk_module modules/mod_jk.so /IfModule JkWorkersFile /usr/local/apache/conf/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkOptions +ForwardKeySize +ForwardURICompat +ForwardDirectories JkMount /jsps/ ajp13 JkMount /jsps/servlet/* ajp13 I don't have LoadModule mod_access #httpd -l core.c mod_access.c mod_auth.c mod_include.c mod_log_config.c mod_env.c mod_setenvif.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_cgi.c mod_negotiation.c mod_dir.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_so.c Thank you for your help, but i don't understand you. -Mensaje original- De: Joost de Heer [mailto:[EMAIL PROTECTED] Enviado el: martes, 07 de febrero de 2006 12:08 Para: Manuel Nicolas Ortuño CC: users@tomcat.apache.org Asunto: Re: Apache 2.0.50 - Tomcat 5.0.28 - Mod_jk - .htaccess I have apache and tomcat ready. The connector (mod_jk) work well. JkMount /jsps/servlet/* ajp13 JkMount /jsps/*.jsp ajp13 The static content work with apache and .jsp work with tomcat. My problem is that i would like that /jsps work with .htaccess AuthType Basic require valid-user this work with static content but i use url http://my_server/jsps/my_jsp.jsp this url dont ask me login/pass, and show my_jsp.jsp The same configuration in apache 1.3.12 work well. Somebody can help my? How i can configure apache for use authentication system for *.jsp and if the authentication is correct pass the request to tomcat. Try switching the loadmodule lines for mod_jk and mod_access. Joost - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mod_jk weirdness
Hi Darren Thanks. That appears right, however I dont know how to make the worker resolve the Tomcat-Apache connection? Do I have to make some entry in http.conf for the Tomcat-Apache communication? Ideas? Thanks. --- Darren Hall [EMAIL PROTECTED] wrote: Chris, Not sure if this is helpful but it appears the next step that is failing is the actual connection to tomcat from apache (unless you've left this part of your mod_jk.log out of your post). Here's the mod_jk.log output of a test I did on my local machine. The first worker 'testworker' connects successfully; while the second 'newworker' fails at about the same point you appear to be failing. In the below case, 'newworker' fails because it can't resolve the tomcat address after it sets the contact for 'newworker'. Don't know if this helps or not... Darren [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (141): about to create instance testworker of ajp13 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (154): about to validate and init testworker [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1806): worker testworker contact is 'localhost:8009' [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1895): setting socket keepalive to 0 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1934): setting socket timeout to -1 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1938): setting socket buffer size to 0 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1942): setting connection recycle timeout to 0 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1946): setting cache timeout to 0 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1950): setting connect timeout to 0 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1954): setting reply timeout to 0 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1958): setting prepost timeout to 0 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1962): setting recovery opts to 0 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1966): setting number of retries to 3 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1843): setting connection cache size to 250 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (248): removing old testworker worker [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (236): creating worker newworker [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (141): about to create instance newworker of ajp13 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (154): about to validate and init newworker [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (1806): worker newworker contact is 'www.local.org:8009' [Mon Feb 06 09:49:03 2006] [2756:3108] [error] jk_ajp_common.c (1815): can't resolve tomcat address localhost [Mon Feb 06 09:49:03 2006] [2756:3108] [error] jk_ajp_common.c (1818): invalid host and port www.local.org 8009 [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_ajp_common.c (2012): up to 0 endpoints to close [Mon Feb 06 09:49:03 2006] [2756:3108] [error] jk_worker.c (158): validate failed for newworker [Mon Feb 06 09:49:03 2006] [2756:3108] [error] jk_worker.c (256): failed to create worker newworker [Mon Feb 06 09:49:03 2006] [2756:3108] [debug] jk_worker.c (212): close_workers will destroy worker testworker -Original Message- From: Chris Pat [mailto:[EMAIL PROTECTED] Sent: Saturday, February 04, 2006 9:23 AM To: Tomcat Subject: mod_jk weirdness Hello Attached is the full trace, but can anyone please explain second below. The workers.properties file is immediately below. It eventually does some type of core dump. The site is up, working on the specified ip, just not working with the mod_jk. Any help much appreciated. workers.properties workers.tomcat_home e:\Program\Tomcat 5.5 workers.java_home=$JAVA_HOME ps\ worker.list=connect_op, connect_sb worker.connect_op.port=12345 worker.connect_op.host=localhost worker.connect_op.type=ajp13 worker.connect_sb.port=12346 worker.connect_sb.host=localhost worker.connect_sb.type=ajp13 from mod_jk.log [Sat Feb 04 07:54:00 2006] [8196:8192] [debug] jk_worker.c (236): creating worker connect_op [Sat Feb 04 07:54:00 2006] [8196:8192] [debug] jk_worker.c (141): about to create instance connect_op of ajp13 [Sat Feb 04 07:54:00 2006] [8196:8192] [debug] jk_worker.c (154): about to validate and init connect_op [Sat Feb 04 07:54:00 2006] [8196:8192] [debug] jk_ajp_common.c (1806): worker connect_op contact is 'localhost:12345' ... [Sat Feb 04 07:54:01 2006] [8196:8192] [debug] jk_worker.c (248): removing old connect_op worker __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection
Application specific tomcat recycle?
I am using tomcat 5.5.12 with java 1.4 on Linux 4.0. I believe it is possible to recycle tomcat for a specific application on this server without affecting the tomcat process on the other applications ... We have three applications sitting on the one physical server. Is it possible to configure tomcat so that one application at a time could have tomcat recycled without affecting the other applications? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: wrapping manager undeploy Ant task
Tim Lucia wrote: Add: failOnError=false Works great--thanks. This is already in the documentation[1], but I missed it. Glen [1] http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant Hello, I'm using the manager tasks for Ant to undeploy and deploy my WAR file in Tomcat, as shown below. Sometimes, due to a previous processing error, there is nothing to undeploy (i.e., no webapp there) but the deploy task is still relevant and should still occur. However, in these cases, my Ant target fails because the undeploy task returns a nothing-to-undeploy error. Question: How do I wrap the undeploy/ task, so that if there is nothing to undeploy, the deploy task within this target will still activate? Currently I am just commenting out the undeploy task when that situation occurs. Thanks, Glen target name=deploy depends=war undeploy url=${tcManagerURL} username=${tcUsername} password=${tcPassword} path=${apppath}/ deploy url=${tcManagerURL} username=${tcUsername} password=${tcPassword} path=${apppath} war=${war.app.name}.war/ /target - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat + Linux Server + Jasper Reports problem
Hello everyone, I developed my webapp using netbeans and its embedded tomcat. I did some reports in jasper reports and they were working just fine with the embedded tomcat. Then, I moved my app to the tomcat directory in the server (which is the same machine) and the reports stopped working. They don't work locally in the server and they don't work when accessing the app from any other client machine (being linux or windows). At first, I was getting the following error: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) sun.awt.X11GraphicsEnvironment.clinit(X11GraphicsEnvironment.java:134) java.lang.Class.forName0(Native Method) java.lang.Class.forName(Class.java:141) java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62) Through google I found out that I should use the catalina.sh file to set: JAVA_OPTS=-Djava.awt.headless=true I did it, but it did not solve the problem. It changed the error. Now I have: java.awt.HeadlessException java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121) java.awt.Window.init(Window.java:274) java.awt.Frame.init(Frame.java:401) java.awt.Frame.init(Frame.java:366) javax.swing.JFrame.init(JFrame.java:154) net.sf.jasperreports.view.JasperViewer.init(JasperViewer.java:144) I tried google, but couldn't find a solution for it. Can someone help, please? Other important data about my server: leticia:/home/leticia # java -version java version 1.4.2_06 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03) Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode) leticia:/home/leticia # echo $JAVA_HOME /usr/lib/jvm/java leticia:/home/leticia # echo $PATH /usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin Since it's working fine in the netbeans embedded tomcat and not in my linux server tomcat, I suppose the problem is in tomcat configuration. Both tomcat's are in the same computer. Any help is appreciated Thanks -- Letícia Álvares Barbalho [EMAIL PROTECTED]
Re: multiple domain names
Alan - I thought for sure Apache was front-ending and not using the Tomcat standalone.. Thanks for the update, Martin- - Original Message - From: Parsons Technical Services [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org; Martin Gainty [EMAIL PROTECTED] Sent: Monday, February 06, 2006 10:12 PM Subject: Re: multiple domain names If one wishes to use Apache on the front end. If only Tomcat is to be used, then for each domain name it would be assigned to a different Host element. The docs are not written to clearly describe how to do this, but simply put, create a Host element for each domain name that is to be used. Also either set one of the domains as the default or set up a simple default application that could say list the domains available on the server. The only time the default is needed is if either someone enters the IP of the server as the address or a domain is pointed to the server but does not have an entry in a Host element. Search the archives as this has been discussed in the past, often in great detail. - Original Message - From: Martin Gainty [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org; [EMAIL PROTECTED] Sent: Monday, February 06, 2006 8:13 PM Subject: Re: multiple domain names Take a look at http://httpd.apache.org/docs/1.3/mod/core.html#virtualhost Martin- - Original Message - From: Parsons Technical Services [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org; [EMAIL PROTECTED] Sent: Monday, February 06, 2006 8:06 PM Subject: Re: multiple domain names Yes. Virtual Hosts - Original Message - From: [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Monday, February 06, 2006 1:22 PM Subject: multiple domain names I can read the tomcat docs myself to figure out the details, but I just want to know if this is something done within tomcat or not. I want to be able to map different domain names to the different web apps in the server. Can I do this? Is this a tomcat issue, or something else? ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Can we stop tomcat using System.exit(int)
Thank you David, change in security manager worked. I'm not sure whether I can change the java.policy file while the application is moved to production; However, including exitVM as one of the Runtime Permission in policy file made it possible. Thanks for the direction. Regards, Kiran Tadepalli -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 2:53 PM To: Tomcat Users List Subject: Re: Can we stop tomcat using System.exit(int) Just my 2 cents, Have you tried to set priviledged to true in webapp context? Also you may need to play a bit with the security manager as J2EE specs does not endorse the use of System.exit in a webapplication. [EMAIL PROTECTED] a écrit : Hi, My web application requires database pool connection while startup, when it fails for any reason I need to stop the tomcat server as well. I have used System.exit(int); int here I tried with Zero and non-zero value. The result is tomcat gets hung. I understand it has to do with Java rather than Tomcat, however I'm looking for a suggestion to stop tomcat in a way similar to the above. I have learnt to stop tomcat a) programmatically using Bootstrap classes, (stops successfully only if you start programmatically) b) by invoking shutdown.sh c) by connecting to the server at port 8005, and send the shutdown string. All the above methods have yielded the same result, moreover it would make my application coded specific to tomcat or Linux; I have also googled with the phrase ~tomcat crash, stop ~tomcat, system.exit ~tomcat, system.exit ~jvm; to at least find out that the task cannot be done, however it helped me a little. Here are the versions of server, os and java I'm using. Tomcat: 5.x OS : Red Hat Enterprise Linux AS 3.0 Java: 1.5 Can somebody help me regarding the same. Regards, Kiran Tadepalli The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat and subdomain
Hi, all! I have an application, which may have many users. At this moment each of them can view their info at: http://www.example.com/user/john http://www.example.com/user/mary I would like to use subdomain for each user. So it may look like: http://john.example.com http://mary.example.com Where should I look for the solution? Googling isn't helping much. Any examples are welcome :) Thank you! Andrey Tomcat 5.5.12 Struts 1.2.8 PostgreSQL 8.1.2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Why JasperException Unable to compile
Hi Tomcatters, we run two Tomcats on two separate hosts which are assumed to be configured exactly the same (at least as far as Tomcat, Java env, and this webapp are concerned). I have no knwoledge of Tomcat webapps like JSPs and Jasper whatsoever (only administrating the server). While when the same query path of the URI is called from a client's browser against both hosts, and the same piece of JSP should get executed there, it works fine on one host whereas on the other Tomcat host we get a Jasper exception. Because of my lack of knowledge of Jasper I cannot find the source of the error where both Tomcat hosts could possibly deviate from one another. If it was a legacy CGI program or script I would know how to help myself. Here is the exception pass stack trace through the Jasper classes from the host where this particular request crashes, taken from its Tomcat log. Maybe any Java/Jasper knwoledgeable person can detect something from it? Maybe I could even raise the verbosity level (by somehow enabling debug mode) of Tomcat? Can this be done on a running Tomcat? How could I raise the logging level to Debug, maybe by passing the Java master thread some -D switch definition? But this would then require a Tomcat restart I suppose? Since I even lack the most basics of JSP (thought it was only some sort of templating/embedding of Java code in ordinary XHTML) I am not even familiar with when and how the Java source gets compiled and thus could produce the below Jasper exception (it simply suggests a wrong invocation of the Java compiler, as it looks) Wasn't it that servlets or JSP got only compiled the first time they were executed by the servlet engine, and thereafter remain resident in memory? Excerpt from Tomcat log, where the Jasper exception is thrown: 1343 2006-02-07 13:59:46 - Ctx(/OurTool) : Exception in R( /OurTool + /someTrash/rotten.jsp + null) - org.apache.jasper.JasperException: Unable to compile Usage: jsp-javac options source files 1344 1345 where options includes: 1346-g Generate all debugging info 1347-g:noneGenerate no debugging info 1348-g:{lines,vars,source} Generate only some debugging info 1349-O Optimize; may hinder debugging or enlarge class files 1350-nowarnGenerate no warnings 1351-verbose Output messages about what the compiler is doing 1352-deprecation Output source locations where deprecated APIs are used 1353-classpath path Specify where to find user class files 1354-sourcepath path Specify where to find input source files 1355-bootclasspath path Override location of bootstrap class files 1356-extdirs dirsOverride location of installed extensions 1357-d directory Specify where to place generated class files 1358-encoding encoding Specify character encoding used by source files 1359-target release Generate class files for specific VM version 1360 1361 at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java: 898) 1362 at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspIntercep tor.java:733) 1363 at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor .java:506) 1364 at org.apache.tomcat.core.ContextManager.processRequest(ContextManag er.java:968) 1365 at org.apache.tomcat.core.ContextManager.internalService(ContextMana ger.java:875) 1366 at org.apache.tomcat.core.ContextManager.service(ContextManager.java :833) 1367 at org.apache.tomcat.modules.server.Http10Interceptor.processConnect ion(Http10Interceptor.java:176) 1368 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint. java:494) 1369 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thr eadPool.java:516) 1370 at java.lang.Thread.run(Thread.java:534) Rgds Ralph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Is There a Howto - Again
What I should have asked was: Where can I find a 'HowTo' or a tutorial on HTTP 2.0.53 + Tomcat 5.0.28 + Oracle 10g R2 + Fedora Core 4? Gene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is There a Howto - Again
On Tuesday 07 February 2006 15:02, Eugene Poole wrote: What I should have asked was: Where can I find a 'HowTo' or a tutorial on HTTP 2.0.53 + Tomcat 5.0.28 + Oracle 10g R2 + Fedora Core 4? 42.. Both httpd(apache) and tomcat can be installed with yum on FC4. How to use them together depends on what you want to do. Oracle I have no clue about. In short: there is no howto covering your question. Your Q is too general. Be more specific on your problem and what you have managed so far and where you get trouble. *Then* you might get some help. -- Bjørge Solli - Office:+47 55205847 cellph.:+47 91614343 Nansen Environmental and Remote Sensing Center - Bergen, Norway http://www.nersc.no Reception: +47 55205800 Dept.: Mohn-Sverdrup Center for Global Ocean Studies and Operational Oceanography - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is There a Howto - Again
Don't work in a productive environment with the standard package installation of tomcat from fc4. It's not a so good implementation of tomcat. Especially when you work with Apache Axis. Best way is to remove you tomcat packages and install sun's java and the normal tomcat build. Much faster in the end then fedora packages! bye Philipp === Philipp Jäggi SNCT Sandweiler bp 23 L-5230 Sandweiler +352 35'72'14'342 mailto: [EMAIL PROTECTED] Bjørge Solli [EMAIL PROTECTED] 02/07/2006 03:07 PM Please respond to Tomcat Users List users@tomcat.apache.org To users@tomcat.apache.org cc Subject Re: Is There a Howto - Again On Tuesday 07 February 2006 15:02, Eugene Poole wrote: What I should have asked was: Where can I find a 'HowTo' or a tutorial on HTTP 2.0.53 + Tomcat 5.0.28 + Oracle 10g R2 + Fedora Core 4? 42.. Both httpd(apache) and tomcat can be installed with yum on FC4. How to use them together depends on what you want to do. Oracle I have no clue about. In short: there is no howto covering your question. Your Q is too general. Be more specific on your problem and what you have managed so far and where you get trouble. *Then* you might get some help. -- Bjørge Solli - Office:+47 55205847 cellph.:+47 91614343 Nansen Environmental and Remote Sensing Center - Bergen, Norway http://www.nersc.no Reception: +47 55205800 Dept.: Mohn-Sverdrup Center for Global Ocean Studies and Operational Oceanography - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Why JasperException Unable to compile
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Why JasperException Unable to compile we run two Tomcats on two separate hosts which are assumed to be configured exactly the same (at least as far as Tomcat, Java env, and this webapp are concerned). And what would that configuration be? It's tough to answer a question without knowing what Tomcat level, what JRE/JDK, what OS, etc. You're asking people to guess. Maybe I could even raise the verbosity level (by somehow enabling debug mode) of Tomcat? Can this be done on a running Tomcat? Try using the admin app that is available for whatever Tomcat level you're using. Since I even lack the most basics of JSP (thought it was only some sort of templating/embedding of Java code in ordinary XHTML) Sounds like you should at least read the Servlet and JSP specs, which are available on the Sun download site: http://java.sun.com/products/servlet/download.html#specs http://java.sun.com/products/jsp/download/index.html#specs I am not even familiar with when and how the Java source gets compiled and thus could produce the below Jasper exception Upon first reference to the .jsp page. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat can't find tc library
I've compiled the tc library and placed it in $DAEMON_HOME but for some reason Tomcat still does not recognize it. DEBUG main org.apache.catalina.core.AprLifecycleListener - The Apache Tomcat Native library which allows optimal p erformance in production environments was not found on the java.library.path: /usr/share/tomcat/bin java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.core.AprLifecycleListener.lifecycleEvent(AprLifecycleListener.java:80) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:757) at org.apache.catalina.startup.Catalina.load(Catalina.java:503) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:247) at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:262) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:160) Caused by: java.lang.UnsatisfiedLinkError: initialize at org.apache.tomcat.jni.Library.initialize(Native Method) at org.apache.tomcat.jni.Library.initialize(Library.java:205 app1:/usr/share/tomcat/bin # ldd libtcnative-1.so libapr-0.so.0 = /usr/lib64/libapr-0.so.0 (0x002a95662000) librt.so.1 = /lib64/tls/librt.so.1 (0x002a95788000) libm.so.6 = /lib64/tls/libm.so.6 (0x002a9589) libcrypt.so.1 = /lib64/libcrypt.so.1 (0x002a959e8000) libnsl.so.1 = /lib64/libnsl.so.1 (0x002a95b21000) libpthread.so.0 = /lib64/tls/libpthread.so.0 (0x002a95c37000) libdl.so.2 = /lib64/libdl.so.2 (0x002a95d4b000) libssl.so.0.9.7 = /usr/lib64/libssl.so.0.9.7 (0x002a95e4f000) libcrypto.so.0.9.7 = /usr/lib64/libcrypto.so.0.9.7 (0x002a95f85000) libc.so.6 = /lib64/tls/libc.so.6 (0x002a961b6000) /lib64/ld-linux-x86-64.so.2 (0x00552000) There doesn't seem to be any reason why it would not find it and use it? Thanks, -Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.5.15 Context Reloading issue
I've run into an issue with Tomcat 5.5.15 and the Context reloading. When I change a file in my application, I have the context set to automatically restart. This was working fine with 5.5.12, but there seems to be an issue after I upgraded to 5.5.15. The host is configured as: Host name=application.com appBase=C:\web\application unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false reloadable=true Context path= docBase= debug=1 reloadable=true Manager pathname= / /Host I've tried to add log4j 1.2.9 to both the common/lib and server/lib with no success. If I stop the server and restart, it works properly. Any help you can provide would be appreciated. Thank you. My stack trace is: INFO: Illegal access: this web application instance has been stopped already. Could not load org.apache.log4j.spi.VectorWriter. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact. java.lang.IllegalStateException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1238) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav a:1198) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at org.apache.log4j.spi.LoggingEvent.init(LoggingEvent.java:154) at org.apache.log4j.Category.forcedLog(Category.java:388) at org.apache.log4j.Category.log(Category.java:853) at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193) at org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:667) at org.apache.catalina.core.ApplicationContextFacade.log(ApplicationContextFaca de.java:269) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11 41) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 3915) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2988) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java: 403) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java: 1276) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC hildren(ContainerBase.java:1568) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC hildren(ContainerBase.java:1577) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC hildren(ContainerBase.java:1577) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont ainerBase.java:1557) at java.lang.Thread.run(Thread.java:595) Feb 6, 2006 4:04:58 PM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildren SEVERE: Exception invoking periodic operation: java.lang.NoClassDefFoundError: org/apache/log4j/spi/VectorWriter at org.apache.log4j.spi.LoggingEvent.init(LoggingEvent.java:154) at org.apache.log4j.Category.forcedLog(Category.java:388) at org.apache.log4j.Category.log(Category.java:853) at org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193) at org.apache.catalina.core.ApplicationContext.log(ApplicationContext.java:667) at org.apache.catalina.core.ApplicationContextFacade.log(ApplicationContextFaca de.java:269) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:11 41) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 3915) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176) at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2988) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java: 403) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java: 1276) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC hildren(ContainerBase.java:1568) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC hildren(ContainerBase.java:1577) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC hildren(ContainerBase.java:1577) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont ainerBase.java:1557) at
Re: Can we stop tomcat using System.exit(int)
when you call System.exit(), you shut down the jvm. It is no wonder that tomcat gets hung. you don't want to make your code specific to tomcat, but yet you want to shut tomcat down?? write a method that does a system call, kill -9 pid catalina.pid is a file containing the pid of the tomcat instance (found in CATALINA_HOME or wherever your environment is set to put in. If you switch servlet engines, this will still work with minor modifications. crude, but so is System.exit(). [EMAIL PROTECTED] wrote: Hi, My web application requires database pool connection while startup, when it fails for any reason I need to stop the tomcat server as well. I have used System.exit(int); int here I tried with Zero and non-zero value. The result is tomcat gets hung. I understand it has to do with Java rather than Tomcat, however I'm looking for a suggestion to stop tomcat in a way similar to the above. I have learnt to stop tomcat a) programmatically using Bootstrap classes, (stops successfully only if you start programmatically) b) by invoking shutdown.sh c) by connecting to the server at port 8005, and send the shutdown string. All the above methods have yielded the same result, moreover it would make my application coded specific to tomcat or Linux; I have also googled with the phrase ~tomcat crash, stop ~tomcat, system.exit ~tomcat, system.exit ~jvm; to at least find out that the task cannot be done, however it helped me a little. Here are the versions of server, os and java I'm using. Tomcat: 5.x OS : Red Hat Enterprise Linux AS 3.0 Java: 1.5 Can somebody help me regarding the same. Regards, Kiran Tadepalli The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com -- Mike Sabroff Web Services Developer [EMAIL PROTECTED] 920-568-8379 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 5.5.15 Context Reloading issue
From: Joey Geiger [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5.15 Context Reloading issue The host is configured as: Host name=application.com appBase=C:\web\application unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false reloadable=true Context path= docBase= debug=1 reloadable=true Manager pathname= / /Host An empty docBase path is rather odd. The appBase parameter is supposed to point to the directory under which one or more application directories or war files are stored; docBase should specify the directory or war for the given application. Perhaps you should try setting appBase to C:\web and docBase to application. I've tried to add log4j 1.2.9 to both the common/lib and server/lib with no success. Not at the same time, I hope. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is There a Howto - Again
You can find just about what ever you are looking for on the web, but I've found that there are several well written books on Tomcat. When I was getting started, I had a copy of Professional Apache Tomcat. It didn't have everything that I needed, but it was most certainly my first stop. Specifically, it was really helpful in setting up DataBase Connection Pools and such. David Smith wrote: Your question is answered in many, many, many parts. Start with how to install for each component, then how to connect tomcat and apache. Finally How to setup tomcat to access Oracle. Search the net and the tomcat website. All the answers are out there. --David Eugene Poole wrote: What I should have asked was: Where can I find a 'HowTo' or a tutorial on HTTP 2.0.53 + Tomcat 5.0.28 + Oracle 10g R2 + Fedora Core 4? Gene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Is There a Howto - Again
For the Oracle part, I can give you a brief coverage of what to expect ( based only upon what I have experienced ). You'll have to install it, I put it on the same machine as tomcat. Then you have to set up listeners on the Oracle instance; these are just the little servers that listen for remote connections -- such as will be made by your tomcat apps. Then you'll have options about how to connect. You can configure Oracle as Data Source in the Tomcat environment ( done in config files ); or you can connect directly to the oracle listener via JDBC in your java code. I'm afraid there's lots of choices. Seems like you will even have choices of drivers to install for both tomcat and oracle; there are different drivers for differing methods of communication between your tomcat apps and the oracle instance. JDBC thin client is probably the easiest of these. --- On Tue 02/07, Eugene Poole [EMAIL PROTECTED] wrote: From: Eugene Poole [mailto: [EMAIL PROTECTED] To: users@tomcat.apache.org Date: Tue, 07 Feb 2006 09:02:08 -0500 Subject: Is There a Howto - Again What I should have asked was:Where can I find a 'HowTo' or a tutorial on HTTP 2.0.53 + Tomcat 5.0.28 + Oracle 10g R2 + Fedora Core 4?Gene-To unsubscribe, e-mail: [EMAIL PROTECTED] additional commands, e-mail: [EMAIL PROTECTED] ___ Join Excite! - http://www.excite.com The most personalized portal on the Web! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: UserTransaction, JOTM and Tomcat 5.5.x
On 2/7/06, Remy Maucherat [EMAIL PROTECTED] wrote: For 1), it's simple: Resources are bound in comp/env, while the UserTransaction should go in comp. ResourceLink has a special case for UserTransaction, so it works. There's a special Transaction element which would avoid having to do that, but it's not implemented. It wouldn't be hard to add support for it in org.apache.catalina.core.NamingContextListener. Actually, I checked again and the Transaction element seems to be properly implemented, and it should be used since it will bind the UT to the right place (unlike the Resource element). It works very well for me right now. META-INF/context.xml: Context reloadable=true crossContext=true Resource name=jdbc/myDB auth=Container type=javax.sql.DataSource factory=org.objectweb.jndi.DataSourceFactory driverClassName=org.hsqldb.jdbcDriver username=sa password= url=jdbc:hsqldb:./ Transaction name=UserTransaction auth=Container type=javax.transaction.UserTransaction factory=org.objectweb.jotm.UserTransactionFactory jotm.timeout=60/ /Context WEB-INF/lib contains all the jotm JARs (and the hsql JAR). WEB-INF/classes contains the carol.properties config (the lmi protocol didn't work for me, so I switched to jrmp). So it can be packaged as a ready to run WAR. I still don't understand how that %ç!ç carol hijacks the java: ENC in its default configuration, however. -- x Rémy Maucherat Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is There a Howto - Again
Joe Plautz wrote: You can find just about what ever you are looking for on the web, but I've found that there are several well written books on Tomcat. When I was getting started, I had a copy of Professional Apache Tomcat. It didn't have everything that I needed, but it was most certainly my first stop. Specifically, it was really helpful in setting up DataBase Connection Pools and such. Thanks, I'm heading to Borders and Barnes Noble in just a few. Gene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Why JasperException Unable to compile
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 3:34 PM To: Tomcat Users List Subject: RE: Why JasperException Unable to compile From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Why JasperException Unable to compile we run two Tomcats on two separate hosts which are assumed to be configured exactly the same (at least as far as Tomcat, Java env, and this webapp are concerned). And what would that configuration be? It's tough to answer a question without knowing what Tomcat level, what JRE/JDK, what OS, etc. You're asking people to guess. Sorry, Chuck I simply forgot to post the most vital information with my query. Both hosts run Tomcat with the HP-UX port of Java 1.4 as can be seen from the proc table's entry for the Tomcat server process # UNIX95= ps -x -C java -o args COMMAND /opt/java1.4/bin/PA_RISC2.0/java -Xverbosegc:file=/tmp/gc.out -Xms1280m -Xmx1280m -Xmn786m -XX:+DisableExplicitGC -XdoCloseWithReadPending -Djava.security.policy==/opt/hpapache2/tomcat/bin/../conf/tomcat. policy -Dtomcat.home=/opt/hpapache2/tomcat/bin/.. org.apache.tomcat.startup.Main start The Tomcat release to guess is a bit harder, because the HP-UX depot that bundled Apache httpd and Tomcat didn't come with the handy version.sh wrapper. See it doesn't understand version in this incarnation # export JAVA_HOME=/opt/java1.4 CATALINA_HOME=/opt/hpapache2/tomcat # $CATALINA_HOME/bin/catalina.sh version Using CATALINA_BASE: /opt/hpapache2/tomcat Using CATALINA_HOME: /opt/hpapache2/tomcat Using CATALINA_TMPDIR: /opt/hpapache2/tomcat/temp Using JAVA_HOME: /opt/java1.4 Usage: catalina.sh ( commands ... ) commands: debug Start Catalina in a debugger debug -security Debug Catalina with a security manager embedded Start Catalina in embedded mode jpda startStart Catalina under JPDA debugger run Start Catalina in the current window run -security Start in the current window with security manager start Start Catalina in a separate window start -security Start in a separate window with security manager stop Stop Catalina There seems to be only a version.txt for Ant in the Tomcat libs, but maybe you can guess by looking at these lines? # find $PWD -name \*.jar|xargs -n1 $JAVA_HOME/bin/jar -tf |egrep -i version\|release org/apache/xerces/impl/XMLVersionDetector.class org/apache/xerces/impl/Version.class org/apache/xmlcommons/Version.class org/apache/tools/ant/version.txt org/apache/jasper/runtime/JspFactoryImpl$PrivilegedReleasePageCon text.class com/sun/naming/internal/VersionHelper.class com/sun/naming/internal/VersionHelper11.class com/sun/naming/internal/VersionHelper11$RClassLoader.class com/sun/naming/internal/VersionHelper11$1.class com/sun/naming/internal/VersionHelper12.class com/sun/naming/internal/VersionHelper12$1.class com/sun/naming/internal/VersionHelper12$2.class com/sun/naming/internal/VersionHelper12$3.class com/sun/naming/internal/VersionHelper12$4.class com/sun/naming/internal/VersionHelper12$5.class com/sun/naming/internal/VersionHelper12$6.class com/sun/naming/internal/VersionHelper12$InputStreamEnumeration.cl ass com/sun/naming/internal/VersionHelper12$7.class org/apache/commons/beanutils/ConversionException.class com/hp/mx/utilities/version/ com/hp/mx/utilities/version/MxVersion.class org/apache/xalan/extensions/MethodResolver$ConversionInfo.class org/apache/xalan/processor/XSLProcessorVersion.class Maybe I could even raise the verbosity level (by somehow enabling debug mode) of Tomcat? Can this be done on a running Tomcat? Try using the admin app that is available for whatever Tomcat level you're using. Since I even lack the most basics of JSP (thought it was only some sort of templating/embedding of Java code in ordinary XHTML) Sounds like you should at least read the Servlet and JSP specs, which are available on the Sun download site: http://java.sun.com/products/servlet/download.html#specs http://java.sun.com/products/jsp/download/index.html#specs Honestly, I would like to but if I were required to read all the docs (let alone specifications and RFCs which mainly address software implementors) of all the services that run on the many servers I have to administer there wouldn't be much time left for anything else (and this doesn't yet include comprehending their contents) I am not even familiar with when and how the Java source gets compiled and thus could produce the below Jasper exception Upon first reference to the .jsp page. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: Tomcat and client certificates
Ok, I just submitted the bugs #38553 and #38555 for both issues. If you need more information, please let me know via bugzilla. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is There a Howto - Again
In that case, simplify your life by dropping Apache HTTPd from the equation. The only reason to keep Apache HTTPd in the equation is if you have content in other technologies and you don't want to bloody your head against the wall trying to make CGI work with tomcat. Tomcat can easily handle the web requests by itself. --David Eugene Poole wrote: Bjørge Solli wrote: 42.. Both httpd(apache) and tomcat can be installed with yum on FC4. How to use them together depends on what you want to do. Oracle I have no clue about. In short: there is no howto covering your question. Your Q is too general. Be more specific on your problem and what you have managed so far and where you get trouble. *Then* you might get some help. Let me give a little background on myself. I'm a DBA by trade - I do Oracle, DB2 UDB, and MS SQL Server. I'm the most comfortable with Oracle (6+ years experience). For something to do, I built these databases to keep my home inventory and video/music collections. But since I process all of the databases using static sql, I am the only person in my home that can keep them up to date. So I thought if I can build a 'simple' web app, anyone could help keep things current... Specifically, here is what I've done so far: 1. I have apache working using the standard sample programs to test (I used the FC4 rpms). 2. I have tomcat working using the standard sample programs to test (I used the standard package). 3. I have oracle working since version 8i and I'm up to 10g R2. Now I want to do the following: 1. Add the correct entries in the httpd.conf so that apache passes what it should to tomcat and it works correctly. 2. Install and test eclipse so that I can write jsp's to duplicate some static sql I use to process the databases - with a gui. 3. Document this environment and applications so that I can give it to anyone who wants it as a freebie. All of this to educate myself (you know idle hands...). I understand that there is not a single source of reference, but where can I start looking? Gene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Calling Realm.authenticate() doesn't register Principal in with the Session??
Ken Johanson wrote: Mark, are you saying that you agree, or disagree, with the usefulness of the idea? I am -0 to the idea as a whole. I don't see the point but am happy to proivde pointers where I can. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat and client certificates
Markus wrote: Ok, I just submitted the bugs #38553 and #38555 for both issues. If you need more information, please let me know via bugzilla. 5.5.x CLIENT-CERT shoudl work with all realms. 5.0.x - don't hold your breath. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
MySQL Database / Tomcat Exceptions
Hi- If it isn't already, enabling MySQL error log warnings may provide you with additional information. -Terence M. Bandoian From: Richard S. Huntrods [mailto:[EMAIL PROTECTED] Subject: RE: Would like to know what might be causing this exception in servlet I have one more. This *IS* a real error, and is caused by something breaking between MySQL and my servlets. (Should probably start a new thread for this, since it's a different issue.) It looks like the other end (MySQL) decided to drop the connection. Could be a timeout problem, or a network hiccup (e.g., somebody tripped over a cable). Is this reproducible? Can you get a network capture of the situation? - Chuck Thanks, Chuck. I am thinking along similar lines. The only problem is that aside from the Java exception, there are no error messages in any other Tomcat logs or MySQL logs. Here's another one from today: DBMS SQLException. Time:Mon Feb 06 14:46:06 MST 2006 SQLException caught: keyLookup(login : 50768) DBMS SQLException. Time:Mon Feb 06 14:46:06 MST 2006 SQL Problem: Communication link failure: java.io.IOException, underlying cause: Unexpected end of input stream ** BEGIN NESTED EXCEPTION ** java.io.IOException MESSAGE: Unexpected end of input stream STACKTRACE: java.io.IOException: Unexpected end of input stream at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1405) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1775) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1020) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1109) at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1070) at com.mysql.jdbc.Connection.execSQL(Connection.java:2027) at com.mysql.jdbc.Connection.execSQL(Connection.java:1984) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1152) at my.DBMS.keyLookup(Unknown Source) at my.Person.lookup(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:419) at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:133) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** SQL State: 08S01 Vendor Error: 0 Again, basically Tomcat seems to just lose the connection to MySQL. Any suggestions? -Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
context.xml my old friend
Sanity check please... (I seem to be saying that a lot -- hmm) I cannot get tomcat 5.5.15 to use: $CATALINA_HOME/webapp/Monitor/META-INF/context.xml If I take that same (unchanged) file, move and rename it to: $CATALINA_HOME/conf/Catalina/localhost/Monitor.xml It works fine. Here are the contents of context.xml: !-- The contents of this file will be loaded for each web application -- Context debug=1 reloadable=false crossContext=true Valve className=org.apache.catalina.authenticator.FormAuthenticator securePagesWithPragma=false / Valve className=org.apache.catalina.authenticator.NonLoginAuthenticator securePagesWithPragma=false / Valve className=org.apache.catalina.authenticator.SSLAuthenticator securePagesWithPragma=false / /Context I think I'm doing things correctly... why doesn't the file META-INF/context.xml work? Regards, Dennis Klotz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: context.xml my old friend
It has been noted that the META-INF/context.xml is only read on server startup. It appears that deployment of a new host with a context in the AppBase does not work. http://issues.apache.org/bugzilla/show_bug.cgi?id=38351 George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 12:04 PM To: Tomcat Users List Subject: context.xml my old friend Sanity check please... (I seem to be saying that a lot -- hmm) I cannot get tomcat 5.5.15 to use: $CATALINA_HOME/webapp/Monitor/META-INF/context.xml If I take that same (unchanged) file, move and rename it to: $CATALINA_HOME/conf/Catalina/localhost/Monitor.xml It works fine. Here are the contents of context.xml: !-- The contents of this file will be loaded for each web application -- Context debug=1 reloadable=false crossContext=true Valve className=org.apache.catalina.authenticator.FormAuthenticator securePagesWithPragma=false / Valve className=org.apache.catalina.authenticator.NonLoginAuthenticator securePagesWithPragma=false / Valve className=org.apache.catalina.authenticator.SSLAuthenticator securePagesWithPragma=false / /Context I think I'm doing things correctly... why doesn't the file META-INF/context.xml work? Regards, Dennis Klotz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RFC2268
Good Afternoon All I am attempting to locate RFC2268 (RC2) java security providers for J2SDK 1.42 Suggestions??? Thanks, Martin-
Re: RFC2268
Hello, Is this what you are after? http://rfc.net/rfc2268.html Best wishes, Mike Fowler Registered Linux user: 379787 I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it -PULP 'Glory Days' - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RFC2268
This? http://rfc.net/rfc2268.html --On Tuesday, February 07, 2006 2:10 PM -0500 Martin Gainty [EMAIL PROTECTED] wrote: Good Afternoon All I am attempting to locate RFC2268 (RC2) java security providers for J2SDK 1.42 Suggestions??? Thanks, Martin- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Wrapping Request/Response in a Valve (Tomcat 5.5)
I'm writing a valve that translates cookies to a certain format. I have a servlet filter that does this by wrapping HttpServletRequest and HttpServletResponse. I want to rewrite this as a valve and want to know the best way to do this. I looked for an example in the code base but I can't seem to find one. Thanks in advance Guy
RE: context.xml my old friend
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Subject: context.xml my old friend I cannot get tomcat 5.5.15 to use: $CATALINA_HOME/webapp/Monitor/META-INF/context.xml Do you mean webapp or webapps (the latter is the standard)? If the above was not just a typo, check that it matches the appBase setting in your Host tag. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: context.xml my old friend
Thanks George. In my case, the server restart doesn't help. But that might be because I've changed my Engine parameters from the default. I've turned off autoDeploy. Here is an excerpt from server.xml: Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=false deployOnStartup=true xmlValidation=false xmlNamespaceAware=false deployXML=false Perhaps that explains why on tomcat restart, my context.xml isn't recognized? I turned off autoDeploy in the interest of security. I will keep looking for when this gets fixed. I'd really like to be able to use the META-INF/context.xml without having autoDeploy set to true. Is this a crazy idea? -Dennis -Original Message- From: George Sexton [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 2:08 PM To: 'Tomcat Users List' Subject: RE: context.xml my old friend It has been noted that the META-INF/context.xml is only read on server startup. It appears that deployment of a new host with a context in the AppBase does not work. http://issues.apache.org/bugzilla/show_bug.cgi?id=38351 George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 12:04 PM To: Tomcat Users List Subject: context.xml my old friend Sanity check please... (I seem to be saying that a lot -- hmm) I cannot get tomcat 5.5.15 to use: $CATALINA_HOME/webapp/Monitor/META-INF/context.xml If I take that same (unchanged) file, move and rename it to: $CATALINA_HOME/conf/Catalina/localhost/Monitor.xml It works fine. Here are the contents of context.xml: !-- The contents of this file will be loaded for each web application -- Context debug=1 reloadable=false crossContext=true Valve className=org.apache.catalina.authenticator.FormAuthenticator securePagesWithPragma=false / Valve className=org.apache.catalina.authenticator.NonLoginAuthenticator securePagesWithPragma=false / Valve className=org.apache.catalina.authenticator.SSLAuthenticator securePagesWithPragma=false / /Context I think I'm doing things correctly... why doesn't the file META-INF/context.xml work? Regards, Dennis Klotz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: context.xml my old friend
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Subject: RE: context.xml my old friend I've turned off autoDeploy. That should not affect deployment of apps that are already in the webapps directory, only deployment of ones added after Tomcat starts. It's the deployOnStartup attribute that controls whether or not the directory specified by appBase is searched when Tomcat begins execution. Turning off autoDeploy is fairly common. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: context.xml my old friend
Thanks Chuck. And yes the webapp was a typo. :) So perhaps I need to file a bug on this, because this seems to be a different problem than: http://issues.apache.org/bugzilla/show_bug.cgi?id=38351 -Dennis -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 2:58 PM To: Tomcat Users List Subject: RE: context.xml my old friend From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Subject: RE: context.xml my old friend I've turned off autoDeploy. That should not affect deployment of apps that are already in the webapps directory, only deployment of ones added after Tomcat starts. It's the deployOnStartup attribute that controls whether or not the directory specified by appBase is searched when Tomcat begins execution. Turning off autoDeploy is fairly common. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
turning off sessions
Anyway to configure a Tomcat 5.5 app to not create sessions through META-INF/context.xml? The closest thing I've found was the maxInactiveInterval attribute of the manager element. E.g., Context path=/app manager maxInactiveInterval=6/ /Context But, even that doesn't work properly. Anyone know what I need to do? Thanks, -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SSL with Tomcat 55
Wes, Can you post instructions on how you got tomcat 5.5 to work with the trial test cert from Verisign? I've followed the tomcat-5.5 ssl how to docs and no success. Thanks. On 8/19/05, Hayes, Wes [EMAIL PROTECTED] wrote: Good Morning, I am the Network Admin working with a programmer trying to get TomCat 5.5 working with SSL. She is trying to run a servlet via Oracle JDeveloper 10.1.2. Now, on my end, I have followed the instruction for TomCat on how to get SSL installed and it seemed to work fine. Got the test cert from Verisign and installed it and I can access it via Internet Explorer on https://xxx.xxx.xxx:8443 https://xxx.xxx.xxx:8443 with no problem. But when she tried to run her app she tells me this: When I attempt to run my test stub which opens a connection to the servlet, I get the following error. I do not see this error if I run it through my browser. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found Any thoughts on this? Wesley Hayes Network Administrator AICPCU 720 Providence Road Malvern, PA 19355 610-644-2100 ext. 7216 610-651-7643 (Fax) [EMAIL PROTECTED] *** This e-mail and any attachments to it are confidential, privileged, and intended solely for the named addressee(s). The unauthorized use, disclosure, or alteration of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the e-mail. -- Patrick
Verisign SSL on Tomcat 5.5.9
Tomcat experts: I'm on a windows xp SP2 system running jdk 1.5 with tomcat 5.5.9 and trying to test SSL functionality. Getting a self-signed certificate is trivial enough via the online 5.5 SSL HOWTO. But trying to get the verisign SSL (free trial) cert to work has been impossible. I've tried the online 5.5 SSL howto, the following instructions all of which do not work: https://www.verisign.com/support/ssl-certificates-support/page_dev020184.html http://marc.theaimsgroup.com/?l=tomcat-userm=106285452711698w=2 http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html Is there a working guide? It seems simple enough but I searched through the mailing list archives and find that people are puzzled when installing SSL certs from Verisign on their Tomcat keystores. Any help would be much appreciated! Sycamore - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: context.xml my old friend
Well actually, that is good news to hear! When you did this, do you get a copy of the context.xml within Catalina/localhost renamed to probe.xml? -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 3:28 PM To: Tomcat Users List Subject: RE: context.xml my old friend From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Subject: RE: context.xml my old friend So perhaps I need to file a bug on this I don't think you'll get very far. I installed the probe application, turned off autoDeploy, and started Tomcat. The probe app comes up as privileged, and that's specified only in its webapps/probe/META-INF/context.xml file. In other words, I can't reproduce your problem on a freshly installed 5.5.15 level. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Application specific tomcat recycle?
Thanks, Tim. -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 3:04 PM To: 'Tomcat Users List' Subject: RE: Application specific tomcat recycle? The manager app provides independent application stop, start, reload, and undeploy operations. Read this for complete details: http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html Tim -Original Message- From: Biernesser, Beth [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 2:51 PM To: Tomcat Users List Subject: RE: Application specific tomcat recycle? Yes, I'm stopping and restarting tomcat, but I did not use the management tool to deploy the applications - will they be able to be independently stopped and restarted? -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 7:52 AM To: 'Tomcat Users List' Subject: RE: Application specific tomcat recycle? Depending on what you mean by recycle, it is likely that stop followed by start or reload of the /manager/html application will do what you want. Tim -Original Message- From: Biernesser, Beth [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 7:36 AM To: Tomcat Users List Subject: Application specific tomcat recycle? I am using tomcat 5.5.12 with java 1.4 on Linux 4.0. I believe it is possible to recycle tomcat for a specific application on this server without affecting the tomcat process on the other applications ... We have three applications sitting on the one physical server. Is it possible to configure tomcat so that one application at a time could have tomcat recycled without affecting the other applications? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Basic modjk + ssl + tomcat question
Hi! (modjk newbie) I'm using a modjk+SSL config (I did not make myself) that is mapped to a single worker. Behind, a single AJP connector recieves everything. The question is : how do I know from my webapp that a request is using SSL or not. I saw the secure configuration attribute to the connector, and this leads me to think I actually need 2 AJP connectors (one for each case) and thus 2 workers. Am I wrong? * What's the right way of discriminating SSL and non-SSL requests within my webapp ? Do I need to change my current Apache/modjk config? Any advice welcome :) cheers - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: turning off sessions
Tim Lucia wrote: Tomcat doesn't create sessions. Web applications create sessions. I.e., code says: HttpSession session = ((HttpServletRequest)request).getSession({true|false}); // true for create if not exist, false for don't create); That's strange because there is no call to getSession() in my code. So, maybe it's the result of the fact that I'm using a JSP. If that's the case, then Tomcat is, in a sense, creating sessions. Anyway, I think the context configuration that I had: Context path=/app Manager maxInactiveInterval=6/ /Context conflicts with the default session-config from conf/web.xml session-config session-timeout30/session-timeout /session-config I added: session-config session-timeout1/session-timeout /session-config to my app, and that's good enough for me. Thanks. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: UserTransaction, JOTM and Tomcat 5.5.x
Thanks Remy - this is good stuff, I didn't know about the Transaction element. Is that new in 5.5.x? Is it documented anywhere? As far as the JARs location - this shouldn't matter should it? I can put it in $CATALINA_HOME/common/lib *or* in WEB-INF/lib - right? I've tried changing my context, and moving all JARs/properties local to my WAR, but it still doesn't work. Can you post your WAR for download? dropload.com works for me if you can't post it somewhere. I'll make sure and submit a patch to JOTM's documentation once I get this figured out. Thanks, Matt On 2/7/06, Remy Maucherat [EMAIL PROTECTED] wrote: On 2/7/06, Remy Maucherat [EMAIL PROTECTED] wrote: For 1), it's simple: Resources are bound in comp/env, while the UserTransaction should go in comp. ResourceLink has a special case for UserTransaction, so it works. There's a special Transaction element which would avoid having to do that, but it's not implemented. It wouldn't be hard to add support for it in org.apache.catalina.core.NamingContextListener. Actually, I checked again and the Transaction element seems to be properly implemented, and it should be used since it will bind the UT to the right place (unlike the Resource element). It works very well for me right now. META-INF/context.xml: Context reloadable=true crossContext=true Resource name=jdbc/myDB auth=Container type=javax.sql.DataSource factory=org.objectweb.jndi.DataSourceFactory driverClassName=org.hsqldb.jdbcDriver username=sa password= url=jdbc:hsqldb:./ Transaction name=UserTransaction auth=Container type=javax.transaction.UserTransaction factory=org.objectweb.jotm.UserTransactionFactory jotm.timeout=60/ /Context WEB-INF/lib contains all the jotm JARs (and the hsql JAR). WEB-INF/classes contains the carol.properties config (the lmi protocol didn't work for me, so I switched to jrmp). So it can be packaged as a ready to run WAR. I still don't understand how that %ç!ç carol hijacks the java: ENC in its default configuration, however. -- x Rémy Maucherat Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: turning off sessions
Interesting. You are right. A trivial jsp with only text inside produces a session. I am fairly certain I have seen servlets (not JSPs) behaving without any session tracking at all. -Original Message- From: David Durham [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 4:37 PM To: Tomcat Users List Subject: Re: turning off sessions Tim Lucia wrote: Tomcat doesn't create sessions. Web applications create sessions. I.e., code says: HttpSession session = ((HttpServletRequest)request).getSession({true|false}); // true for create if not exist, false for don't create); That's strange because there is no call to getSession() in my code. So, maybe it's the result of the fact that I'm using a JSP. If that's the case, then Tomcat is, in a sense, creating sessions. Anyway, I think the context configuration that I had: Context path=/app Manager maxInactiveInterval=6/ /Context conflicts with the default session-config from conf/web.xml session-config session-timeout30/session-timeout /session-config I added: session-config session-timeout1/session-timeout /session-config to my app, and that's good enough for me. Thanks. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: turning off sessions
/** * Process HTTP request * @param request HTTP Request object * @param response HTTP Reqponse object */ public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.setContentType(text/plain); PrintWriter pw = response.getWriter(); boolean session = request.getParameter(session) != null; pw.println(Session: \ + request.getSession(session) + \); pw.flush(); } Shows: Session: null But if I tack on ?session, it creates one as expected: Session: [EMAIL PROTECTED] So, the JSP must be the source of the session. I learned something new today. I don't know why (yet). Tim -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 4:49 PM To: 'Tomcat Users List' Subject: RE: turning off sessions Interesting. You are right. A trivial jsp with only text inside produces a session. I am fairly certain I have seen servlets (not JSPs) behaving without any session tracking at all. -Original Message- From: David Durham [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 4:37 PM To: Tomcat Users List Subject: Re: turning off sessions Tim Lucia wrote: Tomcat doesn't create sessions. Web applications create sessions. I.e., code says: HttpSession session = ((HttpServletRequest)request).getSession({true|false}); // true for create if not exist, false for don't create); That's strange because there is no call to getSession() in my code. So, maybe it's the result of the fact that I'm using a JSP. If that's the case, then Tomcat is, in a sense, creating sessions. Anyway, I think the context configuration that I had: Context path=/app Manager maxInactiveInterval=6/ /Context conflicts with the default session-config from conf/web.xml session-config session-timeout30/session-timeout /session-config I added: session-config session-timeout1/session-timeout /session-config to my app, and that's good enough for me. Thanks. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: context.xml my old friend
From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Subject: RE: context.xml my old friend When you did this, do you get a copy of the context.xml within Catalina/localhost renamed to probe.xml? Nope - no extra copies of the file containing the Context tag were created. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: context.xml my old friend
I have more information. Apparently, with 5.5.15 the webapps/Monitor/META-INF/context.xml works when run under windows xp but not under linux. :( I've been trying to figure out what we are doing different but I haven't figured it out yet. -Dennis -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 3:28 PM To: Tomcat Users List Subject: RE: context.xml my old friend From: Klotz Jr, Dennis [mailto:[EMAIL PROTECTED] Subject: RE: context.xml my old friend So perhaps I need to file a bug on this I don't think you'll get very far. I installed the probe application, turned off autoDeploy, and started Tomcat. The probe app comes up as privileged, and that's specified only in its webapps/probe/META-INF/context.xml file. In other words, I can't reproduce your problem on a freshly installed 5.5.15 level. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: turning off sessions
Yep, JSPs automatically create sessions (part of the JSP spec certainly). To turn session off put %@ page session=false % in your JSP. Beware, that web frameworks such as struts may also create sessions for other purposes (eg, storing the locale). you may also turn this off Hope it helps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: turning off sessions
Thanks! Now I do remember seeing this. Been a long time since I have created a stateless application, I guess ;-) -Original Message- From: Ed [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 6:15 PM To: users@tomcat.apache.org Subject: RE: turning off sessions Yep, JSPs automatically create sessions (part of the JSP spec certainly). To turn session off put %@ page session=false % in your JSP. Beware, that web frameworks such as struts may also create sessions for other purposes (eg, storing the locale). you may also turn this off Hope it helps - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
anyway to disable undeploy link in manager app?
Is there a way to configure tomcat or the web app so that the tomcat manager disables the undeploy command for that application? I'd like to prevent some of my apps from being undeployed from the web manager. Thanks, Gary - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: UserTransaction, JOTM and Tomcat 5.5.x
On 2/7/06, Matt Raible [EMAIL PROTECTED] wrote: Thanks Remy - this is good stuff, I didn't know about the Transaction element. Is that new in 5.5.x? Is it documented anywhere? No. It's not useful to anyone (well, almost) either. As far as the JARs location - this shouldn't matter should it? I can put it in $CATALINA_HOME/common/lib *or* in WEB-INF/lib - right? No, it does not matter. I've tried changing my context, and moving all JARs/properties local to my WAR, but it still doesn't work. Can you post your WAR for download? dropload.com works for me if you can't post it somewhere. I am not doing anything special besides what I wrote. You have all the configuration files. -- x Rémy Maucherat Developer Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Calling Realm.authenticate() doesn't register Principal in with the Session??
Mark Thomas wrote: Ken Johanson wrote: Mark, are you saying that you agree, or disagree, with the usefulness of the idea? I am -0 to the idea as a whole. I don't see the point but am happy to proivde pointers where I can. Mark Okay - do you have any pointers for this need?: (please forgive me for possibly repeating what may have been mentioned earlier) -A third party API (that I'm writing, just as could anyone else) must be 'dropped in' to any recent Tomcat version; it must allow users of the API to authenticate (using only username and passwd) against whatever existing realm they have configured, without ANY changes to that realm's config or impl. This INSURES that any existing authentication code (form, jdbc) continues to work. -OR- if there is a way already without using the third party API, what is it? Say, something along the lines of setting request-context attributes, or beans props (beans being less ideal).. -Finally, the solution (existing or new) MUST allow code within a servlet, jsp, bean, or POJO, etc to pass ONLY a username + password, or alternatively only an X509Certificate, into some class who will simply return a true|false, or throw an exception on authentication failure. Hence, the idea allows more flexibility when additional layers are REQUIRED atop the authentication pre-processing. An example, would be to perform a database lookup of an email address(s) (entered into a login form's username field) and translate it into a Principal, is then passed into the webapp's preconfigured Realm. Ken - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: anyway to disable undeploy link in manager app?
Gary wrote: Is there a way to configure tomcat or the web app so that the tomcat manager disables the undeploy command for that application? I'd like to prevent some of my apps from being undeployed from the web manager. You know that you can limit the users who are authorized to access the manager application (by editing the conf/tomcat-users.xml file) -- might that be sufficient for your security needs? Glen Thanks, Gary - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: UserTransaction, JOTM and Tomcat 5.5.x
On 2/7/06, Remy Maucherat [EMAIL PROTECTED] wrote: On 2/7/06, Matt Raible [EMAIL PROTECTED] wrote: Thanks Remy - this is good stuff, I didn't know about the Transaction element. Is that new in 5.5.x? Is it documented anywhere? No. It's not useful to anyone (well, almost) either. Just curious - what do you mean? Are you saying that no one uses a JTA TransactionManager with Tomcat? Is it something you don't recommend? My guess is it's better to use a server like JBoss, Geronimo or JOnAS. Unfortunately, I have clients that aren't interested in moving off Tomcat. As far as the JARs location - this shouldn't matter should it? I can put it in $CATALINA_HOME/common/lib *or* in WEB-INF/lib - right? No, it does not matter. I've tried changing my context, and moving all JARs/properties local to my WAR, but it still doesn't work. Can you post your WAR for download? dropload.com works for me if you can't post it somewhere. I am not doing anything special besides what I wrote. You have all the configuration files. OK - then I must be missing something. It's probably so small I can't see it. ;-) I'm using an exploded dbtest WAR in webapps with 5.5.15 and OS X + JDK 5. In META-INF/context.xml, I have: Context reloadable=true Resource name=jdbc/myDB auth=Container type=javax.sql.DataSource factory=org.objectweb.jndi.DataSourceFactory driverClassName=org.hsqldb.jdbcDriver username=sa password= url=jdbc:hsqldb:./ Transaction name=UserTransaction auth=Container type=javax.transaction.UserTransaction factory=org.objectweb.jotm.UserTransactionFactory jotm.timeout=60/ /Context In WEB-INF/lib I have: commons-cli-1.0.jar commons-logging.jar connector-1_5.jar howl.jar hsqldb.jar jotm_iiop_stubs.jar jotm_jrmp_stubs.jar jotm.jar jta-spec1_0_1.jar jts1_0.jar objectweb-datasource.jar ow_carol.jar xapool.jar web.xml: ?xml version=1.0 encoding=UTF-8? web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; resource-env-ref descriptionDB Connection/description resource-env-ref-namejdbc/myDB/resource-env-ref-name resource-env-ref-type javax.sql.DataSource /resource-env-ref-type /resource-env-ref /web-app WEB-INF/classes/carol.properties: # JNDI (Protocol Invocation) carol.protocols=jrmp # do not use CAROL JNDI wrapper carol.start.jndi=false # do not start a name server carol.start.ns=false I'm using the DBTest and test.jsp from the example I pointed to earlier. When I hit test.jsp, I get: DBTest javax.naming.NameNotFoundException at org.objectweb.carol.jndi.enc.java.CompNamingContext.lookupCtx(CompNamingContext.java:689) at org.objectweb.carol.jndi.enc.java.CompNamingContext.lookup(CompNamingContext.java:179) at org.objectweb.carol.jndi.enc.java.JavaURLContext.lookup(JavaURLContext.java:138) at javax.naming.InitialContext.lookup(InitialContext.java:351) at foo.DBTest.init(DBTest.java:23) at org.apache.jsp.test_jsp._jspService(org.apache.jsp.test_jsp:52) Which is this line: (DataSource)ctx.lookup(java:comp/env/jdbc/myDB); I've uploaded my dbtest.war to http://static.raibledesigns.com/downloads/dbtest.war. Thanks for all your help so far. Matt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: newbie:access tomcat virtual host via apache
Dieter Schicker [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: If you can't mount / because you also run php on apache, you can afaik only mount specific directories of tomcat in Apache, e.g. http://foo.bar.com:8080/jsp-examples = http://foo.bar.com/jsp-examples. In Google you can find many examples for this configuration. Didi thx newbie question: how would you mount / ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: newbie:access tomcat virtual host via apache
I used Apache's mod_rewrite and some rewriting rules, like this: # This 'works' except that cookies are set by tomcat under /v31 (JSESSIONID) NameVirtualHost www.mysite.test:80 VirtualHost www.mysite.test:80 ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/mysite/v31 ServerName www.mysite.test ErrorLog logs/www.mysite.test-error_log CustomLog logs/www.mysite.test-access_log commonWithTime RewriteEngine on RewriteLog logs/rewrite.log RewriteLogLevel9 RewriteRule^/$ /index.jsp RewriteRule^/(.*).jsp /v31/$1.jsp [L,PT] RewriteRule^/servlet/(.*) /v31/servlet/$1 [L,PT] RewriteRule^/images/(.*) /v31/images/$1 [L] RewriteRule^/style/(.*)/v31/style/$1 [L] RewriteRule^/tag30/(.*)/v31/tag30/$1 [L] RewriteRule^/pdf/(.*) /v31/pdf/$1 [L] JkMount /servlet/*wlb JkMount /*.jspwlb /VirtualHost But the browser sees / as the context, not /v31, and the cookie belongs to /v31 and thus the browser doesn't send it on requests 2-n, and therefore you really don't have sesion tracking. Kind of useless ;-) Tim -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of matador Sent: Tuesday, February 07, 2006 9:00 PM To: users@tomcat.apache.org Subject: RE: newbie:access tomcat virtual host via apache Tim Lucia [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: A few weeks ago, I asked a similar question which went unanswered. Basically, I want to have the user request www.somewhere.com but have Apache forward that to tomcatserver:8009/someNonRootContext/ so I can have different versions, w/o exposing the context to the user. Rewriting works, except that cookies set in Tomcat are relative to /someNonRootContext and so the browser does not send them back on the next request. Tim ah, thats what i want to do but it sounds like thats not possible. can you explain how you set up the url rewriting thing? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Why JasperException Unable to compile
From the format of the error message, this is some version of Tomcat 3.3.x. To get more information, add the attribute debug=99 to the JspInterceptor / element in server.xml (and, of course, restart Tomcat :). [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Tomcatters, we run two Tomcats on two separate hosts which are assumed to be configured exactly the same (at least as far as Tomcat, Java env, and this webapp are concerned). I have no knwoledge of Tomcat webapps like JSPs and Jasper whatsoever (only administrating the server). While when the same query path of the URI is called from a client's browser against both hosts, and the same piece of JSP should get executed there, it works fine on one host whereas on the other Tomcat host we get a Jasper exception. Because of my lack of knowledge of Jasper I cannot find the source of the error where both Tomcat hosts could possibly deviate from one another. If it was a legacy CGI program or script I would know how to help myself. Here is the exception pass stack trace through the Jasper classes from the host where this particular request crashes, taken from its Tomcat log. Maybe any Java/Jasper knwoledgeable person can detect something from it? Maybe I could even raise the verbosity level (by somehow enabling debug mode) of Tomcat? Can this be done on a running Tomcat? How could I raise the logging level to Debug, maybe by passing the Java master thread some -D switch definition? But this would then require a Tomcat restart I suppose? Since I even lack the most basics of JSP (thought it was only some sort of templating/embedding of Java code in ordinary XHTML) I am not even familiar with when and how the Java source gets compiled and thus could produce the below Jasper exception (it simply suggests a wrong invocation of the Java compiler, as it looks) Wasn't it that servlets or JSP got only compiled the first time they were executed by the servlet engine, and thereafter remain resident in memory? Excerpt from Tomcat log, where the Jasper exception is thrown: 1343 2006-02-07 13:59:46 - Ctx(/OurTool) : Exception in R( /OurTool + /someTrash/rotten.jsp + null) - org.apache.jasper.JasperException: Unable to compile Usage: jsp-javac options source files 1344 1345 where options includes: 1346-g Generate all debugging info 1347-g:noneGenerate no debugging info 1348-g:{lines,vars,source} Generate only some debugging info 1349-O Optimize; may hinder debugging or enlarge class files 1350-nowarnGenerate no warnings 1351-verbose Output messages about what the compiler is doing 1352-deprecation Output source locations where deprecated APIs are used 1353-classpath path Specify where to find user class files 1354-sourcepath path Specify where to find input source files 1355-bootclasspath path Override location of bootstrap class files 1356-extdirs dirsOverride location of installed extensions 1357-d directory Specify where to place generated class files 1358-encoding encoding Specify character encoding used by source files 1359-target release Generate class files for specific VM version 1360 1361 at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java: 898) 1362 at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspIntercep tor.java:733) 1363 at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor .java:506) 1364 at org.apache.tomcat.core.ContextManager.processRequest(ContextManag er.java:968) 1365 at org.apache.tomcat.core.ContextManager.internalService(ContextMana ger.java:875) 1366 at org.apache.tomcat.core.ContextManager.service(ContextManager.java :833) 1367 at org.apache.tomcat.modules.server.Http10Interceptor.processConnect ion(Http10Interceptor.java:176) 1368 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint. java:494) 1369 at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thr eadPool.java:516) 1370 at java.lang.Thread.run(Thread.java:534) Rgds Ralph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Virtual Directory
From: sumesh [mailto:[EMAIL PROTECTED] Subject: Virtual Directory How can I create a Virtual Directory in Apache Tomcat? I have installed tomcat in C:\Program Files\Apache Group\Tomcat 4.1 and I have some Tutorials in E:\Tutorial .I want to publish the same using the same Web Server.How can I do that If you're just starting out with Tomcat, you should probably use the current version (5.5.15) rather than something that's over a year old and does not implement the current servlet spec. It's also risky to install Tomcat in a directory path with spaces in the names - creates confusion for lots of programs and scripts. With the current Tomcat level, create a file called [desired_app_name].xml in the conf/Catalina/localhost directory. Within that file, put in a Context tag with the docBase attribute set to E:\Tutorial. You should now be able to reference the tutorial pages via the URI: http://[your_site_name]/[desired_app_name]/[page_name].html I've never used 4.1, so I don't know if the above is applicable to that level. You may have to put your Context tag inside conf/server.xml instead, and you will then need a path attribute to specify [desired_app_name]. Take a look at: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html http://tomcat.apache.org/tomcat-4.1-doc/config/context.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Having problem with special characters
Hello, Please help I have to tomcat servers. Same version of OS fedora 4 and apache-tomcat-5.5.15 this is driving me crazy i am in a form, it calls a servlet and the servlet writes a file the character i am trying to write is £ on one machine it writes a £ but on the other machine it writes a £ the form posts directly to the servlet any ideas. not sure even where to start Thanks Randy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
get element by long name
in my jsp, there is something like: html:text property=plateDetail.name value=${plateDetailEditForm.plateDetail.name} / How can I get this element in javascript? the following code does not work: var name = document.getElementByName(plateDetail.name).value; I think it is because there is a '.' in the name. Any idea? Thanks, qq __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Disable Low stregth encryption in Tomcat 4.1.30
Hi All, I am using Tomcat 4.1.30 stand-alone with j2re1.4.2_04 to serve HTTPS connections. I would like to disable the support for low encryption ciphers like SSL_RSA_EXPORT_WITH_RC4_40_MD5. I have seen from the following page that these are the supported ciphers: http://java.sun.com/j2se/1.4.2/docs/guide/security/jsse/JSSERefGuide.html I would only like to maintain support for Medium and High encryption ciphers which range with a strength of = 128. I looked at the attributes that Tomcat 4.1 uses and it doesn't have the cipher attribute which I could use to force the encryption suite to use. I am not looking to upgrade my Tomcat anytime soon. Any ideas would be greatly appreciated. Feel free to correct me if I am also taking the wrong way of solving this problem. Main goal here is to disable the support for any Low Encryption on the Tomcat server. This is for added security. Regards, reyus1
RotateLogs in Apache 2.0
Hi I need to rotate logs in apache 2.0 once they reach the size limit of 5 MB. What commands would work to carry out the reqd. job? Thanks Nehal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RotateLogs in Apache 2.0
From: Nehal Sangoi [mailto:[EMAIL PROTECTED] Subject: RotateLogs in Apache 2.0 I need to rotate logs in apache 2.0 once they reach the size limit of 5 MB. What commands would work to carry out the reqd. job? Why would you be asking an Apache httpd question on the Apache Tomcat mailing list? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RotateLogs in Apache 2.0
My Apologies !! - Nehal -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 11:47 AM To: Tomcat Users List Subject: RE: RotateLogs in Apache 2.0 From: Nehal Sangoi [mailto:[EMAIL PROTECTED] Subject: RotateLogs in Apache 2.0 I need to rotate logs in apache 2.0 once they reach the size limit of 5 MB. What commands would work to carry out the reqd. job? Why would you be asking an Apache httpd question on the Apache Tomcat mailing list? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: anyway to disable undeploy link in manager app?
Is there a way to configure tomcat or the web app so that the tomcat manager disables the undeploy command for that application? I'd like to prevent some of my apps from being undeployed from the web manager. you can do this by changing the source code. you have to change the following constants in org.apache.catalina.manager.HTMLManagerServlet.java private static final String STARTED_APPS_ROW_BUTTON_SECTION = private static final String STOPPED_APPS_ROW_BUTTON_SECTION = you can delete the undeploy link from there. thankx, amila.
WG: Tomcat Administrator Web Application was not found
Hello! I've installed the Tomcat 5.5.15 on RedHat 4 working with Java 1.5.06 (Core + Administration Web Application). The Core + Administration Web Application were unpacked in the same directory. The installation was successfull, so that I can see the Tomcat Welcome-Page in the browser. I have access to the Manager and the Status Report, instead of the Administration Web Application (Tomcat Administration). I get the following message: Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. I don't understand it. The Administration Web Application is unpacked and the files are in the correct directories. What can I do to make it working? Yours sincerely Andrè Döking Ärztekammer Westfalen-Lippe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Antwort: WG: Tomcat Administrator Web Application was not found
Hello! Sorry, after stoping the service, deleting the contents of the working directory of Tomcat and starting the service, it seems that it is still don't working. But after reloading the page in Mozilla Firefox I can see the Administration Web Application. Yours sincerely Andrè Döking Ärztekammer Westfalen-Lippe Andre Doeking [EMAIL PROTECTED] kwl.deAn users@tomcat.apache.org 08.02.2006 08:30Kopie Thema Bitte antworten WG: Tomcat Administrator Web an Application was not found Tomcat Users List [EMAIL PROTECTED] che.org Hello! I've installed the Tomcat 5.5.15 on RedHat 4 working with Java 1.5.06 (Core + Administration Web Application). The Core + Administration Web Application were unpacked in the same directory. The installation was successfull, so that I can see the Tomcat Welcome-Page in the browser. I have access to the Manager and the Status Report, instead of the Administration Web Application (Tomcat Administration). I get the following message: Tomcat's administration web application is no longer installed by default. Download and install the admin package to use it. I don't understand it. The Administration Web Application is unpacked and the files are in the correct directories. What can I do to make it working? Yours sincerely Andrè Döking Ärztekammer Westfalen-Lippe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]