Re: How to serve .net and java websites on Windows 2008 with IIS7 and Tomcat

2011-02-02 Thread Rainer Frey
On Wednesday 02 February 2011 01:51:51 Jordan Michaels wrote: Please don't top post. On 02/01/2011 04:38 PM, Conway Liu wrote: It seems like the Tomcat service only serves applications from one location ($CATALINA_HOME) No. you can have * webapps with a document path outside

Re: Optimize CPU Hogging Tomcat 6

2011-02-02 Thread Brett Delle Grazie
Hi Jan, On 2 February 2011 06:41, Olaf Tomczak olaf.tomc...@gmail.com wrote: Jan, The limit of open files on linux/unix systems for normal users may be quite low by default (for example 1024). From my experience, this may lead to Too many open files errors during high load even if your

Get the following error: NoClassDefFoundError: org/apache/log4j/Logger

2011-02-02 Thread henry human
Hi I get the following error when I try to call a smal java application(hello friends!) which i placed in a jar file. the application has the log4j.jar in its lib directory (and classpath) and calls the log4j.logger like this: private static final Logger LOGGER = Logger.getLogger(Hello.class);

RE: cannot access welcome page on Windows Server 2003 R2 SP2

2011-02-02 Thread Philip Anil-QBW348
I do understand that ' A default web page does not camp on any particular port.'. I was describing what I saw in the IIS inetmgr GUI. It shows default web page...port 80 I selected it and chose Delete. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent:

Re: Optimize CPU Hogging Tomcat 6

2011-02-02 Thread jan gestre
On Wed, Feb 2, 2011 at 5:19 PM, Brett Delle Grazie brett.dellegra...@gmail.com wrote: Hi Jan, On 2 February 2011 06:41, Olaf Tomczak olaf.tomc...@gmail.com wrote: Jan, The limit of open files on linux/unix systems for normal users may be quite low by default (for example 1024). From my

Re: how to refresh connection pool before it gets completely busy

2011-02-02 Thread Ognjen Blagojevic
Hi Rhonny, Can anyone help how we can achieve this , that connection pool refreshes before all connections get busy? You might want to check jdbc-pool, which sovles some of the problems with dbcp: http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html Regards, Ognjen

Re: apache question

2011-02-02 Thread Ognjen Blagojevic
Hi Lava, On 1.2.2011 19:35, Lava Saleem wrote: yeah I have read what you quote before but my question is that I need to set apache httpd as a proxy and I'm not sure if it buildin within the apache tomcat and what about the mod_jk do I need to download it ? Apache Tomcat comes packaged with

RE: Get the following error: NoClassDefFoundError: org/apache/log4j/Logger

2011-02-02 Thread Caldarale, Charles R
From: henry human [mailto:henry_hu...@yahoo.de] Subject: Get the following error: NoClassDefFoundError: org/apache/log4j/Logger I get the following error when I try to call a smal java application(hello friends!) which i placed in a jar file. the application has the log4j.jar in its lib

Re: Optimize CPU Hogging Tomcat 6

2011-02-02 Thread Brett Delle Grazie
Hi, On 2 February 2011 13:21, jan gestre ipcopper...@gmail.com wrote: snip Hi Olaf and Brett, I already made those changes similar to what is mentioned here -- http://spiralbound.net/blog/2008/03/17/rhel-system-configuration-changes-for-oracle-10g, it appears that the changes improved the

Re: apache question

2011-02-02 Thread jan gestre
On Wed, Feb 2, 2011 at 9:40 PM, Ognjen Blagojevic ognjen.d.blagoje...@gmail.com wrote: Hi Lava, On 1.2.2011 19:35, Lava Saleem wrote: yeah I have read what you quote before but my question is that I need to set apache httpd  as a proxy and I'm not sure if it buildin within the apache

Trouble with connection timeout settings

2011-02-02 Thread laredotornado
Hi, We're using Tomcat 6.0.24. We would like Tomcat to kill stuck threads after a certain period of time, but Tomcat doesn't appear to be doing this. Specifically, when the database doesn't return results, the connections just build up. Here are our settings in workers.properties

Re: Tomcat 7.0.6 won't shutdown via SCM on Windows 2003 R2

2011-02-02 Thread Konstantin Kolinko
2011/2/1 Konstantin Kolinko knst.koli...@gmail.com: See my comment in https://issues.apache.org/jira/browse/DAEMON-195 -- I think reconfiguring the service will solve the issue. Update: To resolve this Tomcat shutdown behaviour was changed to avoid calling System.exit(). This will be in

Re: CLOSE_WAIT

2011-02-02 Thread Peter Crowther
On 2 February 2011 10:24, Bw57899 bw57...@gmail.com wrote: Install an application in apache tomcat (6.0.29) in dev env on Solaris 10 with no issue. But after move to production, there are always about 50 ~ 100 CLOSE_WAIT on port 1521. The application need connect an Oracle database which is

Re: how to refresh connection pool before it gets completely busy

2011-02-02 Thread Konstantin Kolinko
2011/2/1 Rhonny David rhonnyda...@yahoo.com: Resource factory=org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory Tomcat does not implement those connection pools per se, but borrows implementation from the Commons Pool and Commons DBCP components of Apache Commons. It renames the packages at

