Not able to start Tomcat with jvm parameter -Xrunhprof

2005-06-29 Thread Nallapeta Bhaskar
Hello, I have set the environment variable CATALINA_OPTS to -Xmx1536m -Xrunhprof:cpu=samples,file=/var/tmp/hprof.txt. Tomcat is not getting started up. In the catalina.out i noticed the following error: HPROF ERROR: can't write profile file: /var/tmp/hprof.txt. (Write permission is there for

Re: Not able to start Tomcat with jvm parameter -Xrunhprof

2005-06-29 Thread Athol . Kelly
Please remove my name from Tomcat Users List. Thank you, Athol Kelly. IMPORTANT--PLEASE READ*** If this electronic message contains a zipped attachment and you do not have a decompression tool, you can download unZIP (for free) from:

Re: help in setting up

2005-06-29 Thread ganesan malairaja
thankx htmlDIV DIVFONT color=#cc face=Lucida Handwriting, CursiveEMSTRONGIMG height=16 src=http://graphics.hotmail.com/emarrow_right.gif; width=16Ganesan_MalairajaIMG height=16 src=http://graphics.hotmail.com/emarrow_left.gif; width=16/STRONG/EM/FONT/DIV/DIV/html From: Parsons

Using Tomcat for communicating direct TCP/IP?

2005-06-29 Thread Keijo Lehto
Hi, I'm currently working on implementing a Java server, which (in nutshell) listens to certain TCP ports, reads input, processes the data and sends output back to the client depending on how the input processing went. Now, instead of reinventing the wheel, I was wondering whether I could

JK for AIX

2005-06-29 Thread Arnaud HERITIER
Hi guys, I'm trying to install modjk between Tomcat 5.5.7 and Apache 1.3.33 on AIX 5.2 and I have some build errors. I did it some years ago with tomcat 4 on AIX 4.3 and I remember that I needed to add some flags to do it on AIX. Is there anyone who have some information to build the

Load all JSP pages on startup

2005-06-29 Thread Geoffrey
In Tomcat 5.5 (or Jboss 4.0 using Tomcat 5.5), can I load all JSP pages on deployment? I don't want to precompile in my build script, but I do want the server to compile all jsp pages as soon as they are deployed. I can load one jsp page on startup like this: servlet

Regarding JDBC applet server

2005-06-29 Thread reddy.sudheer
Hi In our project we are using Tomcat server(version 5.0.28) and DB2(version 5.1).From time to time we get the following error. ERROR_MSG : [IBM][JDBC Driver] CLI0614E Error sending to the socket, server is not responding. SQLSTATE=08S01 This is happening due to the jdbc applet server stopping

Re: Using Tomcat for communicating direct TCP/IP?

2005-06-29 Thread Bhaskar
Have you given any thoughts on using RMI or JavaSpaces? Bhaskar Keijo Lehto wrote: Hi, I'm currently working on implementing a Java server, which (in nutshell) listens to certain TCP ports, reads input, processes the data and sends output back to the client depending on how the input

RE: Regarding JDBC applet server

