Tomcat 5.5.10 jasper2 fails in deployer build.xml

2005-08-15 Thread Richard Mixon (qwest)
I think I found a problem with the jakarta-tomcat-5.5.10-deployer package. When I run the compile task I get the following error: BUILD FAILED C:\jakarta-tomcat-5.5.10-deployer\build.xml:49: Could not create task or type of type: jasper2. Ant could not find the task or a class this task

Re: suppress directory listing

2005-08-15 Thread Paul Singleton
Many thanks to Tim, Arup, Stephen and Aaron for three different solutions (per-directory, per-application and per-Tomcat), *all* of which I reckon oughta be in the FAQ :) cheers Paul Singleton My JSP app has a /images folder and Tomcat 5.5.9 happily serves up a directory listing of this: how

Re: jboss-tomcat bind issue

2005-08-15 Thread Michael Tria
No firewall turned on for this test. root:/etc/init.d $./iptables status Firewall is stopped. Shouldn't Tomcat either be binding to 0.0.0.0 or 127.0.0.1? tcp0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 17487/java Why is netstat showing three colons (':') instead of the

Tomcat Basic Security

2005-08-15 Thread Williams Stephen C
I have been setting up BASIC security realms to limit partial site access to authorised users. The security/privacy is not too great, I just want to stop casual browser access. All works fine, with normal browser access causing the pop-up window requesting user name and password. However,

TomCat 5.5.9 - 8443

2005-08-15 Thread Tom Spence
I can open http://localhost:8080 but, can't open https://localhost:8443 Any idea why? Of course I did uncomment at 8443 area in server.xml and set up by using keytool. Nothing happened. (__[TomCigar]___~~~

Re: Security Questions Regarding Tomcat

2005-08-15 Thread Robert V. Coward/CTR/OSAGWI
Hmmm. Well take a look at this entry from the server.xml file: !-- Define a Proxied HTTP/1.1 Connector on port 8082 -- !-- See proxy documentation for more information about using this. -- !-- Connector port=8082 maxThreads=150 minSpareThreads=25 maxSpareThreads=75

Re: TomCat 5.5.9 - 8443

2005-08-15 Thread Paul Singleton
Tom Spence wrote: I can open http://localhost:8080 but, can't open https://localhost:8443 Any idea why? Of course I did uncomment at 8443 area in server.xml and set up by using keytool. Nothing happened. What kind of nothing? Connection refused? Failed to connect after timeout? Page

Re: Security Questions Regarding Tomcat

2005-08-15 Thread David Smith
But it's also commented out and not active. It's there as an example of a proxied port if you happen to be using Apache and mod_rewrite as a front end to tomcat. --David Robert V. Coward/CTR/OSAGWI wrote: Hmmm. Well take a look at this entry from the server.xml file: !-- Define a Proxied

Re: TomCat 5.5.9 - 8443

2005-08-15 Thread Tom Spence
Here what I got... Aug 15, 2005 8:38:24 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Aug 15, 2005 8:38:24 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8443 Aug 15, 2005 8:38:24 AM

Re: Security Questions Regarding Tomcat

