Re: tomcat-users.xml

2016-09-27 Thread giac ngo le van
Thank Vào 27-09-2016 14:15, "André Warnier (tomcat)" đã viết: > On 27.09.2016 03:36, vincent wrote: > >> Hello all and all, >> >> I can not reach a "host-manager webapp" >> where is the mistake >> >> my tomcat-users.xml file : >> >> >> >> >> >> < *** where does this "<" come from ? >> > >

Strange websocket status

2015-03-26 Thread arnaud le roy
Hi, on my server i have found a websocket with a status open but when i try to write on i get this exception : java.lang.IllegalStateException: The remote endpoint was in state [TEXT_PARTIAL_WRITING] which is an invalid state for called method at org.apache.tomcat.websocket.WsRemoteEndpointI

[TOMCAT 7] ErrorReport Vavle showError attribute not used ?

2014-06-22 Thread arnaud le roy
Hello, i try to disable stack trace on my tomcat 7.52 server, i found on the doc that i can do it by configure an errorReportValve class and put showError attribute to false. so i add this line in the good part of server.xml showReport="false" showServerInfo="false" /> but it get also the

Re: Proposal to contribute a SyslogAccessLogValve to the Tomcat project

2013-12-16 Thread Cyrille Le Clerc
at 5:41 PM, Cyrille Le Clerc wrote: > Hi Christopher, > > Changing the existing AccessLogValve to use a logger would have an impact on > performances with the creation of intermediate String objects and keeping > backward compatibility on the access logs files management (naming, &g

Re: Proposal to contribute a SyslogAccessLogValve to the Tomcat project

2013-12-12 Thread Cyrille Le Clerc
; approach would require substantial efforts. Cyrille On Thu, Dec 12, 2013 at 2:56 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Cyrille, > > On 12/12/13, 3:56 AM, Cyrille Le Clerc wrote: > >

Re: Proposal to contribute a SyslogAccessLogValve to the Tomcat project

2013-12-12 Thread Cyrille Le Clerc
ce library. The only help I need is the split of the AccessLogValve to reuse the formatting logic. Cyrille On Thu, Dec 12, 2013 at 11:42 AM, Brian Burch wrote: > > On 12/12/13 08:56, Cyrille Le Clerc wrote: >> >> Hello Christopher, >> >> Delegating to log4j/logbac

Re: Proposal to contribute a SyslogAccessLogValve to the Tomcat project

2013-12-12 Thread Cyrille Le Clerc
HA256 > > Cyrille, > > On 12/11/13, 1:49 PM, Cyrille Le Clerc wrote: > > Dear Tomcat community, > > > > We at CloudBees implemented a SyslogAccessLogValve that outputs > > the access logs to a syslog server. > > > > The support of Syslog is more detailed

Proposal to contribute a SyslogAccessLogValve to the Tomcat project

2013-12-11 Thread Cyrille Le Clerc
Dear Tomcat community, We at CloudBees implemented a SyslogAccessLogValve that outputs the access logs to a syslog server. The support of Syslog is more detailed that what we can usually find in java logging libraries as it allows to * configure all the syslog header fields: appName, source hostn

RE: Redirect or Forward a URL on tomcat

2013-12-09 Thread Madison Le
ice-sa.com] Sent: Monday, December 09, 2013 8:40 AM To: Tomcat Users List Subject: Re: Redirect or Forward a URL on tomcat Madison Le wrote: > Hello Everyone, > > I have tried to redirect or forward a URL on tomcat but I am not sure how to > do this. > > The tomcat console i

Redirect or Forward a URL on tomcat

2013-12-09 Thread Madison Le
Hello Everyone, I have tried to redirect or forward a URL on tomcat but I am not sure how to do this. The tomcat console is http://ramlink.txwes.edu:8080 or https://ramlink.txwes.edu:8443. I created a web application which has the URL is https://ramlink.txwes.edu:8443/WebAdvisor/WebAdvisor. I

RE: Tomcat Stdout Rotate

2012-05-15 Thread Le, Hong D.
tate -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hong, On 5/15/12 10:04 AM, Le, Hong D. wrote: > I have tried so many ways to rotate tomcat stdout log file daily or by > size but unable to achieve the goal. What did you try? > My log file grows very quick because I have to set ssl an

Tomcat Stdout Rotate

