RE: Avoid Directory Listings

2005-02-20 Thread Caldarale, Charles R
From: Eduardo Andrés Alfonso Sierra [mailto:[EMAIL PROTECTED] Subject: Avoid Directory Listings Is there any posibility to secure the directory listings of every directory in an application ?? Try disabling the listings parameter for the default servlet in conf/web.xml. - Chuck THIS

Re: Session replication with jk 1.2.8

2005-02-20 Thread Mladen Turk
Dan Carwin wrote: He references the jvmRoute=servername variable which needs to match a like variable tomcatId in workers2.properties. Of course workers.properties doesn't have the tomcatId variable. The funny thing is in the change notes for the jk connector, I see that Bill Barker made some

Re: ThreadDeath with tomcat 5.5.7 and bouncycastle

2005-02-20 Thread Remy Maucherat
On Sun, 20 Feb 2005 09:00:58 +1100, Adam Jenkins [EMAIL PROTECTED] wrote: Hi All, I'm getting a really odd error when I try to init a ciphers (or any other artifact for that matter) using BC as the provider in tomcat 5.5.7 (struts application). The call is simply final Cipher rsaCipher

RE: moving all classes to shared

2005-02-20 Thread Dale, Matt
I'm not sure what you're getting at here. The number of users are irrelevant to the classes. You should only use shared/classes if the classes have to be shared across web apps. Although this is not usually advised as it is good practice to keep web apps self contained. WEB-INF/classes would

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Rico
--- sven morales [EMAIL PROTECTED] wrote: Hi, Are you putting your classes at tomcat5/webapps/yourwebapp/WEB-INF/classes ? What I outlined in my email is that when I don't do the above because I use my own Context docBase=C:\myWebApp path=/something Tomcat cannot find the resources as follows:

Re: Avoid Directory Listings

2005-02-20 Thread Tim Funk
No. You'd need to extend the default servlet then detect when a dir listing will be displayed, then use programmatic authorization. -Tim Eduardo Andrés Alfonso Sierra wrote: Hi I'm trying to stop tomcat from list contents of directories. I've tried securing it and it works but has the BIG

Re: moving all classes to shared

2005-02-20 Thread Michael Echerer
Dale, Matt wrote: I'm not sure what you're getting at here. The number of users are irrelevant to the classes. You should only use shared/classes if the classes have to be shared across web apps. Although this is not usually advised as it is good practice to keep web apps self contained.

IIS + Tomcat 5.5 working, BUT how to ADD a docbase?!

2005-02-20 Thread Matt
OK, the docs out there are good, but they either concern old versions of IIS and/or Tomcat -OR- they concern the JK2 module (including this list's archives I have searched). If JK2 is NO LONGER SUPPORTED, why in the heck would I care to use it? So, I am using the very nice jk_1.2.8.exe installer.

Re: IIS + Tomcat 5.5 working, BUT how to ADD a docbase?!

2005-02-20 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: IIS + Tomcat 5.5 working, BUT how to ADD a docbase?!

2005-02-20 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: IIS + Tomcat 5.5 working, BUT how to ADD a docbase?!

2005-02-20 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: IIS + Tomcat 5.5 working, BUT how to ADD a docbase?!

2005-02-20 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: IIS + Tomcat 5.5 working, BUT how to ADD a docbase?!

2005-02-20 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: IIS + Tomcat 5.5 working, BUT how to ADD a docbase?!

2005-02-20 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: IIS + Tomcat 5.5 working, BUT how to ADD a docbase?!

2005-02-20 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: IIS + Tomcat 5.5 working, BUT how to ADD a docbase?!

2005-02-20 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Re: IIS + Tomcat 5.5 working, BUT how to ADD a docbase?!

2005-02-20 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: IIS + Tomcat 5.5 working, BUT how to ADD a docbase?!

2005-02-20 Thread webmaster
it's time to go... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Serving up a Flash file

2005-02-20 Thread Paul Erion
Thanks to everyone for their responses. It's amazing how large some of the gaps in my knowledge truly are. Paul p.s., Sorry I didn't mean to disappear ... water is an amazing thing, given enough volume, it can get into all sorts of places you wouldn't expect; so I've been learning all sorts of

Re: Serving up a Flash file

2005-02-20 Thread B Wiley
It's amazing how large some of the gaps in my knowledge truly are. Words of a wise man. I find myself thinking the same thing daily. I'm sure we are not alone :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread sven morales
Hi, I have no problem doing that in linux, having the jsp files and classes in another directory besides being under $CATALINA_HOME. I wonder if you can try using a forward slash in windows. aka_sergio --- Rico [EMAIL PROTECTED] wrote: --- sven morales [EMAIL PROTECTED] wrote: Hi,

Charset in Content Type: Tomcat 4 versus Tomcat 5

2005-02-20 Thread Neeraj Vora
Hello World, I migrated from Tomcat 4.0.2 to Tomcat 5.5.7 which is quite nice for me but a not so good thing happened as a side-effect due to a MS bug. A particular response within my application had the following content-type header in Tomcat 4.0.2 Content Type: application/x-java-jnlp-file

[ANN] Apache Jakarta Tomcat 5.5.8-alpha Released

2005-02-20 Thread Yoav Shapira
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Tomcat 5.5.8-alpha. This build contains numerous bug fixes, documentation updates, and other improvements. Release notes: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES Please refer to the change

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Rico
--- sven morales [EMAIL PROTECTED] wrote: Hi, I have no problem doing that in linux, having the jsp files and classes in another directory besides being under $CATALINA_HOME. I wonder if you can try using a forward slash in windows. There's no difference. The problem persists,

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Jason Bainbridge
On Sun, 20 Feb 2005 16:50:39 -0800 (PST), Rico [EMAIL PROTECTED] wrote: --- sven morales [EMAIL PROTECTED] wrote: Hi, I have no problem doing that in linux, having the jsp files and classes in another directory besides being under $CATALINA_HOME. I wonder if you can try using

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Rico
--- Jason Bainbridge [EMAIL PROTECTED] wrote: On Sun, 20 Feb 2005 16:50:39 -0800 (PST), Rico [EMAIL PROTECTED] wrote: --- sven morales [EMAIL PROTECTED] wrote: Hi, I have no problem doing that in linux, having the jsp files and classes in another directory besides being under

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Hassan Schroeder
Rico wrote: What I outlined in my email is that when I don't do the above because I use my own Context docBase=C:\myWebApp path=/something Tomcat cannot find the resources as follows: C:\myWebApp\WEB-INF\classes\hibernate.cfg.xml and OK, just took a look at an old Windows(2k) machine w/4.x stuff

Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-20 Thread Richard Mixon (qwest)
We have been using Sun Java 1.4.2, Tomcat 5.0.19, MySQL 4.1.7, MySQL Connector/J 3.0.15 with Hibernate 2.1.7c with no problems. This is on both Windows XP Pro SP2 (development) and SuSE Linux SLES9 (test and production). In order to get failover to work the way we wanted we upgraded to Tomcat

multiple login-config for one webapp

2005-02-20 Thread Thiwanka Wimalasuriya
dear all, is it possible to have two login-config elements in one web.xml (tomcat 4.1) what's i need to do is use form based authentication for a webapp exept for one specific URL (http://localhost:8080/smsdeo/system/Autopush.do?survey=testSMSSurveyphoneN umber=777425205) for which i need to use

Re: Visibility of resources under WEB-INF/classes

2005-02-20 Thread Matt
Unless you change the slash type explicitly (according to one out-of-date doc, of which there are so many floating around), doesn't Tomcat expect forward slashes, even on Windows? Anyway, just using forward slashes doesn't seem to be the cure (unless Rico and I each have part of the actual, full

Re: multiple login-config for one webapp

2005-02-20 Thread Thiwanka Wimalasuriya
dear all, the servlet spec 2.4 says (page 109 of servlet-2_4-fr-spec.pdf from http://www.jcp.org/aboutJava/communityprocess/final/jsr154/ ) However, the deployment descriptor instance file must not contain multiple elements of session-config, jsp-config, and login-config. so does it mean that

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-20 Thread Shakeel Ahmad
Have you changed the corresponding mysql connector jar file ? Best Regards, S H A K E E L A H M A D http://members.fortunecity.com/javaclub/shakeel.htm Voice: 00923002723316 Senior Software Engineer. NorthStar Technologies. www.globalnorthstar.com EE(Computer Engineering), UET Lahore,

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-20 Thread Richard Mixon (qwest)
Actually I tried MySQL Connector/J 3.0.15, and then updated to the latest 3.1.7. Each was placed in in $CATALINA_HOME/common/lib and tried - same result/error message. -Original Message- From: Shakeel Ahmad [mailto:[EMAIL PROTECTED] Sent: Sunday, February 20, 2005 10:22 PM To: Tomcat

RE: Tomcat 5.5.7 cannot connect to mysql datasource - what changed?

2005-02-20 Thread Shakeel Ahmad
Wel we did the same to upgrade our product all went wel except for the connector. Then after some research I found that mysql-connector-java-3.1.6-bin.jar was the missing part. But your trace also shows that the PoolableConnectionFactory is not being created may be try commons-dbcp-1.2.1.jar if

JDBC connection errors

2005-02-20 Thread deepak suldhal
Hi I am getting the following errors while trying to make a JDBC connection. Please help. description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Unable to get connection, DataSource invalid:

JDBC connection - Please help

2005-02-20 Thread deepak suldhal
Please help me make my first JDBC connection My web.xml web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; version=2.4

RE: JDBC connection errors

2005-02-20 Thread Reshma Bhatia
Hi, Looks like you are using the Tomcat Connection pool. Refer to the attached file and verify that you have done these steps. I think it should solve your problem. -Original Message- From: deepak suldhal [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 11:43 AM To: tomcat

RE: JDBC connection errors

2005-02-20 Thread Shakeel Ahmad
You are not giving the correct parameters for the connection, see '' and null, correct them ... Best Regards, S H A K E E L A H M A D http://members.fortunecity.com/javaclub/shakeel.htm Voice: 00923002723316 Senior Software Engineer. NorthStar Technologies. www.globalnorthstar.com EE(Computer

Fwd: JDBC connection - Please help

2005-02-20 Thread deepak suldhal
When I write a simple java class to get the driver and connection it works fine. I am able to retrive row and print them. But I am not able to get the same on Tomcat server. Note: forwarded message attached. Do you Yahoo!? The all-new My Yahoo! – What will yours do?---BeginMessage--- Please