Re: Virtual Thread with Http11Nio2Protocol

2023-12-07 Thread Han Li
Hi Nicolas, I took a quick look that Tomcat's VirtualThreadExecutor does not implement the ExecutorService interface, which leads to this result. So I think this is a Tomcat bug. Han > On Dec 8, 2023, at 03:55, Nicolas BONAMY wrote: > > Hi, > > I try to use virtual thread on Apache Tomcat 1

Re: Update to 10.1.14 breaks our application

2023-10-12 Thread Han Li
https://bz.apache.org/bugzilla/show_bug.cgi?id=67664 > On Oct 13, 2023, at 05:45, Richard Cook > wrote: > > Hi, > > We have a spring boot application (v3.1.4) It currently uses > > > org.apache.tomcat > tomcat-jdbc > 10.1.13 > > > A renovate bot updated this package to 10.1.14 and now our

Re: [ANN] Apache Tomcat 9.0.67 available

2022-09-29 Thread Han Li
Hi Greg, This bug has been fixed by Mark and it also affects other recent versions(all have been fixed next release), except for 8.5.x. Han > 2022年9月29日 16:05,Greg Huber 写道: > > Hello, > > I am testing this release and are getting lots of these type of random errors > : > > <%@include file

Re: [ANN] New committer: Han Li

2022-09-06 Thread Han Li
ein. If you have received this message in error, please advise > the sender immediately by reply e-mail and delete this message. Thank you for > your cooperation. > >> -Original Message- >> From: Mark Thomas >> Sent: Tuesday, September 6, 2022 2:38 AM >> To

Re: Error during startup

2022-08-09 Thread Han Li
> 2022年8月9日 21:05,Christopher Schultz 写道: > > Han, > > On 8/4/22 00:49, Han Li wrote: >> Hi Mohan, >> You can open CATALINA_BASE/conf/catalina.policy file, add following >> statement within “grant” section: >> permission java.lang.RuntimePermission &qu

Re: Error during startup

2022-08-03 Thread Han Li
在 2022年8月4日星期四,Mohan T 写道: > Hi, > > Thanks for the response. > > How to identify the "grant" section > > Below is the contents of the file. > > Quote > > // Licensed to the Apache Softwarse Foundation (ASF) under one or more > // contributor license agreements. See the NOTICE file distributed w

Re: Error during startup

2022-08-03 Thread Han Li
Hi Mohan, You can open CATALINA_BASE/conf/catalina.policy file, add following statement within “grant” section: permission java.lang.RuntimePermission "getenv.*"; Han > 2022年8月4日 11:33,Mohan T 写道: > > Dear All, > > We are using tomcat 8.5 on suse linux 7. > > We are invoking Catalina.sh

Re: JSF NULL-String is coercing to NULL instead of empty String

2022-08-03 Thread Han Li
You can read Mark’s comment, I hope it will help you. https://bz.apache.org/bugzilla/show_bug.cgi?id=66161#c3 > 2022年8月3日 16:04,König, Andreas, NM-HVD 写道: > > Tomcat Version: 9.0.60 > Primefaces: 11.0.5 > > Hello, > recently we updated our environment from Tomcat Version 9.0.59 to 9.0.60. > Sin

Re: Regarding IPv6 support

2022-08-03 Thread Han Li
> 2022年8月3日 15:18,Nitish Chitta 写道: > > Hello Team, > I wanted to know if Tomcat 7 supports requests with IPv6 addresses in the > URL as I am getting an HTTP 404 error when trying to hit the server with an > IPv6 address. Don’t you get a 404 error when you use an IPV4 address? > > Thanks &

Re: Tomcat websocket server onclose failed( Tomcat 8.5)

2018-04-22 Thread Funian Li
Thank you very much for help. Best regards, Funian Li 2018-04-18 19:00 GMT+08:00 Mark Thomas : > On 13/04/18 09:47, Mark Thomas wrote: > > On 13/04/18 03:13, Funian Li wrote: > >> 2018-04-12 4:19 GMT+08:00 Mark Thomas : > >> > >>> On 11/04/18 0

Re: Tomcat websocket server onclose failed( Tomcat 8.5)

2018-04-12 Thread Funian Li
2018-04-12 4:19 GMT+08:00 Mark Thomas : > On 11/04/18 09:50, Funian Li wrote: > > Dear All, > > > > A problem happen when tomcat websocket server was used. > > >Exact Tomcat version? > > >If not 8.5.30, does the problem still occur if you upgrade to 8.5.3

Tomcat websocket server onclose failed( Tomcat 8.5)

