Hello Sunil,
I'm not sure if I understand what you trying to do...
If you want Apache to authenticate there should be something like this in
httpd.conf
AuthType basic
AuthName "japan area"
AuthBasicProvider dbm
AuthDBMType SDBM
AuthDBMUserFile /www/etc/dbmpasswd
Require valid-user
If you want
Yes! It is working!
Thank you all for your help. Sorry for being such a nag.
It is amazing! Thanks, i will look into it to find out what is the problem.
On 4/5/07, Rashmi Rubdi <[EMAIL PROTECTED]> wrote:
If you compile the Servlet class and Re-start Tomcat after defining
the mapping in web.xml it should work.
I tried the following and it works:
---
If you compile the Servlet class and Re-start Tomcat after defining
the mapping in web.xml it should work.
I tried the following and it works:
-
web.xml
-
It is /servlet/login indeed. In fact, my jsp structure is as
following:
in index.jsp:
in top.jsp:
..
//here, the form will be submit
On 4/3/07, David Delbecq <[EMAIL PROTECTED]> wrote:
En l'instant précis du 03/04/07 11:47, jacky s'exprimait en ces termes:
> in web.xml:
>
> login
> /ser
-Djavax.net.debug=handshake,ssl
Filip
Julien Gaulon wrote:
Dear Tomcat Users,
I'm using a tomcat 5.5 on win XP. My servlet uses 2 secure connectors
(different cipher suites and protocol SSL and TLS) on 2 ports.
I have already found a way to have in my servlet a trigger when a ssl handshake
if you are already using mod_proxy, why use AJP, mod_proxy in
particular, has a more solid implementation in HTTP than AJP
Filip
Mirko Viviani wrote:
Hi,
We are using Tomcat 5.5.20 with Apache 2.2.3/ssl/svn and jdk
1.6.0-b105 on a
Windows Server 2003 R2/SP1 SE with 4 Xeon cores and 4GB ram.
Yerramsetti, Naga wrote:
Hi,
What happens if we use session replication and we try to store in
session an object that is not serializable?
throws an error, probably an IllegalArgumentException on
session.setAttribute
you can also take a look at www.terracotta.org, as they don't require
Rémy Maucherat wrote:
On 4/3/07, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
yes, a proposal is coming up, my guess is that you will do a {public int
write(ByteBuffer)} on the CometEvent object. returns number of bytes
written, but nothing is set in stone yet
I hope that your proposal d
Mladen Turk wrote:
Stefan Armbruster wrote:
Hi
finally I did this:
rm /dev/random; ln -s /dev/urandom /dev/random
... and Tomcat starts up fine.
Wow, that something. You are very brave and root ;)
awesome!
Try with setting:
$> export RANDFILE=/dev/urandom
then start Tomcat.
or create a $HO
Martin Gainty wrote:
MG--
You want to make sure your abandoned connections are properly
re-cycled e.g.
To configure a DBCP DataSource so that abandoned dB connections are
removed and recycled add the following paramater to the ResourceParams
configuration for your DBCP DataSource Resource:
On 4/4/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
Hmm... I don't work under Windows, I use Ubuntu Linux, but I'll try
figure out why it keeps sending me READ events after the end of stream
was reached; I'll get back to you on that one (I'll see if I can make a
small test program which exhi
Hi, thanks very much for the replies.
Rémy Maucherat wrote:
On 4/4/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
Ok, so I get a -1 on a read. Now what do I do?
If I just return from the event handler I immediately get another read
:-(. If I close the event I can't do output anymore.
Sinc
Hello,
Tomcat 5.5.9/Windows XP/Java 1.5_11
I have a Tomcat running about 16 contexts. A few of them are fairly busy.
We recently had a "Out of memory: unable to create new native thread"
Exception. At the time, we had roughly 500 threads in the VM. Of that, 147
were named "JSPRuntimeContext[\]
Also remember that he said he had multiple versions of Java installed on his
machine and it is possible that what Tomcat runs under may very well be
different from what a console window would get. This is the case for me as
well. I have three or four different versions of the JRE and what version i
There is one more thing related to java version and JSPs, there is a
configuration setting for the version used to compile jsps. So even if
you have 1.5 your JSPs still might compile in 1.4 mode. This is setup in
the tomcat xml config file.
Andrew
Gurdeep Kaur (gurdeep) wrote:
java -version
java -version
Should give you what is the default java version used
Gurdeep
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 04, 2007 1:00 PM
To: Tomcat Users List
Subject: Re: Version of Java being used by Tomcat
-BEGIN PGP SIGNED MES
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richard,
Richard Dunne wrote:
> Aneez, Try typing "echo -version %JAVA% " at the prompt". works in
> dos anyway, not sure if tomcat has its own specific syntax.
Never heard of that one before. As far as I know, "echo" on DOS does not
accept any argu
Super - Thanks for the reply!
David Smith <[EMAIL PROTECTED]>
04/04/2007 02:40 PM
Please respond to
"Tomcat Users List"
To
Tomcat Users List
cc
Subject
Re: Finding Version Of Tomcat On Unix?
As with the recently asked question on which java version is in use, you
should be able to
I don't think .htaccess works with Tomcat alone -- doesn't it require
Apache as well?
You could write a filter to block all IP addresses.
-Rashmi
On 4/4/07, Martin Gainty <[EMAIL PROTECTED]> wrote:
Hi Doan-
The easist way is to configure .htaccess for the folder and configure access
according
As with the recently asked question on which java version is in use, you
should be able to glean that from the manager webapp.
http://localhost:8080/manager/html (replace localhost and 8080 with
appropriate values for your installation)
Log in with a user that has the manager role and it shou
You can create simple jsp page with a scriptlet that dumps System
properties to console. Check javadoc for "System" for more information.
Andrew Pliszk
Aneez Backer wrote:
Hi
I have two versions of JAVA installed on my terminal.
Is there any possible way to know which version of JAVA is bein
Mark,
Thanks for the link to the perl site on Taint. I will be testing out
some perl settings.
Mike
At 02:59 PM 4/4/2007, you wrote:
On Wed, Apr 4, 2007 14:32, Mike Cossaboon <[EMAIL PROTECTED]> wrote:
I am running Tomcat 5.5.17 on Solaris 10 with Perl 5.8.4 installed.
I start my perl cgis
Hi Doan-
The easist way is to configure .htaccess for the folder and configure access
according to which referer or what type of page they want
http://www.javascriptkit.com/howto/htaccess13.shtml
Martin --
This email message and any files transmitted with it contain confidential
information in
Hello List!
I have a quick question that I'm hoping someone can help me with: How can
I find the version of Tomcat running on my Unix box?
When I go into the README.txt doc, I see that it's 4.1...but I don't know
the last #'s in the version: 4.1.x...
Is there a command I can run to find this i
That would show the version that is default for that console. You might do
better to look at the configuration for the Tomcat server to see where it
looks for the JRE. That would let you know for sure. If you are running on a
WinXXX platform and as a service, you could look at the settings for the
sorry..
http://TomcatHost:8080/manager/html
(look at JVM Version at bottom of screen)
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message
Should be reported in the manager app -- http://localhost:8080/manager/html
Obviously change localhost and 8080 to reflect your installation.
--David
Aneez Backer wrote:
Hi
I have two versions of JAVA installed on my terminal.
Is there any possible way to know which version of JAVA is being
better make sure thats what Tomcat is using..
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by te
Hi
I have two versions of JAVA installed on my terminal.
Is there any possible way to know which version of JAVA is being used by Tomcat
5.0.28 ???
Aneez
-
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
Hi All,
I am running Tomcat 5.5.17 on Solaris 10 with Perl 5.8.4 installed. I
start my perl cgis with:
#!/usr/bin/perl -T
The -T is for Taint mode which I do to make the cgis more secure.
With a -T option, the web page is displayed with no text from my
print statements. If I remove the -T t
ok, I asked webhosting guy, this is what finally worked:
/chroot/home///tomcat/webapps/india/delhi/images
:)
many thanks for yr help...
David Smith wrote:
What I posted was an excerpt from a jsp page writing the index of a
folder -- no Struts in sight. "directory" was just an arbitrary req
On Wed, Apr 4, 2007 14:32, Mike Cossaboon <[EMAIL PROTECTED]> wrote:
I am running Tomcat 5.5.17 on Solaris 10 with Perl 5.8.4 installed. I
start my perl cgis with:
#!/usr/bin/perl -T
The -T is for Taint mode which I do to make the cgis more secure. With
a -T option, the web page is displayed
Aneez,
Try typing "echo -version %JAVA% " at the prompt". works in dos anyway, not
sure if tomcat has its own specific syntax.
Richard.
- Original Message
From: Aneez Backer <[EMAIL PROTECTED]>
To: users@tomcat.apache.org
Sent: Wednesday, April 4, 2007 7:37:59 PM
Subject: Version of
to disable Proxy Caching by FormAuthenticator
$TOMCAT_HOME/conf/server.xml
Is this what you're looking for???
M-
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have receive
What I posted was an excerpt from a jsp page writing the index of a
folder -- no Struts in sight. "directory" was just an arbitrary request
parameter for example purposes:
http://localhost:8080/myWebApp/imageList.jsp?directory=%2fsome%2fdirectory
It doesn't really matter how you get that stri
Hi Roberto-
I think you may be speaking of demand loading multiple hierarchical
container instances in which case I would look at implementing your app with
Spring IOC (Injection of Control) and locate/allocate/init your bean via
ContextSingletonBeanFactoryLocator class
http://www.springframe
I sign up with a web hosting last night I upload my war file and restart
the server but when I go to the web site it give me this error any
ides ?
HTTP Status 404 - /Page1.jsp
type Status report
message /Page1.jsp
descript
I spend several hours to do this :
I want to share a javabean between two different webapps i want to get
fields and methods of a javabean that is stored in webapp2 from webapps1
I use Tomcat 5.0 and i have read
http://tomcat.apache.org/tomcat-5.0-doc/jndi-resources-howto.html but i get
no suc
Is there a way to hid some directory from user access? Like lets say i have a
directory name 'hideme' and in it are some files. What i want to do is not
allow user from accessing it like 'localhost/hideme/index.html'
-
Sucker-punch spam with award-winning prot
Dear Tomcat Users,
I'm using a tomcat 5.5 on win XP. My servlet uses 2 secure connectors
(different cipher suites and protocol SSL and TLS) on 2 ports.
I have already found a way to have in my servlet a trigger when a ssl handshake
failure occurs. But, in successful case, my servlet needs more
Hi Tomcat Users,
I'm trying to formulate a clever method of providing a stub page, 'under
maintenance' if you will, for when we are building a new version of a
Tomcat served application : i.e. when Tomcat is offline - we need to
keep it offline during the build as there are back-end DB updates
Hello,
I installed Tomcat 6.0.10 and Axis2 1.1.1. I followed all the
directions and dropped the axis2.war file into the
f:\apache-tomcat-6.0.10\webapps directory. It was deployed correctly
according to the log messages. When I tried to test it with my browser
by visiting http://localhost:8080/a
yes I know, eventually I want to do this whole webapp in struts.. for
now just want to be able to count how many images in 'images' folder..
(what I don't get here is first line.. where does the reqParameter come
from? (this method is usu. used to get params from request (user input,
quer
On 4/4/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
Ok, so I get a -1 on a read. Now what do I do?
If I just return from the event handler I immediately get another read
:-(. If I close the event I can't do output anymore.
Since there's not going to be any additional data from the client,
The ip adress is just set correct in the dns servers...simply the host adress
in server.xml is set to www.mydomain.com and i defined alias as mydomain.com
Tomcat recognize www.mydomain.com and mydomain.com as different applications
and creates different sessions for them...
Any recommendations?
Ok, so I get a -1 on a read. Now what do I do?
If I just return from the event handler I immediately get another read
:-(. If I close the event I can't do output anymore.
Can't it just send me ERROR/TIMEOUT events, just like what would happen
if no READS arrive at all? In that case I can do a
IE is sending "Pragma: no-cache" when it requests the admin page ("Request
3" in your previous message). Firefox isn't, so I'm guessing Tomcat is
assuming that FF has a copy.
This is just what I noticed, I'm not an HTTP or Tomcat expert.
| -Original Message-
| From: Kenneth Westelinck [m
On Wed, April 4, 2007 11:21 am, Hassan Schroeder wrote:
> FWIW, I just installed 6.0.10 and dumped in a webapp of mine that
> uses a Filter as a front controller, and it works fine.
>
> I have both JAVA_HOME and JRE_HOME defined for convenience (so I
> can switch as I test/upgrade versions); right
On 4/4/07, Rémy Maucherat <[EMAIL PROTECTED]> wrote:
Ok, that javadoc is a little bit out of date (ex: returning false).
However, it is still valid: if you get a read event, you're supposed
to do at least one read, and it could return -1 (if it got that from
the client). If it fails to read data
On 4/4/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
2) I keep getting READ events after reading all data from the stream
(EOF reached). Now I don't want to close the event because I still want
to write stuff, but I can't just return from the read event because I'll
get another, causing a bus
On 4/4/07, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
As per my post last night, I discovered that the problem starts in
6.0.10...
FWIW, I just installed 6.0.10 and dumped in a webapp of mine that
uses a Filter as a front controller, and it works fine.
I have both JAVA_HOME and JRE_HOME def
On 4/4/07, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote:
Hi,
The pages on Comet say the following about the read event:
EventType.READ: This indicates that input data is available, and that
one read can be made without blocking. The available and ready methods
of the InputStream or Reader may b
> From: Jasbinder Singh Bali [mailto:[EMAIL PROTECTED]
> Isn't there any feature in tomcat itself that would
> automatically take care
> of session hijacking without doing something at web application level.
Not in all cases. SSL deals with untrusted networks, but if you can't
trust the user's
Jasbinder Singh Bali wrote:
And how should i get rid of session hijacking. Is there any feature is
tomcat that takes care of it?
On 4/4/07, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
Jasbinder Singh Bali wrote:
>> In short, i need to demonstrate session hijacking in apache tomcat
and
>>
> From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
> Jasbinder Singh Bali wrote:
> > And how should i get rid of session hijacking. Is there any
> feature is
> > tomcat that takes care of it?
> Figure it out yourself, it's not so hard ;-)
>
> I.e. you can store client's IP address in a session,
Isn't there any feature in tomcat itself that would automatically take care
of session hijacking without doing something at web application level.
something like the way BadInputFilering valve in Tomcat tries to escape
certain string patterns from the GET and POST parameter names and values so
tha
Hi,
Client IP may not be right solution.
This may fail if 2 users use the same proxy to access your
site...
This is normally the case in small and big business where every
useris using a proxy to access a website
Regards
Guru
-Original Message-
From: M
Jasbinder Singh Bali wrote:
And how should i get rid of session hijacking. Is there any feature is
tomcat that takes care of it?
Figure it out yourself, it's not so hard ;-)
I.e. you can store client's IP address in a session, and compare it with
every request. If they don't match, then sessio
> From: Jasbinder Singh Bali [mailto:[EMAIL PROTECTED]
> And how should i get rid of session hijacking. Is there any feature is
> tomcat that takes care of it?
I shouldn't do your work for you, but... just hope your supervisor
doesn't read tomcat-users :-).
Demonstrate: the simplest approach is
And how should i get rid of session hijacking. Is there any feature is
tomcat that takes care of it?
On 4/4/07, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
Jasbinder Singh Bali wrote:
>> In short, i need to demonstrate session hijacking in apache tomcat and
>> then show measures that would be
Jasbinder Singh Bali wrote:
Hi,
I have to demonstrate Session Hijacking with Apache Tomcat to my advisor
when some precautionary measures are not taken.
Maybe securityfocus.com has some information on that?
-
To start a new
Jasbinder Singh Bali wrote:
In short, i need to demonstrate session hijacking in apache tomcat and
then show measures that would be
taken to get rid of it.
Any kind of help would be highly appreciated.
Turn off cookies, Tomcat should then rewrite URLs to include jsessionid.
Then it's trivial to
I have been reading the EventType.READ explanation over and over again,
and now I have even more questions.
1) It says I should return false or throw an IOException when I get EOF.
However, the event method has a void return type, so I don't know how to
do the first. And if it's not unexpected
Hi,
I have to demonstrate Session Hijacking with Apache Tomcat to my advisor
when some precautionary measures are not taken.
I'm just wondering how can I do this.
After a satisfactory demonstration, I need to demonstrate the steps I
would take to get rid of this session hijacking.
In short, i nee
> From: Sabitha Divakaran [mailto:[EMAIL PROTECTED]
> I've installed both the IIS and tomcat in my system.
>
> Tomcat is listening the port 8080. It is installed after the IIS
> installation. But now iis is displaying "page cannot be
> displayed when I
> take the url "http://localhost:80 " prev
Hi again,
I did some further researching. I found this on the 304 returned by Tomcat
when using firefox:
-8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<--
You should never see this error in your Web browser. It
On Wed, April 4, 2007 1:48 am, Rashmi Rubdi wrote:
> If you have the full JDK installed then please set the JAVA_HOME
> environment variable to the JDK's root folder.
Yep, that's what I've had all along, I didn't try the JRE_HOME suggestion.
> I don't know much about Filters, but you may want to
Hi,
The pages on Comet say the following about the read event:
EventType.READ: This indicates that input data is available, and that
one read can be made without blocking. The available and ready methods
of the InputStream or Reader may be used to determine if there is a risk
of blocking: the
I really not sure, still on IE6... but no one is talking so I'm going to
guess.
I think so, but I dont use IE7 so who knows but have a look at this
article
its ASP, but its easy reading and explains the concept
http://www.15seconds.com/issue/971108.htm
and then look up setDomain in j
Hello
I am using a tomcat clustered environment using two tomcat 5.5.20
servers in the Windows machine. I am using the in-memory replication for
replicating the session. In my code, I have a session attribute that
implements HttpSessionActivationListener interface. I expect this
Listener to be cal
Hi,
We are using Tomcat 5.5.20 with Apache 2.2.3/ssl/svn and jdk 1.6.0-b105 on a
Windows Server 2003 R2/SP1 SE with 4 Xeon cores and 4GB ram.
I have configured apache with a virtual host and the ProxyPass directive to
redirect all the requests to the Tomcat instance, as in this example:
http://
Hi ,
this is the modifictaion i made in workers2.properties file:
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009
# defi
I have now been able to make it work on another minimalistic server
using the same worker.properties. It displays the runtime state. Now I
"only" have to find out what differs, that makes the status worker fail
getting runtime state. (It's a lot that differs so that may take a long
time :-/ )
Ok, here is some headers I found with "fiddler":
From firefox:
- Request 1:
GET /eai-admin/ HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
Gecko/20070309 Firefox/2.0.0.3
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
Hi,
We are trying to migrate a running tomcat/JK/IIS setup from win 2000/IIS 5.0
to win 2003/IIS 6.0. The struts application is hosted using two tomcat
instances and we use JK connectors as load balancer for these two servers.
We have configured the IIS with a 'jakarta' virtual directory.The setu
Please show us the setup files...
- Original Message -
From: "sunil chandran" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, April 04, 2007 9:02 AM
Subject: problem in handlins request for JK2
Hello all,
I am Sunil C.
i have used JK2 connector to conne
Hello all !
Someone can throw a little light in this problem?
I am not able to solve it, and I've tried anything I've found searching in
google :S
Thank all!
2007/4/2, Luis Villa <[EMAIL PROTECTED]>:
Ok, now I'm getting mad :S
IExplorer keeps saying the page can't be found (it doesn't ask f
Hello all,
I am Sunil C.
i have used JK2 connector to connect Apache and Tomcat
I am having a servlet (Certserv) folder in webapps folder in Tomcat.
i gave uri to that cert program in my workers2.properties file.
everything is working fine.
but i face a secuirt
79 matches
Mail list logo