Could someone explain to me why the NIO Connector will ignore the
compression settings for large files if useSendFile is enabled (it is by
default)? It seems to me that if compression is enabled you would
specifically want to use it when sendFile is enabled, but that might just be
because I don't
br1 wrote:
Rainer,
So perhaps.. upgrading from older JKs the default changed from 10
connections to 250. With a lot of workers (for instance, 40) the total
number of maximum threads went from 400 to 1. I will have to fix this
and check what happens.
Though I understand the perfect default va
Hi Mark,
We also found sometimes the Request.getparameter("parm") statement was
return null,
wondering if it's connected to the SocketTimoutException error, So we made a
mirror
changes on org.apache.catalina.connector.Request.java trying to track what
the Actual
Length was each time when tomcat rea
> From: Johnny Kewl [mailto:[EMAIL PROTECTED]
> Subject: Re: Support
>
> Normally I always recomment lagging a JRE version as well...
> avoid bleeding edge...
JRE/JDK 6 has been around for almost two years now, so I don't think the
1.6.0_07 download is at all risky. On the other hand, the 1.6.0_
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Partha Goswami
> Subject: Re: Support
>
> ah, JDK 6.0 has some issue, in WIndows after installing JDK
> 6.0 & Tomcat
> 6.0 u need to put msvci70.dll from Jdk folder to bin folder
> of tomcat ,
> that's why i was asking. JDK 5 has n
I'm trying to configure mod_jk 1.2.16.with Apache 1.3.26 and tomcat 5.0.28 on
Solaris 9. I compiled the mod_jk from source for the Apache version.
Unfortunately, I'm stuck with this environment.
Behavior with mod_jk ForwardDirectories:
When index.shtml exists
*
GOOD http:
- Original Message -
From: "André Warnier" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, October 03, 2008 12:29 AM
Subject: Re: Support
Angelica Ardila wrote:
Good afternoon, my question is this:
That version of JDK should I use for the Tomcat 6?
Thank you very much.
And by her innocent question, Angelica has brought out the inherent
personality of a number of people on this list..
Any more takers ?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTEC
- Original Message -
From: "Angelica Ardila" <[EMAIL PROTECTED]>
To:
Sent: Friday, October 03, 2008 12:20 AM
Subject: Support
Good afternoon, my question is this:
That version of JDK should I use for the Tomcat 6?
Thank you very much.
Angélica Ardila
---
We using
Martin Gainty wrote:
Good afternoon, my question is this:
That version of JDK should I use for the Tomcat 6?
Thank you very much.
Angélica Ardila
Whichever one you like, dear. ;-)
i'll wait for christopher schultz response to this answer
You are already a few off-list exchanges too late
> > Good afternoon, my question is this:
> >
> > That version of JDK should I use for the Tomcat 6?
> >
> > Thank you very much.
> >
> > Angélica Ardila
> >
> Whichever one you like, dear. ;-)
i'll wait for christopher schultz response to this answer
>
ah, JDK 6.0 has some issue, in WIndows after installing JDK 6.0 & Tomcat
6.0 u need to put msvci70.dll from Jdk folder to bin folder of tomcat ,
that's why i was asking. JDK 5 has no issue,
On Fri, Oct 3, 2008 at 3:59 AM, André Warnier <[EMAIL PROTECTED]> wrote:
> Angelica Ardila wrote:
>
>> Go
Angelica Ardila wrote:
Good afternoon, my question is this:
That version of JDK should I use for the Tomcat 6?
Thank you very much.
Angélica Ardila
Whichever one you like, dear. ;-)
Seriously now :
JDK 6 would probably be best, and JDK 5 should work also.
But if it is only to run Tomcat, t
On Fri, Oct 3, 2008 at 3:50 AM, Angelica Ardila
<[EMAIL PROTECTED]>wrote:
>
> That version of JDK should I use for the Tomcat 6?
Read the release notes:
http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
"Tomcat 6.0 is designed to run on JSE 5.0 and later."
- Chuck
THIS COMMUNICATION M
I asked which version of JDK ?
On Fri, Oct 3, 2008 at 3:56 AM, Angelica Ardila <[EMAIL PROTECTED]>wrote:
> The Apache Tomcat version 6
>
> 2008/10/2, Partha Goswami <[EMAIL PROTECTED]>:
> >
> > which version ?
> >
> > On Fri, Oct 3, 2008 at 3:50 AM, Angelica Ardila
> > <[EMAIL PROTECTED]>wrote:
>
The Apache Tomcat version 6
2008/10/2, Partha Goswami <[EMAIL PROTECTED]>:
>
> which version ?
>
> On Fri, Oct 3, 2008 at 3:50 AM, Angelica Ardila
> <[EMAIL PROTECTED]>wrote:
>
> > Good afternoon, my question is this:
> >
> > That version of JDK should I use for the Tomcat 6?
> >
> > Thank you ve
which version ?
On Fri, Oct 3, 2008 at 3:50 AM, Angelica Ardila
<[EMAIL PROTECTED]>wrote:
> Good afternoon, my question is this:
>
> That version of JDK should I use for the Tomcat 6?
>
> Thank you very much.
>
> Angélica Ardila
>
--
Regards
Partha Goswami
President
Global Web-Tech Solution
Good afternoon, my question is this:
That version of JDK should I use for the Tomcat 6?
Thank you very much.
Angélica Ardila
you'll want to make sure bcprov-ext-jdk15-140.jar is in WEB-INF=lib
from
http://www.bouncycastle.org/latest_releases.html
feel free to ping me offline for implementation specific issues
cheers,
Martin
__
Disclaimer and confidentiality note
Everythi
piercey wrote:
Is there an easier solution to getting it to behave like
it did on Tomcat 4.1.x?
I second the motion.
Admittedly I am a complete noobie when it comes to
Tomcat (and Java logging) so please excuse my ignorance if I'm making a
glaring mistake.
That one too.
-
Rainer,
Rainer Jung-3 wrote:
>
> That might be the reason for trouble. If things start to get slow, the
> web server gets filled by all thenew requests still coming in without
> answering fast enough the existing ones.
>
This starts to make sense now.
I have a few suggestions inline, I wou
Caldarale, Charles R wrote:
[...]
Obviously, Tomcat is running at faster-than-light speed, so cause and effect
are no longer ordered...
You should take a patent on that one.
So, if regarding Tomcat there is no direct causality anymore, does it
mean also that we can all just sit here and wa
Here is the output of ldd libtcnative-1.so
libssl.so.6 => /lib64/libssl.so.6 (0x2ace1000)
libcrypto.so.6 => /lib64/libcrypto.so.6 (0x2af2a000)
libapr-1.so.0 => /usr/lib64/libapr-1.so.0 (0x2b272000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x2b49a000)
http://www.jdocs.com/tomcat/6.0.14/org/apache/catalina/ServerFactory.html
ServerFactory.getServer() will return
org.apache.catalina.ServerFactory
concerning LifecycleListener take a look at
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/LifecycleListener.html
the
John Ozarchuk schrieb:
> Hello,
>
> I am running Apache-tomcat 6.0.1.14
> on Redhat Enterprise 5.2, and I am having trouble getting Catalina.sh to use
> the Apache Tomcat Native Library. I have run configure, make, and make
> install on
> the Native (tomcat-native-1.1.10-src) and it has inst
Hello,
I am running Apache-tomcat 6.0.1.14
on Redhat Enterprise 5.2, and I am having trouble getting Catalina.sh to use
the Apache Tomcat Native Library. I have run configure, make, and make install
on
the Native (tomcat-native-1.1.10-src) and it has installed libraries in
/usr/local/apr/li
Dear All,
I've been doing a lot of webapp development on tomcat, but currently
my
process is all manual. I write the code in Eclipse, and then copy the
appropriate files over to tomcat. I'd like to automate and
standardize my
process.
So would y'all mind explaining how your dev environme
Dear Mark,
I got bitten by this recently. I am working on a LifecycleListener
(that
can be configured in server.xml) that fixes both ports that are used
by
jconsole. This makes it much easier to configure firewalls, tunnel
through
PuTTY etc.
If I get it finished in time, it will be in 6.0
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chad,
Chad Kellerman wrote:
> To get a better understanding... the application indexes
> uploaded files, the indexing process creates the temporary files then
> removes them.
Can you share the code that actually does this? The javadoc for
File.create
Dear Subhrajyoti,
I am facing problem in running Jconsole remotely . In my
machine from where I am running Jconsole I have jdk1.6...I am trying
to
connect to TOmcat6.0.18 running on a windows 2003 server
machine(with JDK
1,5) ...I have a batch file with the following contents : Whe
Yes it looks like that fact it is named with uppercase C was the problem. I
renamed it to context.xml and it finally worked.
Thank you all for your help.
On Thu, Oct 2, 2008 at 5:59 PM, David Smith <[EMAIL PROTECTED]> wrote:
> We have a winner!
> The Windows file system is one of the few (the
We have a winner!
The Windows file system is one of the few (the only one I can think of)
that's not case sensitive. Unix, linux, bsd, macos, etc. , ... are all
case sensitive. You should change the file name 'Context.xml' to
'context.xml' and check to be sure it stays that way as you build
Hi,
We use a proprietary application in work with Tomcat. The webapp is
basically a frontend to a process that runs in the background separate to
Tomcat. It uses log4j to produce its own log files, which are stored in it's
own directory again separate of Tomcat. This setup worked ok in Tomcat
4.1
I would seldom dare to differ with Mark with regards to Tomcat issues
but in this case, I prefer mod_AJP for its more
predictive behavior compared to mod_HTTP. Tomcat AJP's connector
simulates almost the same behavior as Tomcat's HTTP connector.
So the all important request headers will look the
Piller Sébastien wrote:
Hi guys,
in my project, I very often use absolute url. They have a form like:
http://domain/foo/bar/resources/org.apache.wicket.Application//path/to/my/file.png
I recently installed Apache and mod_jk.
Are this kind of url valid to be served through mod_jk?
Because
Hey guys,
I found the solution.
I had import the wrong Session-class.
So long,
Sebastian
> Hey Team,
>
> I have some problems with the example of JNDI Resources "JavaMail
> Sessions".
>
> I get the error: The constructor MimeMessage(Session) is undefined
>
> A extract from the HOW-TO page:
- Original Message -
From: "Jeng Yu" <[EMAIL PROTECTED]>
To:
Sent: Thursday, October 02, 2008 10:19 AM
Subject: Tomcat Servlet & Bouncy Castle Problem
Hello Friends!
I have a debugging problem here that I hope the gurus
here can help me figure out.
I'm trying to do RSA public key
> From: Ziggy O [mailto:[EMAIL PROTECTED]
> Subject: Re: javax.naming.NamingException: Cannot create
> resource instance
>
> One thing i have noticed is that if i take the
> /META-INF/Context.xml file and copy it into
> $CATALINA_HOME/conf/Catalina/localhost/testapp.xml
> it does work.
If the file
> From: André Warnier [mailto:[EMAIL PROTECTED]
> Subject: Re: application deployment issue, Tomcat 5.5
>
> I am still a bit puzzled by the sequence of events below though.
> First it writes that the WAR file is invalid or unreadable, then 10
> seconds later it mentions a logging properties permiss
> From: albrecht andrzejewski [mailto:[EMAIL PROTECTED]
> Subject: Re: application deployment issue, Tomcat 5.5
>
> java is looking to some native code to unzip the WAR file,
> which is huffman's compressed (yes, war files can be unzipped).
The native code being used to do the unzipping is package
Hi guys,
in my project, I very often use absolute url. They have a form like:
http://domain/foo/bar/resources/org.apache.wicket.Application//path/to/my/file.png
I recently installed Apache and mod_jk.
Are this kind of url valid to be served through mod_jk?
Because it explicitly reference w
A bit more info which i think might be relevant.
When i run it on my desktop i ran it directly from within Netbeans but when
i run it on the Unix server i export the project as a war file (within
netbeans) and copy it into the webapps directory on the Unix environment.
Is it possible that netbean
Hey Team,
I have some problems with the example of JNDI Resources "JavaMail
Sessions".
I get the error: The constructor MimeMessage(Session) is undefined
A extract from the HOW-TO page:
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
Session se
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: RE: Seek help for javax.servlet.ServletException:
> Java heap space
>
> Why is it usually better to set -Xms and -Xmx to the
> same value ?
It avoids the overhead of expansion and contraction of the heap, including the
associated book
albrecht andrzejewski wrote:
[...]
Thanks for the various answers.
But apparently the problem was that this was missing :
grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" {
[ .. parts omitted ..]
permission java.io.FilePermission
"${catalina.base}${file.separator}webapps
Hi,
The tomcat version on my Desktop is 5.5.27 and the Tomcat version on the
Unix environment is 5.5.23. Could the above minor version difference cause
it?
One thing i have noticed is that if i take the /META-INF/Context.xml file
and copy it into $CATALINA_HOME/conf/Catalina/localhost/testapp.xml
Hello all,
Does anyone know about the current status of the Tomcat Book project on
SF.net ? http://tomcatbook.sourceforge.net/en/index.shtml
It looks stone dead forever and that's a shame since firstly, I discovered
it today :-) but, moreover because it's a very good addition to the official
doc
I recall seeing a config value in php that lets you dump the output to the
console instead of the rendered page. not sure if this is valid if you run php
under tomcat :P
-Original Message-
From: Serge Fonville
Sent: 30/09/2008 19:08:21
To: Tomcat Users List
Subject: Re: Tomcat outputs
Ok...
1) I don't see a tomcat version, could you post that?
2) Are you sure the tomcat version on the production environment the
same as your dev system?
3) This is probably not causing the immediate problem, but
... in your web.xml should be javax.sql.Datasource, not
oracle.jdbc.pool.Oracle
Considering my own occasional sniping at Chuck here, it kills me to have
to say this, but I don't want anyone to look falsely in the wrong
direction maybe. One particularity of this Tomcat 5.5 on platform B,
compared to the others, is that it was set up via the standard Linux
Debian package mec
Hi Steffen and all,
thanks for the suggestion.
1. How do I do that?
2. Why does it work for other projects without the synchronization?
Thanks.
Regards,
JON HAITZ
Steffen Heil escribió:
Hi
The method yielding the problem is the following one:
private static PageLifecycleFactory getDef
The Call for Papers for ApacheCon Europe 2009, to be held in Amsterdam,
from 23rd to 27th March, is now open! Submit your proposals at
http://eu.apachecon.com/c/aceu2009/cfp/ before 24th October.
Remember that early bird prices for ApacheCon US 2008, to be held in New
Orleans, from 3rd to 7th Nove
br1 wrote:
Rainer Jung-3 wrote:
If so, what is your connection pool size? The default is 250, which is
quite high.
I did not go too far, it was the default, after some time I set it to 300
but this did not change anything.
That might be the reason for trouble. If things start to get slow, th
Mark Thomas:
Generally, and YMMV, mod_proxy_http is more stable. This is only a
generalisation though. I have used mod_proxy_ajp in the past without any
problems.
Ah, OK.
Since the mod_proxy_ajp setup I use is extremely simple and for a
low-volume site, I don't expect any problems.
Other r
Hello,
> Yes - I'll package 6.0.18 this afternoon and test it this evening.
Initial tests look positive - will do more extensive tests this
morning. Thanks very much for the suggestion.
S.
-
To start a new topic, e-mail: users
Hi Rainer,
Rainer Jung-3 wrote:
>
> Yes it does limit it that way. But when a timeout fires in mod_jk,
> Tomcat is not aware of it and will still proceed working on the request.
> Your web server though receives new rquests and forwards them, so Tomcat
> could run out of memory.
>
If there was
Markus Schönhaber wrote:
> Mark Thomas:
>
>> Actually, mod_proxy_http is usually a better choice than mod_proxy_ajp
>
> Could you please explain a little further?
> Since at one site I'm using mod_proxy_ajp I'm interested in what the
> advantage of switching to mod_proxy_http might be.
Generally
Mark Thomas:
Actually, mod_proxy_http is usually a better choice than mod_proxy_ajp
Could you please explain a little further?
Since at one site I'm using mod_proxy_ajp I'm interested in what the
advantage of switching to mod_proxy_http might be.
Regards
mks
-
Jeng Yu wrote:
> Interestngly, the same RSA public encryption code with
> Bouncy Castle library works flawlessly when I develop
> it in Netbeans IDE and run it as a java application
> (not servlet). In servlet environment, it fails. Yes,
> I added cldc_classes.zip class library file from
> Bouncy C
Hello Friends!
I have a debugging problem here that I hope the gurus
here can help me figure out.
I'm trying to do RSA public key encryption in a
servlet that I'm developing inside Netbeans 6.1. I'm
using the Bouncy Castle (BC) crypto package. When I
build the servlet, there are no errors. Then I
Gabe Wong wrote:
> Jeff try:
>
> ProxyPass /app1
> http://localhost:8080/app1
> ProxyPassReverse /app1 http://localhost:8080/app1
>
> and better yet if your have mod_proxy_ajp:
> ProxyPass /app1 ajp://localhost:8009/app1
> ProxyPassRev
No mate that was the full stack trace.
Thanks
On Wed, Oct 1, 2008 at 7:02 PM, David Smith <[EMAIL PROTECTED]> wrote:
> Seems like such a generic error would have a root cause. Was there
> anything more to the stack trace?
>
> --David
>
>
> Ziggy O wrote:
>
>> Hi,
>>
>> I am trying to connect t
62 matches
Mail list logo