2018-04-11 Thread Funian Li
Dear All, A problem happen when tomcat websocket server was used. A sensor data chart with sampling freqency 50Hz is drawn. Tomcat websocket server( Version 8.5) is used to push the data with 20ms interval. The server code is as following: @ServerEndpoint("/websocketendpoint")public class

Tomcat websocket server onclose failed( Tomcat 8.5)

2018-04-08 Thread Funian Li
Dear All, A problem happen when tomcat websocket server was used. A sensor data chart with sampling freqency 50Hz is drawn. Tomcat websocket server( Version 8.5) is used to push the data with 20ms interval. The server code is as following: @ServerEndpoint("/websocketendpoint")public class

WARNING: Failed to unregister MBean with name

2016-11-30 Thread Wayne Li
Hi, I got errors as below. What is wrong please? I use Tomcat 8.0.36, Ubuntu 16.04 and Eclipse Neon 4.6. Thanks in advance. Nov 30, 2016 7:29:51 PM org.apache.coyote.AbstractProtocol stop INFO: Stopping ProtocolHandler ["http-nio-8080"] Nov 30, 2016 7:29:51 PM org.apache.coy

Tomcat8: WARNING: Problem with directory [/usr/share/tomcat8/common

2016-08-15 Thread Wayne Li
Hi, I installed tomcat8 on Ubuntu 16 using sudo apt install tomcat8 I only need one tomcat, no need for CATALINA_BASE. But, I got warnings below. Can I ignore these warnings? Or anything I can do? Any information would be appreciated. Thanks in advance. > Aug 07, 2016 8:01:32 PM org.a

Re: mod_jk errors

2016-07-18 Thread Wayne Li
Thank you for both! On Fri, Jul 15, 2016 at 3:04 AM, Rainer Jung wrote: > Am 12.07.2016 um 19:44 schrieb Wayne Li: > >> Hi, >> >> I have a servlet/jsp application running on tomcat 7.0.47. There are no >> static html files. >> Now I am try to use apach

mod_jk errors

2016-07-12 Thread Wayne Li
Hi, I have a servlet/jsp application running on tomcat 7.0.47. There are no static html files. Now I am try to use apache 2.4.7 (Ubuntu) as the front and forward eveything to tomcat. I installed mod_jk using Ubuntu's software center.. Things are working. But I have errors in /var/log/apache2/mod_j

Re: [somewhat OT] mod-jk + ssl: requests are not forward to tomcat correctly

2016-07-12 Thread Wayne Li
Thanks for all! On Tue, Jul 12, 2016 at 7:17 AM, Rainer Jung wrote: > Am 12.07.2016 um 12:06 schrieb André Warnier (tomcat): > >> On 12.07.2016 01:39, Wayne Li wrote: >> >>> Probably the quickest : download these files, install them on your >>>> >>&

Re: mod-jk + ssl: requests are not forward to tomcat correctly

2016-07-11 Thread Wayne Li
ks. It is okay for now. but, if I do not want host these files, what should I do? Can you point a direction for me please? On Mon, Jul 11, 2016 at 12:38 PM, André Warnier (tomcat) wrote: > On 11.07.2016 19:38, Wayne Li wrote: > >> Thank you for quick reply. >> Thank you for su

Re: mod-jk + ssl: requests are not forward to tomcat correctly

2016-07-11 Thread Wayne Li
n.js"</a>;> http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"</a>;> These lines could not be forwarded under ssl? What should I do? Thanks. On Mon, Jul 11, 2016 at 9:28 AM, André Warnier (tomcat) wrote: > On 11.07.2016 15:57, Wayne Li wrote:

mod-jk + ssl: requests are not forward to tomcat correctly

2016-07-11 Thread Wayne Li
Hi All, I have a servlet/jsp application running on tomcat 7.0.47. There are no static html files. Now I am try to use apache 2.4.7 (Ubuntu) as the front and forwad eveything to tomcat. I installed mod_jk using Ubuntu's software center.. Things are working: I type "localhost" on my brower bar, it

Could not load com.sun.org.apache.xerces.internal.impl - exception happends randomly (not all the time)

2014-09-24 Thread Cheng-Jun Li
Hello, A) Version info of my system: Server version: Apache Tomcat/7.0.53 Server built: May 1 2014 10:53:10 Server number: 7.0.53.0 OS Name:Linux OS Version: 3.0.58-0.6.2.1.5158.0.PTF-default Architecture: amd64 JVM Version:1.6.0_75-b31 Deployed app server: provisioningage

can tomcat use aio instead of nio in linux?

2014-07-03 Thread Li Li
I have a background thread that is using hornetq client to receive jms topic message from a remote hornetq broker. This thread is started as ServletContextListener when tomcat starts. But the tomcat throws strange Exception: llegal access: this web application instance has been stopped already. C