Re: Trouble with connection timeout settings

2011-02-02 Thread laredotornado
You mean set timeouts at the database level? What if the Tomcat thread is hung for some other reason? Is there any setting that will cause Tomcat to kill a thread if that thread is stuck? - Dave Mark Thomas wrote: On 02/02/2011 15:22, laredotornado wrote: Hi, We're using Tomcat

Re: CLOSE_WAIT

2011-02-02 Thread André Warnier
Peter Crowther wrote: On 2 February 2011 10:24, Bw57899 bw57...@gmail.com wrote: Install an application in apache tomcat (6.0.29) in dev env on Solaris 10 with no issue. But after move to production, there are always about 50 ~ 100 CLOSE_WAIT on port 1521. The application need connect an

Re: Trouble with connection timeout settings

2011-02-02 Thread Mark Thomas
On 02/02/2011 16:23, laredotornado wrote: You mean set timeouts at the database level? Yes. What if the Tomcat thread is hung for some other reason? Then you have an application bug to fix. Is there any setting that will cause Tomcat to kill a thread if that thread is stuck? - Dave

Re: Cannot connect to tomcat 5.5.23 on RedHat Linux

2011-02-02 Thread Konstantin Kolinko
2011/2/2 Sanford Stein sanford.st...@cybertools.biz After updating to Red Hat's latest version of tomcat 5 What version (x.y.z) of Tomcat is that?    at gnu.java.net.PlainSocketImpl.connect(libgcj.so.7rh) GNU's Java isn't usable. Throw it away. You may search the list archives for libgcj

RE: Cannot connect to tomcat 5.5.23 on RedHat Linux

2011-02-02 Thread Caldarale, Charles R
From: Sanford Stein [mailto:sanford.st...@cybertools.biz] Subject: Cannot connect to tomcat 5.5.23 on RedHat Linux After updating to Red Hat's latest version of tomcat 5 Unfortunate that you're not using a real Tomcat from tomcat.apache.org.    at

Re: apache question

2011-02-02 Thread Lava Saleem
I'm using linux box that has already apache tomcat I can see there is httpd in /etc but I don't see apache beside apache tomcat in the /opt I also need to upload my html file in apache or like you said coyote where and how to do that ? On Wed, Feb 2, 2011 at 7:40 AM, Ognjen Blagojevic

Re: apache question

2011-02-02 Thread Dave Evans
The answers to these questions may help us help you: What linux distribution and version are you using? If you point your browser at http://localhost/ what happens? If you ls /etc/init.d/ what files do you see? Tomcat can be configured to serve html files. Some people prefer a dedicated http

Re: apache question

2011-02-02 Thread André Warnier
Lava Saleem wrote: I'm using linux box that has already apache tomcat I can see there is httpd in /etc but I don't see apache beside apache tomcat in the /opt I also need to upload my html file in apache or like you said coyote where and how to do that ? Lava, you have not told us which

Re: apache question

2011-02-02 Thread Lava Saleem
Hi everyone, I'm sorry for not providing the system informations earlier, the linux I'm using is centos 2.6.18 and the apache tomcat is 7.0.4 java is 1.6.0_22 I know the difference between apache tomcat and apache httpd, I need to configure apache httpd to server as a proxy, I just want to

Re: apache question

2011-02-02 Thread Dave Evans
In centos the file /etc/httpd/conf/httpd.conf should be the configuration for the Apache HTTP Server. For information on that configuration please write to the apache users list. One quick tip, assuming you have no virtual hosts set up, the DocumentRoot directive will tell you where to put your

Re: apache question

2011-02-02 Thread Lava Saleem
so that means I already have apache httpd but I need to install mod_jk connector correct? On Wed, Feb 2, 2011 at 1:19 PM, Dave Evans dsevan...@gmail.com wrote: In centos the file /etc/httpd/conf/httpd.conf should be the configuration for the Apache HTTP Server. For information on that

Re: apache question

2011-02-02 Thread Dave Evans
Probably yes. On Wed, Feb 2, 2011 at 11:24 AM, Lava Saleem lnsal...@ualr.edu wrote: so that means I already have apache httpd but I need to install mod_jk connector correct? On Wed, Feb 2, 2011 at 1:19 PM, Dave Evans dsevan...@gmail.com wrote: In centos the file /etc/httpd/conf/httpd.conf

Unregistering context mbean twice

2011-02-02 Thread Ming_Chang
Hi, There, I hope someone can help me with the problem I have with undeploying a webapp. We recently upgrade from 5.5 to 7 and whenever I undeploy our web app, I will get an exception like this: Feb 1, 2011 4:27:13 PM org.apache.catalina.util.LifecycleMBeanBase unregister WARNING: Failed to

Re: Unregistering context mbean twice

2011-02-02 Thread Konstantin Kolinko
2011/2/3 ming_ch...@mcafee.com: I hope someone can help me with the problem I have with undeploying a webapp. We recently upgrade from 5.5 to 7 What exact version of Tomcat 7 (x.y.z)? - To unsubscribe, e-mail:

