at 3:13:08 PM, Christopher Schultz
(ch...@christopherschultz.net) wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Ian,
On 4/15/14, 2:52 PM, Ian Long wrote:
I need some help from all the tomcat experts out there! I am using
tomcat behind apache httpd using mod_jk (1.2.39
Ian,
On 4/15/14, 2:52 PM, Ian Long wrote:
I need some help from all the tomcat experts out there! I am using
tomcat behind apache httpd using mod_jk (1.2.39). About 50-100
times per day (out of many requests), I’m getting an internal
server error from Tomcat (error 500), without
:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Ian,
On 4/15/14, 3:33 PM, Ian Long wrote:
Thanks for the reply.
It looks to me like tomcat just gave up partway through generating
the request, I’m trying to figure out why.
There are no exceptions in either my
On April 15, 2014 at 3:57:04 PM, Christopher Schultz
(ch...@christopherschultz.net) wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Ian,
On 4/15/14, 3:33 PM, Ian Long wrote:
Thanks for the reply.
It looks to me like tomcat just gave up partway through generating
having to scroll down to guess what you are responding to.
Ian Long wrote:
Yes, I checked both the tomcat log (I’ve configured tomcat to use log4j) as
well as my application logs.
Yes, 20 httpd prefork processes.
I don’t think it’s memory related, I have an 8GB heap and tomcat
On April 15, 2014 at 6:50:05 PM, Tim Watts
(t...@cliftonfarm.org(mailto:t...@cliftonfarm.org)) wrote:
On Tue, 2014-04-15 at 17:12 -0400, Ian Long wrote:
Ian Long wrote:
I have tomcat configured to log via log4j, and then there is my
application log, those are the only two logs
Hi All,
I need some help tracking down a random infrequent Internal Server Error that
isn’t getting logged anywhere. I’m using Tomcat 7.0.53 behind apache httpd
with mod_jk 1.2.39.
I use new relic application monitoring, and I see in their application error
reports that a 500 error from
Hi,
I’m running into a problem with my production tomcats (7.0.52) that I can’t
track down. Occasionally (10 times an hour maybe) I’m getting a HttpServerError
500 error that isn’t appearing in tomcat or my application logs. I see it from
my NewRelic monitoring agent though, which is how I
This is a followup to my previous email, about Tomcat 500 errors. For every
error, I see this in the mod_jk (1.2.39) debug logs:
[Fri Apr 11 13:06:33.956 2014] [25409:140068250126304] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1403): received from ajp13
pos=0 len=114 max=16384
Warnier (a...@ice-sa.com) wrote:
Ian Long wrote:
This is a followup to my previous email, about Tomcat 500 errors. For every
error, I see this in the mod_jk (1.2.39) debug logs:
[Fri Apr 11 13:06:33.956 2014] [25409:140068250126304] [debug]
ajp_connection_tcp_get_message
I've been running a web application on Tomcat, when I make some
changes in the application, including context.xml, and redeploy it, I
start receiving an exception:
javax.naming.NamingException: Cannot create resource instance
at
Hi Mark,
Thanks for the info.
I would rather not rename the WAR file or add the context.xml to it, because it
is deployed in multiple ways on different severs and in development
environments etc.
Why must it be called ROOT.war, the Tomcat 6 way seems more flexible?
Cheers,
Ian Long
Chief
Hi, all! I am new to Tomcat. I am recently doing a sample app of
authentication using tomcat + JNDI + Light Weight ActiveDirectory. I wanted to
log into the web app with admin but failed several times with no error
messages in my eclipse console...
I had a user named admin with the dn=
:
From: long hong [mailto:longhong1...@gmail.com]
Subject: authentication fail (JNDI Realm with Tomcat )
security-constraint
web-resource-collection
web-resource-nameEntire Application/web-resource-name
url-pattern/fs/*/url-pattern
You probably want just /* in the above url-pattern
InitialDirContext. Don't know why...
And a curious part is that my AD entry has no sAMAccountName property. I
changed this to CN={0} and userPrincipalName={0} and also failed to pass
the authentication.
On Nov 30, 2010, at 12:29 PM, Caldarale, Charles R wrote:
From: long hong [mailto:longhong1
-name
url-pattern*.cfc/url-pattern
/servlet-mapping
servlet-mapping id=coldfusion_mapping_5
servlet-nameCfmServlet/servlet-name
url-pattern*.cfml/url-pattern
/servlet-mapping
--
From a brother in Christ,
David Long
203.427.1016
david.lon...@gmail.com
On Tue, Sep 7, 2010 at 12:56 PM, Pid p...@pidster.com wrote:
On 07/09/2010 13:37, David Long wrote:
I have an Apache Tomcat 7.0.2 development environment setup on my Ubuntu
10.04 laptop. I currently have some servlet's setup in the global
web.xml
file to handle .cfm files.
Hmm
Hi,
In my webapp I need persistent storage. I am building my webapp as a
.war file, and copying it into $CATALINE_HOME/webapps/
Tomcat extracts $CATALINA_HOME/webapps/app.war to
$CATALINA_HOME/webapps/app/
The war file contains an empty directory /WEB-INF/data . During
operations, data files
Mikolaj Rydzewski wrote:
Jesse Long wrote:
Question: id /WEB-INF/ in the extracted directory the correct place for
persistent data storage? If not, where is?
No, WEB-INF is not a correct place app generated files.
You can use any directory outside of context root.
My goal is to find
Tobias Crefeld wrote:
Am Mon, 12 Oct 2009 13:01:44 +0200
schrieb Jesse Long j...@unknown.za.net:
In my webapp I need persistent storage. I am building my webapp as a
.war file, and copying it into $CATALINE_HOME/webapps/
Tomcat extracts $CATALINA_HOME/webapps/app.war to
$CATALINA_HOME
parameters for tomcat are:
wrapper.java.additional.5=-XX:MaxPermSize=384m
wrapper.java.initmemory=2048
wrapper.java.maxmemory=2048
Do you think this could be causing my problem? I am using cacti to
graph tomcat heap, but it doesn't show any problems.
Cheers,
Ian Long
Chief Software Architect
=true
jdbc.validationQuery=select 1 + 1
jdbc.maxActive=100
jdbc.maxIdle=10
jdbc.minIdle=0
jdbc.timeBetweenEvictionRunsMillis=-1
jdbc.minEvictableIdleTimeMillis=90
jdbc.maxWait=15000
These map directly to the dbcp settings.
Cheers,
Ian Long
Chief Software Architect, Opterus Inc.
Email: ian.l
and will then forward it to the
original sender.
So does anyone know if Tomcat is able to handle this, or of any other web
server (open source) that can?
Thanks,
Chris Long
it to the original sender.
Thanks,
Chris Long
On Fri, Feb 6, 2009 at 3:21 PM, Jorge Medina jmed...@e-dialog.com wrote:
Maybe an ESB ? (like Mule)
-Original Message-
From: Christopher Long [mailto:kord...@gmail.com]
Sent: Friday, February 06, 2009 2:19 PM
To: users@tomcat.apache.org
use the CATALINA_OPTS variable to set your JVM parameters...
You can also define CATALINA_OPTS=-Xoptionsfile=toto.conf and within
toto.conf explicit JVM parameter
P.
Le 06/12/2007 17:02, Stefano Martines a écrit :
Hi,
it is Windows 2000,
tomcat 5.0.28
tomcat runs as service (tomcat5.exe)
hi,
more informations would be welcomed..
Le 17/09/2007 09:04, Hitesh Raghav a écrit :
Hi,
Is there any limitation for Tomcat4 on IBM AIX 6.1 platform?
I'm trying to deploy Tomcat4 on AIX 6.1 using IBM JDK 1.4.2 (SR7). It's
giving core dump.
Thanks,
-Hitesh
try to comment this within catalina.policy:
grant codeBase file:${catalina.home}/webapps/- {
permission java.security.AllPermission;
};
**
Le 21/07/2007 16:23, Michelle Baert a écrit :
Hi all,
I'm trying to start learning struts2.
I have a tomcat 5.5 server running fine with simple jsp
isn't it possible to define my servlet and its
mapping in the same web.xml e.g. $CATALINA_BASE/conf/web.xml ?? is it an
bug ?? or if not can someone explain me why ?
Regards,
Phi-Long LE
-
To start a new topic, e-mail: users
.
The question is : why isn't it possible to define my servlet and its
mapping in the same web.xml e.g. $CATALINA_BASE/conf/web.xml ?? is it an
bug ?? or if not can someone explain me why ?
Regards,
Phi-Long LE
-
To start
sorry for that stupid question... just find out the solution... if i
want to increase MaxClients value, I have first to increase ServerLimit
value
Le 11/07/2007 12:22, Phi-Long LE a écrit :
i probably find out the reason why connections failed... trying to
load, my app with up to 1000
?
thanks in advance for your help...
Phi-Long
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
practise using tomcat ?
should we create a war file including precompiled jsp or should we
deploy the Webapp using Tomcat and then precompile JSP ? what is the
most efficient way ?
any help or advice would be really appreciated,
Phi-Long
specific tomcat ant target) and
include the precompiled files in your .war, add with it the mappings in
web.xml for each jsp. (Long and not so easy)
Or,
you can install in tomcat something like lambda-probe, that has an
interface to compile JSP, interface you could use after deployement to
compile
folks,
has someone already experienced compiling mod_jk 1.2.23 on AIX 5.3
platform ???
when executing the command ./configure
--with-apxs=/opt/apache_2.2/bin/apxs, an error occurs telling that it is
a wrong path but am sure about that.
any help would be appreciated,
regards,
Phi-Long LE
line 19.
I do then edit the apxs amend the 19th line use strict and try
again... looks like working fine now
Thx a lot for your help.
Regards,
Phi-Long LE
Le 05/07/2007 14:56, Rainer Jung a écrit :
No experience with AIX compilation, but 2 infos:
a) usually this measage means, that
/opt
I initially said that i did amend the code... however after thinking
about the error I did prefer to amend the @INC to reflect the real path
using perl -I path1:path2:path3...
Le 05/07/2007 15:18, Phi-Long LE a écrit :
yes indeed, an error occurs when tryng the a) command...
vhqun02# /opt
Ian,
reading optional directives you should probably use the
worker.xxx.method, its value is Request, session, traffic or busyness
Le 21/06/2007 16:00, Ian Buzer a écrit :
Thanks for that Rainer.
How about when a new session comes in? Does mod_jk obtain information from
each Tomcat about
did you try to add the address attribute within connector tag ?
something looks strange in your worker.properties i.e.
worker.tomcat1.lbfactor=1
worker.tomcat2.lbfactor=100
this two directive mean something like you will use 100 times tomcat2
for 1 time tomcat1... if you want to use the two
one
crashes... well am not sure you can transfer a sessionID... never heard
before about such possibilities(anyway am still young in IT ;-)) the
session should be binded to one tomcat instance (default: sticky_session
is set to true)
Le 20/06/2007 12:32, Phi-Long LE a écrit :
did you try
I use the same method as you except the fact that all java options are
within a file and I set the JAVA_OPTS to -Xoptionsfile=
Le 21/06/2007 05:48, Guan Yu a écrit :
i need to generate java heap dump to trace memory leak in our web
application. We are using tomcat 5.0.27.
I added
)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
** END NESTED EXCEPTION **
Thanks,
Christopher Long
I wonder if associating (and checking) the request IP with the session
would reduce the problem to some acceptable level. What is
the chance of a session being hijacked from the same network (face-ip)?
Another question is can the original request IP be spoofed?
Long
- Original Message
for a session are indeed coming from the same IP.
Long
- Original Message -
From: Tomas Hulek [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Thursday, August 10, 2006 2:53 PM
Subject: Re: Session hijacking with Tomcat/Myfaces - unable to fix it
In this case
Since it ends in .jsp, JkMount is forwarding it:
JkMount /*.jsp app01
However, we want anything that is in /cgi-bin to not
go to Tomcat.
How about
JkMount /path/to/tomcat/context/*.jsp app01
Long
www.edgesoft.ca
be affected by a lot.
Well 3000 / 60 is 50 requests per second. If you know how long
it takes to service a request then you are in a better position to
tackle the performance issue.
Let's assume, conservatively, your server can do 10 per second.
Then having the load balancer with 5 workers (linked
Has anyone develop in Tomcat and deploy to Websphere?
It should be possible but how practical is it?
Are there any available resources I can use as a reference?
Thanks for any info,
Long
-
To unsubscribe, e-mail: [EMAIL
. might consist of struts, Tomcat 5.5 and MySql 4.x.
An immediate issue might be data type mismatch between the databases.
I am trying to assess the amount of work involved and see if it is worth
the effort.
Regards,
Long
Hello,
Long wrote:
Has anyone develop in Tomcat and deploy
Windows because the file system
can't tell a difference between test.html and TEST.html. The difference
is there under Linux/UNIX.
Long
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
wonder if war file can be deployed the same way
in Websphere...
Long
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
49 matches
Mail list logo