I have Tomcat 5.5.7 installed on two different machines - Win XP and
Windows 2000. I use the 'startup.bat' script provided in the '/bin'
directory and I have JDK 1.5 installed on both machines. The only
environment variables I have are JAVA_HOME as I allow the
'startup.bat' to set the other
Hello guys,
Can someone help me in configuration?
Any hints will be helpful as well.
vaneet
-Original Message-
From: Vaneet Sharma
Sent: Monday, March 21, 2005 11:28 AM
To: tomcat-user@jakarta.apache.org
Subject: Centos 3.3
Hello guys,
I am not able to configure apache web server
Hi All,
Where do I find the source code for the servlet.jar?
Disclaimer
This message is not an official communication of SLK Software. The sender
of this message is neither acting as an agent nor in any other capacity for
or on behalf of SLK Software. SLK Software accepts no responsibility or
http://cvs.apache.org/viewcvs.cgi/jakarta-servletapi-5/jsr154/
-Tim
Rajaneesh wrote:
Hi All,
Where do I find the source code for the servlet.jar?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi,
the source code for servlet.jar is part of the tomcat source release.
- Trond
Rajaneesh wrote:
Hi All,
Where do I find the source code for the servlet.jar?
Disclaimer
This message is not an official communication of SLK Software. The sender
of this message is neither acting as an agent nor in
Besides, giving to the USER a different authentication failure message
is a bad idea - hackers use that information to know which accounts to
try to hack.
On the other hand, though, custom handling of the error would be nice
- the LDAP servers I use disconnect silently without traffic for some
Hi,
i'm trying to test a locking system for servlets. I've made a chain of
servlets which include each other:
Servlet1 -- Servlet2 -- Servlet3
When Thread1 is in Servlet2, it puts a lock on Servlet1. That way if there
is a new Request, this request (on thread2) wants to start with servlet1.
From: Brij Naald [mailto:[EMAIL PROTECTED]
[... locking mechanism described...]
Now I push on the 'previous'-button of my browser
... thereby cancelling your first request. What effect does that have
on your code?
What happens if you test with two browsers, rather than one?
-
Hi,
I don't want to give to the user the error why his login fails, but I want
to open a popup calling the good service from my Novell server.
Beside of that, I'm developping an Intranet application, so hacking is not
our primary concern.
What can I do instead of unpacking calalina.jar and
Try to give thread priority.
Are u using?
Wait and notify ?
Try using wait () and notifyAll
Can you send me the code?
Why are u doing it ? What is real need to do such thing?
Vaneet
-Original Message-
From: Brij Naald [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 1:39 PM
Do not use a browser for such testing. You have no way of knowing when the
browser releases connections.
Use perl's LWP or wget in different processes to similuate multiple requests.
-Tim
Brij Naald wrote:
Hi,
i'm trying to test a locking system for servlets. I've made a chain of
servlets which
Hi,
are you tying to prevent one user to only make one request at a time?
Then a ServletFilter may serve your needs.
Here :
http://www.onjava.com/pub/a/onjava/2004/03/24/loadcontrol.html
is a possible solution to restrict requests from one user.
I haven't tried it myself yet, but the article
Thank you for pointing me to the JCFU.
I plan to use it for uploading images.
I could not find a method that would allow me to determine or control
pixel dimensions for uploaded images ( only file size ).
How do others filter images based on actual image size ( pixel
dimensions ).
Thank you
Use javax.imageio.ImageIO to read the image from an input stream - you
get back a BufferedImage from which you can determine the dimensions.
w
On Tue, 22 Mar 2005 08:57:36 -0500, Shannon Scott [EMAIL PROTECTED] wrote:
Thank you for pointing me to the JCFU.
I plan to use it for uploading
And be advised that you have to recapitulate your package structure in
the directory hierarchy under ..WEB-INF\classes. In other words, if you
compile your bean inside package org.company.my.java, then you should
place the class file for your bean in ..WEB-INF\classes\org\company\my\java
QM
Is it possible to determine the url of the webpage
from which a particular servlet was called please?
I.e. the target of a 'back' action on the browser?
public java.lang.String getRequestURI() is the 'current'
page, I need the calling page.
Regards DaveP.
snip here *
--
DISCLAIMER:
On Mar 22, 2005, at 15:13, Pawson, David wrote:
public java.lang.String getRequestURI() is the 'current'
page, I need the calling page.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.36
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/
DaveP,
You could use the 'referer' header, eg.
String referedURL = request.getHeader(referer);
Note that the String is null if the header isn't present which usually
indicates that the user typed the URL in their browser.
Hope this helps!
--
Mike Fowler
Registered Linux user: 379787
I could be a
-Original Message-
From: Mike Fowler
You could use the 'referer' header, eg.
String referedURL = request.getHeader(referer);
Note that the String is null if the header isn't present
which usually indicates that the user typed the URL in
their
From: Pawson, David [mailto:[EMAIL PROTECTED]
From: Mike Fowler
Note that the String is null if the header isn't present
which usually indicates that the user typed the URL in
their browser.
The caveat is worth noting!
If a user does that, they deserve to be
Worth mentioning this as I have been down this path.
Symantec Intenet Security products and the like, will remove this header. I
actually contemplated writing to Symantec about this only this morning (I
think I have too much time on my hands).
Hi all,
I've just installed a setup with Win2003 server, IIS 6 (the default 2003
server) and tomcat. I tried this before, and failed but now I succeeded.
I know there are more people dealing with the same env. setup. So if you
are having problems with this kind of setup you can read all about my
I noticed on the page:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html
That xmlValidation is not documented on the host page.
Also, it tools like xmlNameSpace is another attribute not documented.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
Hi,
I installed a Tomcat 5.0 behind a IIS 6.0 web server (which uses NTLM
authentication).
The application works fine but I can't get the user login with the
getRemoteUser() method, I get null !!!
Does someone know why?
Do I have to configure something in Tomcat ?
Thanks in advance.
Fred.
VAN DER MARLIERE FREDERIC wrote:
The application works fine but I can't get the user login with the
getRemoteUser() method, I get null !!!
Does someone know why?
Do I have to configure something in Tomcat ?
Yes.
Set tomcatAuthentication=false for AJP connector.
Regards,
Mladen.
Hello Vaneet.
Can you include the virtualhost portion of httpd.conf, host
portion of server.xml, workers[2].properties, and jk.conf files so we
can check your config?
thx.
jc
On Tue, 22 Mar 2005 12:23:28 +0100, Vaneet Sharma [EMAIL PROTECTED] wrote:
Hello guys,
Can someone help me in
Dear Jc,
Thank you very much,
Please read below
SECTION A) configuration of httpd.conf
Well, if you go there: http://www.export4u.co.uk ( Apacher webserver is
running but it is not integrated with Tomcat. )
Java and Tomcat are already installed on the my machine
1) I have installed
I've followed the directions in the docs to get 5.5.7 to compile JSPs with
-source 1.5 features. It stays in -source 1.4 mode.
I know the docs say the IBM compiler will be updated to handle Java 5 feature.
When inner classes were introduced in jdk 1.1, it took IBM a year to implement
inner
I'm currently playing the IP compliance game with Tomcat and have
jumped through all their hoops so far but just now need to implement a
process of monitoring annoucements of new versions so we can assess
whether we need to upgrade or not.
Currently that involves me reading tomcat-user but that
Hi,
Any idea what could cause these network problems?
[Tue Mar 22 14:41:08 2005] [info]
ajp_process_callback::jk_ajp_common.c (1357): Connection aborted or
network problems
[Tue Mar 22 14:41:08 2005] [error] ajp_service::jk_ajp_common.c
(1699): Client connection aborted or network problems
Sounds like you need to edit/create the build.properties file for your
environment.
For what it is worth, mine looks something like this (I have removed a
couple of CVS settings)
# - Default Base Path for Dependent Packages -
# Replace this path with the directory path where dependencies
This is probably by design. This sort of information can be useful to an
attacker.
If you want to implement this yourself possible starting points would be
overriding the relevant methods of org.apache.catalina.realm.JNDIRealm
or extending org.apache.catalina.realm.RealmBase
HTH
Mark
[EMAIL
It is only a guess but it looks like you have hit
http://issues.apache.org/bugzilla/show_bug.cgi?id=19701
This was fixed in the 4.1.31 release
Mark
Antony Paul wrote:
I need to have a bug registered for this as I could convince my
manager. I searched bugzilla but could'nt find one. If anyone know
I'm installing Tomcat 5.5.7 from source. Before building, a whole bunch of
jar files are downloaded from a cvs repository. The default for these
files is /usr/share/java.
Is this a good place, or should they go in my $JAVA_HOME, which is in
/usr/local ?
First of all, thanks to all the developers and users that have
contributed to Tomcat. It's quite an amazing piece of software.
I'll start by telling you why I am trying to do this, what approaches I
have taken in my attempts to do it, and then I'll ask for some
suggestions on other approaches
On Tue, 22 Mar 2005 13:39:55 -0500, Eric Butler [EMAIL PROTECTED] wrote:
First of all, thanks to all the developers and users that have
contributed to Tomcat. It's quite an amazing piece of software.
I'll start by telling you why I am trying to do this, what approaches I
have taken in my
see inline comments regarding HttpServletResponseWrapper
Remy Maucherat wrote:
On Tue, 22 Mar 2005 13:39:55 -0500, Eric Butler [EMAIL PROTECTED] wrote:
First of all, thanks to all the developers and users that have
contributed to Tomcat. It's quite an amazing piece of software.
I'll start by
Yes it does. I tested this extensively with both IE and Firefox. Any
combination of the following is OK:
Auth: BASIC, FORM, DIGEST
Realm: Memory, UserDatabase, JDBC, DataSource
Passwords: Cleartext, digested
There is a complication when using digested passwords with the
Should be fine to delete but if you ever want to build Tomcat again...
Mark
Mark Leone wrote:
I just completed a build of Tomcat 5.5.7 on Windows XP, after using the
binary distribution for quite a while. Can I delete the 166 MB of stuff
in the \usr directory? I didn't have any of this stuff
I don't know anything about JWSDP, but have you read the setup and
configuration pages for the version of Tomcat you're using? e.g.,
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
That's the how-to you're looking for, I suspect...
Yah, I tried, but I found it much more confusing
Thanks for the suggestion. I got it to compile successfully by upgrading
from Ant 1.6.1 to 1.6.2. I assumed that RedirectorElement was part of
the ant distribution, and an upgrade seemed to be a good shotgun approach.
-Mark
Mark Thomas wrote:
Sounds like you need to edit/create the
Okay, I was using 5.5.7. So I just downloaded the source and built
5.5.8, and things got worse. Digest authentication is not working for
me. I believe I've set everything up correctly. Using an HTTP monitor I
see a 401 response coming back from Tomcat with a www-authenticate
header whose
-Original Message-
From: Mark Benussi
Worth mentioning this as I have been down this path.
Symantec Intenet Security products and the like, will
remove this header.
for this use, internal to my organisation, Norton isn't installed
luckily!
I found a silly classpath error that fixed the problem using RealmBase.
I didn't realize that my system still had environment variable
%catalina_home% pointing to an old tomcat 4.1.24 directory. So when I
opened a command window to generate digest values I was executing
RealmBase in tomcat
44 matches
Mail list logo