2005-08-15 Thread Robert V. Coward/CTR/OSAGWI
Duh. Thanks. I should have seen that. But I still do not understand how this is all working. Basically I want the to run a default deny ipfilter firewall on the host. Only allowing port 8080 and 8443 (or 4443 there seems to be some confusion with my apps guys on which one is ther real SSL

Re: Security Questions Regarding Tomcat

2005-08-15 Thread Hassan Schroeder
Robert V. Coward/CTR/OSAGWI wrote: Hmmm. Well take a look at this entry from the server.xml file: !-- Define a Proxied HTTP/1.1 Connector on port 8082 -- !-- See proxy documentation for more information about using this. -- !-- Connector port=8082 maxThreads=150

Re: Apache + Tomcat + Mod_JK + SSL How to?

2005-08-15 Thread Kiarna Boyd
Hi, I've been following this thread for a bit and can offer some of my painfully gained insights. I have Apache, tomcat 5.0.28, mod_jk and SSL. This is not a real fix, just my workarounds. It drove me nuts forever until I figured out that Apache webserver does not successful apply rewrite

RE: virtual host memory usage

2005-08-15 Thread George Sexton
You are correct. My suggestion was that you in one case had a file in the common/lib directory, while in another you had it in the WEB-INF/lib directory. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Oleg [mailto:[EMAIL

Re: Security Questions Regarding Tomcat

2005-08-15 Thread Robert V. Coward/CTR/OSAGWI
Understood. But I do not want to use Tomcat proxying services. I just want to host 8080 locally and let my ipfilter firewall block and proxy for me. Roberto Hassan Schroeder [EMAIL PROTECTED] 08/15/2005 08:41 AM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To Tomcat

Re: Security Questions Regarding Tomcat

2005-08-15 Thread Hassan Schroeder
Robert V. Coward/CTR/OSAGWI wrote: Understood. But I do not want to use Tomcat proxying services. I just want to host 8080 locally and let my ipfilter firewall block and proxy for me. Then the default Tomcat configuration of listening on port 8080 is just what you need. I highly recommend

64 Bit Machines and Tomcat

2005-08-15 Thread J R
I tried to install Tomcat, and got the following: ./configure *** Current host *** checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking cached host system type... ok *** C-Language compilation tools *** checking for gcc... gcc

Re: Security Questions Regarding Tomcat

2005-08-15 Thread Robert V. Coward/CTR/OSAGWI
Got it. I've done that, and i figured out that i can not use ipfilter as a reflector. That is it is not very easy to use rdr to map packets from 192.168.0.20 port 80 - 192.168.0.20 port 8080. That is precisely what I wanted to do.force NAT to rewrite packets coming in on one port to another

Re: TomCat 5.5.9 - 8443

2005-08-15 Thread pklist1
It sounds like you need to set up an SSL certificate for Java. Here's a site that outlines how to do this: http://jasigch.princeton.edu:9000/display/CAS/Solving+SSL+issues To use this example, make sure you have your JAVA_HOME environment variable set properly (or replace it in the example with

Re: Security Questions Regarding Tomcat

2005-08-15 Thread David Smith
Regardless of what you put up in front of tomcat to act as the proxy host, you'll most likely need the proxyPort and proxyName attributes in your connector so tomcat can write urls correctly as needed (like in sending external redirects). I do this setup myself on some stuff when I'm using

Re: Security Questions Regarding Tomcat

2005-08-15 Thread Robert V. Coward/CTR/OSAGWI
Okay great. I'll check the docs on that once I get the server side stuff running right. Thanks for all the hel. Roberto David Smith [EMAIL PROTECTED] 08/15/2005 10:59 AM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To Tomcat Users List tomcat-user@jakarta.apache.org

Re: Loadbalancer in Tomcat 5.5

2005-08-15 Thread samuel cheung
Peter, Thank you. Can you please tell me if the Tomcat load balance supports SSL? If yes, do I need to setup certificate in the apache as well? Thank you. On 8/14/05, Peter Rossbach [EMAIL PROTECTED] wrote: Mark your session with jvmRoute parameter. Engine jvmRoute=tomcat1 ...

Re: Loadbalancer in Tomcat 5.5

2005-08-15 Thread Peter Rossbach
Why you don't use apache with mod_jk? Then you can used directly the mod_jk loadbalancer features and apache/ssl support? peter samuel cheung schrieb: Peter, Thank you. Can you please tell me if the Tomcat load balance supports SSL? If yes, do I need to setup certificate in the apache as

Context-specific System.properties

2005-08-15 Thread Nelson, Lorrin
I've got some 3rd-party dependencies that rely on System.Properties for part of their configuration. I'd like to use these same dependencies in multiple Contexts in a single Tomcat deployment. However, I'll want each Context to have different values for those System.Properties. Is there any way

Re: Context-specific System.properties

2005-08-15 Thread Larry Meadors
Not by the looks of the javadocs..fwiw, what 3rd-party dependency is this, so I know to steer clear of it? Larry On 8/15/05, Nelson, Lorrin [EMAIL PROTECTED] wrote: I've got some 3rd-party dependencies that rely on System.Properties for part of their configuration. I'd like to use these same

Re: Loadbalancer in Tomcat 5.5

2005-08-15 Thread samuel cheung
Peter, Thanks. I guess I am confussed by the mod_jk module and the loadbalancer webapp comes with tomcat. When should I use each one? Thank you. Sam On 8/15/05, Peter Rossbach [EMAIL PROTECTED] wrote: Why you don't use apache with mod_jk? Then you can used directly the mod_jk loadbalancer

Webapp suddenly not available

2005-08-15 Thread Vsevolod (Simon) Ilyushchenko
Hi, I'm a relative Tomcat newbie. I have built an application with ant and was using it under Tomcat 5.5.9 for several weeks, and then it suddenly broke. All request to JSP pages now display the 404 error (the requested resource is not available). I was making only very minor changes to the

Re: Webapp suddenly not available

2005-08-15 Thread Sriram N
--- Vsevolod (Simon) Ilyushchenko [EMAIL PROTECTED] wrote: [snip] I'll be grateful for any suggestions. Why all the JSPC entries in this web.xml ? Remove them as the Tomcat defaults should be just OK. The controller entry and the .do mapping seem to be OK. Thanks, Simon -- --

RE: Diagnosing Tomcat Hang

2005-08-15 Thread Kenneth Litwak
Thanks for the suggestion. That does not seem to be the problem, unfortunately. So I'm still looking for a way to deal with this problem. Again, I'm thinking about acquiring/buying software that will tell me more about what is going on, though I wish in the short term I had a better idea,

Re: Webapp suddenly not available

2005-08-15 Thread Vsevolod (Simon) Ilyushchenko
Sriram, I've taken them out, as well as the controller entry (which was a sample line that I don't need). No good. Thanks, Simon Sriram N wrote on 08/15/2005 12:39 PM: --- Vsevolod (Simon) Ilyushchenko [EMAIL PROTECTED] wrote: [snip] I'll be grateful for any suggestions. Why all the

tomcat connect to IIs - Upload problem

2005-08-15 Thread Paulo Neves
Hi all, I have tomcat connected to IIs and working fine. But I can't upload files 50Kb, anyone knows what I need to change to permit upload files 50Kb ?? If I upload directly with tomcat works fine. Regards, Paulo -- -- Paulo Jorge Zagalo

Re: Webapp suddenly not available

2005-08-15 Thread Sriram N
--- Vsevolod (Simon) Ilyushchenko [EMAIL PROTECTED] wrote: Sriram, I've taken them out, as well as the controller entry (which was a sample line that I don't need). No good. Hmm... what _do_ you require in this file, if not the controller entry ? Does the sample web application work ?

Re: Monitor Tomcat with SNMP (MRTG etc)?

2005-08-15 Thread Seth Ladd
Dave Morrow wrote: Thanks Seth. I have been reading the documentation on it and it looks like it will give me what I am seeking. One question though, to save time, you wouldn't happen to know where I might find a list of OID's which I could point MRTG at? Just search for JVM MIB on google,

session problems: www.blahblah.com versus blahblah.com

2005-08-15 Thread Michael Teter
Howdy. I'm having some problems with sessions. If my users come to blahblah.com, then go away, then return, they get a new session id (for www.blahblah.com). But if they come to www.blahblah.com, leave, and return (via link from external site), they keep the same session. I finally discovered

Re: Webapp suddenly not available

2005-08-15 Thread Vsevolod (Simon) Ilyushchenko
Hmm... what _do_ you require in this file, if not the controller entry ? Those JSPs entries. :) Does the sample web application work ? Yes, it does. Try installing Tomcat again, and then running this web app. Maybe you've messed with some config files by mistake. I definitely have not

