We develop an application that is heavily using different kind of web services
(SOAP, Hessian) and only has few JSPs that are used with a browser. We bundle
Tomcat (6.0.20) as server runtime.
Some customers (with varying degree of experience) want to use this behind
Apache HTTPD as reverse prox
I wrould read more about struts's request-response cycle.
The only reason is I am trying to add to response header is that I can dump
my custom response headers in apache logs.
That way, all latencies would be tied together making it easy for parsing
and analysis.
In case of different log files f
i use the patch you send to me, it is much better than before,but it still
have some problems:
i must refresh the page and it could works for a few minute,then the session
has gone.i need to login again.
the log file says:
ÐÅÏ¢: Server startup in 26207 ms
2009-8-11 11:23:09
org.apache.catalina.tr
An ssh tunnel is also easy too. (but can also open other security holes
depending on how its deployed and the requirements)
-Tim
Mark Thomas wrote:
Florian Kirchhoff wrote:
Hi,
I know this has been asked before, but after reading the documentation and
searching previous threads:
http://ww
Florian Kirchhoff wrote:
> Hi,
>
>
> I know this has been asked before, but after reading the documentation and
> searching previous threads:
>
> http://www.nabble.com/Is-this-possibe---mod_jk-%3C%3D%3DSSL%3D%3D%3E-AJP-1.3-to7746284.html#a7764525
> 2006 thread
>
>
> http://www.nabble.com/AJP-
> From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com]
> Subject: Re: questions on tomcat cluster
>
> the JVM skips any class attempted to be loaded from another class, ie,
> you cant do forName("java.lang.Integer",someloader), at least in theory :)
True, since the JVM-provided classloaders
if you entire server dies, then it sounds more hardware related, could
be software triggered, but no, tomcat shouldn't kill your system :)
Filip
On 08/10/2009 02:57 PM, Dan Denton wrote:
Hello all.
I'm running an RHEL 4 server on a VMware VM hosting tomcat 6, using JDK 6.0_15.
When I attempt
On 08/10/2009 10:20 AM, Caldarale, Charles R wrote:
From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com]
Subject: Re: questions on tomcat cluster
actually, your classpath is probably good. Its in the way the system
loads its classes.
Not true - jre/lib is loaded by the bootstrap cla
but totally unrelated to the actual issue he has :)
Filip
On 08/10/2009 10:20 AM, Caldarale, Charles R wrote:
From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com]
Subject: Re: questions on tomcat cluster
actually, your classpath is probably good. Its in the way the system
loads its classe
Hi,
I know this has been asked before, but after reading the documentation and
searching previous threads:
http://www.nabble.com/Is-this-possibe---mod_jk-%3C%3D%3DSSL%3D%3D%3E-AJP-1.3-to7746284.html#a7764525
2006 thread
http://www.nabble.com/AJP-talking-TLS-or-SSL-to12245661.html#a12245661 2
Payne, George (ghp5h) wrote:
> I've been unable to get this to work (nesting a connector in a context),
> though I cannot find a definitive answer about whether it SHOULD be possible
> or not. The docs say the container element is "usually" an Engine, but don't
> say if the other options includ
Hello all.
I'm running an RHEL 4 server on a VMware VM hosting tomcat 6, using JDK 6.0_15.
When I attempt to shutdown any tomcat instance, the entire server (VM) hangs
and has to be rebooted. Even out of the box tomcat installations cause this.
When I use JDK 5.0, this doesn't happen. The tomca
I've been unable to get this to work (nesting a connector in a context), though
I cannot find a definitive answer about whether it SHOULD be possible or not.
The docs say the container element is "usually" an Engine, but don't say if the
other options include a context or not.
The purpose to a
Caldarale, Charles R wrote:
From: David Wall [mailto:d.w...@computer.org]
Subject: Re: TC 6.0.20 - how to know session restored on restart?
This must be a multi-thread timing issue because I had
not had this happen on several other restarts.
AFAIK, Tomcat initialization is single-thread
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Josh,
On 8/8/2009 12:35 AM, Josh Gooding wrote:
> Since Tomcat is not the most efficient at
> serving static HTML pages
As Chuck suggests, this is an incorrect assumption. In recent testing I
performed myself, Tomcat 6.0.20's APR connector (also ment
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Steve,
On 8/10/2009 12:03 PM, Steve O'Hara wrote:
> We have built a Crystal Reports extension to our servlet application
> that is called via JAWIN/COM/.NET - I know, it sounds horrible doesn't
> it, but if you've ever worked with the c**p that is Cry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anantha,
On 8/10/2009 11:45 AM, Anantha Padmanabha wrote:
> I'm using struts2 application. I want to add some latencies [say mysql, our
> components and tomcat itself] to header, so that I can print this in Apache
> logs. Then looking at single apache
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas,
On 8/9/2009 9:33 PM, Thomas G. Lau wrote:
> [r...@app1-testing ~]# ulimit -a
> open files (-n) 65535
> max user processes (-u) 65535
Right. What user is Tomcat running as?
> maxThreads="300
fritzdimmel wrote:
> Hi,
> I do have the exact same problem.
>
> Does anyone have a solution for this?
Looks like a bug with the VirtualWebappLoader.
Create a bug entry with a simple test case and I'll take a look. It
isn't going to be top priority though.
Mark
>
> Thanks!
>
>
> Marcus Bett
> From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com]
> Subject: Re: questions on tomcat cluster
>
> actually, your classpath is probably good. Its in the way the system
> loads its classes.
Not true - jre/lib is loaded by the bootstrap classloader, whereas CLASSPATH
specifies the system c
Could it be a problem finding a DLL? Check the PATH variable in your dev
account and see if it includes any directories with relevant DLLs. Even if
you call LoadLibrary with a DLL's full pathname, other subsidiary DLLs may
not be found if they're not on the search path.
--
Len
On Mon, Aug 10, 20
We have built a Crystal Reports extension to our servlet application
that is called via JAWIN/COM/.NET - I know, it sounds horrible doesn't
it, but if you've ever worked with the c**p that is Crystal Reports for
Eclipse, you'll understand why we have to do it this way.
The JNI library (JAWIN) is l
Its probably also failing for less than 8k since I am guess the view is
a jsp and when the jsp finishes execution - the response will be
committed. (Or somewhere in the request/response cycle - a forward() was
done which also will eventually commit the response per the servlet spec)
If you are
Hi people,
You are correct. My header got ignored and was attempting to add after
'commit'.
I moved it to beginning of filter and tried updating towards the end, but
after 'commit', I wont be able to able to set the header value :(
I'm using struts2 application. I want to add some latencies [say
no need to email me directly, I read the tomcat mailing list.
actually, your classpath is probably good. Its in the way the system
loads its classes.
There is classloading going while deserializing the message.
I've created a small patch
try to download
http://people.apache.org/~fhanik/tomcat
If you are doing this:
doFilter() {
chain.doFilter()
response.addHeader(...)
}
Expect failure to occur. (unless you are sending less than 8k in the
response)
-Tim
Anantha Padmanabha wrote:
I'm using tomcat 6.0.18. I added a filter that adds a custom response header
by doing setIntHeader
i want to solve this problem,when i setup tomcat cluster,
the tomcat catalina.out always says:
2009-8-10 18:57:53 org.apache.catalina.tribes.tipis.AbstractReplicatedMap
messageReceived
ÑÏÖØ: Unable to apply diff to key:4CFE0AE7D7D00AAB2536871C84FE7865.worker2
java.lang.ClassNotFoundException: jav
> From: jingtian.seu...@gmail.com [mailto:jingtian.seu...@gmail.com]
> On Behalf Of TianJing
> Subject: Re: questions on tomcat cluster
>
> could you please tell me what library files could i use here?
What do you mean by "here"?
You should only use libraries that you need; don't randomly includ
thanks,
could you please tell me what library files could i use here?
2009/8/10 Caldarale, Charles R
> > From: jingtian.seu...@gmail.com [mailto:jingtian.seu...@gmail.com]
> > On Behalf Of TianJing
> > Subject: Re: questions on tomcat cluster
> >
> > my $CLASSPATH include the lib and the jre/li
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anantha,
On 8/10/2009 11:05 AM, Anantha Padmanabha wrote:
> I'm using tomcat 6.0.18. I added a filter that adds a custom response header
> by doing setIntHeader/addIntHeader, but it didnt work.
Do you get an error, or is your header just ignored?
>
> From: jingtian.seu...@gmail.com [mailto:jingtian.seu...@gmail.com]
> On Behalf Of TianJing
> Subject: Re: questions on tomcat cluster
>
> my $CLASSPATH include the lib and the jre/lib
You must never, under any circumstances, include jre/lib in your classpath -
the JVM takes care of that.
You
I'm using tomcat 6.0.18. I added a filter that adds a custom response header
by doing setIntHeader/addIntHeader, but it didnt work.
I debugged,looked at source and figured out that the place where its not
working.
Before adding headers, there is a check like this:
public boolean isAppCommitted()
thanks for you help, could you please tell me more details?
my $CLASSPATH include the lib and the jre/lib,what should i do to solve the
problem?
thanks very much!
2009/8/10 Filip Hanik - Dev Lists
> so replication is actually working for you, you just have a classpath
> issues with how you set
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Allen,
On 8/9/2009 10:25 PM, Allen Williams wrote:
> I looked, and somewhere along the line, I made my tag this:
>
> reloadable="true"
> antiResourceLocking="false" privileged="false">
>
> As I'm sure you gurus know, the "debug=" a
so replication is actually working for you, you just have a classpath
issues with how you setup your libraries.
Filip
On 08/10/2009 08:35 AM, TianJing wrote:
thanks,
the two tomcat are on different machines, one is on the same server
with apache.
in the tomcat catalina.out, it says:
2009-
thanks,
the two tomcat are on different machines, one is on the same server with
apache.
in the tomcat catalina.out, it says:
2009-8-10 18:57:53 org.apache.catalina.tribes.tipis.AbstractReplicatedMap
messageReceived
ÑÏÖØ: Unable to apply diff to key:4CFE0AE7D7D00AAB2536871C84FE7865.worker2
java.
the two tomcat are on different machines, one is on the same server with
apache.
2009/8/10 Filip Hanik - Dev Lists
> are the Tomcat machines on the same box?
> if yes, and this is tomcat 6.0.20, there is a regression in the tomcat code
> https://issues.apache.org/bugzilla/show_bug.cgi?id=47308
>
are the Tomcat machines on the same box?
if yes, and this is tomcat 6.0.20, there is a regression in the tomcat code
https://issues.apache.org/bugzilla/show_bug.cgi?id=47308
If this is not the case, let us know and we can help you further
Filip
On 08/10/2009 05:51 AM, TianJing wrote:
Hi all,
i
> From: sunil chandran [mailto:sunilonweb2...@yahoo.co.in]
> Subject: Re: avoiding ssl vulnerabilities in tomcat
>
> Is there any patch provided so that i can still use the same version
> 4.1.24 itself.
No, you *must* upgrade. Your reluctance to do so borders on the ridiculous.
- Chuck
THIS
Hello,
I read the link. I found that my tomcat is 4.1.24 version.
So i read that the issue is fixed in 4.1.32.
Is there any patch provided so that i can still use the same version 4.1.24
itself.
Is it must to upgrade? is there any patch to fix this?
--- On Mon, 10/8/09, Mark Thomas wrote:
From:
after step 4 you should call close on the CometEvent.
this way, tomcat should recycle all objects and be ready for a new request.
you see, otherwise the next request would become a simple READ event
(where the HTTP headers would become the body)
in your case, the reason you're getting an error an
Tim Funk wrote:
> You might be able to replace jasper-el.jar and have it work, but what
> needs changed? That'll require some digging. (It might even require
> changing jsp-api.jar)
There is a patch in bz to enable pluggable EL implementations. It is on
the todo list for 7.0.x. We'd need to look a
You might be able to replace jasper-el.jar and have it work, but what
needs changed? That'll require some digging. (It might even require
changing jsp-api.jar)
-Tim
Jess Holle wrote:
That's unfortunate.
One can apparently drop this upgrade into Glassfish. I don't, however,
need Glassfish -
Hi all,
i am now setting up a cluster with a httpd-2.2.13 and two tomcat 6.0, i
hope to use Session Replication,but there have some problems:
the session can not replication,when a tomcat is disappeared, the session is
lost.
could you please give me some advices? thanks very much!
here is some
That's unfortunate.
One can apparently drop this upgrade into Glassfish. I don't, however,
need Glassfish -- just a servlet engine. Nor do I need most Servlet 3.0
stuff at this time. A better Tomcat 6 would be nice, though :-)
Tim Funk wrote:
I doubt this will be seen in tomcat 6. The clos
I doubt this will be seen in tomcat 6. The closest you'll get are the
function taglibs functionality.
-Tim
Jess Holle wrote:
I note in http://java.dzone.com/articles/unified-el-learns-method that
in JEE 6 EL finally allows method invocations.
Is there any chance this feature can be used in J
I note in http://java.dzone.com/articles/unified-el-learns-method that
in JEE 6 EL finally allows method invocations.
Is there any chance this feature can be used in JSPs in Tomcat 6 today?
If so, how?
--
Jess Holle
-
To u
Hi,
I tried it with VirtualWebappLoader -- but failed (like others too):
See here:
http://www.nabble.com/Exception-when-deploying-with-VirtualWebappLoader-tc19858032.html
Any hint?
Thanks,
Fritz
markt-2 wrote:
>
> fritzdimmel wrote:
>> Sorry,
>> I wasn't clear enough:
>>
>> I'd like to have
Hi,
I do have the exact same problem.
Does anyone have a solution for this?
Thanks!
Marcus Better wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi,
>
> I'm trying to use the VirtualWebappLoader in Tomcat 6.0.18 to add a
> directory to the classpath, but get a strange except
sunil chandran wrote:
> Hello all,
>>> Do you get this exception from the shutdown process, or from the
>>> runningTomcat? It looks like the running Tomcat. Does Tomcat still shut
>>> down,
> or do you have to kill -9 it?
> I am using tomcat 4.1I get this error when tomcat is shutdown. when i giv
sunil chandran wrote:
> Hello all,
> I found this issue form support team:
> THREAT:
> The Secure
> Socket Layer (SSL) protocol allows for secure communication between a client
> and
> a server. The client usually authenticates the server using an algorithm
> like
> RSA or DSS. Some SSL ciphe
Hello all,
I found this issue form support team:
THREAT:
The Secure
Socket Layer (SSL) protocol allows for secure communication between a client
and
a server. The client usually authenticates the server using an algorithm like
RSA or DSS. Some SSL ciphers allow SSL communication without authen
Hello all,
>>Do you get this exception from the shutdown process, or from the
>>runningTomcat? It looks like the running Tomcat. Does Tomcat still shut down,
or do you have to kill -9 it?
I am using tomcat 4.1I get this error when tomcat is shutdown. when i give
shutdown, it shows this message
wa
fritzdimmel wrote:
> Sorry,
> I wasn't clear enough:
>
> I'd like to have a per-webapp classpath addition.
> I want to have my .properties file outside the WAR. To get this, it would be
> great to have the location of my properties file in the classpath.
> As I understand, in the .xml I can't ove
Hello,
we are developing a webapp and trying to use Tomcat Comet to allow asynchronous
processing of requests. Somehow we have problems with persistent connections
when using Comet (possibly due to some API misusage).
So, the short question is: does Tomcat Comet servlets support persistent
c
Sorry,
I wasn't clear enough:
I'd like to have a per-webapp classpath addition.
I want to have my .properties file outside the WAR. To get this, it would be
great to have the location of my properties file in the classpath.
As I understand, in the .xml I can't override properties from a
.propert
fritzdimmel wrote:
> Hi,
> Thanks a lot! This was the solution to my problem.
>
> I've another questions regarding WAR-specific configuration:
> Is it possible to:
> -) configure CLASSPATH extensions to single WAR files (maybe directly in
> this config file (cont/Catalina//.xml))
Not without custo
57 matches
Mail list logo