On 15 June 2011 18:54, Konstantin Kolinko knst.koli...@gmail.com wrote:
The request and response objects must never be accessed outside the
request processing cycle. The objects are recycled and cleared or
reused for subsequent request and responses, and are not guaranteed to
be thread-safe.
I can run without problem locally for app testPhoenix in eclipse
server, but when deploy to linux box, I got error like below
20-Jun-2011 9:19:24 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
20-Jun-2011 9:19:24 AM org.apache.catalina.core.StandardContext start
2011/6/20 WEIQUAN YUAN weiquan.y...@gmail.com:
I can run without problem locally for app testPhoenix in eclipse
server, but when deploy to linux box, I got error like below
20-Jun-2011 9:19:24 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
20-Jun-2011 9:19:24
1. What exact version of Tomcat 5.5.x you are using?
5.5.17.0
2. It says that it is class loading issue. What jars to you have on
the server ind in your webapp?
there are a lot of jars i used for this webapp, including spring, dwr,
log4j, mail, esapi, jstl, json, common, activation, .
I'm using import org.apache.catalina.startup.Tomcat to embed tomcat.
After it is running, I'm trying to add another webapp with .addWebapp.
The addWebapp call logs:
2011-06-20 11:23:23,385 [http-bio-9167-exec-2] INFO
org.apache.catalina.util.LifecycleBase - The start() method was called
on
Reading org.apache.catalina.startup.Tomcat.addWebapp(Host, String,
String, String), I don't understand the following:
// prevent it from looking ( if it finds one - it'll have dup error )
ctxCfg.setDefaultWebXml(org/apache/catalin/startup/NO_DEFAULT_XML);
Why is this being used
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Calum,
On 6/20/2011 6:12 AM, Calum wrote:
On 15 June 2011 18:54, Konstantin Kolinko knst.koli...@gmail.com wrote:
The request and response objects must never be accessed outside the
request processing cycle. The objects are recycled and cleared
This is related to another thread I started, but it's a different question.
Some experimentation shows that Tomcat.java disables the default
web.xml for a good reason; if I force one back into place, I get a
duplicate name error.
However, whatever it ends up using does not include a servlet
Hi
Cluster did start , but I am getting exception :
INFO: membership mbean registered
(Catalina:type=ClusterMembership,host=localhost)
Jun 20, 2011 11:44:31 AM org.apache.catalina.cluster.deploy.FarmWarDeployer
start
INFO: Cluster FarmWarDeployer started.
Exception in thread
Hi,
To take a tomcat instance out from a cluster, now I have a no-cluster.xml and
in content it is exactly the same as the server.xml, except the
Cluster/
tag is commented out.
The question is should I also take out the jvmRoute=tc24x variable from the
Engine/ tag or leave it there.
Hi Benson,
On 20.06.2011 17:51, Benson Margulies wrote:
Reading org.apache.catalina.startup.Tomcat.addWebapp(Host, String,
String, String), I don't understand the following:
// prevent it from looking ( if it finds one - it'll have dup error )
On 20.06.2011 18:35, János Löbb wrote:
Hi,
To take a tomcat instance out from a cluster, now I have a no-cluster.xml and
in content it is exactly the same as the server.xml, except the
Cluster/
tag is commented out.
The question is should I also take out the jvmRoute=tc24x
Hi, I set up a testcase at
https://github.com/bimargulies/Tomcat-Solr-Test-Case. Note that this
is NOT a 3.0 webapp. I read the code, and the failing path is in the
if statement for 'pre-3.0'. Please have a look at the single Java
class in there and tell me what is wrong, since it seems quite
Ranier,
I don't have a problem executing jsps. I have a problem configuring a
webapp with entire servlets defined by jsps. My code works perfectly
fine launching another webapp with jsps in it which are not declared
in servlet elements.
--benson
On Mon, Jun 20, 2011 at 12:56 PM, Rainer Jung
Ranier,
I've now demonstrated that this is not about 'deferred launch' but
rather about an old servlet failing to be configured with the embedded
Tomcat class.
https://github.com/bimargulies/Tomcat-Solr-Test-Case
has been simplified. It makes the few required calls to set up the
Tomcat object.
Hi
My Clustering Fails :
SEVERE: Unable to send replicated message to member
[org.apache.catalina.cluster.mcast.McastMember[t
cp://172.28.9.109:4001,catalina,172.28.9.109,4001, alive=1813]], has only
senders for []
Jun 20, 2011 1:52:57 PM org.apache.catalina.cluster.tcp.ReplicationTransmitter
Start up takes around 20 seconds longer with Tomcat 7.0.14 and 7.0.16
than it did with 7.0.12.
This appears to be due to time spent scanning jars for annotations,
etc. We have a number of /very /large jar files in both the base
classloader for Tomcat (which we're embedding) and in our web
On 20/06/2011 20:12, Jess Holle wrote:
Start up takes around 20 seconds longer with Tomcat 7.0.14 and 7.0.16
than it did with 7.0.12.
This appears to be due to time spent scanning jars for annotations,
etc. We have a number of /very /large jar files in both the base
classloader for Tomcat
On 6/20/2011 2:16 PM, Mark Thomas wrote:
It should have improved for the majority of use cases in 7.0.14 but at
the price of making it worse for JARs in CATALINA_[HOME_BASE]/lib.
7.0.16 should have returned scanning of JARs in CATALINA_[HOME_BASE]/lib
to the pre 7.0.14 performance levels.
We're
This is my 4th day trying to setup virtual hosting on Linux-Debian;
even trying Tomcat6 after failing on Tomcat7.
Yes I have read everything that I can find in Tomcat documentation -
including the obtuse:
http://tomcat.apache.org/tomcat-7.0-doc/virtual-hosting-howto.html
what I found on this
On Wed, 15 Jun 2011, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jocelyn,
On 6/15/2011 1:43 PM, Jocelyn Ireson-Paine wrote:
ResponseHolder rh = (ResponseHolder)this_session.getAttribute(
response_holder );
Here is the beginning of your errors.
By saving
On Mon, Jun 20, 2011 at 12:58 PM, Dennis de Champeaux
atlantisic...@yahoo.com wrote:
This is my 4th day trying to setup virtual hosting on Linux-Debian;
Yes I have read everything that I can find in Tomcat documentation -
Using a browser (on that box) to access that bogus domain
On 20.06.2011 21:41, Jess Holle wrote:
On 6/20/2011 2:16 PM, Mark Thomas wrote:
It should have improved for the majority of use cases in 7.0.14 but at
the price of making it worse for JARs in CATALINA_[HOME_BASE]/lib.
7.0.16 should have returned scanning of JARs in CATALINA_[HOME_BASE]/lib
to
On 6/20/2011 2:41 PM, Jess Holle wrote:
On 6/20/2011 2:16 PM, Mark Thomas wrote:
It should have improved for the majority of use cases in 7.0.14 but at
the price of making it worse for JARs in CATALINA_[HOME_BASE]/lib.
7.0.16 should have returned scanning of JARs in CATALINA_[HOME_BASE]/lib
to
On 6/20/2011 3:16 PM, Rainer Jung wrote:
Sure we want to make scaning as fast as possible. But did you realize,
that you can exclude Jars from being scanned? There's a list f
exclusions defined in catalina.properties.
Yes -- and I'll go there is the speed from 7.0.12 (which was quite
reasonable
TX, for the quick response:
Uh, unexpected because that's obviously not a Tomcat server at all
that you're accessing, or something else? :-)
And what would be the fix ?
Home
Hi,
When I send a 304 response status, i send also the lastmodified header. It
shows
on tomcat directly via 8080. But via mod_jk/apache http server it's missing...
Is this correct behaviour or some bug? Example url:
http://www.rsscockpit.com/sitemap.do?action=subjectsubjectid=52language=nl
Let add that Tomcat was responding on port 8080 with out of the box server.xml.
Home page: rs6.risingnet.net/~ddcc
Health Info Anytime for Everyone: www.HealthCheck4Me.info
From: Dennis de Champeaux [mailto:atlantisic...@yahoo.com]
Subject: Re: Tomcat6/7 virtual hosting - yet again
Let add that Tomcat was responding on port 8080 with out
of the box server.xml.
As expected. What makes you think it will magically respond on port 80?
(Especially since you
On Mon, Jun 20, 2011 at 2:07 PM, Dennis de Champeaux
atlantisic...@yahoo.com wrote:
Let add that Tomcat was responding on port 8080 with out of the box
server.xml.
So you pretty obviously need to continue to use port 8080, eh?
e.g. http://www.testzzz.com:8080/
or turn off the Apache httpd
So guy,
I want the user to be redirected to HTTPS once he hits an authenticated
page. So I think it would be natural something like this:
security-constraint
web-resource-collection
web-resource-nameSSL login/web-resource-name
url-pattern/login/*/url-pattern
/web-resource-collection
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jocelyn,
On 6/20/2011 4:11 PM, Jocelyn Ireson-Paine wrote:
I do put a reference to
the response into an instance, in order that I can give my main
processing method all the data it needs (including the response) as one
single parameter. But I'd
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jess,
On 6/20/2011 3:41 PM, Jess Holle wrote:
On 6/20/2011 2:16 PM, Mark Thomas wrote:
It should have improved for the majority of use cases in 7.0.14 but at
the price of making it worse for JARs in CATALINA_[HOME_BASE]/lib.
7.0.16 should have
On 6/20/2011 4:35 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jess,
On 6/20/2011 3:41 PM, Jess Holle wrote:
On 6/20/2011 2:16 PM, Mark Thomas wrote:
It should have improved for the majority of use cases in 7.0.14 but at
the price of making it worse for JARs
From: Rafael Liu [mailto:rafael...@gmail.com]
Subject: Setting SSL for login pages
I think it would be natural something like this:
security-constraint
web-resource-collection
web-resource-nameSSL login/web-resource-name
url-pattern/login/*/url-pattern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Edwin,
On 6/20/2011 5:01 PM, Edwin Eversdijk wrote:
When I send a 304 response status, i send also the lastmodified header. It
shows
on tomcat directly via 8080. But via mod_jk/apache http server it's
missing...
I see the same behavior with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jess,
On 6/20/2011 5:47 PM, Jess Holle wrote:
On 6/20/2011 4:35 PM, Christopher Schultz wrote:
Maybe you could move /some/ of them?
The libraries in question are actually loaded by the application
classloader -- as is Tomcat's Bootstrap class.
Good point Chuck. I agree with you, the webapp wouldn't be all secured. But
there are 2 different things here:
* the issue with the plain password
* the issue with session hijacking
The first one first gives the hacker a private information about the user
(which can even the used by the user
- Original Message -
From: Dennis de Champeaux atlantisic...@yahoo.com
To: users@tomcat.apache.org
Cc: dennis d...@ontooo.com
Sent: Monday, June 20, 2011 12:58 PM
Subject: Tomcat6/7 virtual hosting - yet again
T his is my 4th day trying to setup virtual hosting on Linux-Debian;
On 6/20/2011 5:05 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jess,
On 6/20/2011 5:47 PM, Jess Holle wrote:
On 6/20/2011 4:35 PM, Christopher Schultz wrote:
Maybe you could move /some/ of them?
The libraries in question are actually loaded by the application
40 matches
Mail list logo