RE: When does the MarkSweepCompact Garbage Collector perform GC?

2006-05-30 Thread Richard Mixon
What makes you think the GC should run? Are you out of memory? The GC will not run in many situations unless it has a need to. HTH - Richard -Original Message- From: Benjamin Chu [mailto:[EMAIL PROTECTED] Sent: Monday, May 29, 2006 8:25 PM To: Tomcat Users List Subject: When does the

Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Ahmed . AlGhafri
How i can let Tomcat 5.5.27 listen to any socket connection from the client and handle it ??

Re: When does the MarkSweepCompact Garbage Collector perform GC?

2006-05-30 Thread Benjamin Chu
Thanks for the reply! Does this kind of the GC only run when the memory usage almost reaches the limit which we allocate (for example, by default, it is 64 MB)? Sorry that I am not familiar with the GC. I just know that the JVM would do it for us by itself. Thank you very much! - Original

Re: When does the MarkSweepCompact Garbage Collector perform GC?

2006-05-30 Thread Sameer Acharya
Check out this link might answer few of your queries. http://java.sun.com/docs/hotspot/gc1.4.2/faq.html -Sameer Benjamin Chu [EMAIL PROTECTED] wrote: Hello! Now I am using the jconsole to monitor the heap memory usage of the tomcat 5.5. I've constructed a testbed to test the performance of

Re: Starting tomcat from different directory.

2006-05-30 Thread Markus Schönhaber
Ayusman dikshit wrote: If I am creating a web-application need I put it only in the webapps folder? Yes. Can I put it somewhere else in my directory structure (out of the usual tomcat installation directory) and point tomcat to consider this as a valid web application. Yes. Setting an

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Markus Schönhaber
[EMAIL PROTECTED] wrote: How i can let Tomcat 5.5.27 listen to any socket connection from the client and handle it ?? By starting it. If this answer doesn't seem helpful, you should propably explain a little more precisely what you are trying to achieve. Regards mks

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Ahmed . AlGhafri
My problem is that my servlet running at Tomcat 5.05.17 and my servlet is the default servlet, now i am trying to call this servlet by a Java program that open socket connection... I want Tomcat run this default servlet open once that socket connect to Tomcat Markus Schönhaber [EMAIL

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Ahmed . AlGhafri
My problem is that my servlet running at Tomcat 5.05.17 and my servlet is the default servlet, now i am trying to call this servlet by a Java program that open socket connection... I want Tomcat run this default servlet once that socket connect to Tomcat... Now the connection is done but

Re: Tomcat 5.5 Context Files

2006-05-30 Thread Chris Walker
Thanks Mark. I noticed that, but my objective is to store configuration parameters that are platform-specific outside the webapp. The stuff in the server's context definitions nicely overrides anything in web.xml. Chris --- Mark Petrovic [EMAIL PROTECTED] wrote: Hi. Context fragments can

best transaction manager and connection pool for tomcat

2006-05-30 Thread Vivek Mohan
Hi all, I'm using Tomcat 4 for my web application (don't ask me the reason why) and I was trying to evaluate different transaction managers and connection pool managers. The db is on MS Sql Server 2000. We've tried using JOTM + XAPool but we've run into a lot of connection closure issues. Is

jsvc, Tomcat 5.0.30, Java 1.4.2, X86_64

2006-05-30 Thread Mark F
I have very specific requirements that have been imposed on me (and therefore the servers) that require me to use the following configuration: Tomcat 5.0.xx Sun Java 1.4.2 Applications will be running on a Opteron 275 x86_64 server. I also have the requirement of running tomcat as a user

I cannot not compile

2006-05-30 Thread carrie . latimer
I don't see any errors in the console but I can not locate any *.class files. I am creating an application with a login form, action and jsp. I ask Eclipse to build the project but I cannot locate these files. Is there somewhere I need to be looking for error messages? I also am unsure how to

Re: Tomcat 5.5 Context Files

2006-05-30 Thread Chris Walker
After following up the advice from David and others, I think I've got the configuration I need. I'm posting a minimal version of the setup as it seems to me that this might be a fairly common requirement: - I'm running two applications on a single server; each has its own domain name. -

Re: problem in GC tuning

2006-05-30 Thread charly
But the impact of GC logging on the performance should be low outside of the GC cycles ? Isn't it? Karl-heinz - Original Message - From: Michael Echerer [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, May 26, 2006 4:44 PM Subject: Re: problem in GC

RE: mod_jk.so problems going from Apache 2.0.55 to Apache 2.2.2

2006-05-30 Thread Fenlason, Josh
Any reason you can't use mod_proxy_ajp? I believe that is the recommended method with 2.2.x. , Josh. -Original Message- From: raorba [mailto:[EMAIL PROTECTED] Sent: Monday, May 29, 2006 7:18 PM To: users@tomcat.apache.org Subject: Re: mod_jk.so problems going from Apache 2.0.55 to

Re: I cannot not compile

2006-05-30 Thread Marc Farrow
This seems like a question for an Eclipse mailing list. Tomcat is not a compiler. On 5/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I don't see any errors in the console but I can not locate any *.class files. I am creating an application with a login form, action and jsp. I ask

Re: jsvc, Tomcat 5.0.30, Java 1.4.2, X86_64

2006-05-30 Thread Mark F
Mark F wrote: I have very specific requirements that have been imposed on me (and therefore the servers) that require me to use the following configuration: Tomcat 5.0.xx Sun Java 1.4.2 Applications will be running on a Opteron 275 x86_64 server. I also have the requirement of running

Re: jsvc, Tomcat 5.0.30, Java 1.4.2, X86_64

2006-05-30 Thread Mladen Adamovic
Mark F wrote: Applications will be running on a Opteron 275 x86_64 server. I also have the requirement of running tomcat as a user other than root (part of the reason for jsvc) and the server needs to run on port 80. I'm sure you can see the problem. You could try to run it on the port 8080

Re: Help with Tomcat MySQL using JNDI

2006-05-30 Thread Stephen More
I think I have identified the problem. I deployed a 'broken' HelloWorld war file to tomcat by coping it to apache-tomcat-5.5.17/webapps. Tomcat then expanded it, so there is now both a war file and a expanded directory structure. In all of my attempts to fix the code, I was modifying the code

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Mladen Adamovic
[EMAIL PROTECTED] wrote: I want Tomcat run this default servlet open once that socket connect to Tomcat Do redirect from index.jsp to your servlet. Do something like : % String redirectURL = http://hostname.com/;; response.sendRedirect(redirectURL); % p.s. you should learn

Re: jsvc, Tomcat 5.0.30, Java 1.4.2, X86_64

2006-05-30 Thread Markus Schönhaber
Mark F wrote: 30/05/2006 08:23:18 3057 jsvc.exec debug: user changed to 'tomcat' 30/05/2006 08:23:18 3057 jsvc.exec debug: Using specific JVM in /usr/lib/java/jre/lib/i386/server/libjvm.so 30/05/2006 08:23:18 3057 jsvc.exec debug: Attemtping to load library

Re: Help with Tomcat MySQL using JNDI

2006-05-30 Thread Martin Gainty
Well ..sort of The recommended way of creating a web application is to create a webapp .war and deploy it to %TOMCAT_HOME%\webapps once you accomplish this objective Tomcat will note the new war and create folder %TOMCAT_HOME\webapps\NameOfWebApplicationWar wait a minute ..how does Tomcat

Unable to retrieve list of portlets. Make sure tomcat-users.xml has been edited according to the UserGuide.

2006-05-30 Thread keyur sheth
Hi everybody, I have successfully implemented the SSL and I am also able to redirect the URL from http to https. But doing that on my portal I am getting the error which is below mentioned:- Unable to retrieve list of portlets. Make sure tomcat-users.xml has been

Re: Tomcat 5.5 Context Files

2006-05-30 Thread Tom Miller
Chris, I have been looking for the same solution. Can you share what you had learn? Would you able to put together a howto on this topic? I think it will be a great benefit to the rest of us. Thanks much, Tom Original message Date: Tue, 30 May 2006 13:57:18 +0100 (BST) From:

Re: Is there any documentation of JULI anywhere?

2006-05-30 Thread David Goodenough
On Tuesday 30 May 2006 13:32, David Goodenough wrote: I am trying to work out how to tailor the log entries going into the Catalina log files, and am having no luck at all. I am using Tomcat 5.5.17. I have looked around for documentation of JULI, but I can find nothing which makes sense.

Troubleshooting unexpected Tomcat shutdown

2006-05-30 Thread Dean Maki
Greetings, I'm hoping someone here can give me a pointer or two in troubleshooting an unexpected Tomcat shutdown. I have been searching the mailing list archives and googling (web and groups) for hints on this, but so far with no success. Sometime between March 6 and April 11, I see the

a real solution about maxThreads??

2006-05-30 Thread antarix
Hi there!!! Does anybody know about a solution about this message in log: SEVERE : All threads(*) are currently busy * Increase maxThreads or check servlet status I have been searching on google, but I can´t find a solution. I use Apache-Tomcat 5.5.14, RHEL3,JDK1.5.0 Tnxs in advance!!!

Re: How to hide the keystorePass at the server.xml

2006-05-30 Thread Shankar Unni
Robert Harper wrote: One thing to think of is that if you have to do that to protect it, then everything else on that system is suspect. Yeah, yeah. I used to use this argument a lot, too. But that's like saying: if your harness isn't secure, then why bother with an additional safety net

Re: How to hide the keystorePass at the server.xml

2006-05-30 Thread David Wall
Shankar Unni wrote: Robert Harper wrote: One thing to think of is that if you have to do that to protect it, then everything else on that system is suspect. Yeah, yeah. I used to use this argument a lot, too. But that's like saying: if your harness isn't secure, then why bother with an

Help using mod_proxy_ajp

2006-05-30 Thread bleak
I'm using apache 2.2.2, with mod_proxy_ajp, and tomcat 5.5.17. I'm trying to configure a set up that will allow me to proxy certain URLs like http://ironwire.net/tomcat/ to tomcat for processing. Here are the relevant sections of my current server.xml file, including the contexts I set up to

Re: Configuring Tomcat HTTP server to generate proper links for non-English file names in a Directory Listing

2006-05-30 Thread Mark Thomas
Martin Gainty wrote: You will need download and configure the i18 International jars (which are optional) to enable multi-language functionality This is not correct. These jars are resource bundles only - they have no impact on this issue. Setting URIEncoding=UTF-8 in the connector is probably

Re: Run class in the start up of Tomcat

2006-05-30 Thread Mark Thomas
Asaf Lahav wrote: Is it possible to stop the tomcat shutdown sequence from with in the context listener contextDestroyed function? No. The shutdown process has already started for the application and a number of other components have already been stopped. Mark

Re: Help needed:Context Creation Failed.

2006-05-30 Thread Mark Thomas
Kuldeep Tewari wrote: NamingContextListener [/Standalone/localhost/context path]: Creation of the naming context failed: javax.naming.NamingException: Context is read only Creation of the naming context failed: javax.naming.NamingException: Context is read only. Can you provide 1) your