2012-05-15 Thread Le, Hong D.
Hi, I have tried so many ways to rotate tomcat stdout log file daily or by size but unable to achieve the goal. My log file grows very quick because I have to set ssl and handshake to debug mode. I appreciate if you can help me how to do. Thank you so much.

Re: cluster - does not implement StandardManager

2011-06-07 Thread Marcel dit le Belge
Hi Christopher, The problem was in the context.xml under the web app, where the manager was commented out. Thanks Marcel Christopher Schultz-2 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Marcel, > > On 6/6/2011 4:38 PM, Marcel dit le Belge wrote: &g

cluster - does not implement StandardManager

2011-06-06 Thread Marcel dit le Belge
have specific context.xml under the application. Manager [ org.apache.catalina.session.StandardManager[/myapp]] does not implement ClusterManager, addition to cluster has been aborted. Do I miss something ? Do you have any idea where I should look at ? Marcel dit le Belge -- View this message in co

Re: What monitoring do you use/recommend?

2011-04-21 Thread Cyrille Le Clerc
Hello Gautam, I recommend you to have a look at Hyperic HQ (1). I had very good experiences with it, including a big french telco operator which has been using it for more than three years nearly 100 Tomcat JVMs. VMWare/SpringSource is investing a lot on Hyperic HQ, the Open Source / Comm

Re: HTTP connector to be aware of proxied SSL requests

2010-06-17 Thread Cyrille Le Clerc
ing 'internalProxies' attribute and rely on the default that trusts all the class A, B & C private IP addresses. Hope this helps, Cyrille -- Cyrille Le Clerc clecl...@xebia.fr http://blog.xebia.fr On Thu, Jun 17, 2010 at 2:41 AM, Matt Peterson wrote: > > Hi All, > > > &

Re: Proposal : port mod_expires in java as ExpiresFilter Servlet Filter

2010-04-16 Thread Cyrille Le Clerc
tWriteResponseBody' event is that I tried my best to implement in ExpiresFilter the same behavior as in Apache Httpd mod_expires. Cyrille On Mon, Mar 29, 2010 at 8:32 PM, Cyrille Le Clerc wrote: > > Thanks for your fast feedbacks Christopher, > > I updated the patch proposed on

Proposal : Enhancing docs for RemoteIpValve and RemoteIpFilter

2010-03-30 Thread Cyrille Le Clerc
know if this proposal is interesting. Cyrille -- Cyrille Le Clerc clecl...@xebia.fr (1) http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Remote IP Valve (2) will be available in Tomcat 7 in /config/filter.html (3) http://tomcat.apache.org/tomcat-6.0-doc

Re: Proposal : port mod_expires in java as ExpiresFilter Servlet Filter

2010-03-29 Thread Cyrille Le Clerc
t 3:20 PM, Christopher Schultz wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Cyrille, > > On 3/26/2010 12:43 PM, Cyrille Le Clerc wrote: > > I have proposed with bugzilla 48998 a port of Apache mod_expires in > > Java as ExpiresFilter Servlet Filte

Proposal : port mod_expires in java as ExpiresFilter Servlet Filter

2010-03-26 Thread Cyrille Le Clerc
://issues.apache.org/bugzilla/show_bug.cgi?id=48998 I would be very happy to work on enhancing this proposal if the project is interested. Cyrille -- Cyrille Le Clerc clecl...@xebia.fr http://blog.xebia.fr - To unsubscribe, e-mail

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-15 Thread Cyrille Le Clerc
My mistake on port 80 without being root, I never used jsvc ; I relied on startup.sh. Cyrille On Mon, Mar 15, 2010 at 1:53 PM, André Warnier wrote: > Cyrille Le Clerc wrote: >> >> #4 I slightly disagree with André on asking Tomcat to listen on port >> 80 ; I am very reluc

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-15 Thread Cyrille Le Clerc
   Hello Melanie,    I share André's vision : #1 To get the root context http://www.robotronics.org/ forwarded to Tomcat, the easiest way is to declare your java application as the root context of your Tomcat (either naming it ROOT.war or declaring it with path="" in server.xml according to your

Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site

2010-03-14 Thread Cyrille Le Clerc
-> end httpd.conf sample fragment <-- I blogged in French about Tomcat-Apache configuration. Hopefully, as your name sounds french :-) you can understand them ; otherwise, they are google-translate friendly : http://blog.xebia.fr/2010/02/03/tomcat-load-balancing-mod_proxy-vs-mod_jk-le

