We have an application running as a webapp which requires legacy
systems and network resources which are not fault-tolerant. Luckily
these resources are stateless. So we have replicated these
resources so
that one is available per tomcat instance. When we attempt
to use one
of
Hi all,
Is it possible to know what version of Tomcat is running behind an
Apache. The connector used is JK.
Try asking for a non-existant servlet in your web-app. The 404 page is issued
by Tomcat and, I think, tells you the version.
Regards
Roger
If I can see your encrypted passwords, then I can see the
code that decrypts
them. And with that I have your passwords. It only adds a
step to my effort
to crack your security.
Is that strictly true? If you use the method that is used to encrypt Unix
passwords (google for JCrypt for
Hi
I have upgraded from Tomcat 4.3.31 to 5.0.28. While testing, a previously
running application now fails with the error
org.apache.jasper.JasperException: Cannot find any information on property
'tcCheckBoxErrorMessage' in a bean of type
'uk.co.brakes.CustomerRegistrationFormData'
Can
I have upgraded from Tomcat 4.3.31 to 5.0.28. While testing,
a previously running application now fails with the error
org.apache.jasper.JasperException: Cannot find any
information on property 'tcCheckBoxErrorMessage' in a bean of
type 'uk.co.brakes.CustomerRegistrationFormData'
Hi
I know that if I have multiple mappings to the same servlet, then I get two
seperate objects instantiated. However, where does the engine instantiate the
copy from? For example, I want to run two copies of the same servlet with
different URLs, one in test mode, one in live mode. I was
Hi
I don't think that this is a Tomcat problem per-se, but it involves Tomcat so
I'm asking here in the hope that someone else has seen this before.
An external program reads XML from a file on disk into a ByteArrayOutputStream
to calculate the length of the data. The byte array is extracted
iso-8859-1 - I wouldn't
have expected a problem in a UK locale with this.
Regards
Roger
-Original Message-
From: Varley, Roger [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 11:00 AM
To: Tomcat Users List (E-mail)
Subject: HttpServletInputStream is corrupting data?
Hi
For reasons beyond my control, a web application
(apache/Tomcat/PostgreSQL) that I support will need to be partitioned
into one context per customer (to support one database per customer).
I'm wondering:
Do you really need one database per customer? In a similair situation, we
resolved
About the only thing left to try is to allow the PROPFIND on
/webapp/ .
So here's the Tomcat question---how can I allow a PROPFIND on
/webapp/
and return, for example, a 403 forbidden, rather than a 501 Not
Implemented? Do I have to override
a) Authenticate the users against the generic /etc/passwd unix scheme
(/etc/shadow in our case).
Provided you have read access to the password file, look for JCrypt for a
java implementation of the Unix password encryption scheme.
Regards
Roger
I've just upgraded to 4.1.31 and I'm getting
org.apache.jk.common.ChannelSocket processConnection INFO:
connection Timeout received messages at the console every
second or so. Everything seems to be working OK so do I need
to do anything about these messages? If this is normal
Whatever it was, it doesn't do it in 4.1.31.
Regards
Roger
-Original Message-
From: Varley, Roger
Sent: 29 October 2004 11:32
To: [EMAIL PROTECTED]
Subject: Tomcat fails - Can't read body, waited #0 Seems size related
I have a servlet that recieves data from a client. All
Hi
I've just upgraded to 4.1.31 and I'm getting org.apache.jk.common.ChannelSocket
processConnection INFO: connection Timeout received messages at the console every
second or so. Everything seems to be working OK so do I need to do anything about
these messages? If this is normal behaviour, is
I have a servlet that recieves data from a client. All the servlet is doing is reading
from the InputStream of the HttpServletResponse (BufferedReader br = new
BufferedReader( new InputStreamReader(request.getInputStream()));) and writing the
data to a disk file.
Periodically Tomcat refuses to
As a follow-up to my original post - further testing shows that this problem only
appears when I access Tomcat via IIS. If I connect to Tomcat directly via port 8080
then everything works as expected.
Regards
Roger
__
Hi,
Ahh, it's great that you tried this: I was just going to ask if the
connector is to blame ;)
The range of data sizes you mentioned immediately starts the buffer
size alarm horn in my head ;) 8192 = 8k is the default
buffer size for
many connector versions, including probably the
As a follow-up to my original post - further testing shows
that this problem only appears when I access Tomcat via IIS.
If I connect to Tomcat directly via port 8080 then everything
works as expected.
Now I'm even more confused. If I go back to accessing Tomcat via IIS, it will fail
If your application is for internal use *and* you have control over your client
configuration you may want to investigate placing an invisible applet on your page
that talks to your pinger program.
Regards
Roger
__
This
Hi
I'm experiencing odd failures when a servlets init procedure is called for a second
time. What I *think* is happening is that Tomcat is deactivating the servlet (as it is
allowed to do) but some of the singleton objects created by the servlet initialisation
routine are not being culled at
Hi
In what order does Tomcat search ./common/classes, ./shared/classes and
./webapp/classes for .class files? I have a number of web-apps that use class files
located in ./shared/classes to connect to a backend ERP system. There has always been
an implicit assumption that there would only ever
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-h
owto.html
Thanks, I'd missed that.
Regards
Roger
__
This e-mail and the documents attached are confidential and intended
solely for the addressee; it
Hi,
As always, consider using tomcat standalone for all your
traffic, static
and dynamic.
This is the third time I have heard this piece of advice recently. When I started off
with Tomcat back in the 3.x days the recommendation was always to run Tomcat for the
dynamic servlet/jsp stuff
Hi
I have Tomcat 4.4.18 running behind Microsofts IIS web server. In IIS I have two
virtual directories defined InboundA and InboundB both of which are mapped to the same
physical directory $TOMCAT_HOME/webapps/Inbound.
In workers2.properties I have added the lines ...
[uri:/InboundA/*]
Hi
I have an application where a client transmits data to a servlet by opening a
URLConnection to the servlet and writing the data to the outputStream as a POST
request which the servlet processes by reading the HttpServletRequest inputStream.
What can I do to protect my servlet against a
further. So now it appears that IIS is forwarding requests for
InboundA and InboundB to Tomcat but is not mapping either of the requests to Inbound.
Regards
Roger
-Original Message-
From: Varley, Roger [mailto:[EMAIL PROTECTED]
Sent: 23 April 2004 13:51
To: [EMAIL PROTECTED]
Subject
There is a max POST size limit attribute on the Connectors.
Otherwise - you can code for it too:
request.getContentLength() == Size of posted content. -1 if
the client did
not provide a Content length.
I wondered about request.getContentLength() but was worried that it was
I have now managed to get it to work. I have defined two contexts (InboundA and
InboundB) in server.xml and specified Inbound as the docBase for both contexts. So,
what does the context parameter in workers2.properties actually do?
Regards
Roger
-Original Message-
From: Varley
I remember a previous discussion on this and one of the
solutions was to use
an applet that would check the file size prior to transmission.
I can do that if the remote end is using my client - my concern is that once the URL
is known anyone could write a program that writes huge amounts
Hi
I've inherited responsibility for a web application that is, quite frankly, a bit of
a mess. I have some classes that are located under
$TOMCAT_HOME/webapps/appname/web-inf/classes and are also in jar file under
$TOMCAT_HOME/webapps/appname/web-inf/lib. I've even got a couple of class files
Hi
I have Tomcat running behind Microsofts IIS Web server. All requests go first to IIS
and IIS forwards any URL specified in workers.properties to Tomcat. All standard stuff
and it works well. I now need to use HTTPS to send a request to IIS which is going to
be forwarded to Tomcat. My
be an issue should it? Even if they were on
different servers behind a firewall given that I'm not worried about internal snooping
it's still not an issue - or am I missing something important here?
Regards
Roger
Varley, Roger wrote:
Hi
I have Tomcat running behind Microsofts IIS Web
Hi
Is there a URL that details what is going to be different between Tomcat 4.0
and 5.0. I'm looking for something more in the style of a tutorial,
descriptive how it works type of thing rather than a list of features.
Regards
Roger
Anyone finished this weeks?
Oook
Roger
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Anyone finished this weeks?
Oook
Roger
Sorry - wrong group.
Regards
Roger
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It sucks when the answer really is it depends. What
hardware are you
using? The only want to get a REALLY accurate answer is to
use a stress
testing tool from http://www.opensourcetesting.org/performance.php and
see what happens using your hardware/application set up. Then do some
-Original Message-
From: Konrad Rusz [mailto:[EMAIL PROTECTED]
Sent: 04 March 2003 14:22
To: Tomcat Users List
Subject: Re: Stop logging from isapi_redirector2.dll
Hello Jay.
Thanks for Your help but it doesn't work still. If You will
be know how can
I resolve my problem,
I'm working on Configuring Tomcat with IIS Web Server
http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.htmlfro
m O'Reilly
Net. I think that I have followed everything exactly. I get a
404. tomcat is
the first and only ISAPI redirector in my list, it has a
green arrow. I've
I'm surprised that no-one has mentioned SAPDB ( www.sapdb.org ). If this
will support a production SAP R3 system then it shoud be able to give Oracle
a run for its money.
Regards
Roger
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
I am Developing Web application using tomcat. I want to Comopress my all jsp
pages in web application, for that i have make some java filter classes and
make changes in web.xml. but I am facing two problems
1. in jsp i have to put header content encoding is gzip, without that brower
display zip
Hi
I've just upgraded from Tomcat 3.2 to Tomcat 4.4.18 with IIS using JK2. It's
been a struggle to get it to work, but I've now got everything working
except I don't seem to have an iis_redirect.log file (or it's equivalent)
despite setting logLevel = debug in the registry entries. Have I missed
-
From: Varley, Roger [mailto:[EMAIL PROTECTED]]
Sent: 6. febrĂșar 2003 12:29
To: Tomcat Users List (E-mail)
Subject: Tomcat 4.1.18, JK2 - no iis_redirect.log
Hi
I've just upgraded from Tomcat 3.2 to Tomcat 4.4.18 with IIS
using JK2. It's been a struggle to get it to work, but I've
Thanks Reynir I found it. Is it possible to change this
behaviour back to
its original 3.2 behaviour. Our development server is
physically located
at the other end of the building and I would like to be able
to view the log
without taking a long walk :)
Yes it's possible add
has been the
major cause of my problems in getting Tomcat to work. For
example, I only
found out about the need for [shm] through the archives of
this list.
[shm] is needed section is needed to run i_r2.dll ?
i'll test this.. shouldnt be needed at all.. or at least have a
examples webapp to the WebServer uri space
[uri:/examples/*]
info=Map the whole webapp
# Map the Customer Administration stuff
[uri:/CustomerAdministration/*.jsp]
[uri:/CustomerAdministration/servlet/*]
-Original Message-
From: Varley, Roger [mailto:[EMAIL PROTECTED]]
Sent: February 6
Hi
I'm using IIS to serve the top level html pages from a web application that
runs under Tomcat 3.2. The first page (default.htm) in the top level
directory (http://domain/applicationname is displayed and prompts for userid
and password and passes this data to a servlet
I've done some more investigation. If I replace
'response.sendRedirect(response.encodeRedirectURL(../default.htm))' with
'response.sendRedirect(../default.htm);' then everything works as
expected, so there is something about response.encodeRedirectURL() that I'm
not uderstanding. I've looked
Hi
(Tomcat 3.2, IIS 4.0 Win NT5.0 Sp6)
I have a commercial web application (to which I have no access to the
source) that exists in two configurations (i.e two sets of web directories
below Inetpub/wwwroot). The application ends by calling exit.htm in their
respective html directories (ipshtml
Howdy,
You realize one page can only map to one servlet, right?
There can only
be one /exit.htm for your webapp.
My mistake, I assumed that Tomact would see /ipshtml/exit.htm and
/elcomhtml/exit.htm as two.
You can, however, code that servlet to see whether the
request came from
ip
Hi
I want to do some reporting that is to be called by a cron job.
I do not want to use a reporting tool. Can use JSP
* to talk to the database
* fetch the relevant details
* format the details as a report
* fetch the HTML source of the generated report
*
The only problem I have is if I migrate to JSP, how can I
compare passwords
that are supplied in the JSP page to the password in the DB
that was stored
via the Perl crypt() function?
Assuming that the Perl crypt() function is an implementation of the Unix
crypt command then try either
Could you just rely on the manager application to reload the webapp?
Then there is no code to maintain.
I've been looking for an effective way to emulate the unix 'kill -HUP'
command for ages. It's not always practical to kill off the webapp, since
you need to ensure that no-one is using
Hi
I'm using Tomcat 3.2 as a servlet engine for Microsofts IIS. Is there anyway
that I can either force the iis_redirect.log to rotate on a regular basis,
or stop/reduce the volume of data that's getting spat into the log file.
Regards
Roger
--
To unsubscribe, e-mail:
Can anybody out there please tell me how to AutoStart Tomcat
in the background on a RedHat Linux box without having to log
in and start the service manually?
This came up a couple of days ago. Scan the archives for the thread
Automatic start from /etc/rc3.d ??? and you'll find
54 matches
Mail list logo