2005-06-29 Thread Brereton, Stephen
perhaps connection pooling or timeout? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 29 June 2005 11:24 To: tomcat-user@jakarta.apache.org Subject: Regarding JDBC applet server Hi In our project we are using Tomcat server(version 5.0.28) and DB2(version

RE: connecting IIS and Tomcat

2005-06-29 Thread Brereton, Stephen
Solved this now. I removed all but the specific one I knew I needed and then reset the home page on IIS to point at the app folder. Ta for the suggestions! -Original Message- From: Derrick Koes [mailto:[EMAIL PROTECTED] Sent: 28 June 2005 17:56 To: Tomcat Users List Subject: RE:

Re: Using Tomcat for communicating direct TCP/IP?

2005-06-29 Thread Keijo Lehto
Hi Bhaskar, I've understood (please correct me if I'm wrong) that both JavaSpaces and RMI are somewhat Java-specific techniques. My usage scenario doesn't involve Java clients. In fact, the communication between the clients and the server has been limited to a predefined text-based protocol

AW: Load all JSP pages on startup

2005-06-29 Thread Bernhard Slominski
I don't want to precompile in my build script, With the precompilation you can do the stuff you need, it automatically creates the servlet mapping in the web.xml. The only thing you have to add is the load-on-startup1/load-on-startup part, but I think you can automate this as well. So why

Re: tomcat default page

2005-06-29 Thread Tim Diggins
Are you aware that what is show at http://www.mydomain.com:8080 is the output of the ROOT webapp? You can change this webapp as you like (ofr example to one that just displays an single error page for example). IMHO, best to change this using a deployment method rather than editing the

Re: Mail Session ClassCastException

2005-06-29 Thread Carlos Bracho
Thanks Dirk, you were right, I had the jar files in common/lib and also in the web-inf/lib Thanks again On 6/29/05, Dirk Weigenand [EMAIL PROTECTED] wrote: Hi Carlos, --- Ursprüngliche Nachricht --- Von: Carlos Bracho [EMAIL PROTECTED] An: tomcat-user@jakarta.apache.org Betreff:

SLL on Apache Tomcat 4.1

2005-06-29 Thread Marilyn Belcher
I am trying to register at Verisign for an SSL certificate. We are running Tomcat 4.1 on our server. In order to obtain a CSR on the server, I must specify whether I want the Apache SSL or the Mod SSL. Can you please tell me which option I need to choose? Thanks Marilyn Marilyn Belcher

RE: help in setting up

2005-06-29 Thread Venkat Radha Venkataramanan
Ganesan: You can download the latest and greatest version of Tomcat, unzip it and run the batch file to start it up. That's all to it. -Original Message- From: ganesan malairaja [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28, 2005 11:42 PM To: tomcat-user@jakarta.apache.org Subject:

Re: Problem in Resource declaration

2005-06-29 Thread Larry Meadors
Without more info, my guess is that it doesn't work. Maybe you could tell us *how* it doesn't work. Do you get an error? Does smoke pour out of your server? Do the lights dim? Throw us a bone here. Larry On 6/28/05, Behrang Saeedzadeh [EMAIL PROTECTED] wrote: Hi I want to define a DBCP

Re: SLL on Apache Tomcat 4.1

2005-06-29 Thread Rajasekar
Hi, You can get the SSL for tomcat only. Now thawte and verisign supports ssl for tomcat itself. and Now if you are using Tomcat integrated with Apache, go for Apache SSL. But you can implement SSL only for tomcat. Regards Raj On 6/29/05, Marilyn Belcher [EMAIL PROTECTED] wrote: I am

Convert URL path from directory/ to directory/index.htm (Spring related)

2005-06-29 Thread Andy
Hi, Is there anyway to get Tomcat to convert a request such as myserver.com/directory into myserver.com/directory/index.htm. The reason for this is that in Spring you have to specify a wild card to match against the URL path in order to invoke the DispatcherServlet, if this wild card is *.htm

RE: Convert URL path from directory/ to directory/index.htm (Spring related)

2005-06-29 Thread Allistair Crossley
Hi, You'd normally attempt to do this with URL rewriting at the web server side. I read that tomcat does not really offer URL rewriting at this time if used as a web server, I could be wrong. For what it's worth, we place index.jsp documents in folders that the user may request that do a

Tomcat hang everyday

2005-06-29 Thread Rajasekar
Hi, I am using tomcat5.0 with java1.5.0. Every i have to restart the my tomcat, it is working the day full. but when i come to office nextday i have to restart. What could be the problem? and how can I resolve it. If anyone give me the solutions i would appricate. Rajasekar V.R

Re: Convert URL path from directory/ to directory/index.htm (Spring related)

2005-06-29 Thread Tim Diggins
Hi Andy - Control of what to handle in tomcat and how to forward is fairly limited. (someone posted the relevant parts of the servlet spec) What I do is have tomcat forward all requests to spring, except for ones I really want tomcat's default servlet to handle (static stuff like images,

Re: Tomcat hang everyday

2005-06-29 Thread Tim Diggins
are you using mysql in your webapp? (timeout on connections) Rajasekar wrote: Hi, I am using tomcat5.0 with java1.5.0. Every i have to restart the my tomcat, it is working the day full. but when i come to office nextday i have to restart. What could be the problem? and how can I resolve it.

Re: Tomcat hang everyday

2005-06-29 Thread david . delbecq
Error message could be usefull for you to get help :) Le Mercredi 29 Juin 2005 15:13, Rajasekar a écrit : Hi, I am using tomcat5.0 with java1.5.0. Every i have to restart the my tomcat, it is working the day full. but when i come to office nextday i have to restart. What could be the

Re: AW: Load all JSP pages on startup

2005-06-29 Thread Geoffrey
We have a custom (non-generated) web.xml, with some taglibs and servlets defined in there. Precompilation is tomcat dependend I suppose? Our application has to run on JBoss, Tomcat and Resin. Weblogic and others might be added in the future. I was hoping there was a simple way in the web

AW: AW: Load all JSP pages on startup