Re: getServerName returns 'localhost'

2010-03-03 Thread Cyrille Le Clerc
to look at the "ProxyPreserveHost On" directive in Apache configuration (2). If you use It would look like : ProxyPreserveHost On ProxyPass /mypath http://localhost:8080/mypath Hope this helps, Cyrille -- Cyrille Le Clerc clecl...@xebia.fr http://blog.xebia.fr (1) see http://httpd.

Re: Apache 2.2 and TomCat 6.0 using SSL

2010-02-26 Thread Cyrille Le Clerc
ot;https" ... .. ProxyPreserveHost On ProxyPass /mypath balancer://myapplicationssl/mypath stickysession=JSESSIONID TOMCAT CONFIGURATION = ... ... Hope this helps, Cyrille On Th

Re: Apache 2.2 and TomCat 6.0 using SSL

2010-02-25 Thread Cyrille Le Clerc
in version 6.0.24 of Tomcat and is available for previous versions in a separate jar (2). Hope this helps, Cyrille -- Cyrille Le Clerc clecl...@xebia.fr (1) http://blog.xebia.fr/2009/11/13/tomcat-ssl-communications-securisees-et-x-forwarded-proto/ (2) http://code.google.com/p/xebia-france/wiki/Rem

Re: GC(JVM Heap usage) tool

2010-02-08 Thread Cyrille Le Clerc
Hello Paulwintech, I suggest you to have a look at Hyperic. It is a very interesting tool and you can extend it quite easily with custom JMX MBeans. Cyrille -- Cyrille Le Clerc clecl...@xebia.fr On Mon, Feb 8, 2010 at 2:01 PM, Leon Rosenberg < rosenberg.l...@googlemail.com> wrote: > H

Re: Threadlocal problem

2010-02-02 Thread Cyrille Le Clerc
eanup this ThreadLocal. Cyrille -- Cyrille Le Clerc clecl...@xebia.fr (1) http://fisheye6.atlassian.com/browse/commons/proper/lang/trunk/src/java/org/apache/commons/lang/builder/ToStringStyle.java?r=594386#l136 On Tue, Feb 2, 2010 at 2:44 PM, Mark Thomas wrote: > > On 02/02/2010 13:

JMX Client UnmarshalException with JmxRemoteLifecycleListener and useLocalPorts="true"

2010-01-25 Thread Cyrille Le Clerc
insights on this problem, I am very interested. Cyrille -- Cyrille Le Clerc clecl...@xebia.fr Environment : apache-tomcat-6.0.24, Java HotSpot(TM) Server VM (build 11.3-b02, mixed mode), hyperic-agent-4.1.2-1053, Linux 2.6.9-78.ELlargesmp HYPERIC AGENT ERROR MESSAGE 2010

Re: log the time between each request being read and the first byte of the response served.

2010-01-25 Thread LE
ient response to the first write ? LE. On 13.01.2010, at 16:43, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > LE, > > On 1/13/2010 9:23 AM, LE wrote: >> I am able to write my own "AccessLogValve Class" but i have no idea >>

log the time between each request being read and the first byte of the response served.

2010-01-13 Thread LE
Hello List! I would like to measure the server performance (request time) without the client's connection speed. mod-log-firstbyte for apache does this. > http://code.google.com/p/mod-log-firstbyte/ > Ever tried logging Apache page serve times using '%D'? You'll have discovered > that they aren't

Re: Changing request address to x-forwarded-for

2010-01-06 Thread Cyrille Le Clerc
including this valve will hopefully be released very soon ; vote has started on the tomcat-dev mailing list just before christmas. Don't hesitate to ask questions if the docs aren't clear enough, Hope this helps, Cyrille -- Cyrille Le Clerc clecl...@xebia.fr http://blog.xe

Re: How To Get MBean Server of Apache Tomcat.

2009-12-08 Thread Cyrille Le Clerc
the two firsts jsps as I mostly monitor Tomcat and application specific MBeans, not very much JVM MBeans (except via Hyperic). Hope this helps, Cyrille -- Cyrille Le Clerc clecl...@xebia.fr http://blog.xebia.fr (1) : java.lang:type=Runtime, java.lang:type=OperatingSystem, java.lang:type=

Re: How To Get MBean Server of Apache Tomcat.

