Thanks Mark, I will go through and try to understand this. If any
clarifications are required I will post here.
By the way the goal I am pursuing (if it is not clear) is to enable the
loading of a set of custom configurations for every Context. These
configurations cannot be included within the
On 27/02/2016 17:38, Chiranga Alwis wrote:
> Well, what I am trying to achieve is as follows:
>
> I am trying to load certain custom configurations from a file which is
> similar to web.xml in Tomcat, for each Context. We can define it globally
> and also override the configurations at context
Chiranga,
On 2/27/2016 9:38 AM, Chiranga Alwis wrote:
> Well, what I am trying to achieve is as follows:
>
> I am trying to load certain custom configurations from a file which
> is similar to web.xml in Tomcat, for each Context. We can define it
> globally and also override the configurations
Well, what I am trying to achieve is as follows:
I am trying to load certain custom configurations from a file which is
similar to web.xml in Tomcat, for each Context. We can define it globally
and also override the configurations at context level. For this I have
already created a custom
On 26 February 2016 19:09:59 GMT+00:00, Chiranga Alwis
wrote:
>Well, sorry if the question is not clear.
>
>What I want to know is for what type of event we need to listen in
>order to
>carry out a task when a Context is modified. It would be great if there
>is
>a clear
Well, sorry if the question is not clear.
What I want to know is for what type of event we need to listen in order to
carry out a task when a Context is modified. It would be great if there is
a clear explanation on how this is to be checked.
On Fri, Feb 26, 2016 at 5:21 PM, Mark Thomas
On 26/02/2016 11:44, Chiranga Alwis wrote:
> Hi,
>
> I have currently created a LifecycleListener which listens to Tomcat's
> context deployment event and loads data in a custom configuration file at
> that point.
>
> I have been trying to find out whether LifecycleListeners support context
>
Hi,
I have currently created a LifecycleListener which listens to Tomcat's
context deployment event and loads data in a custom configuration file at
that point.
I have been trying to find out whether LifecycleListeners support context
update and modification events but yet in my understanding I
On 06/10/2015 22:56, Harish Kulkarni wrote:
> Hi
>
> We are migrating a WebSphere app to tomcat.
> In Websphere the context is defined as /secure/admin and we have hardcode
> redirects with /secure/admin/*
Whoops. Applications are meant to be independent of the context path at
which they are
Hi
We are migrating a WebSphere app to tomcat.
In Websphere the context is defined as /secure/admin and we have hardcode
redirects with /secure/admin/*
Our war is admin.war.
Tomcat is not allowing /secure/admin as context.
Is there a way using tomcat rewrite or apache config to achieve this.
James H. H. Lampert wrote:
We have two weird things going on at the same customer installation.
First, we have a situation in which catalina.out is inexplicibly growing
to enormous size (4558505886 bytes) in a very short time (under a week),
and growing by 4k in under a minute. And yet the
On 6/22/15 12:11 PM, Christopher Schultz wrote:
Well... what's in the catalina.out file? Is it huge numbers of
exceptions of the type described above?
Still haven't been able to see what's in it (the terminal-based tools
won't handle stream files that big), but when this happened before, it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
James,
On 6/22/15 4:58 PM, James H. H. Lampert wrote:
On 6/22/15 12:11 PM, Christopher Schultz wrote:
Well... what's in the catalina.out file? Is it huge numbers of
exceptions of the type described above?
Still haven't been able to see
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
James,
On 6/22/15 2:54 PM, James H. H. Lampert wrote:
We have two weird things going on at the same customer
installation.
First, we have a situation in which catalina.out is inexplicibly
growing to enormous size (4558505886 bytes) in a very
We have two weird things going on at the same customer installation.
First, we have a situation in which catalina.out is inexplicibly growing
to enormous size (4558505886 bytes) in a very short time (under a week),
and growing by 4k in under a minute. And yet the catalina.[date] files
are all
On Fri, Mar 7, 2014 at 10:16 AM, James H. H. Lampert
jam...@touchtonecorp.com wrote:
I've been asked to come up with a command-line (or batch job) utility
(running on an AS/400) to check, programmatically, whether a Tomcat context
that's part of one of our products is alive and accepting
2014-03-07 22:16 GMT+04:00 James H. H. Lampert jam...@touchtonecorp.com:
I've been asked to come up with a command-line (or batch job) utility
(running on an AS/400) to check, programmatically, whether a Tomcat context
that's part of one of our products is alive and accepting connections
I've been asked to come up with a command-line (or batch job) utility
(running on an AS/400) to check, programmatically, whether a Tomcat
context that's part of one of our products is alive and accepting
connections, or hung.
I'm already attempting to pick the brains of our people who
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
James,
On 3/7/14, 1:16 PM, James H. H. Lampert wrote:
I've been asked to come up with a command-line (or batch job)
utility (running on an AS/400) to check, programmatically, whether
a Tomcat context that's part of one of our products is alive
Hadole, Nishant IN BOM SISL wrote:
Dear Simone,
The obvious error displayed from log is java.lang.NoClassDefFoundError:
org/apache/xerces/util/EncodingMap. First check whether the xerces jar containing
mentioned class is in place. Try downloading new jar and again restart the tomcat
Andre,
--- On Wed, 2/17/10 at 1:06 AM, André Warnier a...@ice-sa.com wrote:
The obvious error displayed from log is
java.lang.NoClassDefFoundError:
org/apache/xerces/util/EncodingMap. First check whether the
xerces jar containing mentioned class is in place. Try
downloading new jar and
From: Bob Hall [mailto:rfha...@yahoo.com]
Subject: Re: Tomcat context startup failed
The offending .jar files were not loaded and can't contribute to any
problems.
Don't bet on it: if the app has its own ClassLoader, it may well ignore the
finer points of the servlet spec. Regardless
Tomcat version: 5.5.27
Java version: 1.5.0_14-b03
I have a datasource configured in global context (via present in
[tomcat_home]/conf/context.xml) as follows:
Context
Resource name=*@tomcat.context.ece.read.ds.resource@* auth=*Container
type=@tomcat.context.driver.type@ driverClassName=
Anurag Kapur wrote:
Tomcat version: 5.5.27
Java version: 1.5.0_14-b03
I have a datasource configured in global context (via present in
[tomcat_home]/conf/context.xml) as follows:
snip/
I know a DS defined as above is visible across all the contexts defined in
the container. What I want
Thanks Mark.
Can you confirm that I can have one data source shared across all contexts
with the following configurations:
In CATALINA_BASE/conf/server.xml, I define a GlobalNamingResource as
follows:
GlobalNamingResources
...
...
Resource name=*@tomcat.context.ece.read.ds.resource@*
Anurag Kapur wrote:
Thanks Mark.
Can you confirm that I can have one data source shared across all contexts
with the following configurations:
In CATALINA_BASE/conf/server.xml, I define a GlobalNamingResource as
follows:
GlobalNamingResources
...
...
Resource
Perfect Thanks!
The type I use would be:
jhttp://tomcat.apache.org/tomcat-5.5-doc/config/globalresources.html
avax.sql.DataSource
(I was using untokenized reference in my example)
Thanks for your help.
Regards
Anurag
--
Anurag
Hi All,
I have an application which needs to be deployed and accessed with
multilevel context path in the url.
So I have updated the TOMCAT_HOME/Conf/Server.xml with an appropriate
entry for this.
For Example:
If my application name is Doc.war and I want it to be accessed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Prashantha,
On 12/9/2009 2:05 PM, Prashantha H wrote:
If my application name is Doc.war and I want it to be accessed using
multilevel context path dco/smartfolder. (
http://localhost:8080/dco/smartfolder/)
Heh. So, you're on Windows,
Hello all,
not sure if this should be asked here or in the apache list so I will try
here first.
I have an application running completely inside of tomcat 6...lets call it
webappTomcat which runs on port 8084.
A coworker developed an application that runs mainly on apache(html and
javascript)
From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED]
I have developped a web application on Tomcat (5.0.28).
My webapp use Hibernate 3 and i have a Singleton pattern too.
I want have my webapp deployed N time in same Tomcat Server.
But i don't want to share context, hibernate and Singleton
they don't share context ?
Thanks again for your time and answers..
Jerome Lepage
AKEROZ
- Original Message -
From: Serge Fonville [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, October 24, 2008 11:37 AM
Subject: Re: Question about Tomcat context
Hi, Thanks to you too for your answers.
Have you tried just deploying it N times, making sure all the jars are in
WEB-INF/lib?
Each webapp should get its own classloader, and hence will have its own copies
of Hibernate and your singleton. I *think* they'll have different contexts,
too,
From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED]
But when i launch tomcat with this env vars :
JAVA_OPTS=-XX:MaxPermSize=512m -Xms24m -Xmx512m
Well, yes :-). That should give you enough perm space.
Tomcat looks like not really care about the memory i grant to JVM.
It's seems that
First a few questions;
What does the app do
Do the deployed applications differ
What is the reason you want them separate
Do they share anything, reaml,db,files,
Do you need to be able to update them easily (all in one go)
How do you intend to deploy them, war, copy, remote
Is it an option to
Hi @ll,
I have developped a web application on Tomcat (5.0.28).
My webapp use Hibernate 3 and i have a Singleton pattern too.
I want have my webapp deployed N time in same Tomcat Server.
But i don't want to share context, hibernate and Singleton from one webapp to
other.
(Like database access
11:37 AM
Subject: Re: Question about Tomcat context
First a few questions;
What does the app do
Do the deployed applications differ
What is the reason you want them separate
Do they share anything, reaml,db,files,
Do you need to be able to update them easily (all in one go)
How do you intend
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Subject: RE: Question about Tomcat context
From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED]
JAVA_OPTS=-XX:MaxPermSize=512m -Xms24m -Xmx512m
For server environments, you usually want to set Xms to the same value as Xmx
to avoid heap
..
// Tommy
--
View this message in context:
http://www.nabble.com/Tomcat-context-issue-tf3686346.html#a10304508
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic, e-mail: users@tomcat.apache.org
From: tb323 [mailto:[EMAIL PROTECTED]
Subject: Tomcat context issue
In server.xml I have this:
Host name=localhost
appBase=/home/tb323/projects/www/public_html/webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
This way I
Thanks for the extremely quick reply. :)
I'll check this out after work.
/Tommy
Caldarale, Charles R wrote:
From: tb323 [mailto:[EMAIL PROTECTED]
Subject: Tomcat context issue
In server.xml I have this:
Host name=localhost
appBase=/home/tb323/projects/www/public_html/webapps
:[EMAIL PROTECTED]
Sent: 17 April 2007 15:37
To: users@tomcat.apache.org
Subject: tomcat context
Hi,
I'm using Apache Tomcat Version 5.5.23 and I would how is it possible to
use a context path different to the name of the
war file?
Thanks
I want to deploy war files where the context name
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
José,
José Perdigão wrote:
I'm using Apache Tomcat Version 5.5.23 and I would how is it possible to
use a context path different to the name of the war file?
Most people will suggest that you use the proper WAR file name for your
context and leave
Hi,
I'm using Apache Tomcat Version 5.5.23 and I would how is it possible to
use a context path different to the name of the
war file?
Thanks
--
José Miguel Perdigão
homepage: zeperdi.pt.vu zeperdi.pt.vu
-
To start a new
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat context
An alternative is to specify a Context element in your
server.xml file and specify the name of the context as well
as the location of the WAR file.
Gotta get you out of the 4.1 mindset, Chris :-)
Do NOT put
@tomcat.apache.org
Subject: tomcat context
Hi,
I'm using Apache Tomcat Version 5.5.23 and I would how is it possible to
use a context path different to the name of the
war file?
Thanks
--
José Miguel Perdigão
homepage: zeperdi.pt.vu zeperdi.pt.vu
From: OConchubhair, Andoni [mailto:[EMAIL PROTECTED]
Subject: RE: tomcat context
context path=last_bit_of_URL
docBase=name_of_war_or_folder ...
!-- Other stuff if necessary! --
/context
Several problems with the above:
1) It's Context, not context - this is case sensitive.
2
April 2007 15:37
To: users@tomcat.apache.org
Subject: tomcat context
Hi,
I'm using Apache Tomcat Version 5.5.23 and I would how is it possible to
use a context path different to the name of the
war file?
Thanks
I want to deploy war files where the context name is not the same
@tomcat.apache.org
Sent: Tuesday, April 17, 2007 4:36 PM
Subject: tomcat context
Hi,
I'm using Apache Tomcat Version 5.5.23 and I would how is it possible to
use a context path different to the name of the
war file?
Thanks
--
José Miguel Perdigão
homepage: zeperdi.pt.vu zeperdi.pt.vu
10:33 PM
To: Tomcat Users List
Subject: Re: Tomcat Context
Hi ,
How is the url mapping for the servlet in the web.xml? it should
not
include /myContext in the url mapping.
The servlet url mapping in the web.xml should only be for
/somePath/MyServlet
What do you get when you just
I am posting this question here because JBoss is using Tomcat
internally.
1. server.xml has the context path defined:
Host name=localhost
autoDeploy=false deployOnStartup=false
deployXML=false
Context path=/myContextPath/
/Host
and is
I changed the context to :
Context path=/myContextPath appBase= docBase=C:\Program
Files\jboss-4.0.4.GA\server\default\deploy debug=99
reloadable=false
/Context
When I run the client, I get:
Marking servlet MySeiServlet as unavailable? in the JBoss console. The
client gets the
Hi ,
How is the url mapping for the servlet in the web.xml? it should not
include /myContext in the url mapping.
The servlet url mapping in the web.xml should only be for
/somePath/MyServlet
What do you get when you just type in
https://localhost:8443/myContextPath ?
Hope that
53 matches
Mail list logo