Re: Why Tomcat 5.0.28 uses a context's log4j.jar and log4j.properties?

2005-08-04 Thread KwonNam Son
I solved this problem.
It was not the problem of tomcat.

I just added the following lines into log4j.properties

# Remove org.apache.* logs
log4j.logger.org.apache=WARN

It was because of struts and Digester which is used by struts.

So I change the log level of org.apache.*.

2005/8/3, KwonNam Son [EMAIL PROTECTED]:
 I installed a web context to Tomcat 5.0.28 ant the struts 1.2.7 web
 application context includes log4j-1.2.11.jar in WEB-INF/lib and
 log4j.properties in WEB-INF/classes.
 
 After that, Tomcat shows all it's log messages(include DEBUG) in log4j
 format which is configured in WEB-INF/classes/log4j.properties.
 
 Because tomcat print all the log messages, it takes too long time to
 start tomcat.
 
 If I remove log4j-*.jar and log4.properties from the web context,
 Tomcat does not show log messages any more.
 
 What should I do for preventing the topcat using a web context's log4j.
 
 Thanks,
 KwonNam.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Why Tomcat 5.0.28 uses a context's log4j.jar and log4j.properties?

2005-08-03 Thread KwonNam Son
I installed a web context to Tomcat 5.0.28 ant the struts 1.2.7 web
application context includes log4j-1.2.11.jar in WEB-INF/lib and
log4j.properties in WEB-INF/classes.

After that, Tomcat shows all it's log messages(include DEBUG) in log4j
format which is configured in WEB-INF/classes/log4j.properties.

Because tomcat print all the log messages, it takes too long time to
start tomcat.

If I remove log4j-*.jar and log4.properties from the web context,
Tomcat does not show log messages any more.

What should I do for preventing the topcat using a web context's log4j.

Thanks,
KwonNam.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Setting Context's URI Encoding?

2005-06-20 Thread KwonNam Son
With tomcat 5.0.28, I set Connector URIEncoding=/ for all the web
contexts' GET method URI Encoding.

I want all the web contexts except just one context have the same URIEncoding 

Is it possible?

How can I set the URIEncoding per Context?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Heap size - java.lang.OutOfMemoryError

2005-02-27 Thread KwonNam Son
Check this out.
http://www.pauaware.co.nz/tomcatntservice.htm


On Sat, 26 Feb 2005 07:51:06 -0600, Caldarale, Charles R
[EMAIL PROTECTED] wrote:
  From: Rasmus - Camp Online [mailto:[EMAIL PROTECTED]
  Subject: Heap size - java.lang.OutOfMemoryError
 
  I have tried everything to increase the heap size, setting the
  environment variables:
 
 As has been explained on this list numerous times, environment variables are 
 not used when running Tomcat as a Windows service.  Only the .bat files look 
 at the variables.  There are registry setting you can set to have the service 
 change the JVM heap parameters.  Look in the archives, Google, read the doc, 
 ...
 
  - Chuck
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
 MATERIAL and is thus for use only by the intended recipient. If you received 
 this in error, please contact the sender and delete the e-mail and its 
 attachments from all computers.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems connecting to Tomcat from remote machine

2005-02-01 Thread KwonNam Son
Have you checked Fedora's firewall?
As I know, Fedora's default firewall setting is to block 8080 port.

regards,
KwonNam.

On Tue, 1 Feb 2005 11:19:48 +0530, Debayan [EMAIL PROTECTED] wrote:
 Hi all,
 
 I recently installed Tomcat 4.1.31 on Linux Fedora Core 3. I downloaded
 the gzipped tar file from http://jakarta.apache.org and extracted it on a
 suitable directory. I also started it in the usual way and did not see any
 errors in the catalina.out file. I am also able to connect to the default
 Tomcat home page from the local machine using the URL http://localhost:8080
 
 However, I am simply unable to connect to the default Tomcat home page
 from any remote machine. The network interface on the Fedora box is fine -
 and I am able to connect to it over SSH/SFTP from any remote machine.
 However, I am not able to get to the Tomcat home page URL.
 
  Is there any specific configuration that needs to be done ? Any help on
 this would be most welcome.
 
 regards,
 Debayan.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Include Native DLL in Tomcat application

2005-02-01 Thread KwonNam Son
 Where can I place the DLL so it can be seen within the application?
 

Try adding the directory which has the DLLs to the global PATH
environment variable.

regards,
KwonNam.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]