2005-06-29 Thread Bernhard Slominski
We have a custom (non-generated) web.xml, with some taglibs and servlets defined in there. Precompilation is tomcat dependend I suppose? You're right precompliation is tomcat dependent, but it works like this that the ant task takes your (non-tomcat dependent) web.xml and just adds the

RE : AW: Load all JSP pages on startup

2005-06-29 Thread LERBSCHER Jean-Pierre
Hi, For WebLogic you can use: - ANT task (wlappc); - appc compiler; - setting the precompile parameter to true in the jsp-descriptor element of the weblogic.xml deployment descriptor to configure WebLogic Server to precompile your JSPs when a Web Application is deployed or re-deployed or when

Boundle in tag library

2005-06-29 Thread Carlos Bracho
Hello. Can I get boundle values using tag library? I try with c:out value=${boundle.title}/ but it does not work -- -- Carlos J, Bracho M. -- e-mail: [EMAIL

Re: RE : AW: Load all JSP pages on startup

2005-06-29 Thread Geoffrey
- setting the precompile parameter to true in the jsp-descriptor element of the weblogic.xml deployment descriptor to configure WebLogic Server to precompile your JSPs when a Web Application is deployed or re-deployed or when WebLogic Server starts up; Can I do that on Tomcat too? :) Tomcat

Norton Antivirus is Blocking Tomcat Service access to Port 5001

2005-06-29 Thread Muriithi O. Kimotho
Hi, I installed the latest tomcat in my WinXP Pro but my Norton Antivirus 2005 shuts the Tomcat Service anytime i fire it up then a popup saying a trojan is trying to communicate via Port 5001. How can i solve this? I cannot start the Tomcat service at all. Norton shuts is down after 3secs

RE: Norton Antivirus is Blocking Tomcat Service access to Port 5001

2005-06-29 Thread David
It's probably XP's firewall that is the culprit (I encountered this when moving from W2K to XP SP2). You'll need to add Tomcat as an exception in the Control Panel, Windows Firewall. -Original Message- From: Muriithi O. Kimotho [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005

RE: Norton Antivirus is Blocking Tomcat Service access to Port 5001

