Re: cant make tomcat accept https

2007-11-07 Thread Yavuz Kavus
In tomcat documentation says that if your keystore file in your home directory there is no need to specify keystoreFile in your configuration file. i solved problem by deleting tcnative-1.dll. now it is okey, but when server starts, this time apr is not working. i should think pros and cons : )

no UserTransaction in jndi

2007-11-07 Thread Peter Fischer
Hello, I try to configure a tomcat 6.0.14 to provide a javax.transaction.UserTransaction in jndi java:comp/UserTransaction. For this I added to the GlobalNamingResources in the server.xml Transaction name=UserTransaction auth=Container

speed up the server

2007-11-07 Thread tbt
Hi I'm a newbie to tomcat and i'm using it for a web application. But currently the application is running a bit slow once deployed. Are there any ways to speed up the request/response time in tomcat. Thanks -- View this message in context:

Re: cant make tomcat accept https

2007-11-07 Thread Mark Thomas
Yavuz Kavus wrote: In tomcat documentation says that if your keystore file in your home directory there is no need to specify keystoreFile in your configuration file. i solved problem by deleting tcnative-1.dll. now it is okey, but when server starts, this time apr is not working. i should

Re: speed up the server

2007-11-07 Thread ben short
So your webapp ran pretty fast before it was deployed? Your going to need to provide much more information. Like OS and versions of tomcat, java, database etc and maybe some metrics on how long it takes to process the requests. Also you will want to use a profiler to figure out what part of the

Re: speed up the server

2007-11-07 Thread Dirk Weigenand
Hi, you could use a profiler to find the slow part of your application. regards Dirk Original-Nachricht Datum: Wed, 7 Nov 2007 02:21:30 -0800 (PST) Von: tbt [EMAIL PROTECTED] An: users@tomcat.apache.org Betreff: speed up the server Hi I'm a newbie to tomcat

[OT] webdav client libraries for Java?

2007-11-07 Thread Kristian Rink
Folks; sorry for the OT: Being into building a WebDAV enabled application based on tomcat, I am so far trying to find a way how to programmatically interact with the WebDAV using some kind of Java webdav library - but which one? As far as I have seen so far, there is next to no working,

Re: [OT] Tomcat causing high CPU load

2007-11-07 Thread David kerber
Bob Riaz wrote: Many thanks for all the suggestions. I found a simple tool called StackTrace from http://www.adaptj.com/root/main/tracehowtos#ht0 to help me take thread dumps from Tomcat. I found when the CPU load was high that there was a thread from the suspect web app running. In contrast,

RE: tomcat trouble

2007-11-07 Thread Andrew123
I use jdk 1.6.0_02 and linux. Tomcat has permission to read the .jar files. Exception: org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name '' defined in class path resource [services.xml]: Class that bean class [some.class] depends on not found;

Re: Comet: response.sendRedirect() Problem

2007-11-07 Thread Filip Hanik - Dev Lists
there is a bug in 6.0.14 regarding pipelining HTTP events on a comet connection, your code is correct, try with our current release candidate http://people.apache.org/~remm/tomcat-6/v6.0.15/bin/ Filip Jens Hagel wrote: Hello, I'm trying to use the sendRedirect() function in the begin event

RE: tomcat trouble