RE: Unregistering context mbean twice

2011-02-02 Thread Ming_Chang
Sorry. I forgot give the exact version. It happens on both 7.0.4 and 7.0.6. Ming -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Wednesday, February 02, 2011 1:13 PM To: Tomcat Users List Subject: Re: Unregistering context mbean twice 2011/2/3

Re: Is it possible for a web application to populate the global JNDI namespace?

2011-02-02 Thread Mark Thomas
On 02/02/2011 20:47, Jason Pringle wrote: Can a web application populate the global JNDI namespace? No. I am looking for a possible workaround to create shared connection pools without modifying server.xml (ie placing entries in GlobalNamingResources .../). JMX is probably your best bet

Missing something with custom tags.

2011-02-02 Thread Bill Davidson
version 1.6.0_20, Java(TM) SE Runtime Environment (build 1.6.0_20-b02), Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) Tomcat: 6.0.26 I'm having trouble with a custom tag and I've tried to reduce the problem to its most basic form: /WEB-INF/tags/example.tag: %@tag %

Re: Missing something with custom tags.

2011-02-02 Thread Konstantin Kolinko
2011/2/3 Bill Davidson bill...@gmail.com: Unable to find setter method for attribute: xName error. I think you are bumping into JavaBeans capitalization rules. Rename your attribute to be xname or xxName. IIRC, setXName( ) means that the property name is XName, not xName. More details should

Re: Missing something with custom tags.

2011-02-02 Thread Bill Davidson
On 2/2/2011 2:17 PM, Konstantin Kolinko wrote: I think you are bumping into JavaBeans capitalization rules. Rename your attribute to be xname or xxName. That worked. Weird. - To unsubscribe, e-mail:

Re: Missing something with custom tags.

2011-02-02 Thread Bill Davidson
On 2/2/2011 2:17 PM, Konstantin Kolinko wrote: I think you are bumping into JavaBeans capitalization rules. Rename your attribute to be xname or xxName. That worked! Thanks! I think that's a pretty weird thing. - To

RE: Missing something with custom tags.

2011-02-02 Thread Martin Gainty
need to see the tld declaration for your tags and the Java class declared for the tag pls ping me offline Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der

Re: Missing something with custom tags.

2011-02-02 Thread Mark Thomas
On 02/02/2011 22:25, Martin Gainty wrote: need to see the tld declaration for your tags There is none. It is implicit. You need to read the JSP spec. and the Java class declared for the tag It is a tag file - there is none. Again, you need to read the JSP spec. pls ping me offline Please

Re: Unregistering context mbean twice

2011-02-02 Thread Konstantin Kolinko
2011/2/3 ming_ch...@mcafee.com: Sorry. I forgot give the exact version. It happens on both 7.0.4 and 7.0.6. I cannot say about 7.0.6, but with the current sources I do not observe any problems. You may try to build a version by your own, or wait for 7.0.7 -- I think it will be tagged built

Re: Optimize CPU Hogging Tomcat 6

2011-02-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan, On 2/2/2011 8:21 AM, jan gestre wrote: I already made those changes similar to what is mentioned here -- http://spiralbound.net/blog/2008/03/17/rhel-system-configuration-changes-for-oracle-10g, it appears that the changes improved the

Re: Get the following error: NoClassDefFoundError: org/apache/log4j/Logger

2011-02-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 2/2/2011 8:44 AM, Caldarale, Charles R wrote: From: henry human [mailto:henry_hu...@yahoo.de] Subject: Get the following error: NoClassDefFoundError: org/apache/log4j/Logger I get the following error when I try to call a smal java

Re: Trouble with connection timeout settings

2011-02-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 laredotornado, On 2/2/2011 11:23 AM, laredotornado wrote: You mean set timeouts at the database level? I would do it at the query level. The JDBC API has overloaded methods for Statement.executeQuery and friends that all take timeouts. It's

Re: It makes problem when we use JSTL with 1.3 class to build on Oracle JDK6.

2011-02-02 Thread Donggyu A. Lee
So sorry to everyone. I missed something about that. Oracle JDK6 compiler to support 1.3 class seems to be perfect. Very very sorry. Happy New Lunner Year. I'm very stupid. -- - To unsubscribe, e-mail:

Multiple struts action servlet mapping 404ing behind Apache with Tomcat 7.0.6

2011-02-02 Thread Forum Accounts
I'm looking for a way to allow us to rename our .do struts extensions to something else, without having to do them all at once. Tomcat 7.0.6, jdk1.6, solaris 10, behind Apache 2.2.10, struts 1.1. Multiple struts action servlet mappings (*.do and *.foo) seems to do what we want when going through

Re: Multiple struts action servlet mapping 404ing behind Apache with Tomcat 7.0.6

2011-02-02 Thread André Warnier
Forum Accounts wrote: I'm looking for a way to allow us to rename our .do struts extensions to something else, without having to do them all at once. Tomcat 7.0.6, jdk1.6, solaris 10, behind Apache 2.2.10, struts 1.1. Multiple struts action servlet mappings (*.do and *.foo) seems to do what we