2005-06-29 Thread Peter Crowther
From: Muriithi O. Kimotho [mailto:[EMAIL PROTECTED] I installed the latest tomcat in my WinXP Pro but my Norton Antivirus 2005 shuts the Tomcat Service anytime i fire it up then a popup saying a trojan is trying to communicate via Port 5001. How can i solve this? I cannot start the

AW: AW: Load all JSP pages on startup

2005-06-29 Thread Bernhard Slominski
We have a custom (non-generated) web.xml, with some taglibs and servlets defined in there. Precompilation is tomcat dependend I suppose? You're right precompliation is tomcat dependent, but it works like this that the ant task takes your (non-tomcat dependent) web.xml and just

RE: Norton Antivirus is Blocking Tomcat Service access to Port 5001

2005-06-29 Thread Muriithi O. Kimotho
Funny enough, i have the firewall off but it's still not working. Norton reports the error on Port 5100 the Sokets de Trois v1. Trojan David [EMAIL PROTECTED] wrote:It's probably XP's firewall that is the culprit (I encountered this when moving from W2K to XP SP2). You'll need to add Tomcat as

RE: Norton Antivirus is Blocking Tomcat Service access to Port 5001

2005-06-29 Thread Muriithi O. Kimotho
Actually i dont have the trojan Sokets Tres Trojan, it's only reporting that a program is trying to communicate via Port 5100 which ofcoz is Tomcat...i just bought NAV2005 for 1 year! Peter Crowther [EMAIL PROTECTED] wrote: From: Muriithi O. Kimotho [mailto:[EMAIL PROTECTED] I installed the

Wouter Devisch/BE/EUR/Daikin is out of the office.

2005-06-29 Thread devisch . w
I will be out of the office starting 11/05/2005 and will not return until 04/07/2005. For questions concerning Forecast you can contact Ms. Laurence Hogard and Mr. Antonio Zurro. For questions concerning APO (SAP) you can contact Mr. Luc Dendooven. For other topics or questions you can always

RE: Norton Antivirus is Blocking Tomcat Service access to Port 5001

2005-06-29 Thread David
Try turning on the Firewall and adding port 5100 as an exception. Actually, I've got the path (C:\Tomcat5\bin\tomcat5.exe) to Tomcat 5.5.9 setup as an exception. -Original Message- From: Muriithi O. Kimotho [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 29, 2005 8:08 AM To: Tomcat Users

Re: Convert URL path from directory/ to directory/index.htm (Spring related)

2005-06-29 Thread David Smith
This is also done in Tomcat via welcome-file element in web.xml. Ex.: welcome-file-list welcome-fileindex.htm /welcome-file /welcome-file-list In servlet spec 2.4 (Tomcat 5.0,5.5), this can map to either a physical file or a servlet mapped to that URL. I think in earlier servlet specs, it had

trimSpaces doesn't work

2005-06-29 Thread Dewitte Rémi
It seems my web.xml isn't correct while i still get empty lines. Is it a known problem ? Thanks in advance. Here web.xml is : web-app display-nameQuestionnaire/display-name servlet servlet-namestruts-action/servlet-name

SEVERE: Error listenerStart when starting a context in tomcat 5.0.28

2005-06-29 Thread Joseph Silverman
I get the following error in the catalina.out log when I restart the server, but only for SOME of the contexts. I get the same error when using the manager start these contexts.. SEVERE: Error listenerStart The start fails, of course. Odd thing is, doing a start on these contexts,

How to upload and Deploy from script?

2005-06-29 Thread Matteo Turra
I would like to automate the deploy process. There is a method to perform the upload via script like via browser tomcat manager does? I read tomcat manager docs and seems that command issue via http in form of http://{host}:{port}/manager/deploy?{parameters} the war parameters is a path of a

Re: How to upload and Deploy from script?

2005-06-29 Thread Tim Diggins
check out ant (another apache project) and the tomcat tasks for ant (catalina-ant). lots of stuff in google, in jakarta.apache.org and in archives of this forum on those! -- Tim Matteo Turra wrote: I would like to automate the deploy process. There is a method to perform the upload via

RE : RE : AW: Load all JSP pages on startup

2005-06-29 Thread LERBSCHER Jean-Pierre
I think the simplest way is to write a custom ant task for each deployment (one for weblogic, another for tomcat et jboss). -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Geoffrey Envoyé : mercredi 29 juin 2005 16:29 À : tomcat-user@jakarta.apache.org Objet : Re: RE

disable tomcat in a cluster

2005-06-29 Thread Rogerio Baldini das Neves
Hi I need to disable a Tomcat from my cluster without restart my apache.. Is it possible ? Is there a manager to do this ? Thanks Rogerio Baldini - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Setting BASEDIR in Tomcat 5.0.28

2005-06-29 Thread Dakota Jack
For some reason I cannot get the BASEDIR set right in Tomcat 5.0.28. Isn't it supposed to be set to $CATALINA_HOME ? If not, what? I am using OSX. Thanks for any help. I am used to working with Win$. -- You can lead a horse to water but you cannot make it float on its back. ~Dakota Jack~

Re: jsp include/RequestDispatcher incompatible?

2005-06-29 Thread George Finklang
So before each request dispatcher call I need to call a flush on the out in the JspPage? How do I get access to it? Do I also need to call flush at the end of each request dispatcher call? --George On 6/28/05, Tim Funk [EMAIL PROTECTED] wrote: The out from the jspwriter is NOT the same out as

Re: jsp include/RequestDispatcher incompatible?

2005-06-29 Thread Tim Funk
Try flush first, otherwise you might need to pass a HttpServletResponseWrapper() to include() where the wrapper oversrides getOutputStream() (or getWriter() -Tim George Finklang wrote: So before each request dispatcher call I need to call a flush on the out in the JspPage? How do I get

Re: jsp include/RequestDispatcher incompatible?

2005-06-29 Thread George Finklang
Feh. Easier to just translate the whole jsp into a servlet by hand which is what I already did. --George On 6/29/05, Tim Funk [EMAIL PROTECTED] wrote: Try flush first, otherwise you might need to pass a HttpServletResponseWrapper() to include() where the wrapper oversrides getOutputStream()

How to catch and fix this error

2005-06-29 Thread st946tbf
We have a web app running on Tomcat 5.028. When running at our company, it works. However, it crashes (exits) at client site when access certain page (it used to work). When we ask them to sent us the database used and run it at our company, it works fine. There is an Sql query in this

naming of individual Context files

2005-06-29 Thread Paul Singleton
If I store Context elements... * in individual files (with a .xml extension) in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory (to quote the current Server Configuration Reference docs), do the names of the files (apart from .xml) matter? Must I have only one Context element

how many Manager apps need I configure?

2005-06-29 Thread Paul Singleton
I have two virtual hosts under 5.5.9, on separate IP addresses and with different SSL certificates, each with just one web app. The Manager App HOW-TO says: If you have Tomcat configured to support multiple virtual hosts (websites) you would need to configure a Manager for each. so I did,

Specifying multiple, valid ciphers in standalone tomcat configuration 4.0.29

2005-06-29 Thread Chris Zappala
Hi, I'm trying to specify a list of valid ciphers for a standalone tomcat instance. I've scoured the FAQs, documentation, and googled until my eyes bled. I did find references to the RFC, and to the best of my knowledge, I am specifying the ciphers in compliance with those specifications. I

Host Context Configuration

2005-06-29 Thread Chris. Grobmeier
Hello, its me again. I am trying to configure my tomcat to receive domain.de and map it to the correct context. Apache-Configuration looks OK. In my Localhost-Engine (is this ok? i guess so) i have a seconde host: Host name=domain.de appBase=/etc/tomcat4/webapps/domain_webapp

Apache2 and mod_jk2 POST performance problems (GET is fine)

2005-06-29 Thread Joe Kislo
I have run into what I believe is a problem with mod_jk2, or in the part of tomcat that communicates with mod_jk2. I am running apache 2.0.53, and tomcat 5.0.28. I'm running an ubuntu hoary system, so apache2, libapachje2-mod-jk2 come out of ubuntu archives. The problem I'm running into is that

help for class not found

2005-06-29 Thread MEHMOOD, QAISER
I have created one web application(reminder) and deployed this on the tomcat/webapps with folder name reminder. I put all classes under the reminder/WEB-INF/classes folder , but when I run the jsps and try to access any class, its giving me message No Class Def Found error ,

Re: Setting BASEDIR in Tomcat 5.0.28

2005-06-29 Thread Anoop kumar V
I think the basedir is the path to your webapps folder (excluding the webapp)- u might want to keep it out of the tomcat installation directories to improve portability or any other reason!! Catalina_home is the path to the tomcat installation - In a default tomcat installation these 2 will be

Re: How to catch and fix this error

2005-06-29 Thread Anoop kumar V
One suggestion I can give u (one which I / we follow when faced with a similar situation) is to go to the client site (ot necessarily prod) to debug it. If you have used log4j then there are ways u can enable trace logging in production and catch the problem From the looks of it - does ur

Re: naming of individual Context files

2005-06-29 Thread Tim Funk
No - the name does not matter. I haven't tries more than one context decalration in a file. If it would work - It doesn't feel like a good idea. -Tim Paul Singleton wrote: If I store Context elements... * in individual files (with a .xml extension) in the

Tomcat 5 and encodeRedirectURL

2005-06-29 Thread Ben
Hi Is it true that Tomcat will ignore the encoding if the request scheme and URL protocol are not the same? So if I am currently on http and would like to redirect to https, Tomcat will not encode the https URL even though the the servername and the port are the same for both protocols. This is

Re: Host Context Configuration

2005-06-29 Thread Anoop kumar V
what happens if u remove the standard root-app ?? I think tomcat is showing u the index.html and maybe this is in your domain_webapp. Also shouldn't the line: Context path= docBase=/etc/tomcat4/webapps/domain_webapp.war / be Context path= docBase=/etc/tomcat4/webapps/domain_webapp / Hope

RE: Specifying multiple, valid ciphers in standalone tomcat configuration 4.0.29

2005-06-29 Thread Chris Zappala
I'm going to answer my own question. The cipher attribute is not support in tomcat 4.1.29. Thanks, -chris From: Chris Zappala Sent: Wed 6/29/2005 1:52 PM To: tomcat-user@jakarta.apache.org Subject: Specifying multiple, valid ciphers in standalone tomcat

Re: AW: Load all JSP pages on startup

2005-06-29 Thread QM
On Wed, Jun 29, 2005 at 04:49:10PM +0200, Bernhard Slominski wrote: : When thinking about it again I assume that the precompiled webapp with : Tomcat should also work in any other JSP container, as long as you have the : Tomcat libraries in your classpath, because in the end your compiled JSPs :

making clear

2005-06-29 Thread ganesan malairaja
hi guys i already have apache 2, java jdk 1.4.2 .. i need to know can i use tomcat version 5.0.x or must have version 4.. need to clarify.. thanks alot htmlDIV DIVFONT color=#cc face=Lucida Handwriting, CursiveEMSTRONGIMG height=16 src=http://graphics.hotmail.com/emarrow_right.gif;

Problem with SSL / JSSE in Tomcat using a PKCS12_truststore_ - a curly one

2005-06-29 Thread Nigel Smith
Hi there, I'm having trouble with an interesting problem. I have a keystore and a truststore setup, both as pkcs12 stores. I'm telling tomcat about the keystore by something like the following code (I actually do it in spring, and so I've translated it into plain java code here for