Tomcat Log4j Log Level Configuration
How do I configure Tomcat or Log4J to change the log level output during runtime? Anybody already done this successfully with Tomcat 5.5.9? -- My Blogs http://jojopaderes.blogspot.com Google Talk http://www.google.com/talk (ID: jojo.paderes) In preparing for battle I have always found that plans are useless, but planning is indispensable. - Eisenhower - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat SSL Cipher Configuration
Hi, I'm looking for some decent documentation and technical reference on how to configure Tomcat's SSL cipher. Say for example I want Tomcat to support a specific SSL cipher suite like Triple DES. Hope someone has done something like this already. I'm using Tomcat 5.5 btw. Thanks, Jojo -- http://jojopaderes.multiply.com http://agilemanifesto.org In preparing for battle I have always found that plans are useless, but planning is indispensable. - Eisenhower - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem Locating JAAS Config File in Tomcat 5.5.x
Hi, We are having problems running a servlet providing JAAS to our web application. We are using Tomcat 5.5.x and JVM 1.4.2. We can't seem to make the JAAS servlet run because Tomcat can't find the JAAS config file which we've already specified in the JAVA_OPTS env variable. We are referring to this document to setup our JAAS servlet: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm regards, jOjO -- My Blogs http://www.jroller.com/page/jojopaderes/blog Pinoy Tech Scene http://pinoytechscene.mparaz.com PinoyJUG http://www.pinoyjug.ph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Setting Context Path of Webapp as Root on Tomcat 5.5.3
Hi, Is there a way to set a webapp to use the root context path in Tomcat 5.5.3. For example, I want to access by webapp named mywebapp by using this url: http://mydomain.com/ instead of this: http://mydomain.com/mywebapp/ In a J2EE EAR file, I can set the webapp to use the root context path by setting the context-root value to /. I'm looking for a similar way on WAR file deployed on Tomcat. I was able to do this by just renaming my webapp to ROOT, but I prefer something else. Any suggestions? regards, jOjO -- My Blogs http://www.jroller.com/page/jojopaderes/blog Pinoy Tech Scene http://pinoytechscene.mparaz.com PinoyJUG http://www.pinoyjug.ph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Setting Context Path of Webapp as Root on Tomcat 5.5.3
Here's my context.xml file: Context displayName=My Web App path= docBase=mywebapp.war reloadable=true useNaming=true debug=5 unpackWAR=true /Context Seems to be not working either. When I access the root context (http://localhost), I still get the Tomcat default page and not my webapp's index page. I'm deploying my webapp on a default Tomcat 5.5.3 setup. I will try this on 5.5.4. Am I missing something here like some configurations on the server.xml or web.xml under $CATALINA_HOME/conf/? The simplest solution, as Nick suggested, is to rename my webapp WAR file to ROOT.war. I'm looking at a solution similar on a typical EAR file deployment on a J2EE app (i.e. Jboss) where I can specify my webapp to use the root context path in the application.xml file. On Fri, 5 Nov 2004 13:00:15 +0100, Nick Pellow [EMAIL PROTECTED] wrote: Hi Jojo, I wanted to do the same as you. I got it to work, when the context path is the empty string . ie. Context path= docBase=myrootapp.war What however was annoying, was that tomcat then unpacks this war in a directory called ROOT. Hence, when you restart tomcat, it deploys the webapp under ROOT with context of /, *and*, the webapp called myrootapp.war with context of /myrootapp . Problem was, that I have my META-INF/context.xml in myrootapp. This seems to cause a lot of confusion for tomcat. The cleanest solution I found, was to call myrootapp.war ROOT.war... I would like to know a neater solution if there is one.. Cheers, nick -Ursprungliche Nachricht- Von: Jojo Paderes [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 5. November 2004 12:45 An: [EMAIL PROTECTED] Betreff: Setting Context Path of Webapp as Root on Tomcat 5.5.3 Hi, Is there a way to set a webapp to use the root context path in Tomcat 5.5.3. For example, I want to access by webapp named mywebapp by using this url: http://mydomain.com/ instead of this: http://mydomain.com/mywebapp/ In a J2EE EAR file, I can set the webapp to use the root context path by setting the context-root value to /. I'm looking for a similar way on WAR file deployed on Tomcat. I was able to do this by just renaming my webapp to ROOT, but I prefer something else. Any suggestions? regards, jOjO - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Setting Context Path of Webapp as Root on Tomcat 5.5.3
I got it to work by adding a Context entry in the $CATALINA_HOME/conf/server.xml file. I added this entry inside the default Host element: . . . Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context displayName=mywebapp path= docBase=mywebapp /Context . . . It's working with this configuration on Tomcat 5.5.3 and 5.5.4. I can now view the index page of my web app. Thanks for all those who replied! :) On Fri, 5 Nov 2004 12:48:18 -, Steve Kirk [EMAIL PROTECTED] wrote: This was answered on this list last week. So it's in the archive: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] pache.org From memory I think you get rid of the ROOT webapp and set the context path of mywebapp to / ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Setting Context Path of Webapp as Root on Tomcat 5.5.3
Hi Remy, Would this mean that the path and docBase attributes are of no use when configured in the META-INF/context.xml in WAR files? If that is the case, then we need to set these attributes in the $CATALINA_HOME/conf/server.xml if we want to customize the context path of our web apps. regards, jOjO On Fri, 5 Nov 2004 13:41:54 +0100, Remy Maucherat [EMAIL PROTECTED] wrote: Since the path attribute is redundant information, it is ignored in context.xml files. Same for docBase in many cases. Please do not open a bug report about this, or propose switching back to the old behavior. -- 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]