Re: Troubleshooting unexpected Tomcat shutdown

2006-05-30 Thread Mark Thomas
Dean Maki wrote: Java HotSpot(TM) Client VM warning: cannot install alternate signal stack Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack This is a JVM issue rather than a Tomcat issue. Try the support pages for your JVM. Mark

RE: Tomcat and Apache Connector Problem

2006-05-30 Thread Donald Beck
I put JkMount /jsp-examples ajp13 in my httpd.conf file. I started the services and I still do not see the same as if I typed http://localhost:8080/jsp-examples. Thanks for your help. DB --- Serlet Jean-Claude [EMAIL PROTECTED] wrote: Add the directive JkMount to tell Apache using

Re: Configuring Tomcat HTTP server to generate proper links for non-English file names in a Directory Listing

2006-05-30 Thread Mark Thomas
Martin Gainty wrote: setting URIEncoding=UTF-8 in server.xml works in Gets but for posts Tomcat doesn't use the URIEncoding flag for POSTed form data even when set So, what does Tomcat use for Post? ISO-8859-1. (i18) ISO-8859-1 may be used for POST but it depends on the circumstances. I could

Re: jsvc, Tomcat 5.0.30, Java 1.4.2, X86_64

2006-05-30 Thread Bill Barker
Mark F [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have very specific requirements that have been imposed on me (and therefore the servers) that require me to use the following configuration: Tomcat 5.0.xx Sun Java 1.4.2 Applications will be running on a Opteron 275 x86_64

How can I create/configure a jsp servlet without a .jsp extension

2006-05-30 Thread Sumeet Keswani
This is a very simple question and i hope someone can give me a answer. I have a file called search.jsp that does some trivial search through a database. I want it to be accessible as follows http://www.domain.com/search?LookForThis Currently I have it working like

Re: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Ahmed . AlGhafri
Hi David... I didn't send a request to the servlet I am expecting the servlet to execute on socket open, for that i made my servlet in the Root (The default one)... I want once i connect using the host and port it execute my servlet... David Smith [EMAIL PROTECTED] 30/05/2006 15:04

RE: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Richard Mixon
Tomcat's purpose is to listen for requests and pass them on to the appropriately mapped servlet. Maybe you do not want to use Tomcat, but instead roll your own server that simply listens on a particular port for socket opens. But again, to do this well is not a trivial exercise. The port you

Re: How can I create/configure a jsp servlet without a .jsp extension

2006-05-30 Thread Giorgio Clavelli
I'm not an expert, but considering that JSPs are basically servlets, I'm pretty sure you should find a solution, to satisfy your requirement, by configuring the JSP equivalent of a servlet-mapping in the web.xml of your application. On 5/31/06, Sumeet Keswani [EMAIL PROTECTED] wrote: This

Re: How can I create/configure a jsp servlet without a .jsp extension

2006-05-30 Thread Tamilselvan R
Hi Sumeet Keswani, We can configure the JSP files in web.xml as like we do for servlets. Syntax is explained in the following link http://edocs.bea.com/wls/docs70/webapp/components.html#145275 Hope this solves your problem. :) On 5/31/06, Giorgio Clavelli

RE: Socket Servlet using Tomcat 5.5.17

2006-05-30 Thread Ahmed . AlGhafri
I know that Tomcat's purpose is to listen for requests and pass them on to the appropriately mapped servlet. But i want to use Tomcat's because i will not need to code all the mutli-threading part of it. and if in the future some of the client connect over HTTP, I will have no problem