Johnny,
Indeed. I only yesterday discovered the crossContext flag and the
getServletContext(String) call in the API, however my reading tells me that
most servlet containers don't support it, being that they simply return null.
For Tomcat you can specify the crossContext flag for that not to
Hi.
This is not my thread, so if anyone thinks I'm pushing the envelope a
bit, tell me and I'll start another one.
I am interested in this same issue, but in a broader sense :
how to share some data, in general, between collaborating webapps
within the same container.
My case goes somewhat
It's my thread, but you're welcome to it now. I'm done. :-)
- Original Message
From: André Warnier [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, October 9, 2008 9:59:50 AM
Subject: Re: Communicating between webapps
Hi.
This is not my thread, so if
On Thu, Oct 9, 2008 at 9:59 AM, André Warnier [EMAIL PROTECTED] wrote:
I realise that this can be done via e.g. an external DB.
It could also probably be done, most portably, by creating an entirely
separate application accessed via HTTP calls e.g. (à la Amazon DB ?).
But it looks as if within
On Thu, Oct 9, 2008 at 10:36 AM, André Warnier [EMAIL PROTECTED] wrote:
Leon Rosenberg wrote:
On Thu, Oct 9, 2008 at 9:59 AM, André Warnier [EMAIL PROTECTED] wrote:
I realise that this can be done via e.g. an external DB.
It could also probably be done, most portably, by creating an entirely
Hi,
I am in the process of testing a move of our apache httpd tomcat
application server from win2k3 to a solaris10 (5.10) environment.
Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8h mod_jk/1.2.26
Apache Tomcat/6.0.16 running on java 1.6.0_07-b06
During testing I am seeing intermitent high
Leon Rosenberg wrote:
[...]
It could look like following:
[...] (200 lines of code snipped)
Just a question : what do you answer when people ask for *really*
detailed specifications ?
:-)
Many thanks.
I'll need some time to digest that.
A very similar architecture would be offered by using JMS (say openjms
or activeMQ;
we've been using the latter; check for others at http://java-source.net/open-source/jms
).
In this case, there is a message broker which runs separately.
At the moment, we're using it on one development
All,
I encounter some problems when migrating our web application from Tomcat
5.0.25 to 5.5.25. The reason is some classes or methods are removed in
5.5.25. I need some help since I don't have much background in Tomcat API.
1. Class org.apache.catalina.Deployer was removed.
In our program it
On Thu, Oct 9, 2008 at 1:01 PM, André Warnier [EMAIL PROTECTED] wrote:
Leon Rosenberg wrote:
[...]
It could look like following:
[...] (200 lines of code snipped)
Just a question : what do you answer when people ask for *really* detailed
specifications ?
:-)
Usually I'm asking them
I am trying to configure a JNDIRealm to authenticate against an Active
Directory.
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm
The authentication seems to work but I wonder how to map LDAP groups
to security roles.
I do not want to add groups in the LDAP server, but to
Leon Rosenberg wrote:
On Thu, Oct 9, 2008 at 9:59 AM, André Warnier [EMAIL PROTECTED] wrote:
I realise that this can be done via e.g. an external DB.
It could also probably be done, most portably, by creating an entirely
separate application accessed via HTTP calls e.g. (à la Amazon DB ?).
But
I have installed tomcat 5.5 with iis 6 and using the isapi redirector
I can point to the http://localhost:8050/Abc/servelt and that reslove
fine.
However when I try to use http://local/Abc/servelt it give me a web
page that states Incorrect function.
there nothing else on the web page I
From: André Warnier [mailto:[EMAIL PROTECTED]
Subject: Re: Communicating between webapps
My case goes somewhat like this : an application consisting
of several webapps needs access to some common data (read/write).
What you're describing is referred to as a bean in Java terminology. These
2008/10/9 Kevin Jackson [EMAIL PROTECTED]:
I am trying to configure a JNDIRealm to authenticate against an Active
Directory.
http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm
The authentication seems to work but I wonder how to map LDAP groups
to security roles.
I do not
How can I migrate a tomcat 6.0.16 to tomcat 6.0.18?
Where I can found any tutorial?
Thanks
--
View this message in context:
http://www.nabble.com/Migration-tomcat-6.0.16-to-6.0.18-tp19900027p19900027.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
What problems are you having? This is a very simply migration. I was
able to just deploy my apps and my server.xml to the 6.0.18 server and
go. No code, no configuration changes for me at least.
vicens wrote:
How can I migrate a tomcat 6.0.16 to tomcat 6.0.18?
Where I can found any
From: Bill Davidson [mailto:[EMAIL PROTECTED]
Subject: Re: Communicating between webapps
So if I'm understanding you correctly, different webapps use different
class loader instances and so the singleton is actually instantiated
separately for each class loader?
Depends on where the class
From: Vijayaraghavan Amirisetty
[mailto:[EMAIL PROTECTED]
Subject: Re: Exception while running web application with
Tomcat security manager enabled
Does the Tomcat Security Manager use any
native libraries for it's operations?
No.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL
I doesn't have any problem yet, but why I need to re-deploy my apps when I
only want to upgrade a minor version of tomcat?
stdunbar wrote:
What problems are you having? This is a very simply migration. I was
able to just deploy my apps and my server.xml to the 6.0.18 server and
go.
ancles wrote:
All,
I encounter some problems when migrating our web application from Tomcat
5.0.25 to 5.5.25. The reason is some classes or methods are removed in
5.5.25. I need some help since I don't have much background in Tomcat API.
In both cases what are you actually trying to
Geronimo maps roles to security principals:
http://cwiki.apache.org/GMOxDOC10/jboss-to-geronimo-security-migration.html
Maybe this feature could be ported into tomcat.
On Thu, Oct 9, 2008 at 3:18 PM, Kevin Jackson [EMAIL PROTECTED] wrote:
I am trying to configure a JNDIRealm to authenticate
Ok, I may have assumed too much. My configuration has virtual hosts
spread over the file system. I stopped 6.0.16, copied over the
server.xml and Context XML's to 6.0.18, copied a required JDBC library
to the lib directory, started 6.0.18 and I was done. I guess that this
isn't really a
I have a web application that uses a proxy class to exchange information
with an external system. When this proxy class throws an exception, it
always appears as a cause in some other exception, typically
javax.el.ELException.
I have built a custom error page to handle an exception where the
Hi All,
I am using jdbc to connect to an oracle database but having a bit of a
problem. Here is some details
Jdbc driver - Type 4
App server - Tomcat 5.5
Oracle Version - 10g
I have placed the jdbc driver on both the following directories
[code]
$TOMCAT_HOME/common/lib/
From: Ziggy [mailto:[EMAIL PROTECTED]
Sent: 2008 October 09, Thursday 11:12
org.apache.tomcat.dbcp.dbcp.PoolingDataSource
I have placed the jdbc driver on both the following directories
[code]
$TOMCAT_HOME/common/lib/
$APPLICATION_ROOT_DIR/WEB-INF/lib/
[/code]
Never, never, never put the
Hi,
I originally only had it on $TOMCAT_HOME/common/lib but it didnt work.
I only put it on both locations to test it out.
I have now removed the copy from $APPLICATION_ROOT_DIR/WEB-INF/lib/ and i
still have the same problem described below.
Thanks
On Thu, Oct 9, 2008 at 5:35 PM, Caldarale,
Please ingnore this. There was a typo in the filename thats why it wasnt
working.
Thanks
On Thu, Oct 9, 2008 at 5:17 PM, Ziggy [EMAIL PROTECTED] wrote:
Hi all,
I have the following datasource definition in my /META-INF/context.xml
Resource name=jdbc/testdb auth=Container
- Original Message -
From: André Warnier [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, October 09, 2008 9:59 AM
Subject: Re: Communicating between webapps
Hi.
This is not my thread, so if anyone thinks I'm pushing the envelope a
bit, tell me and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Maurizio,
Maurizio Lotauro wrote:
On 6 Oct 2008 at 14:58, Christopher Schultz wrote:
Is it a problem to get this 401 before the request is complete?
In my case it was a problem because the receive of the server response
trigger an end of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mohit,
Mohit Anchlia wrote:
Is there a way to dynamically change the logging level of log4j.xml in tomcat?
I wrote a pair of JSPs a long time ago to do this. It requires a 1.2.x
version of log4j, but you can change lots of stuff on the fly. See the
Hi,
My application has an ajax layer which asynchronously polls my tomcat server.
When the session for the user is destroyed, the next request causes a forward
to the login jsp defined for the form realm.
On the login jsp I would like to output an error message like Your session has
been
On Thu, Oct 9, 2008 at 7:16 PM, Johnny Kewl [EMAIL PROTECTED] wrote:
I'm very much for the KISS principle... if you dont need it, dont use it...
nothing is more powerful that POJO (plain old Java).
Thing is KISS does not mean novice... you'll find only the guys that have
been around for a
Hi,
I installed Tomcat 6.0.18 on
Mac OS 10.4.11 / java version 1.5.0_16 and
Ubuntu Hardy / java version 1.6.0_06
and in both cases I get the following strange behaviour:
Before starting, $CATALINA_HOME/conf/tomcat-users.xml contains the
default user entries.
After starting Tomcat,
From: Robert Hufsky [mailto:[EMAIL PROTECTED]
Subject: Tomcat 6.0.18 empties tomcat-users.xml
Before starting, $CATALINA_HOME/conf/tomcat-users.xml contains the
default user entries.
Look again - they're all commented out.
After starting Tomcat, $CATALINA_HOME/conf/tomcat-users.xml is
- Original Message -
From: Leon Rosenberg [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, October 09, 2008 9:54 PM
Subject: Re: Communicating between webapps
On Thu, Oct 9, 2008 at 7:16 PM, Johnny Kewl [EMAIL PROTECTED] wrote:
I'm very much for the
Hello again Rainer,
Rainer Jung-3 wrote:
But if you are really actively using 300 connections, it means there are
300 requests processed in parallel inside Tomcat. So you should first
check with the thread dump, what those are actually doing, and whether
it's a good idea to send even more
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fu-Tung,
Fu-Tung Cheng wrote:
The way the realm typically works is that you request a url say
/hello.jsp, the app detects you need authenticate so it saves the
original request and forwards you over to the login.jsp. You fill in
the fields, the
Hi Chris,
Thank you for the response!
So the user will be sent to a non-secure page that just says Session Timed
out and a link that they click to go back to the login page?
The link will then be to a url that requires authentication and then the
application works as before?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
CVE-2008-3271: Tomcat information disclosure vulnerability
Severity: Low
Vendor:
The Apache Software Foundation
Versions Affected:
Tomcat 4.1.0 to 4.1.31
Tomcat 5.5.0
Tomcat 6.0.x is not affected
The unsupported Tomcat 3.x, 4.0.x and 5.0.x versions
So how could I find the best way to achieve this in programming?
Mark Thomas-18 wrote:
In both cases what are you actually trying to achieve. The 5.0-5.5
refactoring means that the 'new' classes might not be the best way to
achieve what you are trying to achieve.
Mark
Thanks for the response Christopher.
Unfortunately I need to set a value in the header after the doFilter()
delegation. The reason is that header valuedepends on the result of the page
rendering.
So, if autoflush is disabled and the buffer size is not exceeded for the
page shouldn't a
42 matches
Mail list logo