Re: Why can the JSESSIONID name not be changed?
Christopher Schultz-2 wrote: > > And why only in MSIE? > > Stefan also needs to understand that these cookies also have "paths" > encoded into them, so that that do not interfere (as long as the paths > themselves do not interfere). > > - -chris > MSIE processes the "paths" differently than Gecko based browsers. MSIE returns the a less specifc session cookie first. All the other browsers return the most specific cookie first. Two webapps CAN interfere with each other, under MSIE: See: http://www.obviously.com/tech_tips/jsessionid_msie.html -- View this message in context: http://www.nabble.com/Why-can-the-JSESSIONID-name-not-be-changed--tf532684.html#a7713586 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Catching startup errors with jsvc
Anyone? On 10/24/06, Cyber Dog <[EMAIL PROTECTED]> wrote: I'm running Tomcat 5.5.20 with JSVC on Redhat, and I'm having trouble catching startup errors. Say I have an invalid server.xml. If I run catalina directly, it throws errors and immediately dies, as expected. The problem is when I run via jsvc, jsvc keeps running and I doesn't catch the errors. Running with debug on, I see output as follows: [Catalina throws errors on bad config] INFO: Server startup in 0 ms 24/10/2006 13:41:36 16677 jsvc.exec debug: Daemon started successfully 24/10/2006 13:41:36 16677 jsvc.exec debug: Waiting for a signal to be delivered 24/10/2006 13:41:36 16677 jsvc.exec debug: create_tmp_file: /tmp/16677.jsvc_up 24/10/2006 13:41:36 16673 jsvc.exec debug: get_pidf: 5 in /var/run/jsvc.pid 24/10/2006 13:41:36 16673 jsvc.exec debug: get_pidf: pid 16677 24/10/2006 13:41:36 16673 jsvc.exec debug: check_tmp_file: /tmp/16677.jsvc_up Yet it clearly did not start successfully. When I run ps I see jsvc still indeed running. How can I know when Tomcat startup errors occur of jsvc ignores them? Thanks- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Webapp with Adminstrative Console
> From: chuanjiang lo [mailto:[EMAIL PROTECTED] > Subject: Re: Webapp with Adminstrative Console > > Looks like the tag is the easiest solution > of all but JMX seems interesting and i can learn something > new but is it possible to do without Spring? Yes, Tomcat uses JMX internally to manage itself. Look at the source code for the admin app, for example. Looking at the LambdaProbe code might be another way to learn how it's used with Tomcat. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Webapp with Adminstrative Console
On 12/6/06, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: You could also use JMX to change configuration at runtime. Spring has nice JMX support. Looks like the tag is the easiest solution of all but JMX seems interesting and i can learn something new but is it possible to do without Spring?
Re: Redirect in Tomcat 5.5 Not Working
"Latesha Williams" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > We are running Tomcat 5.5.20 as a standalone web server for a > third-party's web and servlet applications. On this server (Linux), > Iptables is redirecting ports 80 to 8080 and 443 to 8443 (to run Tomcat as > regular user.) In addition, we are interested in configuring Tomcat so > that requests to port 8080 (default ports for both applications) are > automatically redirected to port 8443. > > After performing the following steps below, the redirect does not work. In > a web browser, both ports (8080 & 8443) can be accessed directly, but only > want port 8443 available for use. Any ideas on how to fix are > appreciated. > > (1) Created a self-signed certificate and changed the default keystore > pasword. > > (2) Un-commented the SSL HTTP/1.1 Connector section in server.xml (see > below). > >maxThreads="150" minSpareThreads="25" maxSpareThreads="75" > enableLookups="false" disableUploadTimeout="true" > acceptCount="100" scheme="https" secure="true" > clientAuth="false" sslProtocol="TLS" >keystoreFile="/some/file/path" >keystorePass="somepassword" /> > > (3) In file, $CATALINA_HOME/conf/web.xml, added the following: > > > >Entire Application >* This should be /* >GET >POST > > >CONFIDENTIAL > > > > (4)Restarted Tomcat. > > -- > Latesha Williams > Applications Support, Information Technology > American Museum of Natural History > [EMAIL PROTECTED] > 212.769.5947 > 917.837.2460 > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Minimum requirement to run/test the Tomcat Cluster
Hi, I would like to have a run/test with the Tomcat Cluster. Is that possible to setup the Tomcat Cluster without changing the DNS server, for the DNS Round Robin feature? I am wondering the functionality like load balancing and URL redirect within Tomcat itself might be able to support/configure for this purpose. Does Tomcat failover detection purely rely on DNS Round Robin? Any simplest and workable sample would be much appreciated. Dong - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSP pre-compilation at start-up
Thank you ! It helps, too ! 2006/12/6, Rashmi Rubdi <[EMAIL PROTECTED]>: I would like to add a few things to what Tracy mentioned. You'll need the Jasper ant task. It's very easy to set-up all instructions are here at the bottom of this http://tomcat.apache.org/tomcat-4.1-doc/jasper-howto.html When you use this Ant task, it first creates Java files of all JSPs and then it compiles the Java files to Class files. Also it modifies web.xml the one under your project's WEB-INF folder, and adds *all* compiled JSP class files to this. That's why it makes sense to have 2 separate build directories, so that you keep web.xml modified by JSPC separate from the original web.xml meant for your project. so __source\WEB-INF\web.xml will be your original web.xml and 01build\WEB-INF\web.xml will be the one modified by JSPC -Rashmi - Original Message From: Pierre Goupil <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Tuesday, December 5, 2006 6:05:07 PM Subject: Re: JSP pre-compilation at start-up 2006/12/6, Nelson, Tracy <[EMAIL PROTECTED]>: > > Hmmm, I actually don't use Eclipse any more, so I can't check. It might > have been part of the MyEclipse set of tools. There's a WebTools plugin > available that looks like it might do it (actually, it's kind of hard to > tell *what* it does). Yes, I agree. And on my computer, WTP doesn't work at all ! lol Easiest thing to do would just be to set up an Ant task for it. Check out > the task. Make that a dependency of your build task and you should > be all set. OK, I'll give it a try. Bon chance! Merci ! ;-) --- > Tracy Nelson / Nelnet Business Solutions > 402 / 617-9449 > > | -Original Message- > | From: Pierre Goupil [mailto:[EMAIL PROTECTED] > | Sent: Tuesday, 05 December, 2006 16:40 > | To: Tomcat Users List > | Subject: Re: JSP pre-compilation at start-up > | > | Really ? Eclipse does that ? How do you have it doing so, please tell me > ? > | > | > | Regards, > | > | > | Pierre > | > | > | > | 2006/12/5, Nelson, Tracy <[EMAIL PROTECTED]>: > | > > | > The IDEs I've used (Eclipse, NetBeans) usually offer this as part of > the > | > packaging step. I don't know if Tomcat can/will do that on > deployment. > | > > | > --- > | > Tracy Nelson / Nelnet Business Solutions > | > 402 / 617-9449 > | > > | > | From: Pierre Goupil [mailto:[EMAIL PROTECTED] > | > | Sent: Tuesday, 05 December, 2006 16:01 > | > | > | > | My question : is there a way to do this so-called pre-compilation, > not > | > the > | > | first time the page is asked but at the server / webapp launch ? > | > > | > The information contained in this message is confidential > | > proprietary property of FACTS/Nelnet Business Solutions. Any > | reproduction, > | > forwarding, or copying without the express > | > permission of FACTS/Nelnet Business Solutions is strictly prohibited. > If > | > you have > | > received this communication in error, please notify us > | > immediately by replying to this e-mail. > | > > | > > | > - > | > To start a new topic, e-mail: users@tomcat.apache.org > | > To unsubscribe, e-mail: [EMAIL PROTECTED] > | > For additional commands, e-mail: [EMAIL PROTECTED] > | > > | > > | > | > | -- > | "L'une des raisons pour lesquelles la vie est complexe > | C'est qu'elle a une partie réelle et une partie imaginaire." > > The information contained in this message is confidential > proprietary property of FACTS/Nelnet Business Solutions. Any reproduction, > forwarding, or copying without the express > permission of FACTS/Nelnet Business Solutions is strictly prohibited. If > you have > received this communication in error, please notify us > immediately by replying to this e-mail. > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "L'une des raisons pour lesquelles la vie est complexe C'est qu'elle a une partie réelle et une partie imaginaire." Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- "L'une des raisons pour lesquelles la vie est complexe C'est qu'elle a une partie réelle et une partie imaginaire."
Re: JSP pre-compilation at start-up
I would like to add a few things to what Tracy mentioned. You'll need the Jasper ant task. It's very easy to set-up all instructions are here at the bottom of this http://tomcat.apache.org/tomcat-4.1-doc/jasper-howto.html When you use this Ant task, it first creates Java files of all JSPs and then it compiles the Java files to Class files. Also it modifies web.xml the one under your project's WEB-INF folder, and adds *all* compiled JSP class files to this. That's why it makes sense to have 2 separate build directories, so that you keep web.xml modified by JSPC separate from the original web.xml meant for your project. so __source\WEB-INF\web.xml will be your original web.xml and 01build\WEB-INF\web.xml will be the one modified by JSPC -Rashmi - Original Message From: Pierre Goupil <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Tuesday, December 5, 2006 6:05:07 PM Subject: Re: JSP pre-compilation at start-up 2006/12/6, Nelson, Tracy <[EMAIL PROTECTED]>: > > Hmmm, I actually don't use Eclipse any more, so I can't check. It might > have been part of the MyEclipse set of tools. There's a WebTools plugin > available that looks like it might do it (actually, it's kind of hard to > tell *what* it does). Yes, I agree. And on my computer, WTP doesn't work at all ! lol Easiest thing to do would just be to set up an Ant task for it. Check out > the task. Make that a dependency of your build task and you should > be all set. OK, I'll give it a try. Bon chance! Merci ! ;-) --- > Tracy Nelson / Nelnet Business Solutions > 402 / 617-9449 > > | -Original Message- > | From: Pierre Goupil [mailto:[EMAIL PROTECTED] > | Sent: Tuesday, 05 December, 2006 16:40 > | To: Tomcat Users List > | Subject: Re: JSP pre-compilation at start-up > | > | Really ? Eclipse does that ? How do you have it doing so, please tell me > ? > | > | > | Regards, > | > | > | Pierre > | > | > | > | 2006/12/5, Nelson, Tracy <[EMAIL PROTECTED]>: > | > > | > The IDEs I've used (Eclipse, NetBeans) usually offer this as part of > the > | > packaging step. I don't know if Tomcat can/will do that on > deployment. > | > > | > --- > | > Tracy Nelson / Nelnet Business Solutions > | > 402 / 617-9449 > | > > | > | From: Pierre Goupil [mailto:[EMAIL PROTECTED] > | > | Sent: Tuesday, 05 December, 2006 16:01 > | > | > | > | My question : is there a way to do this so-called pre-compilation, > not > | > the > | > | first time the page is asked but at the server / webapp launch ? > | > > | > The information contained in this message is confidential > | > proprietary property of FACTS/Nelnet Business Solutions. Any > | reproduction, > | > forwarding, or copying without the express > | > permission of FACTS/Nelnet Business Solutions is strictly prohibited. > If > | > you have > | > received this communication in error, please notify us > | > immediately by replying to this e-mail. > | > > | > > | > - > | > To start a new topic, e-mail: users@tomcat.apache.org > | > To unsubscribe, e-mail: [EMAIL PROTECTED] > | > For additional commands, e-mail: [EMAIL PROTECTED] > | > > | > > | > | > | -- > | "L'une des raisons pour lesquelles la vie est complexe > | C'est qu'elle a une partie réelle et une partie imaginaire." > > The information contained in this message is confidential > proprietary property of FACTS/Nelnet Business Solutions. Any reproduction, > forwarding, or copying without the express > permission of FACTS/Nelnet Business Solutions is strictly prohibited. If > you have > received this communication in error, please notify us > immediately by replying to this e-mail. > > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "L'une des raisons pour lesquelles la vie est complexe C'est qu'elle a une partie réelle et une partie imaginaire." Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JSP pre-compilation at start-up
2006/12/6, Nelson, Tracy <[EMAIL PROTECTED]>: Hmmm, I actually don't use Eclipse any more, so I can't check. It might have been part of the MyEclipse set of tools. There's a WebTools plugin available that looks like it might do it (actually, it's kind of hard to tell *what* it does). Yes, I agree. And on my computer, WTP doesn't work at all ! lol Easiest thing to do would just be to set up an Ant task for it. Check out the task. Make that a dependency of your build task and you should be all set. OK, I'll give it a try. Bon chance! Merci ! ;-) --- Tracy Nelson / Nelnet Business Solutions 402 / 617-9449 | -Original Message- | From: Pierre Goupil [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 05 December, 2006 16:40 | To: Tomcat Users List | Subject: Re: JSP pre-compilation at start-up | | Really ? Eclipse does that ? How do you have it doing so, please tell me ? | | | Regards, | | | Pierre | | | | 2006/12/5, Nelson, Tracy <[EMAIL PROTECTED]>: | > | > The IDEs I've used (Eclipse, NetBeans) usually offer this as part of the | > packaging step. I don't know if Tomcat can/will do that on deployment. | > | > --- | > Tracy Nelson / Nelnet Business Solutions | > 402 / 617-9449 | > | > | From: Pierre Goupil [mailto:[EMAIL PROTECTED] | > | Sent: Tuesday, 05 December, 2006 16:01 | > | | > | My question : is there a way to do this so-called pre-compilation, not | > the | > | first time the page is asked but at the server / webapp launch ? | > | > The information contained in this message is confidential | > proprietary property of FACTS/Nelnet Business Solutions. Any | reproduction, | > forwarding, or copying without the express | > permission of FACTS/Nelnet Business Solutions is strictly prohibited. If | > you have | > received this communication in error, please notify us | > immediately by replying to this e-mail. | > | > | > - | > To start a new topic, e-mail: users@tomcat.apache.org | > To unsubscribe, e-mail: [EMAIL PROTECTED] | > For additional commands, e-mail: [EMAIL PROTECTED] | > | > | | | -- | "L'une des raisons pour lesquelles la vie est complexe | C'est qu'elle a une partie réelle et une partie imaginaire." The information contained in this message is confidential proprietary property of FACTS/Nelnet Business Solutions. Any reproduction, forwarding, or copying without the express permission of FACTS/Nelnet Business Solutions is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this e-mail. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- "L'une des raisons pour lesquelles la vie est complexe C'est qu'elle a une partie réelle et une partie imaginaire."
RE: JSP pre-compilation at start-up
Hmmm, I actually don't use Eclipse any more, so I can't check. It might have been part of the MyEclipse set of tools. There's a WebTools plugin available that looks like it might do it (actually, it's kind of hard to tell *what* it does). Easiest thing to do would just be to set up an Ant task for it. Check out the task. Make that a dependency of your build task and you should be all set. Bon chance! --- Tracy Nelson / Nelnet Business Solutions 402 / 617-9449 | -Original Message- | From: Pierre Goupil [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 05 December, 2006 16:40 | To: Tomcat Users List | Subject: Re: JSP pre-compilation at start-up | | Really ? Eclipse does that ? How do you have it doing so, please tell me ? | | | Regards, | | | Pierre | | | | 2006/12/5, Nelson, Tracy <[EMAIL PROTECTED]>: | > | > The IDEs I've used (Eclipse, NetBeans) usually offer this as part of the | > packaging step. I don't know if Tomcat can/will do that on deployment. | > | > --- | > Tracy Nelson / Nelnet Business Solutions | > 402 / 617-9449 | > | > | From: Pierre Goupil [mailto:[EMAIL PROTECTED] | > | Sent: Tuesday, 05 December, 2006 16:01 | > | | > | My question : is there a way to do this so-called pre-compilation, not | > the | > | first time the page is asked but at the server / webapp launch ? | > | > The information contained in this message is confidential | > proprietary property of FACTS/Nelnet Business Solutions. Any | reproduction, | > forwarding, or copying without the express | > permission of FACTS/Nelnet Business Solutions is strictly prohibited. If | > you have | > received this communication in error, please notify us | > immediately by replying to this e-mail. | > | > | > - | > To start a new topic, e-mail: users@tomcat.apache.org | > To unsubscribe, e-mail: [EMAIL PROTECTED] | > For additional commands, e-mail: [EMAIL PROTECTED] | > | > | | | -- | "L'une des raisons pour lesquelles la vie est complexe | C'est qu'elle a une partie réelle et une partie imaginaire." The information contained in this message is confidential proprietary property of FACTS/Nelnet Business Solutions. Any reproduction, forwarding, or copying without the express permission of FACTS/Nelnet Business Solutions is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this e-mail. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
On Tue, Dec 05, 2006 at 09:06:43PM +0100, Leon Rosenberg wrote: > On 12/5/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: > >Apparently, very few responders realized what you were asking. > >Just in case it's not clear, Enrico is asking about Tomcat on Gentoo > >specifically, and it looks like he'd prefer to use the package manager > >which is called portage. > Oh, I think most of us understood that. However what most of us do not > understand, is why he's wishing to use the gentoo packages, despite > downloading it from source is proven to solve 90% of configuration and > dependency problems :-) Well, it seems quite understandable to me. Installing from source in a controlled-package environment like gentoo has side effects. One is, you just f'ed up your system security controls. Another is, you no longer have a clean, easily identifiable set of installed software. When I first started using linux, lo these many years ago, I kept a list of software versions and updates on index cards -- it was the only way I could keep track of what I had updated and when. "Configure, make && make install" has its charms, but as as method of maintaining an entire system, it is decidedly not best. And, anybody who has used linux for any length of time has been through the "dependency hell" of recursively installing and updating libraries in order to get some "needed" software to compile. I used gentoo for a while a couple of years ago. It has a very nice package management system. It's extremely flexible from a security standpoint and allows you to build a good, secure system. But, as Enrico is finding out, it is not best for a development machine. You can't depend on others to update the packages on your timetable. And creating a gentoo package is a nontrivial pursuit. That is why I am a Slackware user more or less continuously for nearly 10 years. Heh, I just can't break that "configure, make && make install" habit. Worse than cigarettes. Thanks. mp -- Michael Powe[EMAIL PROTECTED] Naugatuck CT USA "No provision in our Constitution ought to be dearer to man than that which protects the rights of conscience against the enterprises of the civil authority." -- Thomas Jefferson to New London Methodists, 1809. ME 16:332 pgpuckHaNsmBq.pgp Description: PGP signature
Re: JSP pre-compilation at start-up
Really ? Eclipse does that ? How do you have it doing so, please tell me ? Regards, Pierre 2006/12/5, Nelson, Tracy <[EMAIL PROTECTED]>: The IDEs I've used (Eclipse, NetBeans) usually offer this as part of the packaging step. I don't know if Tomcat can/will do that on deployment. --- Tracy Nelson / Nelnet Business Solutions 402 / 617-9449 | From: Pierre Goupil [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 05 December, 2006 16:01 | | My question : is there a way to do this so-called pre-compilation, not the | first time the page is asked but at the server / webapp launch ? The information contained in this message is confidential proprietary property of FACTS/Nelnet Business Solutions. Any reproduction, forwarding, or copying without the express permission of FACTS/Nelnet Business Solutions is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this e-mail. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- "L'une des raisons pour lesquelles la vie est complexe C'est qu'elle a une partie réelle et une partie imaginaire."
RE: tomcat w/o commercial crap
| From: Owen Cumpson [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 05 December, 2006 13:11 | | 1. Download and install yourself | or | 2. Use the Gentoo forums to find out the Gentoo installation is pulling | in those deps. FWIW, the Gentoo Tomcat Guide has a note that says "Tomcat 5.x versions have allot [sic] of questionable dependencies. Tomcat calls them optional core packages." So it seems that the Gentoo package maintainers are installing a lot of packages that probably aren't included with a standard set-up. I also note that they have seriously reconfigured Tomcat to comply with "FHS" (?) as well as Gentoo standards. If you're just doing this for fun, then have at. But if you're doing this for money, I'd strongly recommend downloading a standard Tomcat distribution and installing it in a standard location. You'll have a lot fewer headaches and be much more likely to find other people who have a similar setup who might be able to help if you have problems. The information contained in this message is confidential proprietary property of FACTS/Nelnet Business Solutions. Any reproduction, forwarding, or copying without the express permission of FACTS/Nelnet Business Solutions is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this e-mail. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JSP pre-compilation at start-up
The IDEs I've used (Eclipse, NetBeans) usually offer this as part of the packaging step. I don't know if Tomcat can/will do that on deployment. --- Tracy Nelson / Nelnet Business Solutions 402 / 617-9449 | From: Pierre Goupil [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 05 December, 2006 16:01 | | My question : is there a way to do this so-called pre-compilation, not the | first time the page is asked but at the server / webapp launch ? The information contained in this message is confidential proprietary property of FACTS/Nelnet Business Solutions. Any reproduction, forwarding, or copying without the express permission of FACTS/Nelnet Business Solutions is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this e-mail. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to create global resources on the fly?
My project's ant build.xml takes a 'master context' file and customizes by build type -- dev, production, qa, etc., by taking a list of datasources (properties) and applying it to the master context using the task. Creating META-INF/context.xml from 'datasources-${build.type}.properties' HTH, Tim > -Original Message- > From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED] > Sent: Monday, December 04, 2006 10:53 AM > To: users@tomcat.apache.org > Subject: How to create global resources on the fly? > > Hi, > > There's one thing I don't like in Tomcat: I have to edit server.xml file > to add new global resources (i.e. data ource definition). It's not a big > problem on a production, one doesn't change such things often. But on > developement server it's quite annoing. > > I don't want to put datasource definition inside META-INF/context.xml. > There's already resourceLink there (in my case). Sure, I could have two > versions of context.xml, one for production and the other for dev, > but... but I dont't want to change that ;-) > > I'd like to be able to: place a small xml file (i.e. resource > definition, exactly like in the server.xml) in some directory watched by > Tomcat, and Tomcat to 'deploy' it (create a datasource, mail session, > etc). Just like it do with resource elements. I think that JBoss has > that feature, but it's too heavy for my needs. > > I have tried and it is possible to create new datasources via JMX, > without restarting Tomcat. > > Is there such a tool or I have to write it? ;-) > > There're some promising entries in the server.xml file: > >className="org.apache.catalina.mbeans.ServerLifecycleListener" /> >className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> >className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/> > > What do you think? > > -- > Mikolaj Rydzewski <[EMAIL PROTECTED]> - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Webapp with Adminstrative Console
chuanjiang lo wrote: I am having a web application that have some config files(.ini) that contains some settings so that during runtime the servlet would take the settings from the config file and perform some action. Together with the web application, there is an adminstrator console that allows user to change the settings of the config file . I realize that if the config file is changed, i would need to restart Tomcat as such my servlet would read in the changed settings. I'd redesign the app. Of course you'll need time and source code for this ;-) Since you're using a servlet to read config files, just map it to some URL and call it to reload configuration. You could also use JMX to change configuration at runtime. Spring has nice JMX support. -- Mikolaj Rydzewski <[EMAIL PROTECTED]>http://ceti.pl/~miki/ PGP KeyID: 8b12ab02 There are three kinds of people: men, women and unix. smime.p7s Description: S/MIME Cryptographic Signature
JSP pre-compilation at start-up
Hello all ! I think that Tomcat pre-compiles its webapps' JSPs the first time they are asked. Or at least, it somehow manages to serve the pages faster once they've been asked a first time. My question : is there a way to do this so-called pre-compilation, not the first time the page is asked but at the server / webapp launch ? Regards, Pierre -- "L'une des raisons pour lesquelles la vie est complexe C'est qu'elle a une partie réelle et une partie imaginaire."
RE: tomcat w/o commercial crap
> From: Jon Miller [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat w/o commercial crap > > Sounds like you might want to switch to Windows. Maybe that's > more your speed. Insert knife, twist... - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Webapp with Adminstrative Console
> From: chuanjiang lo [mailto:[EMAIL PROTECTED] > Subject: Webapp with Adminstrative Console > > I realize that if the config file is changed, i would > need to restart Tomcat as such my servlet would read > in the changed settings. Rather than restarting Tomcat, why don't you have the servlet watch for changes to the .ini file and reload it as needed? Seems a bit of overkill to take the whole server down for just that. You could also just redeploy the app when needed, which can be accomplished programmatically or via the Tomcat manager or html-manager webapps. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
Sounds like you might want to switch to Windows. Maybe that's more your speed. Jon - Original Message - From: "Enrico Weigelt" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, December 05, 2006 12:33 PM Subject: Re: tomcat w/o commercial crap * Christopher Schultz <[EMAIL PROTECTED]> wrote: Just in case it's not clear, Enrico is asking about Tomcat on Gentoo specifically, and it looks like he'd prefer to use the package manager which is called portage. ACK. I've now spent the second day with trying to get it running. Seems the related ebuilds are totally broken. the gentoo devs of course claim evrytings perfect ;-o *gmpf*" Very frustrating. cu -- - Enrico Weigelt== metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 - -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- - - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Webapp with Adminstrative Console
I am having a web application that have some config files(.ini) that contains some settings so that during runtime the servlet would take the settings from the config file and perform some action. Together with the web application, there is an adminstrator console that allows user to change the settings of the config file . I realize that if the config file is changed, i would need to restart Tomcat as such my servlet would read in the changed settings. So i would need to have a button in my adminstrator console to restart Tomcat. How could i issue the command to Tomcat to restart itself and what is the best practice of doing this? Appreciate any advice.
Re: tomcat w/o commercial crap
On 12/5/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: Apparently, very few responders realized what you were asking. Just in case it's not clear, Enrico is asking about Tomcat on Gentoo specifically, and it looks like he'd prefer to use the package manager which is called portage. - -chris Oh, I think most of us understood that. However what most of us do not understand, is why he's wishing to use the gentoo packages, despite downloading it from source is proven to solve 90% of configuration and dependency problems :-) regards Leon - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Webapp with Adminstrative Console
On 12/6/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: Rather than restarting Tomcat, why don't you have the servlet watch for changes to the .ini file and reload it as needed? Seems a bit of overkill to take the whole server down for just that. You could also just redeploy the app when needed, which can be accomplished programmatically or via the Tomcat manager or html-manager webapps. Is there any articles i can look at to implement the servlet watch for changes to the .ini file? I don't think i am able to redeploy the app, since the adminstrator console changing the .ini file of the application that is currently running on tomcat.. appreciate your advice :)
Re: compiled header filter on tomcat 5.5
Charles, David, thank you both very much! Bingo, compiled, and working :) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Webapp with Adminstrative Console
> From: chuanjiang lo [mailto:[EMAIL PROTECTED] > Subject: Re: Webapp with Adminstrative Console > > Is there any articles i can look at to implement the servlet watch for > changes to the .ini file? You can set a tag inside the element for your webapp; changing the target of that should trigger a reload of the app. Look here for doc: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Nested%20Com ponents > I don't think i am able to redeploy the app, since the > adminstrator console changing the .ini file of the > application that is currently running on tomcat.. Should be able to do it by sending a delayed refresh of the console page back to the client, and also forwarding a request to the html-manager app to do the redeploy. A bit of a kludge, but it can probably be made to work. Shouldn't be needed with . But better just to process the updated .ini file without redeploying the app, if possible. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
Agreed. Ultimately a download/install gives you the most control and without more info I would say the same. It very much depends on your set-up, which versions of Java & Tomcat that you wish to use, is it released or testing code?, etc. But still, installing Tomcat on Gentoo ~x86 (testing in other words) didn't require me to download either sun-jimi or sun-javamail-bin here. So the options I think Enrico has are: 1. Download and install yourself or 2. Use the Gentoo forums to find out the Gentoo installation is pulling in those deps. HTH Owen On Tuesday 05 December 2006 18:33, Andrew Miehs wrote: > This however is a Gentoo packaging problem and not a user problem. > > If you want to get tomcat working as quickly as possible - download > it directly from > apache.org and IGNORE the gentoo packages. > > If you want it to work properly as a gentoo package either contact > the package admin/ > Gentoo user mailing list, or fix it yourself. > > My recommendation: > > Do not install Java or Tomcat from distributions, always install them > yourself - > > A) Its easier > B) It works with no nasty side effects > > Andrew > > On 05/12/2006, at 7:19 PM, Enrico Weigelt wrote: > > * Owen Cumpson <[EMAIL PROTECTED]> wrote: > >> I'll jump in here, I use Gentoo ~x86 (a bit racy, but hey) and > >> Tomcat 5.5.20 > >> installs without any non-free dependencies (that I could see). > >> > >> Looking in the Gentoo forums, a new ebuild for Tomcat had been > >> released on 1st > >> December to overcome a similar issue (maybe even the same as yours). > >> > >> Look in: > >> http://forums.gentoo.org/viewtopic-t-518653-highlight-tomcat.html > > > > That doesn't solve the whole problem. > > There're still some other unfree packages required, ie. sun-jimi > > and sun-javamail-bin :(( > > - > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
* Christopher Schultz <[EMAIL PROTECTED]> wrote: > Just in case it's not clear, Enrico is asking about Tomcat on Gentoo > specifically, and it looks like he'd prefer to use the package manager > which is called portage. ACK. I've now spent the second day with trying to get it running. Seems the related ebuilds are totally broken. the gentoo devs of course claim evrytings perfect ;-o *gmpf*" Very frustrating. cu -- - Enrico Weigelt== metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 - -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- - - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This however is a Gentoo packaging problem and not a user problem. If you want to get tomcat working as quickly as possible - download it directly from apache.org and IGNORE the gentoo packages. If you want it to work properly as a gentoo package either contact the package admin/ Gentoo user mailing list, or fix it yourself. My recommendation: Do not install Java or Tomcat from distributions, always install them yourself - A) Its easier B) It works with no nasty side effects Andrew On 05/12/2006, at 7:19 PM, Enrico Weigelt wrote: * Owen Cumpson <[EMAIL PROTECTED]> wrote: I'll jump in here, I use Gentoo ~x86 (a bit racy, but hey) and Tomcat 5.5.20 installs without any non-free dependencies (that I could see). Looking in the Gentoo forums, a new ebuild for Tomcat had been released on 1st December to overcome a similar issue (maybe even the same as yours). Look in: http://forums.gentoo.org/viewtopic-t-518653-highlight-tomcat.html That doesn't solve the whole problem. There're still some other unfree packages required, ie. sun-jimi and sun-javamail-bin :(( -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFdbt7W126qUNSzvURApKsAJwM3emtaOZsoHHvpAn7blqiWDTj9ACfSx7B M3ThOKRh2BP5w+2RpLilWgw= =P6D0 -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: MemoryRealm problems!
On 12/5/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Omar Adobati [mailto:[EMAIL PROTECTED] > Subject: MemoryRealm problems! > > I put it into the $MY_APP/META-INF directory, but it seems to > be ignored. Does the file $(catalina.home)/conf/[engine]/[host]/Apps.xml exist? If so, it will override the $MY_APP/META-INF/context.xml file. (That's assuming you're on 5.5 - you didn't bother to tell us what level of Tomcat you're using.) I'm using Tomocat 5.5 (I'm sorry to forget about this). And, NO, the $(catalina.home)/conf/[engine]/[host]/Apps.xml file don't exists... I still forget to tell that I have done NO changes in any other tomcat configuration file. > > pathName="${catalina.home}/webapps/Apps/WEB-INF/ML-users.xml" > /> > > prefix="${catalina.home}/webapps/Apps/WEB-INF/logs/ML_access_log." > suffix=".txt" pattern="common" > /> > The intent of the servlet spec is to have webapps be read-only, so writing a log to a file within the deployed webapp is a somewhat questionable practice. You right, I know... I just try to configure it there to test the path... but it seems to don't work. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
* Owen Cumpson <[EMAIL PROTECTED]> wrote: > I'll jump in here, I use Gentoo ~x86 (a bit racy, but hey) and Tomcat 5.5.20 > installs without any non-free dependencies (that I could see). > > Looking in the Gentoo forums, a new ebuild for Tomcat had been released on > 1st > December to overcome a similar issue (maybe even the same as yours). > > Look in: > http://forums.gentoo.org/viewtopic-t-518653-highlight-tomcat.html That doesn't solve the whole problem. There're still some other unfree packages required, ie. sun-jimi and sun-javamail-bin :(( cu -- - Enrico Weigelt== metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 - -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- - - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat w/o commercial crap
| -Original Message- | From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 05 December, 2006 11:13 | | The blackdown JDK is one of the oldest non-Sun JDKs available for Linux. | I believe that it is completely open source. Someone mentioned that | blackdown was based on Sun's code... I think that's completely false: | blackdown was always a "more free" competitor to Sun's implementation. Actually, I believe the Blackdown JDK was based on an early (1.0.7?) Sun JRE, and then extended to provide support for later Java versions. ISTR that some early Blackdown versions were just patch sets you had to apply to a JDK you already had installed. Ultimately, Javasoft released the 1.2 JDK sources to the Blackdown team (technically, they "licensed" the J2SE code base under the "Sun Scholarship" banner), and Sun eventually wound up supporting Java on Linux themselves. Anyone know if Debian is willing to support Sun's JDK now that it's GPL'd? The information contained in this message is confidential proprietary property of FACTS/Nelnet Business Solutions. Any reproduction, forwarding, or copying without the express permission of FACTS/Nelnet Business Solutions is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this e-mail. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Enrico, Enrico Weigelt wrote: > * David Kerber <[EMAIL PROTECTED]> wrote: >> Nope. I have had tomcat running for a couple of years with nothing but >> freely-available packages. Of there might be some different >> functionality you want to use that requires commercial packages, but I >> haven't run into one yet. > > on gentoo ? How ? Apparently, very few responders realized what you were asking. Just in case it's not clear, Enrico is asking about Tomcat on Gentoo specifically, and it looks like he'd prefer to use the package manager which is called portage. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFdbIc9CaO5/Lv0PARAr/GAKCyh2hISP1vvzh82cvyPMP0yoUZxACfQXX9 jumko2M5rTjfa3V4Ce8tNW0= =Z6Z1 -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: compiled header filter on tomcat 5.5
On 12/5/06, David Smith <[EMAIL PROTECTED]> wrote: I see the prob here -- your code was compiled for java version 1.5 and you are using an older jvm to run tomcat. Match up and build your code on the same java version your server is using. Thanks again for such quick responses! I had thought that I'd tried compiling with the older version as well -- obviously this didn't work as planned ;) I'll take another run at it, trying to ensure similar versions, and will let you know how it goes. - Ian - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: compiled header filter on tomcat 5.5
> From: Ian H [mailto:[EMAIL PROTECTED] > Subject: Re: compiled header filter on tomcat 5.5 > > This seems to say simply that there's a version incompatibility (with > the class version/libraries used to build it) -- is this correct? Correct - your ResponseHeaderFilter class was compiled with a 1.5 javac, but you're trying to run it under a 1.4 JVM. If you think you recompiled it with 1.4, check around - there's still a 1.5 class file in the deployment directory tree. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: compiled header filter on tomcat 5.5
I see the prob here -- your code was compiled for java version 1.5 and you are using an older jvm to run tomcat. Match up and build your code on the same java version your server is using. I typically have Netbeans build to 1.4 just to stay on the safe side (plus I'm not using any of the 1.5 new features). --David Ian H wrote: On 12/5/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: SEVERE: Error filterStart What else is in the log? (The underlying cause usually appears _after_ the above somewhat misleading message.) Hi Chuck, Thank you for your quick reply! The whole stdout.log follows...(I see that for _this_ dev box, it's actually tomcat 5.0).: 5/12/2006 09:30:11 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8754 5/12/2006 09:30:11 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1000 ms 5/12/2006 09:30:11 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 5/12/2006 09:30:11 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.27 5/12/2006 09:30:11 org.apache.catalina.core.StandardHost start INFO: XML validation disabled 5/12/2006 09:30:12 org.apache.catalina.startup.ContextConfig applicationConfig INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/voice] 5/12/2006 09:30:12 org.apache.catalina.startup.ContextConfig applicationConfig INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/interpimages] log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender. 5/12/2006 09:30:12 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 5/12/2006 09:30:12 org.apache.catalina.core.StandardContext start SEVERE: Context startup failed due to previous errors 5/12/2006 09:30:12 org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) 5/12/2006 09:30:12 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:D:\web\tomcat\conf\Catalina\localhost\admin.xml 5/12/2006 09:30:12 org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true 5/12/2006 09:30:12 org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 5/12/2006 09:30:13 org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true 5/12/2006 09:30:14 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:D:\web\tomcat\conf\Catalina\localhost\manager.xml 5/12/2006 09:30:14 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8754 5/12/2006 09:30:14 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 5/12/2006 09:30:14 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/31 config=d:\web\tomcat\conf\jk2.properties 5/12/2006 09:30:14 org.apache.catalina.startup.Catalina start INFO: Server startup in 2813 ms Seemingly of much greater value, I've found this in the localhost log: 2006-12-05 08:11:29 StandardContext[]Exception starting filter ResponseHeaderFilter java.lang.UnsupportedClassVersionError: ResponseHeaderFilter (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:485) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:820) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:721) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:803) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:721) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1327) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:211) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilte
Re: compiled header filter on tomcat 5.5
On 12/5/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: SEVERE: Error filterStart What else is in the log? (The underlying cause usually appears _after_ the above somewhat misleading message.) Hi Chuck, Thank you for your quick reply! The whole stdout.log follows...(I see that for _this_ dev box, it's actually tomcat 5.0).: 5/12/2006 09:30:11 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8754 5/12/2006 09:30:11 org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1000 ms 5/12/2006 09:30:11 org.apache.catalina.core.StandardService start INFO: Starting service Catalina 5/12/2006 09:30:11 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.27 5/12/2006 09:30:11 org.apache.catalina.core.StandardHost start INFO: XML validation disabled 5/12/2006 09:30:12 org.apache.catalina.startup.ContextConfig applicationConfig INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/voice] 5/12/2006 09:30:12 org.apache.catalina.startup.ContextConfig applicationConfig INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/interpimages] log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender. 5/12/2006 09:30:12 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 5/12/2006 09:30:12 org.apache.catalina.core.StandardContext start SEVERE: Context startup failed due to previous errors 5/12/2006 09:30:12 org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) 5/12/2006 09:30:12 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:D:\web\tomcat\conf\Catalina\localhost\admin.xml 5/12/2006 09:30:12 org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true 5/12/2006 09:30:12 org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 5/12/2006 09:30:13 org.apache.struts.util.PropertyMessageResources INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true 5/12/2006 09:30:14 org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:D:\web\tomcat\conf\Catalina\localhost\manager.xml 5/12/2006 09:30:14 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8754 5/12/2006 09:30:14 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 5/12/2006 09:30:14 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/31 config=d:\web\tomcat\conf\jk2.properties 5/12/2006 09:30:14 org.apache.catalina.startup.Catalina start INFO: Server startup in 2813 ms Seemingly of much greater value, I've found this in the localhost log: 2006-12-05 08:11:29 StandardContext[]Exception starting filter ResponseHeaderFilter java.lang.UnsupportedClassVersionError: ResponseHeaderFilter (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.apache.catalina.loader.StandardClassLoader.findClass(StandardClassLoader.java:485) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:820) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:721) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:803) at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:721) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1327) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:211) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:79) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3698) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4349) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) at org.
Re: tomcat w/o commercial crap
I'll jump in here, I use Gentoo ~x86 (a bit racy, but hey) and Tomcat 5.5.20 installs without any non-free dependencies (that I could see). Looking in the Gentoo forums, a new ebuild for Tomcat had been released on 1st December to overcome a similar issue (maybe even the same as yours). Look in: http://forums.gentoo.org/viewtopic-t-518653-highlight-tomcat.html Cheers Owen On Tuesday 05 December 2006 17:07, Enrico Weigelt wrote: > * David Kerber <[EMAIL PROTECTED]> wrote: > > > > > Nope. I have had tomcat running for a couple of years with nothing but > > freely-available packages. Of there might be some different > > functionality you want to use that requires commercial packages, but I > > haven't run into one yet. > > on gentoo ? How ? > > > cu - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Enrico, Enrico Weigelt wrote: > true for the jdk, but not lots of other sun-* packages required > by the tomcat port (or axis), ie. sun-jimi, sun-javamail, ... Aah, I saw that afterward. I use Tomcat on Gentoo, but I don't use portage to install Tomcat... I do that myself. You might want to just download the binary package directly from the Jakarta site and use that. >> There are also a handful of non-Sun JDKs available through portage. Try >> these packages instead: >> >> dev-java/blackdown-jdk >> dev-java/diablo-jdk >> dev-java/ibm-jdk-bin >> dev-java/jrockit-jdk-bin > > Anyone of them is opensource / free software ? The blackdown JDK is one of the oldest non-Sun JDKs available for Linux. I believe that it is completely open source. Someone mentioned that blackdown was based on Sun's code... I think that's completely false: blackdown was always a "more free" competitor to Sun's implementation. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFdai29CaO5/Lv0PARAq4JAJ9vW9k+L+M5Y2/xeCtf4V32d8Iq0ACfRo/6 DQEgo0FwfVCgCd4VXreVU/g= =Jrmb -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: compiled header filter on tomcat 5.5
> From: Ian H [mailto:[EMAIL PROTECTED] > Subject: compiled header filter on tomcat 5.5 > > SEVERE: Error filterStart > 5/12/2006 09:03:50 org.apache.catalina.core.StandardContext start > SEVERE: Context startup failed due to previous errors What else is in the log? (The underlying cause usually appears _after_ the above somewhat misleading message.) - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
On 12/5/06, Enrico Weigelt <[EMAIL PROTECTED]> wrote: * Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Enrico Weigelt [mailto:[EMAIL PROTECTED] > > Subject: Re: tomcat w/o commercial crap > > > > maybe I missed something, but tomcat requires several packages, > > ie. sun-jimi, which are NOT free (and cannot be downloaded directly). > > I guess you did miss something, since real Tomcat versions require > nothing more than the JRE. So how would you suggest an clean tomcat installation on gentoo systems ? Rewrite the ebuilds and kickoff the dependencies ? sudo rm -rf / install debian :-) see andrews message above for tomcat install from apache reps. regards Leon cu -- - Enrico Weigelt== metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 - -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- - - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat w/o commercial crap
> From: Enrico Weigelt [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat w/o commercial crap > > So how would you suggest an clean tomcat installation on gentoo > systems ? Rewrite the ebuilds and kickoff the dependencies ? As others have already suggested, throw away the junk that comes with gentoo, download Tomcat from apache.org, download the JRE of your choice from the approprate vendor, install, and have fun. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
compiled header filter on tomcat 5.5
Hi all, I've taken the jspbook.jar found on page two of this article: http://www.onjava.com/pub/a/onjava/2004/03/03/filters.html and implement the ResponseHeaderFilter on a test server successfully using the following in web.xml: ResponseHeaderFilter com.jspbook.ResponseHeaderFilter Testingtesting 123 ResponseHeaderFilter /* When I create a ResponseHeaderFilter.java file containing the source from that article, omitting the package information, it compiles without error, but does not work, with only SEVERE: Error filterStart 5/12/2006 09:03:50 org.apache.catalina.core.StandardContext start SEVERE: Context startup failed due to previous errors that I can see that indicates a problem, in the stdout.log [I wind up with the same problem if I put the package info back in, recompile it, and incorporate it into jspbook.jar...I notice that the length of the *.class files are rather different] What should I try in order to make my own ResponseHeaderFilter.class work? [Once that's sorted out, it should be trivial to substitute setHeader for addHeader, allowing me to have setHeaderFilter.class and addHeaderFilter.class] Thank you in advance, Ian - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
* David Kerber <[EMAIL PROTECTED]> wrote: > Nope. I have had tomcat running for a couple of years with nothing but > freely-available packages. Of there might be some different > functionality you want to use that requires commercial packages, but I > haven't run into one yet. on gentoo ? How ? cu -- - Enrico Weigelt== metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 - -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- - - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
* Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: Enrico Weigelt [mailto:[EMAIL PROTECTED] > > Subject: Re: tomcat w/o commercial crap > > > > maybe I missed something, but tomcat requires several packages, > > ie. sun-jimi, which are NOT free (and cannot be downloaded directly). > > I guess you did miss something, since real Tomcat versions require > nothing more than the JRE. So how would you suggest an clean tomcat installation on gentoo systems ? Rewrite the ebuilds and kickoff the dependencies ? cu -- - Enrico Weigelt== metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 - -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- - - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
Enrico Weigelt wrote: * Christopher Schultz <[EMAIL PROTECTED]> wrote: IIRC, when Gentoo upgraded to JDK 1.5.0, they removed the requirement that you download Sun's JDK from their website and drop it in your portage package directory. Now, portage can download and install it automatically. true for the jdk, but not lots of other sun-* packages required by the tomcat port (or axis), ie. sun-jimi, sun-javamail, ... Nope. I have had tomcat running for a couple of years with nothing but freely-available packages. Of there might be some different functionality you want to use that requires commercial packages, but I haven't run into one yet. There are also a handful of non-Sun JDKs available through portage. Try these packages instead: dev-java/blackdown-jdk dev-java/diablo-jdk dev-java/ibm-jdk-bin dev-java/jrockit-jdk-bin Anyone of them is opensource / free software ? cu - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Do yourself a favour and do NOT use Tomcat and Java from your linux distribution. Download Tomcat from Apache.org Download Java from http://java.sun.com/javase/downloads/index.jsp Either the JDK, or JRE Install them both in /usr/local ln -s /usr/local/java-whatever-their-version /usr/local/java change your startup script to JAVA_HOME=/usr/local/java export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH Cheers Andrew On 05/12/2006, at 5:48 PM, Enrico Weigelt wrote: * Nelson, Tracy <[EMAIL PROTECTED]> wrote: Not sure what you mean by 'commercial crap', Java is OSS now, and Tomcat always has been. maybe I missed something, but tomcat requires several packages, ie. sun-jimi, which are NOT free (and cannot be downloaded directly). -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFdaThW126qUNSzvURAmcXAKCQW0QNyqRXrLhIRMakpzihiMU4AQCgkfun Ntsf8grmyPW1HoTAep2be6M= =/4xB -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
In every install I've done, I've only needed the tomcat download from tomcat.apache.org (and a JVM of course). Never needed to get extra stuff direct from Sun's site. Sounds like you are trying to use some third party package install that added dependencies. --David Enrico Weigelt wrote: * Nelson, Tracy <[EMAIL PROTECTED]> wrote: Not sure what you mean by 'commercial crap', Java is OSS now, and Tomcat always has been. maybe I missed something, but tomcat requires several packages, ie. sun-jimi, which are NOT free (and cannot be downloaded directly). cu - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat w/o commercial crap
> From: Enrico Weigelt [mailto:[EMAIL PROTECTED] > Subject: Re: tomcat w/o commercial crap > > maybe I missed something, but tomcat requires several packages, > ie. sun-jimi, which are NOT free (and cannot be downloaded directly). I guess you did miss something, since real Tomcat versions require nothing more than the JRE. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
* Christopher Schultz <[EMAIL PROTECTED]> wrote: > IIRC, when Gentoo upgraded to JDK 1.5.0, they removed the requirement > that you download Sun's JDK from their website and drop it in your > portage package directory. Now, portage can download and install it > automatically. true for the jdk, but not lots of other sun-* packages required by the tomcat port (or axis), ie. sun-jimi, sun-javamail, ... > There are also a handful of non-Sun JDKs available through portage. Try > these packages instead: > > dev-java/blackdown-jdk > dev-java/diablo-jdk > dev-java/ibm-jdk-bin > dev-java/jrockit-jdk-bin Anyone of them is opensource / free software ? cu -- - Enrico Weigelt== metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 - -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- - - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
* Nelson, Tracy <[EMAIL PROTECTED]> wrote: > Not sure what you mean by 'commercial crap', Java is OSS now, and Tomcat > always has been. maybe I missed something, but tomcat requires several packages, ie. sun-jimi, which are NOT free (and cannot be downloaded directly). cu -- - Enrico Weigelt== metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 - -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- - - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Redirect in Tomcat 5.5 Not Working
We are running Tomcat 5.5.20 as a standalone web server for a third-party's web and servlet applications. On this server (Linux), Iptables is redirecting ports 80 to 8080 and 443 to 8443 (to run Tomcat as regular user.) In addition, we are interested in configuring Tomcat so that requests to port 8080 (default ports for both applications) are automatically redirected to port 8443. After performing the following steps below, the redirect does not work. In a web browser, both ports (8080 & 8443) can be accessed directly, but only want port 8443 available for use. Any ideas on how to fix are appreciated. (1) Created a self-signed certificate and changed the default keystore pasword. (2) Un-commented the SSL HTTP/1.1 Connector section in server.xml (see below). (3) In file, $CATALINA_HOME/conf/web.xml, added the following: Entire Application * GET POST CONFIDENTIAL (4)Restarted Tomcat. -- Latesha Williams Applications Support, Information Technology American Museum of Natural History [EMAIL PROTECTED] 212.769.5947 917.837.2460 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Enrico, Enrico Weigelt wrote: > Hi folks, > > is there any chance to get tomcat working w/o sun's commercial crap ? ??! > I'm working on gentoo and can't tomcat it w/o going to the > sun shop :(( IIRC, when Gentoo upgraded to JDK 1.5.0, they removed the requirement that you download Sun's JDK from their website and drop it in your portage package directory. Now, portage can download and install it automatically. There are also a handful of non-Sun JDKs available through portage. Try these packages instead: dev-java/blackdown-jdk dev-java/diablo-jdk dev-java/ibm-jdk-bin dev-java/jrockit-jdk-bin I would recommend the IBM JDK personally. Some of the above are masked for various architectures and patch levels, etc. but none of them look like they require a "commercial" download. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFdaCB9CaO5/Lv0PARAoplAJ9ynwEJsbEexcnwamBbhs3HvJ1NFQCgrnkU O7n6oCtaFYPZw32QCDOZOJ4= =0qCT -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat w/o commercial crap
Not sure what you mean by 'commercial crap', Java is OSS now, and Tomcat always has been. You might want to check out the Gentoo Java project: http://www.gentoo.org/proj/en/java/. Especially the Gentoo Tomcat Guide: http://www.gentoo.org/proj/en/java/tomcat-guide.xml. --- Tracy Nelson / Nelnet Business Solutions 402 / 617-9449 | -Original Message- | From: Enrico Weigelt [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 05 December, 2006 10:11 | | I'm working on gentoo and can't tomcat it w/o going to the | sun shop :(( The information contained in this message is confidential proprietary property of FACTS/Nelnet Business Solutions. Any reproduction, forwarding, or copying without the express permission of FACTS/Nelnet Business Solutions is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this e-mail. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat w/o commercial crap
Monica... -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 10:29 AM To: Tomcat Users List Subject: Re: tomcat w/o commercial crap -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is this a troll? You will need some copy of Java to use Tomcat - either the JVM from Sun, IBM or Blackdown (which I think is based on Sun's) As for ?! commercial = crap ?! Glad to see you are using a free non- commercial machine to write these mails... Regards Andrew PS: Enrico - Looks like you have someone playing with your mailer - maybe you should fix this first. X-Terror: bin laden, kill bush, Briefbombe, Massenvernichtung, KZ, X-Nazi: Weisse Rasse, Hitlers Wiederauferstehung, 42, X-Antichrist: weg mit schaeuble, ausrotten, heiliger krieg, al quaida, X-Killer: 23, endloesung, Weltuntergang, X-Doof: wer das liest ist doof On 05/12/2006, at 5:10 PM, Enrico Weigelt wrote: > > Hi folks, > > is there any chance to get tomcat working w/o sun's commercial crap ? > > I'm working on gentoo and can't tomcat it w/o going to the > sun shop :(( > -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFdZ5FW126qUNSzvURArTFAJ47M3+qrdJumvCKIgrflYekzsv8RgCZAd5F KMbbgGu7Np+I/L7IjK4vhBg= =GiiB -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: MemoryRealm problems!
> From: Omar Adobati [mailto:[EMAIL PROTECTED] > Subject: MemoryRealm problems! > > I put it into the $MY_APP/META-INF directory, but it seems to > be ignored. Does the file $(catalina.home)/conf/[engine]/[host]/Apps.xml exist? If so, it will override the $MY_APP/META-INF/context.xml file. (That's assuming you're on 5.5 - you didn't bother to tell us what level of Tomcat you're using.) > > pathName="${catalina.home}/webapps/Apps/WEB-INF/ML-users.xml" > /> > > prefix="${catalina.home}/webapps/Apps/WEB-INF/logs/ML_access_log." > suffix=".txt" pattern="common" > /> > The intent of the servlet spec is to have webapps be read-only, so writing a log to a file within the deployed webapp is a somewhat questionable practice. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is this a troll? You will need some copy of Java to use Tomcat - either the JVM from Sun, IBM or Blackdown (which I think is based on Sun's) As for ?! commercial = crap ?! Glad to see you are using a free non- commercial machine to write these mails... Regards Andrew PS: Enrico - Looks like you have someone playing with your mailer - maybe you should fix this first. X-Terror: bin laden, kill bush, Briefbombe, Massenvernichtung, KZ, X-Nazi: Weisse Rasse, Hitlers Wiederauferstehung, 42, X-Antichrist: weg mit schaeuble, ausrotten, heiliger krieg, al quaida, X-Killer: 23, endloesung, Weltuntergang, X-Doof: wer das liest ist doof On 05/12/2006, at 5:10 PM, Enrico Weigelt wrote: Hi folks, is there any chance to get tomcat working w/o sun's commercial crap ? I'm working on gentoo and can't tomcat it w/o going to the sun shop :(( -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFFdZ5FW126qUNSzvURArTFAJ47M3+qrdJumvCKIgrflYekzsv8RgCZAd5F KMbbgGu7Np+I/L7IjK4vhBg= =GiiB -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
?? Sun's Commercial Crap ?? What about http://tomcat.apache.org? --David Enrico Weigelt wrote: Hi folks, is there any chance to get tomcat working w/o sun's commercial crap ? I'm working on gentoo and can't tomcat it w/o going to the sun shop :(( cu - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomcat w/o commercial crap
tomcat is from www.apache.org, I think sun donated it a while back. You need java to run tomcat, java is from sun but I don't see what problem that would pose. Alternately you could use GNU Java. On 12/5/06, Enrico Weigelt <[EMAIL PROTECTED]> wrote: Hi folks, is there any chance to get tomcat working w/o sun's commercial crap ? I'm working on gentoo and can't tomcat it w/o going to the sun shop :(( cu -- - Enrico Weigelt== metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 - -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- - - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- "talk trash and carry a small stick." PAUL KRUGMAN (NYT)
Re: How to password protect a directory?
Ok, cool. The solution suggested is for those who don't have Apache HTTP server. But since you have it, it's much easier and secure to use the HTTP server. - Original Message From: Mikolaj Rydzewski <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Tuesday, December 5, 2006 11:08:15 AM Subject: Re: How to password protect a directory? Rashmi Rubdi wrote: > With Tomcat you can also use a URL Rewrite Filter to transparently (HTTP 200) > redirect requests to the protected folder > to a HTTP 403 status or a password required page. > But it would force me to write some code ;-) I've added another ProxyPass rule in apache and created appropriate .htacces file. -- Mikolaj Rydzewski <[EMAIL PROTECTED]> __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat w/o commercial crap
Hi folks, is there any chance to get tomcat working w/o sun's commercial crap ? I'm working on gentoo and can't tomcat it w/o going to the sun shop :(( cu -- - Enrico Weigelt== metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 - -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- - - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to password protect a directory?
Rashmi Rubdi wrote: With Tomcat you can also use a URL Rewrite Filter to transparently (HTTP 200) redirect requests to the protected folder to a HTTP 403 status or a password required page. But it would force me to write some code ;-) I've added another ProxyPass rule in apache and created appropriate .htacces file. -- Mikolaj Rydzewski <[EMAIL PROTECTED]> smime.p7s Description: S/MIME Cryptographic Signature
Re: Why can the JSESSIONID name not be changed?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bryce, brycenesbitt wrote: > Stefan Bethke wrote: >> Hi, >> We're currently integrating a couple of web sites under a single >> domain. Some of the sites run on separate Tomcats, others use PHP, >> Perl or a number of proprietary systems. We believe that having >> multiple containers use the same session cookie will lead to problems. >> > > It will cause problems, but only on IE, and then only under certain > circumstances. The rest of the browsers seem fine... Why would changing the name of a cookie cause problems? And why only in MSIE? Stefan also needs to understand that these cookies also have "paths" encoded into them, so that that do not interfere (as long as the paths themselves do not interfere). - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFdZjt9CaO5/Lv0PARAuEpAKCOyVgM9lm7ABpSfWHVRLk9wbT+3wCdEO2f UXC+K/KdVjZKyXakefJtzyM= =65BW -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Context problem in tomcat 5.5
An even better resource for servlet mapping is the servlet spec. It can be downloaded here: http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html SRV.11 describes mapping requests to servlets and SRV.13.4 describes elements of a web.xml file. --David Martin Gainty wrote: servlet-mapping in web.xml? an example for cgi located at http://tomcat.apache.org/tomcat-5.0-doc/RELEASE-NOTES.txt HTH M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Rizwan Ahmad To: users@tomcat.apache.org Sent: Tuesday, December 05, 2006 6:00 AM Subject: Context problem in tomcat 5.5 Hi, I am new to tomcat. I just installed tomcat 5.5 on my machine having windows XP platform. I am trying to deploy a war file naming "samena.war" where samena is the context name. When I startup tomcat it automatically unpacks war file but when I try to access my website using http://localhost:8080/samena/ it says "The requested resource (/samena/) is not available." I also don't find any context name specified anywhere for http://localhost:8080/servlets-examples/ provided with the tomcat. I am also attaching my web.xml file so that it can help you in suggesting a solution to me. Thanks in advance. Rizwan Ahmad -- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Context problem in tomcat 5.5
The URL http://localhost:8080/samena/, in the absence of a welcome file such as index.jsp, will request a directory listing. However, in Tomcat 5.5, directory listings are disabled by default, which will result in the error you see. I would guess that you either need to enable directory listings (see the conf/web.xml file) or add a welcome file to your webapp. Also disabled is the non-spec legacy "/servlet/classname" method of executing servlets, which may have allowed your web.xml to work elsewhere. This is why servlet mappings are needed to execute your servlets as noted by Chuck. Cheers, Larry > -Original Message- > From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 05, 2006 10:18 AM > To: Tomcat Users List > Subject: RE: Context problem in tomcat 5.5 > > > From: Rizwan Ahmad [mailto:[EMAIL PROTECTED] > > Subject: Context problem in tomcat 5.5 > > > > When I startup tomcat it automatically unpacks war file but > when I try > > to access my website using http://localhost:8080/samena/ it > says "The > > requested resource (/samena/) is not available." > > Your web.xml file is missing entries. Look > at the servlet spec for definition and the various Tomcat > web.xml files for examples. > > > I also don't find any context name specified anywhere for > > http://localhost:8080/servlets-examples/ provided with the tomcat. > > The context name is determined by the name of the directory > or .war file the application is in. In the above case, > webapps/servlets-examples automatically results in the above context. > > - 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 start a new topic, e-mail: users@tomcat.apache.org To > unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
MemoryRealm problems!
Here is the context.xml about the webapplciation I'm trying to develop. I put it into the $MY_APP/META-INF directory, but it seems to be ignored. Neither the user database and the log seems to be used! == == Have I done any mistake? Maybe I can't do this? Thanks for your help -- Omar Adobati - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to password protect a directory?
With Tomcat you can also use a URL Rewrite Filter to transparently (HTTP 200) redirect requests to the protected folder to a HTTP 403 status or a password required page. But I can't gurantee if URL Rewriting makes the directory fully secure. - Original Message From: David Delbecq <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Tuesday, December 5, 2006 5:58:53 AM Subject: Re: How to password protect a directory? Mikolaj Rydzewski a écrit : > Hi, > > I have several directories mapped to my Tomcat instance with > context.xml like this: > > > cookies="false" >docBase="/home/stats/some_dir" >path="/stats" > /> > > There're only html files there. No JSP, servlets, and of course no > WEB-INF. How can I password protect those directories (or webapps)? Do > I have to create appropriate WEB-INF/web.xml and security constraints? > Or is there any simpler solution? > Only static resources? Yes, there is a simpler solution, don't use tomcat, use an apache web server and a .htaccess file. If you really need tomcat, yes, a web.xml is highly recommanded then. Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Context problem in tomcat 5.5
servlet-mapping in web.xml? an example for cgi located at http://tomcat.apache.org/tomcat-5.0-doc/RELEASE-NOTES.txt HTH M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents - Original Message - From: Rizwan Ahmad To: users@tomcat.apache.org Sent: Tuesday, December 05, 2006 6:00 AM Subject: Context problem in tomcat 5.5 Hi, I am new to tomcat. I just installed tomcat 5.5 on my machine having windows XP platform. I am trying to deploy a war file naming "samena.war" where samena is the context name. When I startup tomcat it automatically unpacks war file but when I try to access my website using http://localhost:8080/samena/ it says "The requested resource (/samena/) is not available." I also don't find any context name specified anywhere for http://localhost:8080/servlets-examples/ provided with the tomcat. I am also attaching my web.xml file so that it can help you in suggesting a solution to me. Thanks in advance. Rizwan Ahmad -- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Context problem in tomcat 5.5
> From: Rizwan Ahmad [mailto:[EMAIL PROTECTED] > Subject: Context problem in tomcat 5.5 > > When I startup tomcat it automatically unpacks war > file but when I try to access my website using > http://localhost:8080/samena/ it says "The requested > resource (/samena/) is not available." Your web.xml file is missing entries. Look at the servlet spec for definition and the various Tomcat web.xml files for examples. > I also don't find any context name specified anywhere for > http://localhost:8080/servlets-examples/ provided with the > tomcat. The context name is determined by the name of the directory or .war file the application is in. In the above case, webapps/servlets-examples automatically results in the above context. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: EL not evaluatin in TC 5.5
I modified the web.xml with this, entry, and moved my tld file to a WEB-INF/tld. Thanks a lot! This problem was costing me lots in coffee funds and late nights! Mike -Original Message- From: Roberto Marra [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 05, 2006 4:46 AM To: Tomcat Users List Subject: Re: EL not evaluatin in TC 5.5 In my web.xml I don't declare to use the servlet spec 2.4 schema David Smith ha scritto: > Did you declare your web.xml to use the servlet spec 2.4 schema? > AFAIK, that's required to make EL expressions work. > > --David > -- IT Manager MONTEFIORE -- Centralino: +41916104455 Diretto : +41916104464 Mobile: +41797000139 www.montefiore.ch - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Why can the JSESSIONID name not be changed?
Stefan Bethke wrote: > > Hi, > I hope this is the right list to ask; if not, please direct me to a > better place... > > We're currently integrating a couple of web sites under a single > domain. Some of the sites run on separate Tomcats, others use PHP, > Perl or a number of proprietary systems. We believe that having > multiple containers use the same session cookie will lead to problems. > It will cause problems, but only on IE, and then only under certain circumstances. The rest of the browsers seem fine... -- View this message in context: http://www.nabble.com/Why-can-the-JSESSIONID-name-not-be-changed--tf532684.html#a7700835 Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: virtual mapping on Tomcat 5.5
Hi In Tomcat 5.5.17 webapps itself deployed hence put the RMS under webapps and change the docbase Regards Raju On 11/30/06, olivier nouguier <[EMAIL PROTECTED]> wrote: hi, A: put apache (httpd) in front of tomcat ==> quite easy. B: dirty read/stream hack ==> don't know what to say :-) On 11/29/06, Jennifer Lu <[EMAIL PROTECTED]> wrote: > > Hi David, > > I think I have joined the list as I have received the confirmation on > this? > Probably this is the first email I sent before the confirmation. Thank you > for your advice on my question. However, the templates/images folder has > to > be outside of the RMS webapp folder in this case so I cannot figure out > how > to do this. I do not have problems in retrieving images from the RMS > webapp folder. Any idea on how to refer to an images folder outside of the > webapp root? > > Thanks. > > Jen > > > On 11/29/06, David Smith <[EMAIL PROTECTED]> wrote: > > > > 1. the path attribute of your context definition will be ignored by > > tomcat 5.5. The webapp itself will be deployed as RMS, not images. > > > > 2. Assuming you have an images folder in your RMS webapp and a file > > named logo.gif exists there, the url > > http://localhost:8080/RMS/images/logo.gif should work. Check the logs > > if it's not working. > > > > 3. Please don't hijack threads. Join the list and send a NEW message to > > [EMAIL PROTECTED] Replying to a message and changing the subject > > isn't enough. > > > > --David > > > > Jennifer Lu wrote: > > > > > Dear all, > > > > > > I need to define a virtual mapping path on Tomcat 5.5. The following > > > works > > > well on Tomcat 5.0.28 (I put it in the server.xml) > > > > > > > > reloadable="true"> > > > > > > The webapp is called RMS and its classes directory has been installed > > > on C:. > > > > > > http://localhost:8080/RMS/images/logo.gifthis url works well on > > > Tomcat > > > 5.0.28 but causes a HTTP404error on Tomcat5.5 > > > > > > I have tried several approaches on Tomcat5.5 but none of them > succeeded. > > > > > > Approach 1. put it in conf/Catalina/localhost/RMS.xml > > > Approach 2. put it in webapps/RMS/META-INF/context.xml > > > > > > Any advice on this? Thanks a lot. > > > > > > Jen > > > > > > > > > - > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- "Souviens-toi qu'au moment de ta naissance tout le monde était dans la joie et toi dans les pleurs. Vis de manière qu'au moment de ta mort, tout le monde soit dans les pleurs et toi dans la joie."
Re: EL not evaluatin in TC 5.5
Roberto Marra wrote: In my web.xml I don't declare to use the servlet spec 2.4 schema David Smith ha scritto: Did you declare your web.xml to use the servlet spec 2.4 schema? AFAIK, that's required to make EL expressions work. --David Try replacing the top of your web.xml with this and restarting the app: 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";> --David - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Context problem in tomcat 5.5
Hi, I am new to tomcat. I just installed tomcat 5.5 on my machine having windows XP platform. I am trying to deploy a war file naming "samena.war" where samena is the context name. When I startup tomcat it automatically unpacks war file but when I try to access my website using http://localhost:8080/samena/ it says "*The requested resource (/samena/) is not available.*" I also don't find any context name specified anywhere for http://localhost:8080/servlets-examples/ provided with the tomcat. I am also attaching my web.xml file so that it can help you in suggesting a solution to me. Thanks in advance. Rizwan Ahmad http://java.sun.com/dtd/web-app_2_3.dtd";> Empty web.xml file for Web Application CompanyController com.teralight.samena.crm.contact.controller.CompanyController CategoryController com.teralight.samena.crm.contact.controller.CategoryController Servlet1 com.teralight.samena.crm.contact.controller.Servlet1 ContactController com.teralight.samena.crm.contact.controller.ContactController CountryController com.teralight.samena.crm.contact.controller.CountryController DeptController com.teralight.samena.crm.contact.controller.DeptController RegionController com.teralight.samena.crm.contact.controller.RegionController LoginController com.teralight.samena.crm.contact.controller.LoginController CompanyController1 com.teralight.samena.crm.contact.controller.CompanyController1 ActivityController com.teralight.samena.activity.controller.ActivityController CommitteeController com.teralight.samena.committee.controller.CommitteeController JoinController com.teralight.samena.committee.controller.JoinController CommitteeMemberController com.teralight.samena.committee.controller.CommitteeMemberController EmailController com.teralight.samena.activity.controller.EmailController RegistrationController com.teralight.samena.crm.membership.controller.RegistrationController PaymentController com.teralight.samena.crm.membership.controller.PaymentController MembersStatusController com.teralight.samena.crm.membership.controller.MembersStatusController SearchController com.teralight.samena.crm.contact.controller.SearchController ContactUsController com.teralight.samena.general.controller.ContactUsController CareerController com.teralight.samena.general.controller.CareerController EventController com.teralight.samena.events.controller.EventController ContactRightsController com.teralight.samena.general.controller.ContactRightsController UploadController com.teralight.samena.crm.membership.controller.UploadController ContactGroupController com.teralight.samena.crm.contact.controller.ContactGroupController 30 html text/html txt text/plain - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to password protect a directory?
Mikolaj Rydzewski a écrit : > Hi, > > I have several directories mapped to my Tomcat instance with > context.xml like this: > > > cookies="false" >docBase="/home/stats/some_dir" >path="/stats" > /> > > There're only html files there. No JSP, servlets, and of course no > WEB-INF. How can I password protect those directories (or webapps)? Do > I have to create appropriate WEB-INF/web.xml and security constraints? > Or is there any simpler solution? > Only static resources? Yes, there is a simpler solution, don't use tomcat, use an apache web server and a .htaccess file. If you really need tomcat, yes, a web.xml is highly recommanded then. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: EL not evaluatin in TC 5.5
In my web.xml I don't declare to use the servlet spec 2.4 schema David Smith ha scritto: Did you declare your web.xml to use the servlet spec 2.4 schema? AFAIK, that's required to make EL expressions work. --David -- IT Manager MONTEFIORE -- Centralino: +41916104455 Diretto : +41916104464 Mobile: +41797000139 www.montefiore.ch - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to password protect a directory?
Hi, I have several directories mapped to my Tomcat instance with context.xml like this: There're only html files there. No JSP, servlets, and of course no WEB-INF. How can I password protect those directories (or webapps)? Do I have to create appropriate WEB-INF/web.xml and security constraints? Or is there any simpler solution? -- Mikolaj Rydzewski <[EMAIL PROTECTED]> smime.p7s Description: S/MIME Cryptographic Signature
Re: EL not evaluatin in TC 5.5
Did you declare your web.xml to use the servlet spec 2.4 schema? AFAIK, that's required to make EL expressions work. --David Roberto Marra wrote: I usually put under WEB-INF/tld/ all the JSP tag library and under WEB-INF/lib all the *.jar file... even jstl.jar & I never have had problem Ciao Roberto Michael Hencin ha scritto: I have tomcat 5.5, j2sdk1.4.2_11 on windows xp sp2 I have installed the BIRT viewer web app (from eclips.org) and wanted to also add JSTL to the jsp pages. I download and installed the jstl.jar and standard.jar into my webapp WEB-INF/lib. I put the c.tld and some other tld files into the WEB-INF dir. My jsp does not seem to be evaluating the EL I have another sample webapp, that I got the simple jsp from, and its installed in the same TC5.5 and the same jsp evaluates fine. >From what I have read about installing JSTL, I cannot see why the EL expressions will not evaluate? I added a simple jsp as follows into the webapp dir. <%@ page contentType="text/html" %> <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> JSP is Easy JSP is as easy as ... <%-- Calculate the sum of 1 + 2 + 3 dynamically --%> 1 + 2 + 3 = The result when I load this jsp is JSP is Easy JSP is as easy as ... 1 + 2 + 3 = ${1 + 2 + 3} My web.xml entries for the tag-lib are as follows; http://java.sun.com/jstl/fmt /WEB-INF/fmt.tld http://java.sun.com/jstl/fmt-rt /WEB-INF/fmt-rt.tld http://java.sun.com/jstl/core /WEB-INF/c.tld http://java.sun.com/jstl/core-rt /WEB-INF/c-rt.tld http://java.sun.com/jstl/sql /WEB-INF/sql.tld http://java.sun.com/jstl/sql-rt /WEB-INF/sql-rt.tld http://java.sun.com/jstl/x /WEB-INF/x.tld http://java.sun.com/jstl/x-rt /WEB-INF/x-rt.tld Michael Hencin Enginuity Development 815-505-5028 - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ProxyDirContext.lookupCache Error on a new Tomcat install
Hello I've installed a new server , with the tomcat that comes with the mandrake 2007 RPM's . (tomcat 5.5.17) when i load up my application and access the website i get multiple errors like the one below , At first i thought it was due to the fact that some of images are located on the loadbalancer proxy and the fact that the server doesn't see them , but even after redirecting the traffic via the proxy the error appeared. Any one ever encountered this error before ? I've added the error stack trace and the server .xml Thank you Assaf 2006-12-04 19:16:27,255 [main] DEBUG org.apache.commons.modeler.Registry - Found jar:file:/usr/share/java/tomcat5/catalina-5.5.17.jar!/org/apache/catalina/u sers/mbeans-descriptors.xml 2006-12-04 19:16:27,264 [main] DEBUG org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource - Reading descriptors ( dom ) 8 ...skipping... ) for servlet default threw exception java.lang.NoSuchMethodError: org.apache.naming.resources.ProxyDirContext.lookupCache(Ljava/lang/String;)Lorg/apache/naming/resources/CacheEntry; at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:679) at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:354) 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 tap.web.TAPRequestFilter.doFilter(TAPRequestFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) 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:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) 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:534) Server.xml looks like this : className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" /> minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="2" disableUploadTimeout="true"/> minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" debug="0" /> debug="0"> unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="test.foo.com_access_log." suffix=".txt" pattern="common" resolveHosts="false"/> className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="test.foo.com_log." suffix=".txt" timestamp="true"/> debug="0" reloadable="true" crossContext="true"> driverClassName="org.postgresql.Driver" url="jdbc:postgresql://xxx.xxx.xxx.xxx/foo" username="postgres"