Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Ian Long
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

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Ian Long
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

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Ian Long
: -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

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Ian Long
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

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Ian Long
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

Re: Please help diagnosing a random production Tomcat 7.0.53 Internal Server Error!

2014-04-15 Thread Ian Long
  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

Tomcat logging for Internal Server Errors (500)

2014-04-13 Thread Ian Long
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

Random Tomcat 500 errors

2014-04-11 Thread Ian Long
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

Tomcat 500 internal server error

2014-04-11 Thread Ian Long
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

Re: Tomcat 500 internal server error

2014-04-11 Thread Ian Long
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

CATALINA_BASE/conf/Catalina/localhost/APPNAME.xml is different from application's context.xml

2012-11-19 Thread Long Thai
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

Re: Tomcat 6 configuration using unpackWARS no longer works in Tomcat 7

2012-08-10 Thread Ian Long (Opterus)
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

authentication fail (JNDI Realm with Tomcat )

2010-11-29 Thread long hong
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=

Re: authentication fail (JNDI Realm with Tomcat )

2010-11-29 Thread long hong
: 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

Re: authentication fail (JNDI Realm with Tomcat )

2010-11-29 Thread long hong
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

Setting up Multiple Servlet's to handle 1 file type

2010-09-07 Thread David Long
-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

Re: Setting up Multiple Servlet's to handle 1 file type

2010-09-07 Thread David Long
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

Persistent Storage for Webapps

2009-10-12 Thread Jesse Long
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

Re: Persistent Storage for Webapps

2009-10-12 Thread Jesse Long
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

Re: Persistent Storage for Webapps

2009-10-12 Thread Jesse Long
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

Garbage collection problem and Tomcat

2009-03-12 Thread Ian Long
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

Re: Garbage collection problem and Tomcat

2009-03-12 Thread Ian Long
=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

Can Tomcat accomplish this?

2009-02-06 Thread Christopher Long
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

Re: Can Tomcat accomplish this?

2009-02-06 Thread Christopher 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

Re: How to check my current JVM settings

2007-12-06 Thread Phi-Long LE
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)

Re: any limitation with Tomcat4 on AIX 6.1

2007-09-17 Thread Phi-Long LE
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

Re: I still cannot run a basic struts2 app on tomcat55

2007-07-23 Thread Phi-Long LE
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

[TOMCAT 5.0.28 / mod_jk 1.2.23 / Apache 2.2.4] weird behaviour

2007-07-19 Thread Phi-Long LE
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

[TOMCAT 5.0.28 / mod_jk 1.2.23 / Apache 2.2.4] weird behaviour

2007-07-18 Thread Phi-Long LE
. 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

Re: Mod_JK 1.2.23 error 200

2007-07-11 Thread Phi-Long LE
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

Mod_JK 1.2.23 error 200

2007-07-10 Thread Phi-Long LE
? 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]

JSP precompilation

2007-07-09 Thread Phi-Long LE
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

Re: JSP precompilation

2007-07-09 Thread Phi-Long LE
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

[AIX 5.3] mod_jk 1.2.23

2007-07-05 Thread Phi-Long LE
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

Re: [AIX 5.3] mod_jk 1.2.23

2007-07-05 Thread 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

Re: [AIX 5.3] mod_jk 1.2.23

2007-07-05 Thread Phi-Long LE
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

Re: Two IIS web servers

2007-06-21 Thread Phi-Long LE
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

Re: Session replication in tomcat5.5

2007-06-20 Thread Phi-Long LE
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

Re: Session replication in tomcat5.5

2007-06-20 Thread Phi-Long LE
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

Re: how to generate java heap dump from tomcat 5.0.27

2007-06-20 Thread Phi-Long LE
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

Tomcat and MySQL sync problems

2007-01-29 Thread Chris Long
) 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

Re: Session hijacking with Tomcat/Myfaces - unable to fix it

2006-08-10 Thread 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

Re: Session hijacking with Tomcat/Myfaces - unable to fix it

2006-08-10 Thread Long
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

Re: How to have mod_jk NOT forward certain jsp's?

2006-03-28 Thread Long
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

Re: overheads on multiple connectors

2006-03-22 Thread Long
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

tomcat and websphere compatibility

2006-03-06 Thread Long
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

Re: tomcat and websphere compatibility

2006-03-06 Thread Long
. 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

Re: How can I set tomcat NOT Case Sensitive

2006-03-06 Thread Long
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

Re: tomcat and websphere compatibility

2006-03-06 Thread Long
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]