java.lang.reflect.InvocationTargetException

2006-10-03 Thread weng daiyue
Hi, I am using tomcat to deploy a business registry service recently, and I use APIs provided by uddi4j to talk to uddi registry, and the following is the problem that I encountered: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode:

the future of Tomcat... (JEE 5 and Tomcat 6)

2006-10-03 Thread Paulo Alvim
Hi! We're heavy TC 5.x users with lots of sucessfull production cases in Brazil using Hibernate, Struts and others OSS (after bad EJB 2.x experiences like many companies)... But now with EJB 3.0 and JSF 1.2 - and lots of improvements in the JEE specification - we'll have to migrate to a JEE 5

Re: java.lang.reflect.InvocationTargetException

2006-10-03 Thread Mark Thomas
weng daiyue wrote: Hi, I am using tomcat to deploy a business registry service recently, and I use APIs provided by uddi4j to talk to uddi registry, and the following is the problem that I encountered: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

Re: the future of Tomcat... (JEE 5 and Tomcat 6)

2006-10-03 Thread Tim Funk
Tomcat 6.0 is getting polish with respect to the docs at the moment and there are other technical discussions as can be found on the dev list. Tomcat will support JSP2.1. Personally - I'm not on top of the JSF spec but if all it requires is a JSP2.1 container - then you should be good to go.

RES: the future of Tomcat... (JEE 5 and Tomcat 6)

