I'm having horrible experiences with Tomcat and Apache.When I run stress
tools for my application , I face strange problems each day.
The environment I've been using are jdk1.3.1,Tomcat3.2,Apache1.3.12 and jdbc
driver for sql server 2000.
The problems I'm facing are :
1. Tomcat crashes after
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]]
Sent: 22 May 2002 16:59
To: Tomcat Users List
Subject: Re[2]: reloading with ant
Hello John,
I wouldn't mind see your working version even if it is
copy/pasted. At least we know that it works and can extend
Does anyone know how to generate cert using openssl an apply to tomcat
instead of keytool ?
Dear all
I try to shutdown or restart the tomcat but no way , it give me the following error .
There is no process running on 8080 nor process running on the shutdown port .
I feel that this problem will be solved if i restart my machine , but i dont like to
try this solution now.
Any idea
We are using Apache 1.3.12, Tomcat 4.0.1 and AJP13 connector for our servlet
application. After stress testing, java.exe process takes all CPU time and
CPU Usage goes to 100%. Memory usage grows up as well and we have to restart
a tomcat in order to continue working.
Any help will be appreciated.
There is no process running on 8080 nor process running on
the shutdown port .
then it would seem that the server is already shutdown... what error message
do you get when you call startup?
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL
Hello all,
I'm using Tomcat v4.0.4 B3.
Does anyone know where I can find the soure code for the
javax.servlet.* classes?
I thought they used to be distributed w/Tomcat source code but it
seems those days are gone.
Thanks
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
Thanks Chris for your pointer .
it works well now , it was shutdown :)))
Thanks
- Original Message -
From: Chris Campbell [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 11:30 AM
Subject: RE: startup and shutdown on Windows
There is no
Damn, these are GREAT!!
Thanks,
Jakarta Tomcat Newsgroup (@Basebeans.com) wrote:
Subject: Re: tomcat 4.0 + apache 1.3 + mod_ssl
From: Bruno V [EMAIL PROTECTED]
===
Here are some SSL explanations
http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_01.jsp
and in
Hello all
I have just installed Tomcat for the first time. Sorry if this question is
lame. I can't seem to find the answer when I searched the archive.
I have successfully started the Tomcat server. I am running it on windows
2000. I cannot load the index.jsp file at http://localhost:8080. So I
Hi,
Im trying to run tomcat 3.3 on a freebsd 4.5 box with jdk1.2.2 running.
When i run sh tomcat.shs start i get SIGSEGV 11* segmentation violation.
WHat do u thinks its causing this i read thru the archive email regarding
this stuff i followed thier siggestion on double checking my PATH and
Try apple's developer web site:
http://developer.apple.com/internet/macosx/tomcat1.html
On 23/5/02 1:49 am, Oki DZ [EMAIL PROTECTED] wrote:
On 05/23 03:56 daniel bleich wrote:
I am trying to find help online on installing Tomcat on Mac OS X. I must
have made a mistake in trying to install
Hi all
Can any one send to me a sample portion of server.xml that configure memory realm for
a context and the associated tomcat-users.xml ?
Thanks in advance
I got same case for Apache2.0.36.
I find that if I made every requests with 1 second interval, all requests can be
finished.
However if I change it to about 100 ms, the request fails with the error_log stating
the MaxClient exceeds.
Do someone has tried tuning up Apache using worker MPM and
On Thu, 23 May 2002 03:26:06 -0500
Tony LaPaso [EMAIL PROTECTED] wrote:
Hello all,
I'm using Tomcat v4.0.4 B3.
Does anyone know where I can find the soure code for the
javax.servlet.* classes?
Should be in a file called servlet.jar or servlet_*.jar
or something ...
Look in
Hi there
I installed Tomcat 4.0.3 on my Windows 2000 machine. I do not have Apache
Web Server installed. I have JDK1.3.1. I have the relevant environment
variables set accordingly.
Tomcat won't start when I start the Tomat Service. I check the stdout.log
file and get the following error
On Thu, May 23, 2002 at 10:49:53AM +0800, Steve Wong wrote:
Does mod_webapp workwell with Worker MPM??
I find no problem when I am using prefork MPM but return code to be 500 =
when I am using
worker MPM.
My config is Apache2.0.35, mod_webapp built from =
Hi Barbara,
I am using tomcat 4.0.3 full, not the LE one.
~Glen
Hi Glen,
I guess you have tomcat4.0.3 LE. This version of Tomcat does not
include an XML Parser
since it is designed for use with jdk1.4 (jdk1.4 has an XML Parser
included).
If I am right, the solution is:
Get the other
Hello all . . . Found this in the log file. Don't know what it means . . .
does anyone else out there understand?
2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at
context path /webdav
2002-05-23 08:55:51 StandardHost[localhost]: Removing web application at
context path
Dear All
We are going to install tomact 4 under Windows2000 servers in the production servers .
So what is the security checklist should I follow to secure Tomcat ?
Thanks in Advance
Waiting your reply
The Servlet API src is not distributed with Tomcat. You can download it from:
http://jakarta.apache.org/builds/jakarta-servletapi-4/nightly/src/
-prabhakar
Does anyone know where I can find the soure code for the
javax.servlet.* classes?
I thought they used to be distributed w/Tomcat
Hi,
We are developing a Web based JSP application which is running on Apache 1.3.20 +
Tomcat 3.2.2 + Jdk1.3.1 +
Windows NT 4.0. We are facing a session related problem in our application.
The problem is as follows:
The application creates a session for each user during the time of
Hi,
D Watson wrote:
BTW, which version of WS are you using?
WebSphere 4.0 on a Sun Enterprise, with Solaris 8.
Fabio.
--
Fabio Mengue - Centro de Computacao - Unicamp
[EMAIL PROTECTED] [EMAIL PROTECTED]
Quem se mata de trabalhar merece mesmo morrer. - Millor
--
To unsubscribe,
Hi, hope someone can give me some advice on this:
I'm currently setting up Tomcat3.3.1, Apache 1.3 on Redhat linux 7.2 with
mod_jk
I'm trying to generate the mod_jk.conf-auto file.
Trying to generate it on startup from the command line($/etc/tomcat3/tomcat3
start jkconf) did'nt work so I
Hi!
I'm using tomcat 3.3.1!
I have 2 pictures:
pic1.gif
pic1.png
When I use these pics in html (e.g.: img src=pic1.png) both pics are
displayed correctly!
BUT when I access the pics' URL directly, I see the gif correct, but instead
of the png-image, I see the png's raw data displayed in my
Check your %JAVA_HOME%\jre\bin\ directory - you may not have a classic
directory in it, you may have hotspot directory instead (and I think there
are other possibilities, instead of classic/hotspot?)
My Answer :
--
I have no hotspot nor classic directory in
Thanks! I downloaded JDK1.4 and it worked like a charm too. I guess
I'll never figure out what was causing my exception. Best regards!
Aaron
-Original Message-
From: Oki DZ [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 7:06 PM
To: Tomcat Users List
Subject: Re: Enabling
Hello,
I'm running apache-1.3.24 with mod_jk and my problem is, that
tomcat-3.3.1 requires me to specify each virtualhost with docPath in an
apps-*.xml file. But since I'm hosting several hunderts of virtualhosts,
I don't want to generate a new .xml-file each time a change applies and
-Original Message-
From: Mohammed Omar [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 13:55
To: Tomcat Users List
Subject: Re: Tomcat on Windows2000 as a service
Check your %JAVA_HOME%\jre\bin\ directory - you may not
have a classic
directory in it, you may have hotspot
Subject: Tomcat 4.1.0 nightly build - problem deploying
From: Chris Miller [EMAIL PROTECTED]
===
I'm trying to deploy an app on the latest nightly build of Tomcat 4.1.
Several of the WEB-INF/lib/*.jar files are not being deployed, and the error
is the same for each one (shown below). Any ideas
Thanks for your help
I downloaded Jk_nt_service , it solved all problems.
Thanks
- Original Message -
From: John Niven [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 4:24 PM
Subject: RE: Tomcat on Windows2000 as a service
-Original
-Original Message-
From: Mohammed Omar [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 14:32
To: Tomcat Users List
Subject: Re: Tomcat on Windows2000 as a service
Thanks for your help
I downloaded Jk_nt_service , it solved all problems.
OK, my turn to ask for _your_ help!
Dear All
I get this message when browsing a site under tomcat
Too Many Users
There are too many connected users. Please try again later
I received this message when i was refreshing the site pages very quickly , how i
extend the number of concurrent user? or number of running processes ?!!!
You are welcome :-)
go to :
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt
It is very good , has the instructions and link to install Jk_nt_service .
Thanks
- Original Message -
From: John Niven [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Thursday,
I haven't seen any reply to this so I am still puzzled about this error.
However, I tried starting up jboss and tomcat seperately and it worked - at
least I am able to get to the localhost:8080 tomcat page.
Can anyone shed some light on why this happens and why I get the MAPPING
configuration
change the maxprocessor setting in the server.xml file.
peter lin
Mohammed Omar wrote:
Dear All
I get this message when browsing a site under tomcat
Too Many Users
There are too many connected users. Please try again later
I received this message when i was refreshing the site
What is the ideal number for it?
and how i know how many processes my sites need to operate without showing
this bad message for the visitors?
Thanks
- Original Message -
From: peter lin [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, May 23, 2002 5:06 PM
Hi,
is it possible to increase performance of tomcat using linux and a dual processor bord
?
Günter Kukies
Hey,
since I couldn't find very much info about mod_jk, and was having
problems, I decided to use mod_webapp to connect apache 1.3.23 and tomcat
4.0.3 (on a fresh install of redhat 7.0).
it worked great when I first installed it, then I rebooted the box. tomcat
starts fine, when I try to
only if it's got 2 processors
;-^)
ROTFL
Günter Kukies wrote:
Hi,
is it possible to increase performance of tomcat using linux and a dual
processor bord ?
Günter Kukies
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Just a wild guess:
Is web5 defined on your network (either in DNS or hosts file)?
I have mod_webapp working between apache 2.0.36 and tomcat 4.0.3. If I
change my configuration
to specify an unknown host I get the same error you're seeing.
Hope this helps
-Jay
-Original Message-
From:
I'm trying to get the Microsoft SQL Driver to work in doing DataSources. It has a
class called com.microsoft.jdbcx.sqlserver.SQLServerDataSourceFactory, but I must not
be getting the config right or something because it keeps returning Nulls out of the
JNDI.
server.xml:
Resource
Hi,
The transfer speed of apache+mod_webapp is 4 times slower than the
tomcat HTTP Connector. Is this the normal case? It just feels very
slow in my case.
Apache 1.3.24
Tomcat 4.0.3
Solaris 8
Mike
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
that depends on the hardware you're using, the application and what you
consider acceptable response time.
I'm using tomcat 4.0.3, but there should be similar parameters in 3.3.1
Connector
className=org.apache.catalina.connector.http.HttpConnector
port=8080 minProcessors=5
Hi there,
I'm new to this list and have an operating practice question. Forgive me if this has
been covered before.
I'm running Tomcat on a Solaris platform and starting it out of init.d. Right now it
is starting and running under the root user. Is this appropriate? Should I start it as
a
I have a program that prints report on server. It worked fine in Tomcat 3.2.
But, after I upgraded to Tomcat 4.0.3, it does work anymore. I found that it
stops at:
PageFormat pf = job.defaultPage();
where job is PrinterJob job = PrinterJob.getPrinterJob();
Any idea that can make printing
Hi there,
we use tc4.0.3 and setup a datasource in server.xml. When meassuring the time
to get a JDBC connection we get results between 100 and 1000 ms. I was
expecting results like 5-50 ms.
Is there any connection pooling enabled at all?
Do I need to do some additional
Can anybody tell me how to get a war file to expand in the webapps/ROOT
directory.
Thanks
Donie
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Name it ROOT.war and store it in the webapps dir.
~~K
-Original Message-
From: Donie Kelly [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 11:55 AM
To: 'Tomcat Users List'
Subject: Expanding WARS in webapps/ROOT
Can anybody tell me how to get a war file to expand in the
i agree with Jay that web5 definitely has to exist but also i think you have
to add the webapp module after you've loaded it - put the line
AddModule mod_webapp.c
with all the other AddModules in the conf file
hope that helps
steven
On 23/5/02 2:57 pm, Paulsen, Jay [EMAIL PROTECTED] wrote:
Interestingly enough, I don't have the 'AddModule mod_webapp.c' statement in
my httpd.conf.
I am using Apache 2, however - I don't know if that makes a difference.
-Original Message-
From: steven shingler [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 12:08 PM
To: Tomcat Users
Afterwards, restart tomcat
-Original Message-
From: Kevin Grey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 12:06 PM
To: 'Tomcat Users List'
Subject: RE: Expanding WARS in webapps/ROOT
Name it ROOT.war and store it in the webapps dir.
~~K
-Original Message-
Hi all,
I have inserted some images into a sql server 2000 database. Now I'm trying to query
the images and view them with a servlet but I can't.
I have got a lot of examples of how to do it but they don't work!!
I will be very grateful if anyone can send an example that works.
I have:
Hey guys,
When building ant from source. The jakarta-ant-1.4.1-optional.jar, does this
contain all the additional jar files, needed to build ant. It seems that on the site
http://jakarta.apache.org/ant/manual/install.html
the section at the bottom, it is recommend to go to all the site
On Thu, May 23, 2002 at 05:07:49PM +, steven shingler wrote:
i agree with Jay that web5 definitely has to exist but also i think you have
to add the webapp module after you've loaded it - put the line
AddModule mod_webapp.c
with all the other AddModules in the conf file
Not with Apache
You only need to download the ones you want. The build script does a check
to see which libs are in the classpath, then builds accordingly. So if you
only want to use JUnit, then just download the JUnit.jar (and any other
dependencies JUnit has, if any).
~~K
-Original Message-
From:
ah-hah - cool well that's good to know - thanks Simon
if Paul's still wrestling with this though - you said you were using apache
1.3.23 - so i still reckon you'll need the add_module line
its easy to check though i reckon - if all yr other load_modules have
corresponding add_modules - then you
I'm currently doing DB Queries and holding the users
information in session objects... trying to keep the
query load on the database down to a minimum by using
these session objects (MVC2).
My question is where do I draw the line as far as how
much RAM each user gets? When do I free up those
which version of the C++ libraries do you have?
freebsd 4.5 is the newest-greatest, right? (forgive me, been a while)
On 5/23/02 1:33 AM, Joseph G. Mercado [EMAIL PROTECTED] wrote:
Hi,
Im trying to run tomcat 3.3 on a freebsd 4.5 box with jdk1.2.2 running.
When i run sh tomcat.shs start
Hi,
I am currently building a Webapp for a project and I came on a couple of
questions I didn¹t find any answer to. So if one of you has time to go
through them and answer to them I would be thankful. Maybe it would be
better to reply to my personal address directly for I guess my questions
are you following microsoft's directions? they worked for me on jboss at
least.
On 5/23/02 8:04 AM, Adam Greene [EMAIL PROTECTED] wrote:
I'm trying to get the Microsoft SQL Driver to work in doing DataSources. It
has a class called
you should absolutely minimize the amount of things you keep in the session,
IMHO. The database is made for scaling like this, session objects are not.
Basically the database will be able to handle concurrent uses better than
cramming data into the session.
I store very little information in
your browser needs to be mime-typed AND your tomcat application needs to be
mime-typed
you can set tomcat's mime-types in your web.xml file. search google for
tomcat web.xml mime types
As far as your browser -- many browsers are not preconfigured to view png
images alone -- this happens to me
only if it's got 2 processors
;-^)
funny!
but in case the original person isn't sure what you meant -- YES since
tomcat is highly multithreaded (or multi-lightweight-processed on linux that
would be ;) and can run threads in parallel, and the threads are implemented
at the C++ level in
Hi,
would some body helped me?
I installed tomcat on Windows 2000, I could make it work (partialy), when I
try to run the JSP samples, it shows an error message which I pasted below.
It seems that the problem might be a bad configuration, but I really don´t
know.
Regards,
Antonio Salazar
Antonio -
Do you have the Java SDK installed (with the compiler)? If so, you need to
set an environmental value JAVA_HOME=path to the Java SDK and restart Tomcat. The
error means it can't find the Java compiler in the tools.jar file.
Roger Whitcomb
Computer Associates
Senior Software
You can do this in one of the two ways:
A. Use keytool to generate certificate signing request and openssl to sign
it.
Sub-steps:
1. Generate key-pair using keytool ( -genkey operation )
2. Generate Certificate Signing Request or CSR ( -certreq )
3. Sign CSR with openssl ( ca
Hi Roger,
No I don't,
I have already installed the JDK, are both SDK or JDK the same?
Thanks so much!
Antonio Salazar
-Original Message-
From: Whitcomb, Roger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 12:36 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat/4.0.3 - HTTP
-Message d'origine-
De: Dirk Storck [mailto:[EMAIL PROTECTED]]
Date: jeudi 23 mai 2002 01:51
À: Jboss User (E-Mail); Tomcat User (E-Mail)
Objet: [JBoss-user] Access InitialContext of Tomcat 4.0.2
Hi,
I know it doesnt belongs to this mailing list but maybe
someone can
If it has a tools.jar under the lib directory, you're fine. BUT, you need to set
JAVA_HOME in the system environment space to point to the base directory where the
JDK/SDK is installed. Mine is in c:\j2sdk1.4.0 and the tools.jar is in
c:\j2sdk1.4.0\lib
Roger Whitcomb
Computer Associates
On Thu, May 23, 2002 at 05:46:40PM +, steven shingler wrote:
ah-hah - cool well that's good to know - thanks Simon
if Paul's still wrestling with this though - you said you were using apache
1.3.23 - so i still reckon you'll need the add_module line
its easy to check though i reckon -
Remy,
Can you tell me if org.apache.coyote.tomcat4.CoyoteServerSocketFactory when
used for SSL supports the keystoreType attribute? As far as I can tell, it
doesn't. I'm hoping to be able to use it with a PKCS12 keystore rather than
the default JKS keystore. This works fine using the old HTTP
Folks--
I've been beating myself to death over this issue (and have read as many of
the archives on both this, the postgres-jdbc and google resources) and never
even get to the point where those solutions work:
Here's the story:
I'm using postgresql jdbc drivers that come with RedHat 7.2 (and
Roger
I am getting this error as well but a different error message. Could you
please have a look at the error in my email - subject: http status 500
internal error when loading localhost:8080? I would be most grateful.
Lynne
-Original Message-
From: Whitcomb, Roger [mailto:[EMAIL
I'm trying to clear one last hurdle on this whole SSL thing. How
exactly do I force a certain page to require https protocol? The How-To
on SSL (which I have just about memorized at this point) states...
Any pages which absolutely require a secure connection should check the
protocol type
--- Frederick Aubert [EMAIL PROTECTED] wrote:
Hi,
I am currently building a Webapp for a project and I
came on a couple of
questions I didn¹t find any answer to. So if one of
you has time to go
through them and answer to them I would be thankful.
Maybe it would be
better to reply to my
Hi,
RA I'm trying to clear one last hurdle on this whole SSL thing. How
RA exactly do I force a certain page to require https protocol? The How-To
RA on SSL (which I have just about memorized at this point) states...
RA Any pages which absolutely require a secure connection should check the
Hi All,
I am using win2k professional, IIS 5.0 and Tomcat4.0.3 I want to configure IIS and
tomcat. I followed the instructions and setup the ISAPI filer on IIS. I see a green
arrow against the ISAPI filter. When I send in a request I see the following entry
made in the IIS log: 07:30:30
I want to run multiples instances of embedded Tomcat all against the same base
directory. Is such a configuration supported?
1. Can all the instance work off the same web application files on disk - will there
be any problem between the tomcat instances all sharing the same web application
Check the names of the extension_uri and the real dll, are the same?
The error you are getting it's related to that issue mainly, so the
trobuleshooting directions you got in that doc..
Can you send the complete list of files from jakarta virtual dir, export
and post your registry settings or
The default registry entries have a typo. Check the value for:
HKEY_LOCALMACHINE\Software\Apache Software Foundation\Jakarta Isapi
Redirector\1.0\extension_uri
The default value is isapi_redirect.dll, but the DLL name is
isapi_redirector.dll.
Also check the name of your worker.properties
is it better to use HREF or form when calling
controller servlets?
i like the fact you can't 'open in a new window' the
form option.
any advice/articles on this?
thanks again!!
__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
THANK YOU!
-Original Message-
From: Ingo Bruell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 1:03 PM
To: Tomcat Users List
Subject: Re: forcing SSL
Hi,
RA I'm trying to clear one last hurdle on this whole SSL thing. How
RA exactly do I force a certain page to require
Hey List,
First off, I am quite new to jakarta. So, anything that you may consider
mumbling or incomplete, I apologize. Here the problem:
A problem exists, when I reload an HttpServlet (class) in a web server. Initially, it
works, but when I reload the page, it doesn't work. Then
What version of Tomcat are you running? And what version of the Java SDK?
Roger Whitcomb
Computer Associates
Senior Software Engineer
Development
Phone: +1 408 965 8653
FAX: +1 408 965 8805
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
-Original Message-
From: Lynne Gurney
Hi,
I'm working on an app that uses Apache 1.3.2 + Tomcat 4.0.3 + SSL (through
OpenSA) on Windows 2000 server. I've been using the mod_webapp connector,
but have found it to be very unstable when serving up my JSPs. A lot of
time I get a HTTP 404 or 500 error, and sometimes my page will be
Wagoner Ignacio,
you guys were indeed right - the extension_uri registry entry had the dll name wrong!
It works after I fixed that.
Thanx a bunch!
Regards
Ganesh
-Original Message-
From: Wagoner, Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 23, 2002 12:07 PM
To: 'Tomcat Users
This is exactly what happening to me on my freeBSD machine.
Paul
On Thu, 23 May 2002 12:18:50 -0700
Bo Min Jiang [EMAIL PROTECTED] wrote:
Hi,
I'm working on an app that uses Apache 1.3.2 + Tomcat 4.0.3 + SSL (through
OpenSA) on Windows 2000 server. I've been using the mod_webapp
Dear all,
I originally have a RH7.2 system, ran apache+tomcat4.0.1+mod_webapp without
problem. Now, my system need a migration, and unluckily, the `new` system is
RH6.2
I built my own mod_webapp.so and my apache (installed by rpms:
apache-devel-1.3.12-2 and apache-1.3.14-2.6.2) cannot load the
Is there a version of tomcat that uses the current jdk1.4 JSSE
implementation?
Thank You
___
Carlos Javier Rivera Vazquez
GE Network Solutions
1990 West Nasa Blvd.
Melbourne, Florida 32904
Phone: 321-435-5383
mailto:[EMAIL PROTECTED]
Hi all
How do I get the username and password from the http authentication
headers...
Thanks
Donie
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
request.getHeader()
see the documentation for HttpServletRequest
On 5/23/02 12:27 PM, Donie Kelly [EMAIL PROTECTED] wrote:
Hi all
How do I get the username and password from the http authentication
headers...
Thanks
Donie
--
To unsubscribe, e-mail: mailto:[EMAIL
That's grand but I then have to base64 decode the result. I was hoping there
was a nice way ;)
Donie
-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 20:38
To: Tomcat Users List
Subject:Re: Getting USERNAME/PASSWORD from HTTP
This nice way is: request.getRemoteUser(). However, this doesn't seem to
work with mod_webapp, I haven't figured out why and no one had an
explanation when I asked. I'm using an ugly base64 decode as a work around
until I get another connector working. getRemoteUser() does seem to work
(from what
i believe there is free code somewhere available for this -- it's really
easy.
search google for
base64 decode java source
it's the second result. it's public domain with no restrictions.
fillup
On 5/23/02 12:35 PM, Donie Kelly [EMAIL PROTECTED] wrote:
That's grand but I then have to
The servlet-interest mailing list still appears to be alive at javasoft/sun.
I think you can subscribe via http://archives.javasoft.com/.
But I don't want to discourage you from starting your own. I too have some
general thoughts I would like to discuss on web app architecture (eg. do we
need
I did some testing of a non-trivial web application that I have using
Jakarta Jmeter with Apache 1.2.23 running on RedHat 7.2.
I found that there was no difference between going through Mod_WebApp and
going through the http 1.1 connector. The times were the same regardless of
which way I went.
Thanks Llyod, I'm using Tomcat in standalone mode and getRemoteUser()
returned null?? I'm using tomcat 4.0.1
Thanks
Donie
-Original Message-
From: Lloyd Meinholz [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 20:48
To: 'Tomcat Users List'
Subject:RE: Getting
there have been several discussions here of problems with getRemoteUser and
my only advice will be to repeat that you should just grab raw headers --
even if just for debugging. This has always worked for me quite well.
That code link I sent provides direct base64--String decoding.
fillup
On
What is the easiest way to set up the Manager webapp for Virtual Hosts?
Thank you.
Tim Bourg
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
1 - 100 of 141 matches
Mail list logo