Re: session problems: www.blahblah.com versus blahblah.com

2005-08-15 Thread Peter Rossbach
Hmm, I thing a host alias at for your tomcat configuration was helpfull :-) Host name=blahblah.com Aliaswww.blahblah.com/Alias /Host Peter Michael Teter schrieb: Howdy. I'm having some problems with sessions. If my users come to blahblah.com, then go away, then return, they get a

Re: TomCat 5.5.9 - 8443

2005-08-15 Thread Paul Kimbrel
Something I forgot to mention. When you are generating your certificate, it will ask for your first and last name. Enter the name of the server your appliation will be running on. In the case of development - this is usally localhost. Otherwise, the certificate will be rejected when your

How to gracefully handle requests for Microsoft Discussions files

2005-08-15 Thread Mitchell Teixeira
Hello to the group - I just noticed some suspicious-looking requests in my http access logs: /MSOffice/cltreq.asp?UL=1ACT=4BUILD=2614STRMVER=4CAPREQ=0 /_vti_bin/owssvr.dll?UL=1ACT=4BUILD=3124STRMVER=4CAPREQ=0 I understand that these requests are just from visitors who are using the Microsoft

Re: session problems: www.blahblah.com versus blahblah.com

2005-08-15 Thread Michael Teter
I tried that, but it's not working. I tried: Host name=blahblah.com Aliaswww.blahblah.com/Alias /Host and I also tried: Host name=www.blahblah.com Aliasblahblah.com/Alias /Host Both ways, I still got a session cookie associated with the name the user entered as the address. If the user

