Hi,
How to send response from my servlet with HTTP/1.1 header?
All responses have HTTP/1.0 headers. Can I change it?
Regards,
AJ
Pozdrawiam,
AJ.
mailto:[EMAIL PROTECTED]
http://strony.wp.pl/wp/ajonak
Ryan Bloom wrote:
Hi everybody, I'm new to the list, but for anybody who doesn't know me,
I have been pretty active on httpd 2.0. I decided to port mod_webapp last
week, and Pier committed the code for me, but the build system isn't there, so
I am posting the build system now.
This is
jfclere 01/08/30 02:13:34
Added: jk/native/apache-1.3 .cvsignore
jk/native/apache-2.0 .cvsignore
Log:
Add .cvsignore in apache subdirectories.
Revision ChangesPath
1.1 jakarta-tomcat-connectors/jk/native/apache-1.3/.cvsignore
Hello.
I've some problem compiling tomcat 3.2.3 without jsse, for unresolved
dependencies in SSLSocketFactory.java
The ant build script task take cares of excluding this class from compilation
if jsse is not present
javac srcdir=src/share destdir=${tomcat.build}/classes
Hello all,
Sorry for the off-topic question :) but...
I'm trying to update my TC4 sources each morning with a cron job. How can I
get CVS to not prompt for a password (i.e. pick the password up from a
file). I've looked on the cvshome.org website but found nothing that told me
how to do
larryi 01/08/30 04:42:55
Modified:src/shell tomcat.bat
Log:
Fix jspc option to include setting environment.
Always clean up internal environment variables.
Revision ChangesPath
1.39 +15 -14jakarta-tomcat/src/shell/tomcat.bat
Index: tomcat.bat
larryi 01/08/30 04:44:32
Modified:src/shell startup.bat shutdown.bat jspc.bat
Log:
Modify to not set TOMCAT_HOME so tomcat.bat can always guess if
TOMCAT_HOME hasn't been set by the user.
Revision ChangesPath
1.10 +13 -9 jakarta-tomcat/src/shell/startup.bat
set the HOME variable to where to login has taken place..
eg export HOME=/root
Mvgr,
Martin
-Original Message-
From: Dave Oxley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 1:39 PM
To: [EMAIL PROTECTED]
Subject: CVs question.
Hello all,
Sorry for the off-topic
larryi 01/08/30 04:45:53
Modified:src/shell tomcatEnv.bat
Log:
Modify to not set TOMCAT_HOME so tomcat.bat can always guess if
TOMCAT_HOME hasn't been set by the user.
Fix passing of arguments for Win9x.
Revision ChangesPath
1.6 +15 -8
Hi Bill,
On Wed, 29 Aug 2001, Bill Lipa wrote:
How many Apache children do you have? The default is 256, which will indeed
almost immediately consume all the threads in the Tomcat thread pool if you do
not increase it. Each Apache child uses a thread.
Ok. Thanks for the
Hi,
On Wed, 29 Aug 2001, GOMEZ Henri wrote:
You may have find something interesting.
Could you check via netstat in that situation how many ajp connections
are in CLOSE-WAIT ?
When using ajp13, all of the connections were ESTABLISHED. There were
slightly more httpd
Correction, put them in $CATALINA_HOME/lib and $CATALINA_HOME/classes to
make them visible to all web applications but not visible to
Tomcat internal
classes.
The common directory lib and classes are visible to both tomcat internal
classes and web apps.
Oops, thanks for the correction,
On Thursday 30 August 2001 01:10, jean-frederic clere wrote:
Ryan Bloom wrote:
Hi everybody, I'm new to the list, but for anybody who doesn't know me,
I have been pretty active on httpd 2.0. I decided to port mod_webapp
last week, and Pier committed the code for me, but the build system
Hi all,
I'm trying to build Tomcat 3.2.3 with JAXP 1.1 and I
have this error:
Buildfile: build.xml
BUILD FAILED
javax.xml.parsers.FactoryConfigurationError:
java.lang.ClassNotFoundException:
org.apache.crimson.jaxp.SAXParserF
actoryImpl
at
larryi 01/08/30 08:13:33
Modified:src/share/org/apache/tomcat/startup Jspc.java
Log:
Fix name of directory for common classloader
Revision ChangesPath
1.2 +1 -1 jakarta-tomcat/src/share/org/apache/tomcat/startup/Jspc.java
Index: Jspc.java
larryi 01/08/30 08:15:15
Modified:src/shell tomcat.bat
Log:
Back out change for jspc. Problem was in Jspc.java, not in needing the
environment set.
Revision ChangesPath
1.40 +7 -8 jakarta-tomcat/src/shell/tomcat.bat
Index: tomcat.bat
I suspect that I may be opening a can of worms on this one as I see that
the 'embedded' option in the 'catalina.sh' doesn't have a '-security'
option.
I guess that the only sensible way to proceed is to try and mimic the
embedded functionality with a mapper type approach as used with the
After looking into this further I've changed my mind. I've tried this using
other web servers (iPlanet, IIS 4.0 and 5.0) and in all cases the value in
PATH_INFO has been fully normalized including removing adjacent /
characters. IIS gets the contents of PATH_INFO wrong, but it is fully
- Original Message -
From: Artur Jonak [EMAIL PROTECTED]
Hi,
How to send response from my servlet with HTTP/1.1 header?
All responses have HTTP/1.0 headers. Can I change it?
Regards,
AJ
HTTP connector in Tomcat 4.x talks HTTP 1.1.
Are you getting HTTP 1.0 with some other
I tried out your following suggestions on tomcat 3.2.2 - No luck ;-)
1. I placed the JCE1.2.1.jar and the jce-provider.jar the tomcat.home/lib,
and jre/lib/ext, and the webInf/dir.- No luck
2. I placed the following line in the server.xml file.
RequestInterceptor
Hola Veena:
Are you sure you only place 1 copy of the jars when doing your tests?
That is if you trying to test if works in web-inf, you clean the other
copies in ext/lib and tomcat/lib etc, right ?
THis is a popular topic, just searched and it seems people are getting
this problem in various
On Thu, 30 Aug 2001, SUBRAHMANYAM,VEENA (HP-MountainView,ex1) wrote:
2. I placed the following line in the server.xml file.
RequestInterceptor
className=org.apache.tomcat.request.Jdk12Interceptor / (This is all I
have to do, in order to addthe Jdk12Interceptor. Right?)
Yes.
I
On Thu, 30 Aug 2001, Ignacio J. Ortega wrote:
I think we are facing some kind of sealing violation bug here.., some
comments point out that Sun JCE cannot be used with unsigned providers
That was my second bet, and testing without ReloadInterceptor in 3.3
should clear this out.
However, now
Hi
Are you sure you only place 1 copy of the jars when doing your tests?
That is if you trying to test if works in web-inf, you clean the other
copies in ext/lib and tomcat/lib etc, right ?
Yup.
I tried putting the jce1.2.1.jar, and the sunjceprovider.jar, in the
following locations. (each
Hi Costin,
I tried first setting ReloadInterceptor fullReload=false , and then
tried bt taking that line out entirely.
Still the same exception.
I shall now try the openjce...
Thank you for all your help and suggestions.
I shall let you know how this goes..
:-)
Veena
-Original
costin 01/08/30 13:40:51
Modified:src/share/org/apache/tomcat/util/collections
SimpleHashtable.java
Log:
Fix an error in SimpleHashtable.remove, that caused problems in reloading.
( also added few more debug statements )
Revision ChangesPath
costin 01/08/30 13:42:04
Modified:src/tests/webpages/WEB-INF test-tomcat.xml
Log:
Apache has different return codes for bad requests ( I would argue 501 as tomcat
returns is better than 500, but it doesn't matter )
Revision ChangesPath
1.44 +6 -3
Since I was very busy lately (still am), could this be the thing that solves
my reladoing problem and the Application state not ready after that ?
I will test it somewhere next week, just to be sure, but it doesn't hurt to
ask..
Mvgr,
Martin
-Original Message-
From: [EMAIL PROTECTED]
We're using Tomcat at our company with considerable success, but discovered
that if java.exe crashes for some reason, the Tomcat service won't restart
automatically.
I diagnosed the problem and came up with this discovery and a proposed fix.
jk_nt_service.exe exits too gracefully if the
If you really want the service code to be aggressive about restarting
Tomcat, I would suggest just calling start_tomcat() again. This would avoid
any dependency on the Service Control Manager's reaction to ungraceful
exits. In fact, I've never seen any documentation from Microsoft about such
On Thu, 30 Aug 2001, Martin van den Bemt wrote:
Since I was very busy lately (still am), could this be the thing that solves
my reladoing problem and the Application state not ready after that ?
I will test it somewhere next week, just to be sure, but it doesn't hurt to
ask..
Not sure
Back on line, after a week spent changing IP addresses and moving servers
around the planet... This comes from Chuck... And it's pretty interesting...
http://www.zdnet.com/zdnn/stories/news/0,4586,2792860,00.html
Pier
marcsaeg01/08/30 19:18:55
Modified:src/native/nt_service Tag: tomcat_32 jk_nt_service.c
Log:
If the Tomcat VM dies unexpectedly, jk_nt_service now terminates abruptly (i.e.
without notifying the SCM). This causes the NT service recovery process to attempt to
restart the service
The patch looks good and seems to work OK after I configured my tomcat
service to attempt restarts on failures. I hacked Tomcat to croak on start
up and the SCM correctly attempted a single restart and then quit.
The patch has been committed. The native code doesn't get built for the
nightly
As of Win2000 (not sure if this existed in WinNT) you can configure a
service to attempt to recover if it dies. This is fairly flexible in that
you can cause it to attempt up to three restarts (after a delay period),
execute a file on failure, reboot the system, etc.
We might as well use the
I guess that was what I was trying to get at. The failure restart
functionality was not available before Windows 2000. Otherwise I totally
agree with taking full advantage of the OS.
Thanks,
-David
-Original Message-
From: Marc Saegesser [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
Is there a way to completly disable chunking ?
I have set allowChunking=false in server.xml
but HttpResponseStream:checkChunking may still turn chunking on for
individual requests
It has this code
useChunking = (!response.isCommitted()
response.getContentLength() == -1
Is there a way to completly disable chunking ?
I have set allowChunking=false in server.xml
but HttpResponseStream:checkChunking may still turn chunking on for
individual requests
It has this code
useChunking = (!response.isCommitted()
response.getContentLength() == -1
You can use the HTTP/1.0 connector.
Remy
Unfortunatly I cannot. The application I have, requires HTTP 1.1 and
Keep-Alive.
HTTP 1.0 is not an option. However the client side libraries do not handle
chunked encoding. So I am a bit stuck.
Any help with turning off chunked encoding with HTTP 1.1
larryi 01/08/30 20:54:50
Modified:src/shell tomcat.bat
Log:
Fix Usagedisplay for Win9x.
Remove -security option in favor of using sandbox. For start and run,
always set java.security.policy so sandbox can be any argument. This
make it consistent with tomcat.sh. If the
You can use the HTTP/1.0 connector.
Remy
Unfortunatly I cannot. The application I have, requires HTTP 1.1 and
Keep-Alive.
HTTP 1.0 is not an option. However the client side libraries do not handle
chunked encoding. So I am a bit stuck.
Any help with turning off chunked encoding with
costin 01/08/30 21:11:56
Modified:src/share/org/apache/tomcat/util/buf MessageBytes.java
TimeStamp.java
Log:
Added a factory and newInstance method, as an alternative for new MessageBytes.
That allows a different implementation of MessageBytes to be
costin 01/08/30 21:13:12
Modified:src/share/org/apache/tomcat/util/http MimeHeaders.java
Parameters.java ServerCookie.java
src/share/org/apache/tomcat/util/net PoolTcpEndpoint.java
Log:
Use the newInstance method. The old one is still usable,
on 8/30/01 4:22 AM, Glenn Nielsen at [EMAIL PROTECTED] wrote:
Why won't installing the jar files in $CATALINA_HOME/lib and making them
available to all web applications meet your requirements?
Is there a security reason why some web applications can use the classes and
others should not?
On Thu, 30 Aug 2001, Marc Saegesser wrote:
The patch looks good and seems to work OK after I configured my tomcat
service to attempt restarts on failures. I hacked Tomcat to croak on start
up and the SCM correctly attempted a single restart and then quit.
Hi Marc,
Could you check it in the
Hi,
I'm stuck with my Classes problem in tomcat 4.
As I mentioned earlier the whole thing works fine in a IDE environment like
JBuilder but when I make them jars and put them in a standalone Tomcat 4
envrn it doesn't work.
Here's what I am doing:-
I have a JSP that invokes a method in a
Dear Roland,
Please write down the error, else no one can help
you.
My servlet and Jsp files are runing fine in Tomcat
4.0 beta7 ~ .
Ok, here again, I'm using Tomcat 4.0-b7 under Windows NT Server
I unzip the Tomcat 4.0-b7 zip file to a directory. Start it, everything
seems to run
After reinstalling the tomcat 4.0-b7 it suddenly worked. And then I repeated
the same mistake I have made before. I copied my jar files from the old
tomcat-4.0-b5/lib and in that process OVERWROTE the newer versions
jasper-runtime.jar and namingfactory.jar.
I didnt know they had changed the jar
Hello,
so finally JDBC realms is working here, and I use a form-based login. I have
protected everything in my project with the /* URL-pattern. So when I
access the project directory I automatically get redirected to the
form-based login page. After I login successfully, Tomcat sends me to some
Hello,
I have protected everything in my project with the /* URL pattern.
The problem is, my form based login page has a banner, that its actually
contained in an outside html file, referenced like this:
%@ include file=loginheader.html %
The problem is, that banner doesn't appear in the login
50 matches
Mail list logo