2007-11-07 Thread Caldarale, Charles R
From: Andrew123 [mailto:[EMAIL PROTECTED] Subject: tomcat trouble Tomcat doesn't want to extract .jar archives from /WEB-INF/lib directory. So the error message displayed is something like don't want to? Perhaps you could be a bit more precise in the description of the problem. Also

RE: [OT] Tomcat causing high CPU load

2007-11-07 Thread Caldarale, Charles R
From: David kerber [mailto:[EMAIL PROTECTED] Subject: Re: [OT] Tomcat causing high CPU load Instead of using a string, use a StringBuffer and .append() to it Or, if you're on Java 1.5 or 1.6, use a StringBuilder object; it's the same as StringBuffer but without the synchronization

tomcat trouble

2007-11-07 Thread Andrew123
Hi all I use tomcat 5.5.25 and xfire 1.2.6. Tomcat doesn't want to extract .jar archives from /WEB-INF/lib directory. When I extract .jar and copy classes to /WEB-INF/classes, all works fine. Can you help me with this trouble? -- View this message in context:

Comet: response.sendRedirect() Problem

2007-11-07 Thread Jens Hagel
Hello, I'm trying to use the sendRedirect() function in the begin event of a simple CometServlet, but nothing happens. Does anyone has an idea what's going wrong? kind regards, jens hagel -- import org.apache.catalina.CometProcessor; import org.apache.catalina.CometEvent;

Re: serving files through SSL

2007-11-07 Thread Roger Parkinson
In both cases the URL is invoke with some javascript that looks like this: function downloadpdf(url) { var pdfWindow = window.open( url ,'pdf','top=0,left=0,width=1000,height=700,toolbar=no,status=no,scrollbars=yes,resizable=yes,menubar=no'); } The application invokes a mix of html and

Running a Script in a web application

2007-11-07 Thread Rocco Scappatura
Hello, I'm tring to run a script inside a web application using JSR223Script class. I get an error and I get to do so that JSR223Script is visible to Tomcat, but I'm not experienced with Java. Here the relative Tomcat log I get: 7-nov-2007 20.41.27 org.apache.catalina.core.ApplicationContext

Re: no UserTransaction in jndi

2007-11-07 Thread Martin Gainty
took a quick gander at http://twiki.atomikos-support.com/bin/view.pl/Main/Tomcat55SelfContainedWar and dont see any auth or name attributes specified Perhaps you are interacting with an EJB server??? M-- - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users

Re: mod_jk - answers from appsrv often changes 'content-type' from text/xml to text/plain

2007-11-07 Thread Rainer Jung
Hi David, Thanks for testing and your feedback. We are going to include some changes in the next about 2 weeks. But those are unrelated to your problem. I think that we understand clearly enough, that the cause for the problems was early flushing, which we now ignore in mod_jk. Yes, I'm always

RE: tomcat trouble

2007-11-07 Thread Caldarale, Charles R
From: Andrew123 [mailto:[EMAIL PROTECTED] Subject: RE: tomcat trouble Exception: org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name '' defined in class path resource [services.xml]: Class that bean class [some.class] depends on not found;

RE: serving files through SSL

2007-11-07 Thread Caldarale, Charles R
From: Roger Parkinson [mailto:[EMAIL PROTECTED] Subject: serving files through SSL I am trying to deliver some PDFs to the browser using my tomcat application. It works, but not always under SSL and IE. This is a known problem with IE. A search of the archives

RE: no UserTransaction in jndi

2007-11-07 Thread Caldarale, Charles R
From: Peter Fischer [mailto:[EMAIL PROTECTED] Subject: no UserTransaction in jndi For this I added to the GlobalNamingResources in the server.xml Transaction name=UserTransaction auth=Container factory=com.atomikos.icatch.jta.UserTransactionFactory / According to the Tomcat

Re: [OT] Tomcat causing high CPU load

2007-11-07 Thread alvaro tovar
the application qhere i work, also have a big charge for the memory, the server have this parametres, and never this crased, i think that this force to free memory, the memory no colapse, but some errors to extrange, i think that free memory that is in use, and this cause problems, kill a sesion,

RE: [OT] Tomcat causing high CPU load

2007-11-07 Thread Bob Riaz
Many thanks for all the suggestions. I found a simple tool called StackTrace from http://www.adaptj.com/root/main/tracehowtos#ht0 to help me take thread dumps from Tomcat. I found when the CPU load was high that there was a thread from the suspect web app running. In contrast, thread dumps

Error: filterStart

2007-11-07 Thread Erica Zhang
Hi, I did not know why but when I restart the tomcat, it report the error message: Error FilterStart. I am using apache-tomcat-5.5.25 on Solaris 10 and I never used filter in the config file. There was a sudden power off and after that this kind of things happend. Could you help me about it ?

Re: Apache Http Server and Tomcat

2007-11-07 Thread Filip Hanik - Dev Lists
yes, if you have tons of static content, or if you want to run PHP, Perl or other scripts as well. Filip bajistaman wrote: Are there good reasons to use an Apache Http Server in front of a Tomcat even if I'm using a HW Load Balancer? Thanks, Johann

Apache Http Server and Tomcat

2007-11-07 Thread bajistaman
Are there good reasons to use an Apache Http Server in front of a Tomcat even if I'm using a HW Load Balancer? Thanks, Johann -- View this message in context: http://www.nabble.com/Apache-Http-Server-and-Tomcat-tf4767546.html#a13636658 Sent from the Tomcat - User mailing list archive at

Re: Problems with a web application running a PHP script

2007-11-07 Thread Rocco Scappatura
Thanks for you hints. I will disinstall all JDK/JRE versions from my PC. I'm dowloading JDK 6 Update 3 and I will install it. No problem, you got me curious about scripting... I Tested with this == protected void processRequest(HttpServletRequest

Re: serving files through SSL

2007-11-07 Thread Gabe Wong
Roger Parkinson wrote: In both cases the URL is invoke with some javascript that looks like this: function downloadpdf(url) { var pdfWindow = window.open( url ,'pdf','top=0,left=0,width=1000,height=700,toolbar=no,status=no,scrollbars=yes,resizable=yes,menubar=no'); } The application

Re: Apache Http Server and Tomcat

2007-11-07 Thread Leon Rosenberg
if you are using a hardware loadbalancer - a clear no. For static content and other stuff lighttpd is a far better choice than apache httpd. regards Leon On Nov 7, 2007 10:39 PM, bajistaman [EMAIL PROTECTED] wrote: Are there good reasons to use an Apache Http Server in front of a Tomcat even

Issue finding Worker using mod_jk ...

2007-11-07 Thread Kim Albee
We are having an issue when setting up integration between Apache 2.0.52 and Tomcat 6.0.14... Here are the mod_jk.log entries: [Wed Nov 07 14:31:25 2007] [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker [Wed Nov 07 14:31:25 2007] [jk_uri_worker_map.c (459)]: Attempting

Re: tomcat trouble

2007-11-07 Thread Konstantin Kolinko
When class cannot be loaded, it usually is a classloader issue. Are you familiar with Tomcat classloaders hierarchy? See here: http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html Note that although Webapp classloader is a child of all the others, but it is being asked first, as if it

LDAP Security

2007-11-07 Thread Shelley
I have a stand-alone webapp which requires authentication against an existing LDAP directory. The tomcat security realm configuration (JNDIRealm) seems to be working correctly, but I'd like to be able to define only one security-role in the deployment descriptor for all authenticated users. (I

Re: LDAP Security

2007-11-07 Thread Martin Gainty
Random This is dependent on the provider you will be implementing with as an example if you want to use the Sybase Provider I invite you to look at configuration parameters available at http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.dc00457_0700/h tml/uaiglpow/BABGJDDF.htm HTH/ M-

Tomcat 6.0.14 and UTF-8 POST form problem

2007-11-07 Thread Yigal Lazarev
Hi, I'm deploying a JSF WAR onto Tomcat 6.0.14 under Windows 2003 with JVM version 1.6.0_03-b05, and using MySQL db. When I submit a form using POST method, and in the server side take the fields and send them as an email using JavaMail- i lose the UTF-8 encoded characters sent in the form. I

Re: serving files through SSL

2007-11-07 Thread Roger Parkinson
I'm opening the PDF in a new window (as the javascript shows) so what I see for the dynamic pdf is: 1) the new window (empty) 2) the download progress dialog 3) an error dialog referring the file name with the message 'cannot write the file to the cache' On the static PDF I don't see 2 or 3

Re: [OT] Tomcat causing high CPU load

2007-11-07 Thread Kev Jackson
Hi, From a programmatic point of view Many thanks for all the suggestions. I found a simple tool called StackTrace from http://www.adaptj.com/root/main/tracehowtos#ht0 to help me take thread dumps from Tomcat. I found when the CPU load was high that there was a thread from the suspect web

RE: WindowsXP, jre1.6.0_03, Tomcat 5.5 - Tomcat Service won't start

2007-11-07 Thread Caldarale, Charles R
From: Ferindo Middleton [mailto:[EMAIL PROTECTED] Subject: WindowsXP, jre1.6.0_03, Tomcat 5.5 - Tomcat Service won't start When I try to start the service I get an error message that Windows was unable to start the service. IIRC, this may be due to msvcr71.dll not being available to the

WindowsXP, jre1.6.0_03, Tomcat 5.5 - Tomcat Service won't start

2007-11-07 Thread Ferindo Middleton
I've installed the Java Software (jre1.6.0_03) and Tomcat 5.5 on my Windows XP computer. When I try to start the service I get an error message that Windows was unable to start the service. Looking at the log file (located at C:\Program Files\Apache Software Foundation\Tomcat

RE: LDAP Security

2007-11-07 Thread Caldarale, Charles R
From: Shelley [mailto:[EMAIL PROTECTED] Subject: LDAP Security I have a stand-alone webapp which requires authentication against an existing LDAP directory. The tomcat security realm configuration (JNDIRealm) seems to be working correctly, but I'd like to be able to define only one

Re: serving files through SSL

2007-11-07 Thread Gabe Wong
Roger Parkinson wrote: I'm opening the PDF in a new window (as the javascript shows) so what I see for the dynamic pdf is: 1) the new window (empty) 2) the download progress dialog 3) an error dialog referring the file name with the message 'cannot write the file to the cache' On the static

RE: Error HTTP STATUS 404

2007-11-07 Thread Caldarale, Charles R
From: Prashant [mailto:[EMAIL PROTECTED] Subject: Error HTTP STATUS 404 polglass.com.au.tmp.anchor.net.au ( Temp server ) Username : vipul password : vipul It's difficult to help when you provide so little information. At least include the version of Tomcat you're using. Your login

Virtual hosts

2007-11-07 Thread Rocco Scappatura
Hello, I would like to know if is there a similar concept to the 'VirtualHost' directive of Apache, in Tomcat. I have set up a web app that respond at the URL http://hostname/path I'ld like to masquarade ti url with another one of the form http://anotherhostname. It is possible to do so in

Error HTTP STATUS 404

2007-11-07 Thread Prashant
Hello I am totally new here ,this is my first project and i am trying to learn a lot of new things so pls be patience . Would really appreciate if some one assist me with this issue polglass.com.au.tmp.anchor.net.au ( Temp server ) Username : vipul password : vipul as soon as I put this

Re: Error HTTP STATUS 404

2007-11-07 Thread Martin Gainty
http://polglass.com.au.tmp.anchor.net.au/apps/default.jsp?posted=Login%20is% 20Incorrect polglass.com.au.tmp.anchor.net.au is the webserver apps is the name of the webapp you are requesting default.jsp is the name of the jsp to access located at $CATALINA_HOME%/webapps/apps/default.jsp M--

Re: WindowsXP, jre1.6.0_03, Tomcat 5.5 - Tomcat Service won't start

2007-11-07 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm Now Tomcat is also a cool pojo application server --- When I change my JRE to a location one that

RE: Tomcat 6.0.14 and UTF-8 POST form problem

2007-11-07 Thread Caldarale, Charles R
From: Yigal Lazarev [mailto:[EMAIL PROTECTED] Subject: Tomcat 6.0.14 and UTF-8 POST form problem * * Converting from ISO to UTF: * String subj = קורות חיים של +new String(((String)nameTextField.getValue()). getBytes(ISO-8859-1), UTF-8); I'm confused: if the text is already in UTF-8, why