2009-12-08 Thread Cyrille Le Clerc
\ -Dcom.sun.management.jmxremote.port=6969 \ -Dcom.sun.management.jmxremote.ssl=false \ -Dcom.sun.management.jmxremote.authenticate=false JMX listen port 6969 is configurable. All details at http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html Hope this helps, Cyrille -- Cyrille Le Clerc clecl

Re: Tomcat Https loadbalancing??

2009-11-25 Thread Cyrille Le Clerc
tocol, all the network device can speak it, I can troubleshoot it with telnet and curl, ... :-) Cyrille -- Cyrille Le Clerc clecl...@xebia.fr http://blog.xebia.fr On Wed, Nov 25, 2009 at 12:09 PM, David Cassidy wrote: > Cyrille, > > Nice if you've got that sort of money. > it is q

Re: Tomcat Https loadbalancing??

2009-11-25 Thread Cyrille Le Clerc
slation is quite good (2). My preference is to use a level 7 load balancer in front of Apache httpd servers with mod_proxy_http+mod_proxy_balancer and then Tomcat servers. Of course, this topology is not always the best one but is very often relevant. Hope this helps, Cyrille -- Cyrill

Re: Advise on configuring SSL

2009-11-25 Thread Cyrille Le Clerc
Httpd and Load Balancer layers. The document is written in french but the google translation is quite good (3). Hope this helps, Cyrille -- Cyrille Le Clerc clecl...@xebia.fr http://blog.xebia.fr (1) http://code.google.com/p/xebia-france/wiki/RemoteIpValve (2) http://blog.xebia.fr/2009/11/13/t

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-21 Thread Cyrille Le Clerc
proxy-that-is-not-the-load-balancer" Does it make sense ? Cyrille -- Cyrille Le Clerc clecl...@xebia.fr cyri...@cyrilleleclerc.com http://blog.xebia.fr On Wed, Oct 21, 2009 at 6:57 AM, Elli Albek wrote: > > A question: How do you know that a proxy is trusted? Is it by providing a >

Re: Valves being converted to Filters?

