Hey Tomcat Fans,
is there a programmatically way to get the Http-Port
in the HttpServlet#init(ServletConfig) method?
Kind Regards,
Patrick Wunderlich
(Germany)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
From: Graham Reeds [mailto:[EMAIL PROTECTED]
Also disable HyperThreading in the BIOS on the new Dell. HT
and Java is not a happy combination.
Interesting... do you have any recommended reading on that, Graham?
- Peter
Hi,
One thing to look out for would be the use of JNI i.e. native calls. I'm
not sure if there is a way of preventing someone from packaging a .so in
a WAR and then loading it in to the app via code to bypass the lack of
LD_LIBRARY_PATH (on *nix).
didn't try it myself, but I guess
Hi there,
did anybody manage to access the underlying 'real' database connection?
I have got to use the PostgreSQL LargeObject API and therefore I need access to
the delegated connection.
But after several hours of trial and error I lost my motivation ... It seems
like:
- doesn't do anything:
laxmi,
For the table issue you need to use DHTML along with Javascript.
there will be some sample code available in the net.
else hit about.javascript.com
BVK
On Thu, 24 Feb 2005 22:44:15 -0800 (PST), U K Laxmi [EMAIL PROTECTED] wrote:
Thanks David for the info. Sure to do some reading. I
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
I dont know but looks like you are doing somethings wrong... hidden
fildes are a great choice... better them use GET method...
About the table think... use Iframe and do a submit to it...
Whem you submit you use normal submit button or javascript???
If you are submiting with normal button try to
Hi!
Does anyone see this error in Apache error_log?
[...] child pid 6645 exit signal Segmentation fault (11)
It only happen when I use mod_jk 1.2.8 compiled by me
(./configure--with=apxs=/usr/sbin/apxs; make; make install), using the
instructions at
Thank you very much for the explanation !
I am starting to understand it much better.
Thank you everybody
- Original Message -
From: Parsons Technical Services [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Friday, February 25, 2005 1:20 AM
Subject: Re: Very
There should be an example tomcat5.sh with your distribution of jsvc.
If not, download the most recent release from the Commons Daemon project
at jakarta.apache.org and get a copy from there. Customize it with the
options you use and you should be good to go.
Splitting out put between
Hi,
The SSL client authentication doesn't work agains MemoryRealm, because the
authentication mechanism passes the DN of the client certificate to the
realm after validation for role assignement, but the memory realm don't
allow usernames that contains , or = characters. Because the DN
contains
I apologize for not doing as much homework as usual before posting a
question. Google turned up nothing helpful, the mailing list archive
search isn't working right now, and we're (of course) in a hurry.
We've had Tomcat 5.0.19 working on a number of Windows machines for a
while, running on
On Fri, 25 Feb 2005 09:23:29 -0500, Scott Sauyet [EMAIL PROTECTED] wrote:
I apologize for not doing as much homework as usual before posting a
question. Google turned up nothing helpful, the mailing list archive
search isn't working right now, and we're (of course) in a hurry.
We've had
Rodrigo Avila wrote:
Hi!
[...] child pid 6645 exit signal Segmentation fault (11)
It only happen when I use mod_jk 1.2.8 compiled by me
I use Apache 1.3.33 (slackware package found at www.linuxpackages.net)
and Tomcat 5.0.28 (binary distribution).
Do you have ForwardDirectories enabled?
Remove
Jason Bainbridge wrote:
On Fri, 25 Feb 2005 09:23:29 -0500, Scott Sauyet [EMAIL PROTECTED] wrote:
We've had Tomcat 5.0.19 working on a number of Windows machines for a
while, running on Win2K and WinXP under j2sdk1.4.2_04 Yesterday we had
to install it on a Windows Server 2003 machine, and it's
Scott Sauyet wrote:
Jason Bainbridge wrote:
The Apache Tomcat service on Local Computer started and then
stopped. Some services stop automatically if they have no work
to do, for example, the Performace Logs and Alerts service.
I'm not finding anything in the Tomcat logs, which makes
On Fri, 25 Feb 2005 16:19:23 +0100, Mladen Turk [EMAIL PROTECTED] wrote:
Do you have ForwardDirectories enabled?
Remove 'JkOptions ForwardDirectories' and there shouldn't
be segfaults any more.
This has been fixed in the cvs, and will not be present in
next release scheduled for next month.
Rodrigo Avila wrote:
On Fri, 25 Feb 2005 16:19:23 +0100, Mladen Turk [EMAIL PROTECTED] wrote:
Do you have ForwardDirectories enabled?
Remove 'JkOptions ForwardDirectories' and there shouldn't
be segfaults any more.
This has been fixed in the cvs, and will not be present in
next release scheduled
Hi,
I had a similar problem on winblows 2000 server a while ago, I had installed
tomcat to ...\Tomcat 4.1\ and I had to reinstall it to ...\Tomcat_4.1\ and all
worked fine. On winblows, spaces in variables in CLASSPATH, PATH... tend to
cause problems and the killer is, not on every
Yes,
-J
Behrang Saeedzadeh wrote:
Hi
I get spam message from Tomcat's mailing list? Is anybode else having
this problem either? I just recieved a message that had the same title
as my last message with a Re: appended to it. Does anybody else also
recieved this message? It's something from Harvard
Mladen Turk wrote:
Scott Sauyet wrote:
The Apache Tomcat service on Local Computer started and then
stopped. Some services stop automatically if they have no work
to do, for example, the Performace Logs and Alerts service.
I'm not finding anything in the Tomcat logs, which makes me
John Najarian wrote:
I had a similar problem on winblows 2000 server a while ago, I had installed
tomcat to ...\Tomcat 4.1\ and I had to reinstall it to ...\Tomcat_4.1\ and all
worked fine. On winblows, spaces in variables in CLASSPATH, PATH... tend to
cause problems and the killer is, not
This is the spam I keep getting. It happens whenever I post. Is there
something the keepers of the list can do about this?
-J
---BeginMessage---
Your customer service request has been received by Harvard Business Review.
You should receive an email response in 2-3 business days.
---End
Jeanne Case wrote:
This is the spam I keep getting. It happens whenever I post. Is there
something the keepers of the list can do about this?
I suspect it's just someone's out-of-office message. Presumably someone
can shut down that account temporarily. Or permanently.
-- Scott
With nothing configured for errors, I get a Tomcat error page:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: org.xml.sax.SAXParseException: blah,
Part of the spec says if no error-page declaration containing an
exception-type fits using the class-heirarchy match, and the exception
thrown is a ServletException or subclass thereof, the container extracts the
wrapped exception...
So supposing for a minute that Tomcat internals ignore any
I am using a GetDictionary.jsp script to parse an XML document
containing simple Japanese phrases encoded with Shift_JIS.
What I observe is that after reading a phrase into a
java.util.HashMap bean the phrase becomes longer and modified
(really, corrupted). This (corrupted) phrase sent
I'm having trouble with the failover functionality of JK2. I have
apache connected to two back-end tomcat engines running on separate
machines. The failover works just fine when a tomcat engine dies.
The node is not given any requests and the webapp continues to
function normally. However, when
Tomcat users -
The web is becoming multi-channel. Are you interested in knowing how
speech applications are authored? Are you good at translating from
English to another language? If so, this might be a good volunteer
opportunity to contribute to a fledging jakarta taglibs sandbox tag
library.
Peter Crowther wrote:
From: Graham Reeds [mailto:[EMAIL PROTECTED]
Also disable HyperThreading in the BIOS on the new Dell. HT
and Java is not a happy combination.
Interesting... do you have any recommended reading on that, Graham?
Love these urban-legend types of warnings (don't flash your
Having a problem getting Tomcat 5.5.7 to start. The configuration is
basicly the default except for some trival changes to the
tomcat-user.xml. The catalina.out leads me to believe it's a problem
with the ajp, but that's just my best guess 'cause it hangs just prior
to starting the connector:
From: Mike Curwen [EMAIL PROTECTED]
I've successfully caught 'all other' exceptions (which I suppose must
include ServletExceptions), by using one error-page declaration that
catches
status-code500/status-code, and then multiple exception-type's to
catch more specific exception types.
Thanks,
On Fri, 25 Feb 2005 17:13:41 -0500, Curtis, John G
[EMAIL PROTECTED] wrote:
Having a problem getting Tomcat 5.5.7 to start. The configuration is
basicly the default except for some trival changes to the
tomcat-user.xml. The catalina.out leads me to believe it's a problem
with the ajp, but
there is a flag you can set so that listeners don't get called, its optional
its called notifyListenersOnReplication, see server.xml for example,
default is true
Filip
Jesper Ekberg wrote:
Hello!
My first mail to this list. :)
I have read it for a long time tho.
We have a tried to cluster 3
unless the session is primary, the last accessed time wont matter, when
the session becomes primary, the last access time gets set immediately.
Filip
Joseph Lam wrote:
Found that only when a replication is explicitly triggered by
set/removeAttribute(), the other nodes'
Thanks for the reply. I'd love to get a thread dump but I'm not getting a pid
for the jvm.
-Original Message-
From: Remy Maucherat [mailto:[EMAIL PROTECTED]
Sent: Friday, February 25, 2005 6:01 PM
To: Tomcat Users List
Subject: Re: Tomcat 5.5.7 hangs on startup
On Fri, 25 Feb 2005
there is a difference between a crashed tomcat and a shutdown tomcat.
Filip
Filip Hanik - Dev Lists wrote:
there is a flag you can set so that listeners don't get called, its
optional
its called notifyListenersOnReplication, see server.xml for example,
default is true
Filip
Jesper Ekberg
I use oracle 7 database, and the NLS language is
American_America.US7ASCII, and it is not easy to change it to utf-8.
Beside, the question is, a servlet work fine on tomcat 4.0.6 why it stopped
with the new versions, what changes made to the encoding of tomcat??
do I need tomcat-i18n-ar.jar? and
Is there a way to prevent PUT or DELETE http methods if you're not using
container managed security? If so, how?
I already have this to force the use of https:
security-constraint
web-resource-collection
web-resource-nameProtected Context/web-resource-name
39 matches
Mail list logo