LDAP Authentication Fail Over

2005-08-15 Thread Bhupinder Dhillon
Does anyone know if there's a way to specify multiple LDAP servers for authentication? In case one LDAP server is down, I want tomcat to switch over to the other one. Is it possible? Thanks -- Bhupinder - To unsubscribe,

RE: session problems: www.blahblah.com versus blahblah.com

2005-08-15 Thread Dale, Matt
I'm not sure if there is a technical way to do this or not as it's the browser that saves the cookie based on the current URL. The way I would do this is to not allow the user to create a session in one of them in the first place. ie, if they browse to blahblah.com then just redirect them to

Re: 64 Bit Machines and Tomcat

2005-08-15 Thread J. Ryan Earl
J R wrote: I tried to install Tomcat, and got the following: ./configure [...] configure: error: Unsupported CPU architecture x86_64 How do I fix? Is there files out there to fix that? Is there any particular reason you need to build Tomcat? Why not just go with a prebuilt binary Tomcat

RE: tomcat connect to IIs - Upload problem

2005-08-15 Thread Allistair Crossley
Hi, What is the error that you receive when uploading 50kb? I know there was previously a bug with earlier versions of the now unsupported JK2 connector. If that's what you are using then you should upgrade to the latest JK 1.2.x connector. Allistair. -Original Message-

Re: session problems: www.blahblah.com versus blahblah.com

2005-08-15 Thread Michael Teter
Great. I don't mean to be a bonehead, but what's the right way to redirect based on name? I'm not using Apache on the front, so I don't have the mod_rewrite (nor do I understand how to use it... yet). On 8/15/05, Dale, Matt [EMAIL PROTECTED] wrote: I'm not sure if there is a technical way to

JspC compile exception in tomcat-deployer 5.5.10

2005-08-15 Thread Richard Mixon (qwest)
Hello, I am using the jakarta-tomcat-5.5.10-deployer to deploy my customized war file to tomcat. When I have it do the "compile" target so it pre-compiles the JSP's I get theexception below (its sort of long). I've got the source and can see that it is happening as it processes the JSPs.

Re: virtual host memory usage

2005-08-15 Thread Oleg
Oh I see, well actually what I do, since all users with virtual hosts running identical applications, I place all application related libraries in shared/lib and WEB-INF/lib has only one jar which is application itself and its not in shared or common, common/lib only has Tomcat5 libraries plus

tomcat 5.0.19 randomly stops taking http requests

