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
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
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
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
--- 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:
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
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.
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.
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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,
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
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
--- 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,
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
--- 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
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
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
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
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
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
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,
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
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
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:
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
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
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
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
39 matches
Mail list logo