2006-10-03 Thread Paulo Alvim
Thanks Tim, I have subscribed to the dev list to stay informed... this Alpha release would be very welcome at this moment! -Mensagem original- De: Tim Funk [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 3 de outubro de 2006 08:39 Para: Tomcat Users List Assunto: Re: the future of

Re: the future of Tomcat... (JEE 5 and Tomcat 6)

2006-10-03 Thread Bruno Georges
Paulo Did you look at Seam http://www.jboss.com/products/seam ? JBoss Seam is a powerful new application framework to build next generation Web 2.0 applications by unifying and integrating popular service oriented architecture (SOA) technologies like Asynchronous JavaScript and XML(AJAX), Java

Embedding Tomcat 5.5.17

2006-10-03 Thread Miguel Correia Ricardo
Hi! I'm embedding tomcat 5.5.17 in my Java Aplication. When I create the engine, it says: StandardEngine[null]. It works, but is it normal? Shouldn't be: StandardEngine[catalina]? Thanks in advance, Miguel Ricardo - To start a

tomcat memory usage questions

2006-10-03 Thread Rizwan Merchant
Hi, We recently developed and deployed a web based application using the following technologies... Struts Spring Hibernate 3.0 Mysql 5.0 tomcat 5.5 Linux Fedora Core 4 After the system went live, I have been monitoring the CPU and memory usages. I dread the outOfMemory errors and am a little

RE: tomcat memory usage questions

2006-10-03 Thread Robert Harper
The memory should peak at some point and the go up and down with need. There are a few things you have to be aware of though. The garbage collector is a very low priority thread so if your server never has a dull moment, you end up exhausting memory just because the garbage collector does not get

Re: tomcat memory usage questions

2006-10-03 Thread Mikolaj Rydzewski
Robert Harper wrote: Another thing to think about is if you are doing a lot of string concatenation the StringBuffer object is much better to use than the String object. StringBuffer will be easier on memory and more efficient. Unless you concatenate strings in multiple threads it's better to

RE: tomcat memory usage questions

2006-10-03 Thread Caldarale, Charles R
From: Robert Harper [mailto:[EMAIL PROTECTED] Subject: RE: tomcat memory usage questions Care in development should be taken with respect to use of objects and having circular references. You can cause memory leaks with circular references because you might leave free and object from the

Re: tomcat memory usage questions

2006-10-03 Thread Rizwan Merchant
Thanks for the response Robert. Is it abnormal to see the mem usage % for tomcat to go as high as 80 or 90%? Currently its only at 11%, but I am wondering at what point I should start panicking. :) Robert Harper wrote: The memory should peak at some point and the go up and down with need.

Using MX4J's HTTP Connector with Tomcat 5.5 and JDK 1.5

2006-10-03 Thread Dan Baumann
Hi, I'd like to get Tomcat 5.5 on JDK 1.5 to use MX4J's HTTP Connector in order to avoid firewall issues. Could someone please provide me with a quick rundown? Thanks Dan - To start a new topic, e-mail:

isapi_redirect.dll

2006-10-03 Thread Reis, Tom
I'm using Tomcat 5.0.25 with Windows 2000 Advanced Server. I am confused with what version of isapi_redirector to use. Any help would be appreciated.

Re: isapi_redirect.dll

2006-10-03 Thread Mladen Turk
Reis, Tom wrote: I'm using Tomcat 5.0.25 with Windows 2000 Advanced Server. I am confused with what version of isapi_redirector to use. Any help would be appreciated. http://tomcat.apache.org/download-connectors.cgi Use 1.2.19 Regards, Mladen.

RES: the future of Tomcat... (JEE 5 and Tomcat 6)

2006-10-03 Thread Paulo Alvim
Thanks Bruno, Have you already tried Seam using Tomcat 5.5 and JSF 1.2? Does it really work? Paulo -Mensagem original- De: Bruno Georges [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 3 de outubro de 2006 09:39 Para: Tomcat Users List Cc: users@tomcat.apache.org Assunto: Re: the

Re: Classloader hierarchy viewer?

2006-10-03 Thread Luis Rivera
If you find something like that, please let me know :). Something like that would prevent a lot of headaches, since Tomact has given me quite some headaches and I have had to find some unwanted work arounds. --Luis R. On 10/2/06, Timothy Collett [EMAIL PROTECTED] wrote: Greetings. Does

RE: IIS 6.0 with JK 1.2.19

2006-10-03 Thread Fisher, Mitchell L
There is no problem with the missing arrow. http://support.microsoft.com/kb/317204/en-us says: In Internet Information Services (IIS) 6.0, an ISAPI filter that has been added at the site level does not load until the Web server has served at least one request to that site. Once I made a request

Re: IIS 6.0 with JK 1.2.19

2006-10-03 Thread Rainer Jung
I'm not sure about the iis redirect, but in general mod_jk only permitts patterns with a leading slash /. So please try /*.jsp. Regards, Rainer Fisher, Mitchell L schrieb: There is no problem with the missing arrow. http://support.microsoft.com/kb/317204/en-us says: In Internet Information

Response already committed

2006-10-03 Thread Dan Adams
I'm getting a problem that appears to occur randomly. If I request the same page in my webapp over and over most of the time it will come up fine but sometimes tomcat won't return anything and I'll get a blank page and this error in the log: Oct 3, 2006 4:20:22 PM org.apache.jk.core.MsgContext

RE: Response already committed

2006-10-03 Thread Caldarale, Charles R
From: Dan Adams [mailto:[EMAIL PROTECTED] Subject: Response already committed I'm getting a problem that appears to occur randomly. If I request the same page in my webapp over and over most of the time it will come up fine but sometimes tomcat won't return anything and I'll get a blank

help with session replication using PersistentManager and FileStore

2006-10-03 Thread Matthew Kennedy
We have a load balancer and several Tomcat instances. Currently this cluster uses sticky sessions, ie. the load balancer routes the request to the Tomcat instance holding the session which belongs to the request. The goal is to change our configuration so that all sessions are persisted to a

RE: Response already committed

2006-10-03 Thread Dan Adams
Hmm, I don't think that is the culprit. I think all of our stuff is thread safe. We're using a framework (Tapestry) which shields us from threading issues like that and prevents us from storing request stuff in the session. Also, if that were the case would that cause problems when loading static

Re: help with session replication using PersistentManager and FileStore

2006-10-03 Thread Peter Rossbach
Simple, Don't use it! Use real In Memory- session replication and Non-Stickyness is not support and usefull at java web application. Please, read the servlet spec. Peter Am 03.10.2006 um 22:46 schrieb Matthew Kennedy: We have a load balancer and several Tomcat instances. Currently this

Tomcat 5.5 / debian : Connection failed

2006-10-03 Thread DeMZed
Hi ! I've setup in my Tomcat 5.5's webapp this pool : Resource name=jdbc/mydb scope=Shareable type=javax.sql.DataSource/ ResourceParams name=jdbc/mydb parameter namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter parameter nameurl/name

Tomcat logging problem

2006-10-03 Thread Tejas Dhedia
Hi, I am running tomcat 5.5.17 under opensuse 10.1 and my JVM version is 1.5.0_06. I am running my tomcat as a seperate tomcat user and starting it at boot time using the following script in /etc/init.d. #!/bin/sh # # Startup script for Tomcat JAVA_HOME=/usr/lib/jvm/java export JAVA_HOME

RE: Tomcat 5.5 / debian : Connection failed

2006-10-03 Thread DeMZed
OK I've found. For .deb Tomcat found on unstable non-free, edit the files in /etc/tomcat5/policy.d/04webapps.policy to add such a line : permission java.net.SocketPermission 127.0.0.1:5432, connect; _ De : DeMZed [mailto:[EMAIL PROTECTED] Envoyé : mercredi 4 octobre 2006 00:08 À :

RE: Tomcat logging problem

2006-10-03 Thread Rick Fisk
I tried your script both ways and it worked flawlessly on a CentOS 3.6 box. I would take a look under which user the jvm is running after you start your script. (ps -ef | grep java) If it is running as root then that might indicate that something about the su command isn't working as expected.

4.1.34 stability vote in progress

2006-10-03 Thread Mark Thomas
All, Just a quick note to let you know that a stability vote is currently taking place for 4.1.34 on the dev list. If you have feedback to provide and are subscribed to the dev list please reply to the relevant thread. If you have feedback (positive or negative) and are not subscribed to the dev