war file extraction issues in tomcat 5.5

2012-07-09 Thread Rajesh Kumar
I am finding many issues in it but still not able to resolve this. Is there any expert opinion on this... I have this setup in Cpanel. Apache Tomcat/5.5.35 OS - Linux 2.6.18-028stab099.3 JVM Version: 1.6.0_29-b11 I have added export JAVA_OPTS="-XX:PermSize=128M -XX:MaxPermSize=524M" in catlina.sh

Re: Exception Message:org.apache.tomcat.dbcp.dbcp.BasicDataSource cannot be cast to org.apache.tomcat.dbcp.dbcp.BasicDataSource

2012-07-09 Thread Filip Hanik
That's what's wrong. Remove them all from web-inf/lib Sent from my iPad, pardon any brevity. Filip Hanik On Jul 9, 2012, at 10:58, vijay.gan...@subk.co.in wrote: > yes in both CATALINA_HOME/lib and app/WEB-INF/lib, > tomcat-dbcp.jar,ojdbc14.jar and lasses12.jar files are available. > > > >

RE: [EXTERNAL] Re: General Architecture Question for multiple websites on a single RedHat server

2012-07-09 Thread Martin Gainty
apparently for RH 6.1 stopping and starting the ntp daemon works /etc/init.d/ntpd stop; date; date `date +"%m%d%H%M%C%y.%S"`; date ; /etc/init.d/ntpd starthttps://bugzilla.redhat.com/show_bug.cgi?id=836748 Martin Gainty __ Verzicht und Vertraulichkei

Re: [EXTERNAL] Re: General Architecture Question for multiple websites on a single RedHat server

2012-07-09 Thread André Warnier
Simon, Leonard wrote: Well our Tomcat went out to lunch again and we had to recycle the webserver to get things stablized. By this I mean we get reports from the users that screens become unresponsive and looking at a top we see tomcat process taking 100% CPU. Was able to do a thread dump captur

RE: [EXTERNAL] Re: General Architecture Question for multiple websites on a single RedHat server

2012-07-09 Thread Jeff Sturm
> -Original Message- > From: Simon, Leonard [mailto:leonard.si...@hsn.net] > Sent: Monday, July 09, 2012 4:24 PM > > Well our Tomcat went out to lunch again and we had to recycle the webserver > to get things stablized. By this I mean we get reports from the users that > screens become unr

Re: [EXTERNAL] Re: General Architecture Question for multiple websites on a single RedHat server

2012-07-09 Thread Simon, Leonard
Well our Tomcat went out to lunch again and we had to recycle the webserver to get things stablized. By this I mean we get reports from the users that screens become unresponsive and looking at a top we see tomcat process taking 100% CPU. Was able to do a thread dump captured with a kill -3 PID an

Re: Exception Message:org.apache.tomcat.dbcp.dbcp.BasicDataSource cannot be cast to org.apache.tomcat.dbcp.dbcp.BasicDataSource

2012-07-09 Thread vijay . gandra
yes in both CATALINA_HOME/lib and app/WEB-INF/lib, tomcat-dbcp.jar,ojdbc14.jar and lasses12.jar files are available. - Original Message - >> Thanks for your reply, >> >> 1. $CATALINA_HOME/lib >> >> 2. conf/context.xml? >> >> 3. In y application/lib also tomcat-dbcp.jar,ojdbc14.jar files

Re: Exception Message:org.apache.tomcat.dbcp.dbcp.BasicDataSource cannot be cast to org.apache.tomcat.dbcp.dbcp.BasicDataSource

2012-07-09 Thread Daniel Mikusa
- Original Message - > Thanks for your reply, > > 1. $CATALINA_HOME/lib > > 2. conf/context.xml? > > 3. In y application/lib also tomcat-dbcp.jar,ojdbc14.jar files are > available. Please suggest how to debug any useful site. I'm not sure I fully understand this statement. Are you sayi

RE: soap location address

2012-07-09 Thread Tim Watts
On Mon, 2012-07-09 at 10:14 -0400, Toman, Chuck [Stock] wrote: > Yes, I believe so > Somehow in Apache Tomcat the hostname can be dynamically change for soap > location address. > Are you asserting this as fact or do you just wish it were so? Tomcat is a web application container. What leads

Re: High load from tomcat, no users, no errors