Re: ConnectionPoolMBean should not expose plain-text DB password

2012-10-05 Thread Te Li
particular MBeans that you need? > >Thanks. > -Shanti > >On Thu, Oct 4, 2012 at 3:06 PM, Christopher Schultz < >ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Te, >> >> On 10/4/12 1:56 P

ConnectionPoolMBean should not expose plain-text DB password

2012-10-04 Thread Te Li
Hello, DB password is secret information and should not be exposed via JMX. The tomcat ConnectionPool class implements ConnectionPoolMBean interface. This interface exposes connection pool configuration and statistics. However, because this interface extends PoolConfiguration which has "getDbPr

Rsecurity breach on tomcat 6.0.26

2011-10-11 Thread zach Li
Hi, we are using tomcat 6.0.26 to host a java application. but recently we are experiencing security breach once or twice a week. the issue we are facing is: one user screen(or input) totallly showing up on the different user screen. Those screens have customer sensetive information. Anyo

Re: Is empty Content Type of Request allowed in Tomcat?

2011-08-30 Thread Isaac Li
Hi, On Tue, Aug 30, 2011 at 5:31 PM, Konstantin Kolinko wrote: > > > Attachments are usually dropped by mailing list software. The one you > mention above is no exception. > > > GET / HTTP/1.1 > > Date: Tue, 30 Aug 2011 02:28:50 GMT > > Content-Type: > > Authorization: AWS AKIAJHSWPWM6W6KUXAIQ:u

Re: Is empty Content Type of Request allowed in Tomcat?

2011-08-29 Thread Isaac Li
On Tue, Aug 30, 2011 at 10:00 AM, Isaac Li wrote: > Thank André and Mark for your quick response, detailed answer and > references! > > I'll try to report this issue to Cyberduck. > > One more question: when I uses current version of Cyberduck to connect > Amazon S3,

Re: Is empty Content Type of Request allowed in Tomcat?

2011-08-29 Thread Isaac Li
gn of Amazon S3? Should it be encouraged? or I missed something here? On Mon, Aug 29, 2011 at 9:44 PM, Mark Thomas wrote: > On 29/08/2011 09:10, Isaac Li wrote: > > Hello, > > > > I'm using Cyberduck as client to send request to my web server which > using > &g

Is empty Content Type of Request allowed in Tomcat?

2011-08-29 Thread Isaac Li
Hello, I'm using Cyberduck as client to send request to my web server which using apache-tomcat-7.0.16 as web container. When Cyberduck sent a request with an empty Content Type, web server returned following errors: HTTP/1.1 400 Bad Request (text/plain) Bad Content-Type header value: '' I th

Stuck at making jsvc while installing tomcat

2011-08-02 Thread Shen LI
*Hi All,* * * *I am new to use tomcat. I got a problem of installing jsvc.* * * *I followed this tutorial to setup the system http://tomcat.apache.org/tomcat-7.0-doc/setup.html. Sample command lines are:* cd $CATALINA_HOME/bin tar xvfz commons-daemon-native.tar.gz cd commons-daemon-1.0

Re: Tomcat7 APR Connectors Config: Unable to load certificate key conf/key1cert.pem

2010-11-24 Thread Scott Li
> Hi Scott, > > The exception was caused by wrong setting in your original HTTPS connector > settings... > > In Mark's email, you need to put conf/key1cert.pem in SSLCertificateFile > attribute and conf/key1.pem in SSLCertificateKeyFile attribute. > > > 2010/11/24

Re: Tomcat7 APR Connectors Config: Unable to load certificate key conf/key1cert.pem

2010-11-24 Thread Scott Li
/> > > Try to remove SSLEngine attribute and add protocol attribute, then re-start > Tomcat. > > -- > Thanks & Regards, > > Scott Li >

Tomcat7 APR Connectors Config: Unable to load certificate key conf/key1cert.pem

2010-11-24 Thread Scott Li
412) at org.apache.coyote.ajp.AjpAprProtocol.init(AjpAprProtocol.java:89) anyone can give me some tips? Thanks & Regards, Scott Li

Re: SSL No Certificate file specified or invalid file format

2010-11-23 Thread Scott Li
u metioned? or send to my email: sc...@222m.net, Thanks! 在 2010年11月24日 上午9:54,Konstantin Kolinko 写道: > 2010/11/24 Scott Li : > > 信息: Loaded APR based Apache Tomcat Native library 1.1.20. > > 010-11-24 9:36:38 org.apache.catalina.core.AprLifecycleListener init > > 信息:

SSL No Certificate file specified or invalid file format