2005-08-15 Thread Tim Lam
Tomcat 5.0.19 is actually still running, but stops taking http requests randomly. It will run just fine for one or two weeks, then in the middles of the night, or over the weekend when no one is using tomcat at all, it stops taking requests (I know when it happens because I have a

Re: tomcat 5.0.19 randomly stops taking http requests

2005-08-15 Thread Josh Wilson
I am seeing some thing very similar with tomcat 5.0.25. I have 2 connectors configured and one will mysterious stop handling requests in the same way you mentioned below. Any help would be greatly appreciated. On 8/15/05, Tim Lam [EMAIL PROTECTED] wrote: Tomcat 5.0.19 is actually still

Re: session problems: www.blahblah.com versus blahblah.com

2005-08-15 Thread Paul Singleton
Michael Teter wrote: If my users come to blahblah.com, then go away, then return, they get a new session id (for www.blahblah.com). But if they come to www.blahblah.com, leave, and return (via link from external site), they keep the same session. I finally discovered that the browser (Firefox

Re: 64 Bit Machines and Tomcat

2005-08-15 Thread J R
Are there 64 bit counterparts? If not, would the 32 bit ones definitely work? These machines are Intel Zeon processors (dual) JR --- J. Ryan Earl [EMAIL PROTECTED] wrote: J R wrote: I tried to install Tomcat, and got the following: ./configure [...] configure: error: Unsupported

Performance proxy_ajp vs. mod_jk when TOMCAT integration with Apache

2005-08-15 Thread Xuekun Hu
Hi, From performance point, which connector will be used for TOMCAT intergration with Apache? proxy_ajp or mod_jk? I read some docs which said mod_jk should have better performance than proxying. While proxy_ajp in Apache2.1 is an addition to the mod_proxy and uses Tomcat's AJP protocol stack.

Deployment related question

2005-08-15 Thread Aftab Anwar
Hi, I installed tomcat 5.0 (on XP)in default dir (program files/Apache../tomcat5.0). Only JSP 1.2 Examples are working. Also I have not been able to deploy any servlet, jsp... My question is, do we need to update web.xml for every simple deployment. I put all the file in appropriate dir(under

Re: Deployment related question

2005-08-15 Thread Litty Preeth
Hi Aftab, In my experiance JSP 2.0 examples were working properly. But for the servlet deployment to be successful u shud give the servlet and servlet-mapping elements in the appln's web.xml file for all the servlet in the appln. But if u are using linux all works fine without web.xml also.

400 No Host matches server name BLAH

2005-08-15 Thread Darryl L. Miles
With Jakatra/5.5.9 I'm having trouble settings up a Host that has its appBase= setup outside of the usual $CATALINA_BASE directory tree. Tomcat is running as userid jakarta, file permissions are all fine and my web application auto-deploys sucessfully from a WAR within the alternate appBase=

RE: 64 Bit Machines and Tomcat

2005-08-15 Thread Caldarale, Charles R
From: J R [mailto:[EMAIL PROTECTED] Subject: Re: 64 Bit Machines and Tomcat Are there 64 bit counterparts? If not, would the 32 bit ones definitely work? I think you're missing the point. You don't need to build Tomcat, since it's pure Java. Just download the binary distribution, unzip,

Virtual Hosting with WAR files

2005-08-15 Thread Mahesh S Kudva
Hi I have setup Tomcat+Apache2+mod_jk. I have 3 application in war files namely flie1.war, file2.war and file3.war. To deploy, I just put them in the deploy folder and access then using the urls: http://foo.com/file1 http://foo.com/file2 http://foo.com/file3 This works perfectly for me. I want

Re: Performance proxy_ajp vs. mod_jk when TOMCAT integration with Apache

2005-08-15 Thread Mladen Turk
Xuekun Hu wrote: Hi, From performance point, which connector will be used for TOMCAT intergration with Apache? proxy_ajp or mod_jk? I read some docs which said mod_jk should have better performance than proxying. While proxy_ajp in Apache2.1 is an addition to the mod_proxy and uses Tomcat's

Re: serving japanese file problem

2005-08-15 Thread Arun Prasad R
thanks Mark,Hiroshi but how do i specify this in tomcat configuration. in which config file i need to change. what are the changes to be done to achive this. pls help. im newbie arun On 8/12/05, Mark Thomas [EMAIL PROTECTED] wrote: Arun Prasad R wrote: i have a ウェブ.jpg (japanese filename)