2012-07-09 Thread Mark H. Wood
Not just Debian; I had several Gentoo boxes get into this state. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. pgpQqvHnxfAYd.pgp Description: PGP signature

Re: Exception Message:org.apache.tomcat.dbcp.dbcp.BasicDataSource cannot be cast to org.apache.tomcat.dbcp.dbcp.BasicDataSource

2012-07-09 Thread vijay . gandra
Thanks for your reply, 1. $CATALINA_HOME/lib 2. conf/context.xml? 3. In y application/lib also tomcat-dbcp.jar,ojdbc14.jar files are available. Please suggest how to debug any useful site. Thanks, > - Original Message - >> Hi All, >> >> I am getting class cast exception when casting D

RE: log4j to write Tomcat logs to Windows Event Log

2012-07-09 Thread Dunbar, Kevin D CIV SPAWARSYSCEN-PACIFIC, 56250
Thank you Chris and Konstantin for replying to my message. Here is the contents of the log4j.properties file... (This was taken from the instructions on the Tomcat website for logging with log4j). Thank you again for any help you can provide. log4j.rootLogger=INFO, CATALINA # Define all t

Speeding up RMI calls

2012-07-09 Thread Andrew Kujtan
Tomcat Version: 7.0.27 OS: Windows XP/7 I'm fixing an issue we are having with a webapp that does some communication over RMI with a remote server. Calls that would be instant in similar applications not inside the tomcat container are taking more than 30 seconds when called from tomcat. Afte

RE: soap location address

2012-07-09 Thread Toman, Chuck [Stock]
Yes, I believe so Somehow in Apache Tomcat the hostname can be dynamically change for soap location address. Thanks, Charles G. Toman Trend DBA T: +1 (919) 431 1792 * M: +1 (919) 524 8652 Customer Focused, Associate Driven. -Original Message- From: Pid [mailto:p...@pidster.com]

Re: Exception Message:org.apache.tomcat.dbcp.dbcp.BasicDataSource cannot be cast to org.apache.tomcat.dbcp.dbcp.BasicDataSource

2012-07-09 Thread Daniel Mikusa
- Original Message - > Hi All, > > I am getting class cast exception when casting DataSource to > BasicDataSource. > The same is executed when run on JDeveloper. > > Environment : Tomcat 7.X > DB : Oracle > > Used : tomcat-dbcp.jar,ojdbc14.jar Where do you have these deployed? WEB-INF/

Exception Message:org.apache.tomcat.dbcp.dbcp.BasicDataSource cannot be cast to org.apache.tomcat.dbcp.dbcp.BasicDataSource

2012-07-09 Thread vijay . gandra
Hi All, I am getting class cast exception when casting DataSource to BasicDataSource. The same is executed when run on JDeveloper. Environment : Tomcat 7.X DB : Oracle Used : tomcat-dbcp.jar,ojdbc14.jar context.xml Java Code to access Data Source : InitialContext initContext = new InitialCo

Re: NullPointerException/java.util.logging.ErrorManager: 5 when have

2012-07-09 Thread ohaya
oh...@cox.net wrote: > > Mark Thomas wrote: > > On 07/07/2012 17:33, oh...@cox.net wrote: > > > > Trace A: > > > java.util.logging.ErrorManager: 5 > > > java.lang.NullPointerException > > > at > > > java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:109) >

Re: How to support IPv6 on Apache Tomcat Version 7.0.22

2012-07-09 Thread Aditi Sinha
I could get the comparison of the three connectors here http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Connector_Comparison With the BIO connector specified, the server is not responding to the https request. Is it because SSL Handshake is Blocking for BIO connector? We need to support

Re: confused by tomcat6/7 docs

2012-07-09 Thread Olivier Lamy
Hi, 2012/7/8 Russ Tremain : > ahh... thanks. bad assumption on my part that tomcat7-maven was a superset. > > what would really be cool is an "incremental" deploy, but not sure if the > tomcat remote deploy api supports that or not. with incremental you mean for classes too ? or for jsp,css, js

Re: How to support IPv6 on Apache Tomcat Version 7.0.22

2012-07-09 Thread Aditi Sinha
Hi Kolinko, Thank you so much. We specified the BIO connector implementation for HTTP and AJP protocol and the setup now supports IPv6. Is there any preference among the three connectors "BIO", "NIO" and "APR"? How should one decide which connector to opt for? Thanks & Regards, Aditi On Fri, Jul