2010-11-23 Thread Scott Li
.apache.catalina.startup.Bootstrap.load(Bootstrap.java:262) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:417) 010-11-24 9:36:38 org.apache.coyote.ajp.AjpAprProtocol init 信息: Initializing Coyote AJP/1.3 on ajp-8009 010-11-24 9:36:38 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 489 ms Thanks & Regards, Scott Li

Error in start tomcat 5.5

2010-04-05 Thread Leon Li
Hi, I am new to tomcat and have the following error in catalina.out when starting tomcat 5.5. Any help would be appreciated! Regards Leon 06/04/2010 5:46:09 AM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 06/04/2010 5:46:09 AM org.

Can't load page via tomcat6

2010-03-31 Thread Leon Li
Hi I am trying to build sermyadmin page via tomcat6 on a RHEL5 machine. I can start tomcat6 fine, but I couldn't load even the default page. browser seems to try to load something and eventually timed out. Any ideas? I can provide other information if required. Thanks Leon

Re: the context.xml is not preserved

2010-01-28 Thread LI Daobing
:05,"David Smith" 编写: On 1/28/10 9:46 AM, LI Daobing wrote: > Hello, > > in http://tomcat.apache.org/tomcat-6.0-doc/config... I think conf/Catalina/localhost/myAppName.xml wouldn't be replace. webapps/myAppName/META-INF/context.xml would be replaced. Which one are yo

the context.xml is not preserved

2010-01-28 Thread LI Daobing
I need help on this point, thanks. my system: Ubuntu 9.04, x86_64, tomcat 6.0.18, thanks. -- Best Regards LI Daobing -- Best Regards LI Daobing - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional c

RE: How to configure failover for Apache/Tomcat?

2009-07-30 Thread Li,Henry
? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Henry, On 7/30/2009 11:35 AM, Li,Henry wrote: > I have two Apache web servers, two app servers with > four Tomcat instances running on them (two Tomcat instances on each > server). All four servers run on Red Hat Linux. Current configura

How to configure failover for Apache/Tomcat?

2009-07-30 Thread Li,Henry
I need help--- I have two Apache web servers, two app servers with four Tomcat instances running on them (two Tomcat instances on each server). All four servers run on Red Hat Linux. Current configuration is: web1 connected to app1 only, web2 connected to app2 only. If app1 is down, all users

RE: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-24 Thread Li,Henry
running on Red Hat Linux 4 (32-bit) Li,Henry wrote: > Juha, > Yes, there is memory leak from application. We contact the application vendor > and they do not have patches to fix it for the version which we are using. So > what we need is a partial/dirty fix to mimimize the recycle time

RE: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-24 Thread Li,Henry
approvals. Thanks, Henry -Original Message- From: Juha Laiho [mailto:juha.la...@iki.fi] Sent: Friday, July 24, 2009 4:22 AM To: Tomcat Users List Subject: Re: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit) Li,Henry wrote

RE: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-23 Thread Li,Henry
Thank you Chuck! I will go to the 64-bit. Regards, Henry -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, July 23, 2009 7:19 PM To: Tomcat Users List Subject: RE: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM

RE: what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-23 Thread Li,Henry
ation (you'd have to have two Tomcat instances.) 2. Your other 'workaround' is to install a 64 bit OS and a 64 bit JVM. Then you can have 7G+ for the JVM. Regards Alan Chaney Li,Henry wrote: > My Tomcat is running on 32-bit Red Hat 4 (2.6.9-78.0.1.ELsmp), host server > ha

what is the upper limit of maximum heap memory for Tomcat with 32-bit JVM running on Red Hat Linux 4 (32-bit)

2009-07-23 Thread Li,Henry
My Tomcat is running on 32-bit Red Hat 4 (2.6.9-78.0.1.ELsmp), host server has 8G physical memory and 4 processors. java version "1.4.2" gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10) I got java.lang.OutOfMemoryError Current configuration: -Xms1024M -Xmx2304M The host server has about 4.5G free mem

Re: test all nodes in cluster

2008-04-16 Thread Li Ma
Anyone can help on my issue? Li On Tue, Apr 15, 2008 at 5:02 PM, Li Ma <[EMAIL PROTECTED]> wrote: > We setup a Tomcat cluster with 3 nodes running behind Apache with mod_jk > module. > Everytime we deploy something to the cluster, we would like to make sure > every single nod

test all nodes in cluster

2008-04-15 Thread Li Ma
://www.myserver.com/mywebapp/test.jsp?JSESSIONID=123456789.tomca3 To reach each one of the nodes? Thanks! -- Li Ma [EMAIL PROTECTED] http://www.idealtechs.com