2009-10-20 Thread Cyrille Le Clerc
aced with a Filter API. I feel interfaces (HttpServletRequest & HttpServletResponse) will be much more easy to manipulate than the current implementations (Request, Response). Hopr this clarifies my message, Cyrille -- Cyrille Le Clerc clecl...@xebia.fr cyri...@cyrilleleclerc.c

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-11 Thread Cyrille Le Clerc
quirements as it is granted to "The original author or authors ..." but it can be changed with pleasure. Hope this helps, Cyrille -- Cyrille Le Clerc clecl...@xebia.fr cyri...@cyrilleleclerc.com http://blog.xebia.fr On Sun, Sep 27, 2009 at 11:13 AM, Mark Thomas wrote: > >

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-09 Thread Cyrille Le Clerc
one day, I will find time to blog about it with clear schemas ; it will be much more easy to understand than long sentences :-) Cyrille -- Cyrille Le Clerc clecl...@xebia.fr cyri...@cyrilleleclerc.com http://blog.xebia.fr - To

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-09 Thread Cyrille Le Clerc
Hello Christopher, > >    I am afraid there may be a flaw in the algorythm looking for the > > first IP  of the coma delimited x-forwarded-for header without > > ensuring that this first IP has been set by a trusted proxy and not by > > the requester ( getFirstIP(xforwardedForHeaderValue) ). Su

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-08 Thread Cyrille Le Clerc
and at the WAR level with a servlet filter : RemoteIpValve (4) and XForwardedFilter (5). In addition to handle X-Forwarded-For, they also integrate X-Forwarded-Proto (ssl). These java ports integrate the same trusted proxies concept to prevent spoofing. Cyrille -- Cyrille Le Clerc clecl...@xeb

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-05 Thread Cyrille Le Clerc
RemoteIpValve (https://issues.apache.org/bugzilla/show_bug.cgi?id=47330) . Hope this helps, Cyrille -- Cyrille Le Clerc clecl...@xebia.fr cyri...@cyrilleleclerc.com http://blog.xebia.fr On Mon, Oct 5, 2009 at 12:43 PM, Elli Albek wrote: > > - Original Message - > From: Christopher Schu

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-23 Thread Cyrille Le Clerc
ubclassing org.springframework.security.securechannel.SecureChannelProcessor. We use the second on production today, I added the small piece of code at the end of this email for the people who would be intesrested. Cyrille -- Cyrille Le Clerc cyrille.lecl...@pobox.com clecl...@xebia.fr http://blog.xebia.fr pu

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-22 Thread Cyrille Le Clerc
pache/catalina/connector/RemoteIpValve.java On Tue, Jun 23, 2009 at 12:40 AM, Mark Thomas wrote: > Cyrille Le Clerc wrote: >> Thanks very much for the time you spend on my problem Christopher. >> >> I use two connectors : one with secure=true and scheme=http ; another >> with s

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-22 Thread Cyrille Le Clerc
Thanks very much for the time you spend on my problem Christopher. I use two connectors : one with secure=true and scheme=http ; another with secured=true, scheme=https. > What is the requirement that scheme=http? You can actually use a > (non-secure) HTTP connector and still set scheme=https. Do

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-22 Thread Cyrille Le Clerc
Thanks for your response Christopher, > > Could we imagine an evolution of Tomcat to generate secure session > > cookies if "request.scheme == https" rather than on "request.secure == > > true" ? I would be very pleased to propose a patch. > > Do you have a reason to set request.secure=false wh

Re: Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-22 Thread Cyrille Le Clerc
han "https". Due to this secure JSESSIONID cookie for non SSL http requests, clients like "Apache Http Client" won't retransmit the cookie for between requests. I hope my usecase is clearer. Cyrille On Sun, Jun 21, 2009 at 12:52 PM, Cyrille Le Clerc wrote: >

Secure jsessionid cookie : request.scheme==https versus request.secure == true

2009-06-21 Thread Cyrille Le Clerc
;secure" requests whose remoteAddr matches the 10.* block. Cyrille (1) See http://fisheye6.atlassian.com/browse/tomcat/trunk/java/org/apache/catalina/connector/Request.java?r=HEAD#l2367 (2) web browsers, Apache Commons Http client, etc -- Cyrille Le Clerc cyrille.lecl...@pobox.com clecl...@xebia

Tomcat ./shutdown

2009-01-07 Thread le
Hello, I use apache-tomcat-5.5.17 and sometimes when I call ./shutdown.sh, the java process which runs Tomcat still alive. Because this java process is still alive, the next call ./startup.sh does not work. Thus, I have to kill this Java process first. Could you please give me a hint how

UTF-8

2009-01-06 Thread le
Hello everyone, could you please give me a hint how my jsp pages can be viewed in UTF-8. Do I have to configure some thing in apache server? Thanks -- Thinh - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org F

Saved state has incompatible save version

2008-12-09 Thread le
Dear all, i got this error message in catalina.out: "FATAL ERROR: Saved state has incompatible save version" Does anybody know what this means and what causes this error? Thank you Thinh - To unsubscribe, e-mail: [

/tomcat/mod_jk2.so: symbol ap_MD5Init: referenced symbol not found.

2008-07-03 Thread Linda Le
Hi ALL While loading mod_jk2 from tomcat 5.5.25 to Apache 2.2.26. I got the following error. Appreciate your pointer. Thanks. Cannot load /tomcat/mod_jk2.so into server: ld.so.1: httpd: fatal: relocation error: file /tomcat/mod_jk2.so: symbol ap_MD5Init: referenced symbol not found

starting tomcat failed - java.util.zip.ZipException: error in opening zip file

2008-04-12 Thread Linda Le
Hi I got the following error messages in catalina.out when stating tomcat. It doesn't say which file ZipFile couldn't open. Appreciated any pointers. Thanks. java.util.zip.ZipException: error in opening zip fileat java.util.zip.ZipFile.open(Native Method)at java.util.zip.Z

Re: Apache Tomcat takes 3 to 4 browser request clicks to "wake up" after being idle for 1-2 hours

2008-02-11 Thread Brian Le
clicks to "wake up" after being idle for 1-2 hours > From: Brian Le [mailto:[EMAIL PROTECTED] > So how do I make Tomcat responsive to website visitors after > 1-2 hours of no visitors? > Web server setup: > Suse Linux 10.3 - text based, mi

Apache Tomcat takes 3 to 4 browser request clicks to "wake up" after being idle for 1-2 hours

2008-02-11 Thread Brian Le
Hello, Issue: Apache Tomcat takes 3-4 browser request clicks to "wake up" after being idle for 1-2 hours. Tomcat is very responsive after Apache and Tomcat server startup also after doing my 3-4 browser request clicks to the website to "wake up" Tomcat. However, after 1-2 hours of being idle (h

RE: ROOT not working

2008-01-28 Thread John Le
Yeah a redirect page will be my last resort. It has a minor drawback of making the back button a little bit harder to use since it will auto forward. I'll see if I can have the IT group change the domain name to serverip/AppName verses just serverip before doing a redirect. - Jo

RE: ROOT not working

2008-01-28 Thread John Le
ecause it works fine in its default location, but not in ROOT. If I deploy it to the default location and modify the conf/server.xml to add in the Context docBase path tag it works but it causes system instability after a while, possibly because it deploys the application twice. - John Le -O

ROOT not working

2008-01-28 Thread John Le
ileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:517) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.jav a:161) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs. Thanks, John Le

Tomcat 5.5 server.xml

2008-01-23 Thread John Le
ing Framework. If I revert my server.xml config file back to normal all is well again. Has anyone ran into this problem or know of a fix or what I'm doing wrong here? Thank you, John Le

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 (t

Re: Precompile JSPs

2007-10-11 Thread Phi-Long LE
You can precompile jsp using wget and jsp_precompile=true for example I use this: #!/usr/bin/posix/sh for aJSP in $(find $HELIOS -name "*.jsp" | sed -e "s:$HELIOS::g") ; do wget http://vhpuw51:$aJSP?jsp_precompile=true done Le 11/10/2007 15:26, Pid a écrit :

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

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

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

2007-07-19 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 st

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

2007-07-18 Thread Phi-Long LE
tion to my webapp web.xml. 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 --

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

Re: Mod_JK 1.2.23 error 200

2007-07-11 Thread Phi-Long LE
log So i guess I have to increase the MaxClients value (currently 256) but I read something like I have to recompile apache after amending httpd.h... however I did not find the HARD_SERVER_LIMIT entry within it is it still an accurate info for apache 2.2.4 ? Le 10/07/2007 12:02

Mod_JK 1.2.23 error 200

2007-07-10 Thread Phi-Long LE
folks, I currently try to load my application using OpenSTA by simulating 1000 virtual users. having a quick look within mod_jk.log, it seems that I have a problem with my load balancer... connections dropped ?? My configuration: apache 2.0.59 /mod_jk 1.2.23/tomcat 5.0.28 _LOG [Tue J

Re: How to use connection pool with tomcat 1.2.9

2007-07-09 Thread Nhut Thai Le
wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thai, Nhut Thai Le wrote: > Servlet decument says: getDatasource(HTTPServletRequest) is used to > get the default datasource, getDataSource(HttpServletRequest, String) > get the selected datasource. This appears to be a Str

Re: JSP precompilation

2007-07-09 Thread Phi-Long LE
Well... I don't gonna keep in mind the third option... obviously obvious isn't it ? ;-) Probably we gonna keep our previous method to precompile JSPs unless I find out an efficient and quick method to set it up. Le 09/07/2007 15:54, David Delbecq a écrit : You can either precompile

JSP precompilation

2007-07-09 Thread Phi-Long LE
hi there, currently, the project I work on, we deploy our application simply using tar file, now testing tomcat, we would use war file... that's ok for that in a meantime on our current production platform (iplanet) we precompile JSP and create an other tar file... what is then the best p

Re: How to use connection pool with tomcat 1.2.9

2007-07-09 Thread Nhut Thai Le
ce is null"); I'm not sure what to tell you. The method getDataSource( request, "jdbc/TestDB" ) is not a part of tomcat or the servlet spec. Is it part of Struts? --David Nhut Thai Le wrote: > You are definitely right, i was sleepy while posting the question. The 1.2.9

Re: How to use connection pool with tomcat 1.2.9

2007-07-07 Thread Nhut Thai Le
ys as well but these should work good luck - Original Message - From: "Nhut Thai Le" To: Sent: Saturday, July 07, 2007 4:20 PM Subject: How to use connection pool with tomcat 1.2.9 > Hi guys, > I 'm developing a simple web app with netbeans with bundle

Re: How to use connection pool with tomcat 1.2.9

2007-07-07 Thread Nhut Thai Le
mbers are 4.x, 5.0.x, 5.5.x, or 6.0.x. I think Netbeans bundles started with 5.0.x later upgraded to 5.5.x with Netbeans 5.5. Could you take another look? --David Nhut Thai Le wrote: > Hi guys, > I 'm developing a simple web app with netbeans with bundle tomcat 1.2.9. I > want

How to use connection pool with tomcat 1.2.9

2007-07-07 Thread Nhut Thai Le
Hi guys, I 'm developing a simple web app with netbeans with bundle tomcat 1.2.9. I want to use connection pooling fir my web app. Thus, i config as follow: Here is my server.xml:

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: [AIX 5.3] mod_jk 1.2.23

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

[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: 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: 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. >

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: Session replication in tomcat5.5

2007-06-20 Thread Phi-Long LE
the same load you should specify the same number can we have your mod_jk.log at the apache startup ?? you should as well start tomcat first Le 20/06/2007 11:10, shiva sha a écrit : Hi I follwoed the below URLs... http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html http://tomcat.apache.org

Please help me about loading javascript...

2007-02-08 Thread Le Phuoc Canh
I don't know why loading a webpage from localhost, file javascript which include in that webpage not loading full, it will stop at the middle, while i open that webpage direct by "internet explore", i will done. Please help me about it. Thanks a lot & Best Regard.

Help me implement comet !!!

2007-02-04 Thread Le Phuoc Canh
Thanks Mark Thomas about comet URL in tomcat, but i have implement a class following : public class testComet extends HttpServlet implements CometProcessor{ event ()... } this will be have 2 servlet, one for normal http connection, and one for comet. How can i do for this clas

How about comet in TomCat

2007-01-31 Thread Le Phuoc Canh
Dear all, I don't know does tomcat support comet, if anybody know, please show me how to use it in tomcat. Thanks & Best regard.

Re: Tomcat eclipse integration

2007-01-17 Thread Philippe Le Gal
Thanks a lot, I've found a work for the afternoon... Philippe Le mercredi 17 janvier 2007 11:52, Kristian Rink a écrit : > [Philippe Le Gal <[EMAIL PROTECTED]> @ Wed, 17 Jan 2007 11:37:14 > +0100] > > > Hi > > > > I'm looking for a tutorial of Tomcat 5.

Tomcat eclipse integration

2007-01-17 Thread Philippe Le Gal
Hi I'm looking for a tutorial of Tomcat 5.5 - Eclipse 3.2 integration. Thanks for any url. Philippe - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Tomcat "working path"

2007-01-16 Thread le tortoise
Hi, Could anyone here explain to me about the use of the "working path" in Tomcat? I already tried searching in google but still could not find a good answer. In MS Windows, this "working path" can be set by using the GUI, but how to set this path in Linux? Thanks. :) -

How can we use php with tomcat

2007-01-03 Thread Le Phuoc Canh
Can we use php with tomcat ? If anybody know about it, please help me. Thanks & Best Regard.

Re: Taglibs ; error in a JSP using expression langluage

2006-08-08 Thread Le Nguyen-Thinh
not be available. --David Pid wrote: which version of tomcat are you using? is Expression Language enabled? as it looks like it's passing the ${0} variable as a string rather than evaluating it. Try setting the following attribute in your JSP 'page' directive. <%@ page ... isELIgn

Taglibs ; error in a JSP using expression langluage

2006-08-08 Thread Le Nguyen-Thinh
Dear friends, I have a JSP which uses following taglibs: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"; %> My JSP contains a piece of code which calls a tag from the taglib above:

Re: class loader for native library

2006-08-08 Thread Le Nguyen-Thinh
ould you help me please, how to configure/ specify the taglibs we want to use? Did I export the JAVA_OPTS in order to access to the native library correctly? JAVA_OPTS="-Djava.library.path=/opt/pkg/pl/lib/pl-5.6.6/lib/i686-linux" Thanks a lot for your advice. Thinh Mark Tho

class loader for native library

2006-08-07 Thread Le Nguyen-Thinh
Dear friends, My web-based application needs to communicate with a native library. Therefore, I specify the JAVA_OPTS variable with the path to a native library before running startup.sh: export JAVA_OPTS="-Djava.library.path=/opt/pkg/pl/lib/pl-5.6.6/lib/i686-linux" Unfortunately, I got th

Deployment order strategy

2006-02-03 Thread LE CALVE, Laurent
> I have 3 different .war files to deploy under Tomcat 5.5 > I deploy under Tomcat (under webapps) these 3 files with Eclipse 3.2 and the > order they start under Tomcat is very important for me because they > communicate between them with WebServices. > > When Tomcat starts, I want that Tomc