Re: Running Tomcat as Standalone in linux

2008-01-05 Thread Li
Check out your log see if there is any error info. On Jan 5, 2008 11:29 PM, Chris Baty <[EMAIL PROTECTED]> wrote: > Hi guys, > I want to serve a site with few graphics so I decided to use Tomcat 5.5 as > my server. But I'm having difficulty getting it to run on port 80. I > read http://www.ib

HNY

2007-12-31 Thread Li
Hi all, Happy New Year to you. And Happy New Year to Tomcat too. Li -- Small win by playing smart Big win by playing honest

Re: Cannot access database with remote shared web hosting

2007-10-26 Thread Mike LI
nks! -Mike Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike, Mike LI wrote: > Data Access Failure JDBC exception on Hibernate data access; nested > exception is org.hibernate.exception .SQLGrammarException: could not > insert: [com.cmn

Re: Perl Permissions on Tomcat

2007-10-26 Thread Li Ye Chen
new module in Java? -Original Message- > Date: Sun Oct 14 18:29:57 EDT 2007 > From: "Mark Thomas" <[EMAIL PROTECTED]> > Subject: Re: Perl Permissions on Tomcat > To: "Tomcat Users List" > > Li Ye Chen wrote: > > Script A (the prob

Cannot access database with remote shared web hosting

2007-10-26 Thread Mike LI
Dear Team, I'm new with Tomcat & Hibernate. We have a weird problem: When I test our website locally with Tomcat & MySQL, everything is OK. But after I copy our webapp under Tomcat to remote web hosting, I can only access the JSP pages, not able to access data from database. The error on page

Re: Perl Permissions on Tomcat

2007-10-11 Thread Li Ye Chen
. -Original Message- > Date: Wed Oct 10 18:07:30 EDT 2007 > From: "Mark Thomas" <[EMAIL PROTECTED]> > Subject: Re: Perl Permissions on Tomcat > To: "Tomcat Users List" > > Li Ye Chen wrote: > > Apparently, it may also be a speed issue, since

Re: Perl Permissions on Tomcat

2007-10-10 Thread Li Ye Chen
asked yesterday but didnt hear back..Are you implementing via CGIServlet? > > M-- > - Original Message - > From: "Li Ye Chen" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Tuesday, October 09, 2007 4:34 PM > Subject: Re: Perl Permissions

Re: Perl Permissions on Tomcat

2007-10-10 Thread Li Ye Chen
the script. -Original Message- > Date: Tue Oct 09 16:54:50 EDT 2007 > From: "Christopher Schultz" <[EMAIL PROTECTED]> > Subject: Re: Perl Permissions on Tomcat > To: "Tomcat Users List" > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Li, &g

Re: Perl Permissions on Tomcat

2007-10-09 Thread Li Ye Chen
re what is going on here... Any help will be appreciated! -Original Message- > Date: Mon Oct 08 12:52:23 EDT 2007 > From: "Mark Thomas" <[EMAIL PROTECTED]> > Subject: Re: Perl Permissions on Tomcat > To: "Tomcat Users List" > > Li Ye Chen wr

Re: Perl Permissions on Tomcat

2007-10-09 Thread Li Ye Chen
> Date: Mon Oct 08 12:03:37 EDT 2007 > From: "Mark Thomas" <[EMAIL PROTECTED]> > Subject: Re: Perl Permissions on Tomcat > To: "Tomcat Users List" > > Li Ye Chen wrote: > > // Give all permission to servlets-cgi.jar > > gr

Re: Perl Permissions on Tomcat

2007-10-08 Thread Li Ye Chen
Yes, it's on a separate machine... -Original Message- > Date: Mon Oct 08 12:52:23 EDT 2007 > From: "Mark Thomas" <[EMAIL PROTECTED]> > Subject: Re: Perl Permissions on Tomcat > To: "Tomcat Users List" > > Li Ye Chen wrote: > >

Re: Perl Permissions on Tomcat

2007-10-08 Thread Li Ye Chen
> To: "Tomcat Users List" > > Li Ye Chen wrote: > > // Give all permission to servlets-cgi.jar > > grant codeBase "file:${catalina.home}/server/lib/servlets-cgi.jar" { > > permission java.security.AllPermission; > > }; > > Are you runn

Perl Permissions on Tomcat

2007-10-08 Thread Li Ye Chen
Hi, I'm trying to run a Perl script on Tomcat 5.5.8 -- I've managed to successfully run read-only Perl script, but the script I'm trying to run connects to the database and needs to write to the local hard drive. Whenever I try to execute the script, it creates a Perl.exe thread on my Windows

Re: Using Tomcat 5.5.23 with jdk 1.6.0_1

2007-06-29 Thread Li
Hi Caldarale, Thanks for your comments. I had the same compatibility problem on Fedora, by copying the tool.jar - although it is not a good idea- it worked out. Anyway, thanks for your comments. Regards Li On 6/29/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Li [mail

Re: Using Tomcat 5.5.23 with jdk 1.6.0_1

2007-06-29 Thread Li
. Regards Li On 6/29/07, Christopher Hartung <[EMAIL PROTECTED]> wrote: Hi there, we are using Tomcat 5.5.23 with jdk 1.6.0_1. But sometimes we get errors like this: # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x002a958a666a, pid=852

Re: Get an English name

2007-06-29 Thread Li
hi, it's out of topic. Please use your private email ... On 6/29/07, 吴熊敏 <[EMAIL PROTECTED]> wrote: I like the name of one of my friends.His english name is 'KEN' I think it's very good. On Fri, 29 Jun 2007 14:19:58 +0800 吴熊敏 <[EMAIL PROTECTED]> wrote: > Hi,all > > I'd like to get an e

Re: Re[2]: Get an English name

2007-06-29 Thread Li
Please watch your mouth. This group is used to discuss topics regarding tomcat. On 6/29/07, 吴熊敏 <[EMAIL PROTECTED]> wrote: it's none of your bisiness!!! you son of a bitch!! On Fri, 29 Jun 2007 15:10:53 +0800 Li <[EMAIL PROTECTED]> wrote: > hi, it's out of topic

Re: [OT] RE: Embed license to tomcat

2007-06-12 Thread Li
TED]> wrote: > From: Li [mailto:[EMAIL PROTECTED] > Path 1. Make an independent classloader which extends URLClassLoader > Path 2. Modify WebappClassLoader > Path 3. As the classloading doc mentioned, configure > customized loader which > is located in shared folder > > I had

Re: [OT] RE: Embed license to tomcat

2007-06-12 Thread Li
hich is located in shared folder I had tried Path 3 and it never gets me success. Any ideas about implementing custom classloader for this special purpose? Li

Re: Embed license to tomcat

2007-06-08 Thread Li
n. Thanks David, I will dive deeper to see if I could get a better and strong verification solution. As a developer, sometimes it's difficult to decide whether should follow my heart or boss ... Cheers Li

Embed license to tomcat

2007-06-08 Thread Li
Hi guys, Our company is going to deploy a system externally. In order to prevent illegal deployment by our customer to other tomcat in case. My boss asked me to embed our license ID into the tomcat by building our own tomcat. I had done several work such as creating a manager for our customized

RE: multiple Tomcat on one host with multiple IPs using the same port

2007-05-10 Thread Ran Li
with multiple IPs using the same port > From: Ran Li [mailto:[EMAIL PROTECTED] > Subject: multiple Tomcat on one host with multiple IPs using > the same port > > I need to setup 4 Tomcat on one host, this host has multiple > IPs, is it possible to set them up with multiple IPs usin

multiple Tomcat on one host with multiple IPs using the same port

2007-05-09 Thread Ran Li
Hello list, I need to setup 4 Tomcat on one host, this host has multiple IPs, is it possible to set them up with multiple IPs using the same listening port 8080? If it is possible could you let me know how? I tried configure different "Host name" in server.xml seems does not work in this way. Than

the cluster deployer can not work on 6.0.10

2007-03-08 Thread Li She
Hello guys On tomcat 6.0.10 , I use FarmWarDeployer and set watchEnabled="true", but I always get the error 2007-3-9 10:47:51 org.apache.catalina.ha.deploy.FarmWarDeployer messageReceived severe: javax.management.RuntimeOperationsException: Exception occured trying to get an MBean

Re: java.lang.UnsupportedClassVersionError -- Please advise

2007-03-06 Thread Li
I updated my tomcat 5 to 6 (beta) which I didnt have this problem. Class version problem sometimes caused by system time. have you changes your system time? Or try to clean up all classes you had generated and compile your java program again see how On 3/6/07, Peter Crowther <[EMAIL PROTECTED]> w

Re: server.xml configuration..

2007-03-06 Thread Li
Hi, Tomcat forbids directly access to files in your WEB-INF, which you can use the feature to setup a simple solution to protect certain jsp files so you can not direct access your jsp resource but use dispatched way to access ... On 3/6/07, Raghupathy, Gurumoorthy <[EMAIL PROTECTED]> wrote: A

Re: server.xml configuration..

2007-03-05 Thread Li
You can move your jsp files which you would like to secure to WEB-INF/, and use dispatched way to access ... then you can define few error files like 404, 503 or your own error.jspwhich can be handled by your java class wish this helps On 3/6/07, prt <[EMAIL PROTECTED]> wrote: Hi to all, Wher

Re: [Tomcat 6.0.10] Failed to install Tomcat6 service.

2007-03-02 Thread Li
Your tomcat will be installed properly even windows service creation is failed. You can run service.bat to create service ... On 3/2/07, LiuYan 刘研 <[EMAIL PROTECTED]> wrote: When I try to install tomcat 6.0.10, I got the following error: - Failed to install Tomcat6 serv

Re: About Tomcat's configure

2007-01-27 Thread Li
Hi, About JDK ... you cah echo JAVA_HOME and see the path, make sure it points to the right JDK directory. About configuration, you can read tomcat doc (it is deployed on your tomcat). Or visit tomcat official site. On 1/27/07, 悠 妮 <[EMAIL PROTECTED]> wrote: Hello All, I have two questions a

Re: Cannot create object of class

2007-01-09 Thread Li
i delete this timer-stuff it works fine... but i need the timer Li wrote: > Hi, it seems that catalina was trying to find your MyClass in her > manager's > classpath "java.lang.NoClassDefFoundError: > org/apache/catalina/manager/MyClass$1". > > Make sure your class

Re: Cannot create object of class

2007-01-09 Thread Li
Hi, it seems that catalina was trying to find your MyClass in her manager's classpath "java.lang.NoClassDefFoundError: org/apache/catalina/manager/MyClass$1". Make sure your class path is correct. A faster way to test if to write a simple jsp and run your thread inside <% ... %>. You can need con

Re: TOMCAT 1.4

2007-01-01 Thread Li
Hi tuosu, Happy new year to you and Charles also. ;) The reason why you cant see using ps is because your tomcat startup was failed. Your tomcat startup failed is because that its port (8080) was occupied by someother running process. using lsof to check what port using 8080 is running. Li On

Re: TOMCAT 1.4

2006-12-31 Thread Li
httpd is normally not for tomcat but for your webserver like apache ... and you get 404 or 405 is because your app is not deployed. Check whether your tomcat has been installed properly try to run startup.sh to see if there is any error On 1/1/07, tuosu <[EMAIL PROTECTED]> wrote: hello, M

Re: Peak load of Tomcat-powered server(s)?

2006-12-26 Thread Li Ma
ich I believe is way impossible! But I need to have some number to give him the right sense. This is also important for me to setup the target. Thanks again! Li On 12/26/06, Christopher Schultz <[EMAIL PROTECTED]> wrote: Li Ma wrote: > Actually you can imagine the server serves a site li

Re: Peak load of Tomcat-powered server(s)?

2006-12-26 Thread Li Ma
Martin, For the concept No 2, I dont understand why the user defined in tomcat-users.xml will matter to number of connection or maxThreads? Can you explain more? Thanks! Li On 12/25/06, Martin Gainty <[EMAIL PROTECTED]> wrote: Tim makes a very good point to make this distinction c

Re: Peak load of Tomcat-powered server(s)?

2006-12-24 Thread Li Ma
Thanks for the suggestions. I agree lots of stuff can only be decided after putting into a specific environment. But still, any number that can be shared? How many concurrent users your Tomcat can serve? Thanks again! Li On 12/24/06, Gary Evesson <[EMAIL PROTECTED]> wrote: Generall

Re: Peak load of Tomcat-powered server(s)?

2006-12-24 Thread Li Ma
for large website? And what does commercial products like WebLogic can normally do? Well, lots of question at my end. Thanks for sharing of your idea. Any thing will help. Best! Li On 12/24/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: The question is impossible to answer, since you don&

Peak load of Tomcat-powered server(s)?

2006-12-24 Thread Li Ma
and let me know the best load you have achieved? Thanks a lot and Merry Christmas! -- Li Ma [EMAIL PROTECTED] http://www.idealtechs.com

Re: Tomcat 5.0.28 installed under LINUX - access to file system limited to tomcat user

2006-12-07 Thread Li
and start tomcat in secure mode. Wish it helps Li On 12/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Dear Martin, Indeed, they are. Thank you Ekkehard -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, December 07, 2006 3:21 PM To: Tomcat Us

Re: Getting a webapp to run on tomcat 4.1

2006-11-29 Thread Li
Can you post more detailed log info? On 11/30/06, ying lcs <[EMAIL PROTECTED]> wrote: Thanks. Can you please tell me which tag lib that i am using causing problem when i try to run in under Tomcat 4.x? From the exception that I see, it does not say which tag lib is causing the problem. On 11/

Re: Can't start tomcat on Debian Linux

2006-11-10 Thread Li
Hi, if there are quite a few dependencies with gjc, a simple way to ignore gjc is renaming gjc's javac and java to .. say "gjc-java and gjc-javac. Then you can have sun's java compiler working. On 11/11/06, Stepan Yakovenko <[EMAIL PROTECTED]> wrote: Hassan, you are right. I have two java's.

Re: Please Help!Tomcat Not Running on Linux Fedora

2006-10-31 Thread Li
PATH=$PATH;$JAVA_HOME/bin;. On 11/1/06, Teh Noranis Mohd Aris <[EMAIL PROTECTED]> wrote: Dear All, I'm very new to Linux Fedora and not quite familiar to the commands. I'm using Fedora Core 2.6.9-1.667. I've already installed j2sdk1.4.2_10 and jakarta-tomcat-4.1.31 on my computer. Unfort

Re: Please Help!Tomcat Not Running on Linux Fedora

2006-10-31 Thread Li
add JAVA_HOME to your .bash_profile and export it ... On 11/1/06, Teh Noranis Mohd Aris <[EMAIL PROTECTED]> wrote: Dear All, I'm very new to Linux Fedora and not quite familiar to the commands. I'm using Fedora Core 2.6.9-1.667. I've already installed j2sdk1.4.2_10 and jakarta-tomcat-4.1.31

Re: Is it possible to log IP Address of requestor with custom AccessLogValve pattern?

2006-10-30 Thread Li
Hi, I am using my own log handler which is application server independent. the pattern you use for dealing with proxy is ok, in some case, we try to find an approach to be adaptive for both cases that with or without proxy. It's good to hear that you solve your problem. Li On 10/31/06, R

Re: Is it possible to log IP Address of requestor with custom AccessLogValve pattern?

2006-10-30 Thread Li
Hi Rashmi, What you use is ok, but it wont work for every case, in case of no proxy used, %{x-forwarded-for}i; may not work ... Regards On 10/31/06, Li <[EMAIL PROTECTED]> wrote: Hi Rashmi, Thank you for sharing. Have a nice day. Li On 10/31/06, Rashmi Rubdi <[EMAIL PROTECTED

Re: Is it possible to log IP Address of requestor with custom AccessLogValve pattern?

2006-10-30 Thread Li
Hi Rashmi, Thank you for sharing. Have a nice day. Li On 10/31/06, Rashmi Rubdi <[EMAIL PROTECTED]> wrote: Hi Li, I'm sorry I should have re-referenced the AccessLogValve documentation earlier. I can still get this to work with the AccessLogValve custom pattern itself by

Re: Is it possible to log IP Address of requestor with custom AccessLogValve pattern?

2006-10-30 Thread Li
ct: Re: Is it possible to log IP Address of requestor with custom AccessLogValve pattern? Hi Li and Pid, Thanks again for your replies. You are right, I also tried printing request.getRemoteAddr() in a JSP, and it always lists 127.0.0.1 As you have suggested my site could be behind a proxy, but

Re: Is it possible to log IP Address of requestor with custom AccessLogValve pattern?

2006-10-30 Thread Li
ocated in the same host as your tomcat sharing same IP address or hostname if not 127.0.0.1, seems the request comes from proxy On 10/30/06, Pid <[EMAIL PROTECTED]> wrote: Do you have a local proxy between the tomcat instance and the requestor? Rashmi Rubdi wrote: > Li, > >

Re: Is it possible to log IP Address of requestor with custom AccessLogValve pattern?

2006-10-30 Thread Li
what you defined is correct ... a simpler way is using default setting the result should be (if you are testing from same host) 127.0.0.1 - - [18/Oct/2006:18:54:48 +0800] "GET /site/ HTTP/1.1" 200 306 127.0.0.1 - - [18/Oct/2006:18:54:48 +0800] "GET /site/Welcome.do HTTP/1.1" 200 1775 (if your u

Re: Hi

2006-10-27 Thread Li
check log message ... On 10/27/06, adeyemi adesina <[EMAIL PROTECTED]> wrote: Hello Users, I got an error message "The page cannot be found." when I tried to access the 'Tomcat Manager' page by Clicking Start->All Programs-> Apache Tomacat 5.5-> 'Tomcat Manager' on Windows XP. I have accessed

RE: What would you do with field defect rate predictions?

2006-10-24 Thread Paul Luo Li
ou are hereby notified that you have received > this communication in error and that any review, disclosure, > dissemination, distribution or copying of it or its > contents > - Original Message - > From: "Paul Luo Li" <[EMAIL PROTECTED]> > To: > Sent

  1   2   >