question on tribes member alive time

2010-03-11 Thread Eddie Hsiung
Hi I'm trying to debug a vendor product which uses Apache Tribes as its cluster communication implementation. I've identified that each member of the cluster derives the master node instance using the aliveTime field of all members of the cluster. The member with the largest aliveTime is

Re: axis2: not seeing validation or administrator links from axis2

2010-03-11 Thread Pid
On 10/03/2010 23:15, Terence Coffey wrote: Hi, Another step in the right direction. 1) /home/tc/TomCat/apache-tomcat-6.0.24/webapps/axis The axis directory did not exist. All other directories were present. r...@tc-laptop:/home/tc/TomCat/apache-tomcat-6.0.24/webapps# ls -asl total 19000 4

Re: Software caused connection abort: recv failed

2010-03-11 Thread Pid
On 11/03/2010 07:58, Kranti™ K K Parisa wrote: could you please explain the reasons for this and any solution to avoid this problem? I've decided that my Internet Telepathy™ service is now chargeable, so if you want answers you'll have to pay $2k an hour (it's a valuable service!).

Re: jvm exits without trace

2010-03-11 Thread Taylan Develioglu
Changing to JIO didn't help, the silent crashes continue. I'm changing kernel versions now. On Fri, 2010-03-05 at 10:45 +0100, Taylan Develioglu wrote: It's performing rather poorly performance wise, compared to the apr connector. The number of threads required to handle the requests has gone

Re: Software caused connection abort: recv failed

2010-03-11 Thread André Warnier
Pid wrote: On 11/03/2010 07:58, Kranti™ K K Parisa wrote: could you please explain the reasons for this and any solution to avoid this problem? I've decided that my Internet Telepathy™ service is now chargeable, so if you want answers you'll have to pay $2k an hour (it's a valuable

Re: jvm exits without trace

2010-03-11 Thread Taylan Develioglu
a different kernel did not help either... On Thu, 2010-03-11 at 11:37 +0100, Taylan Develioglu wrote: Changing to JIO didn't help, the silent crashes continue. I'm changing kernel versions now. On Fri, 2010-03-05 at 10:45 +0100, Taylan Develioglu wrote: It's performing rather poorly

Re: jvm exits without trace

2010-03-11 Thread Carl
Taylan, I am currently trying JVM 1.6.0_7 per Chuck's suggestion and, so far (4 days), it is working. I started down the IBM JVM path but have abandoned that for now due to difficulties with the SSL implementation (somne browsers would work and some wouldn't with seemingly the same setup.)

Re: Tomcat 5.5 Thread Dump Questions

2010-03-11 Thread Tomcat Novice
Hi, Thank you for your suggestion but I cant find jstack anywhere on my tomcat or jdk instance. Any other solution available? On Thu, Mar 11, 2010 at 11:26 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Tomcat Novice [mailto:tomcat.nov...@gmail.com] Subject: Tomcat 5.5

Disabling http connector

2010-03-11 Thread Cummins College
Hi, I know that https by enabling the secure attribute to true. But what if I want to disable the http connector? To elaborate, I want the https connector to be disabled when http runs and vice versa. What changes should be done? However, not by changing the secure attribute. We know most of

Re: Disabling http connector

2010-03-11 Thread Mikolaj Rydzewski
Cummins College wrote: To elaborate, I want the https connector to be disabled when http runs and vice versa. What changes should be done? However, not by changing the secure attribute. Not an answer, but you can enable/disable http/https access to particular resources using

RES: TOMCAT 6 Error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread Gustavo A. Daud
Chuck, I install again the tomcat 6 and now I'm using other user to running tomcat, as you sugest. But, the error persists... Look at this line: Using CLASSPATH: /opt/tomcat6/bin/bootstrap.jar. I perform a search on tomcat files looking for any bootstrap and here the result:

Re: Disabling http connector

2010-03-11 Thread Konstantin Kolinko
2010/3/11 Cummins College cummins.grou...@gmail.com: Hi, I know that https by enabling the secure attribute to true. But what if I want to disable the http connector? To elaborate, I want the https connector to be disabled when http runs and vice versa. I do not understand your question.

Re: RES: TOMCAT 6 Error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread Mark Thomas
On 11/03/2010 12:49, Gustavo A. Daud wrote: Chuck, I install again the tomcat 6 and now I'm using other user to running tomcat, as you sugest. But, the error persists... Look at this line: Using CLASSPATH: /opt/tomcat6/bin/bootstrap.jar. I perform a search on tomcat files looking for

Re: TOMCAT 6 Error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread Konstantin Kolinko
2010/3/11 Gustavo A. Daud gust...@sofisa.com.br: I install again the tomcat 6 How did you install Tomcat? Did you download the proper distributive from http://tomcat.apache.org/ ? - To unsubscribe, e-mail:

Re: Disabling http connector

2010-03-11 Thread André Warnier
Cummins College wrote: Hi, I know that https by enabling the secure attribute to true. But what if I want to disable the http connector? To elaborate, I want the https connector to be disabled when http runs and vice versa. What changes should be done? However, not by changing the secure

RES: TOMCAT 6 Error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread Gustavo A. Daud
Hum, To download tomcat I go to http://tomcat.apache.org/download-60.cgi and get from this link: http://mirror.pop-sc.rnp.br/apache/tomcat/tomcat-6/v6.0.24/src/apache-tomcat-6.0.24-src.tar.gz Is this wrong? De: Konstantin Kolinko

Re: RES: TOMCAT 6 Error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread André Warnier
Mark Thomas wrote: On 11/03/2010 12:49, Gustavo A. Daud wrote: Chuck, I install again the tomcat 6 and now I'm using other user to running tomcat, as you sugest. But, the error persists... Look at this line: Using CLASSPATH: /opt/tomcat6/bin/bootstrap.jar. I perform a search on tomcat

Re: RES: TOMCAT 6 Error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread Mark Thomas
On 11/03/2010 13:23, André Warnier wrote: Mark Thomas wrote: On 11/03/2010 12:49, Gustavo A. Daud wrote: Chuck, I install again the tomcat 6 and now I'm using other user to running tomcat, as you sugest. But, the error persists... Look at this line: Using CLASSPATH:

foreach ant task

2010-03-11 Thread Kaushal Shriyan
Hi can someone here give me example to use foreach ant task to deploy same war to multiple running Tomcat Server? http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html Thanks, Kaushal - To unsubscribe, e-mail:

Re: Disabling http connector

2010-03-11 Thread Peter Crowther
On 11 March 2010 12:24, Cummins College cummins.grou...@gmail.com wrote: We know most of you dont exactly agree or approve of our idea about fiddling with the http connector, but please do help! I don't have enough information to agree, disagree or help. I've never seen a sufficiently clear

RE: axis2: not seeing validation or administrator links from axis2

2010-03-11 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: axis2: not seeing validation or administrator links from axis2 r...@tc-laptop:/home/tc/TomCat/apache-tomcat-6.0.24/webapps# ls -asl total 19000 4 -rw-r--r-- 1 tc tc 376 2007-07-30 16:26 hello.jsp 4 drwxr-xr-x 2 tc tc

RE: Tomcat 5.5 Thread Dump Questions

2010-03-11 Thread Caldarale, Charles R
From: Tomcat Novice [mailto:tomcat.nov...@gmail.com] Subject: Re: Tomcat 5.5 Thread Dump Questions I cant find jstack anywhere on my tomcat or jdk instance. Then you either have a JRE installed, not a JDK, or it's very old. Use a JDK 6 download from java.sun.com. - Chuck THIS

RES: RES: TOMCAT 6 Error: Exception in thread main java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap

2010-03-11 Thread Gustavo A. Daud
That is it... Now it works... I really get the wrong file... I'm sorry for my mistake! But, tankyou all... Mark, Chuck, André and Konstantin... for helping me... I'll pay more attention now... I'm a beginner on tomcat yet... Tank's fellas!!! De: Mark

Applying a servlet filter to a static resource

2010-03-11 Thread Matt Veitas
Hi, I am using Tomcat 6.0.24 and am trying to use a servlet filter on a static resource and am having some troubles as the 2nd request returns a 304. If I could modify the calling code to hit a servlet instead of the static resource, I could use that servlet to read the static resource (JSON),

Re: jvm exits without trace

2010-03-11 Thread Taylan Develioglu
Hi Carl, thanks for the suggestion. I am going to try jvm 1.6.07 regardless of what I said before. Funny coincidence, I tried the ibm jvm as well and ran into a similar issue (part of our ssl implementation uses sun specific libraries). On Thu, 2010-03-11 at 12:38 +0100, Carl wrote: Taylan,

Re: Applying a servlet filter to a static resource

2010-03-11 Thread André Warnier
Caldarale, Charles R wrote: From: Matt Veitas [mailto:mvei...@gmail.com] Subject: Applying a servlet filter to a static resource I am using Tomcat 6.0.24 and am trying to use a servlet filter on a static resource and am having some troubles as the 2nd request returns a 304. Are you sure

Tomcat 6.0.26 Download and Release Notes

2010-03-11 Thread emerson cargnin
In the tomcat 6 download page, it says that 6.0.26 is available, but the links are broken: http://tomcat.apache.org/download-60.cgi I suppose that it is due to be updated at any moment. Besides that, how can I find the release notes for the 6.0.26? Regards Emerson

RE: Tomcat 6.0.26 Download and Release Notes

2010-03-11 Thread Caldarale, Charles R
From: emerson cargnin [mailto:echofloripa.y...@gmail.com] Subject: Tomcat 6.0.26 Download and Release Notes In the tomcat 6 download page, it says that 6.0.26 is available, but the links are broken: http://tomcat.apache.org/download-60.cgi The 6.0.26 version isn't in the archives yet, so

Re: Tomcat 6.0.26 Download and Release Notes

2010-03-11 Thread Mladen Turk
On 03/11/2010 05:03 PM, Caldarale, Charles R wrote: I guess we'll have to be patient. Some problems with syncing to web server. IT should solve this within 24 hours. Regards -- ^TM - To unsubscribe, e-mail:

Re: question on tribes member alive time

2010-03-11 Thread Filip Hanik - Dev Lists
On 03/11/2010 01:46 AM, Eddie Hsiung wrote: Hi I'm trying to debug a vendor product which uses Apache Tribes as its cluster communication implementation. I've identified that each member of the cluster derives the master node instance using the aliveTime field of all members of the cluster.

Re: Tomcat 6.0.26 Download and Release Notes

2010-03-11 Thread emerson cargnin
I managed to download from the main site, but inside the release notes I can't see what are the changes from the 6.0.24. Is there anywhere where I could find this info? Emerson On 11 March 2010 16:15, Mladen Turk mt...@apache.org wrote: On 03/11/2010 05:03 PM, Caldarale, Charles R wrote: I

Re: Tomcat 6.0.26 Download and Release Notes

2010-03-11 Thread Konstantin Kolinko
2010/3/11 emerson cargnin echofloripa.y...@gmail.com: I managed to download from the main site, but inside the release notes I can't see what are the changes from the 6.0.24. Is there anywhere where I could find this info? Wow. It synched. Finally. I think you mean this document:

RE: Tomcat 6.0.26 Download and Release Notes

2010-03-11 Thread Caldarale, Charles R
From: emerson cargnin [mailto:echofloripa.y...@gmail.com] Subject: Re: Tomcat 6.0.26 Download and Release Notes I can't see what are the changes from the 6.0.24. The link is on the left hand side of the doc page. http://tomcat.apache.org/tomcat-6.0-doc/changelog.html - Chuck THIS

Re: Disabling http connector

2010-03-11 Thread Pid
On 11/03/2010 12:24, Cummins College wrote: Hi, I know that https by enabling the secure attribute to true. No. More is required. But what if I want to disable the http connector? You don't. You just want to force the user to use HTTPS, which is not the same thing at all. To

Re: axis2: not seeing validation or administrator links from axis2

2010-03-11 Thread Pid
On 11/03/2010 14:16, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: axis2: not seeing validation or administrator links from axis2 r...@tc-laptop:/home/tc/TomCat/apache-tomcat-6.0.24/webapps# ls -asl total 19000 4 -rw-r--r-- 1 tc tc 376 2007-07-30

Re: Applying a servlet filter to a static resource

2010-03-11 Thread Pid
On 11/03/2010 14:38, Matt Veitas wrote: Hi, I am using Tomcat 6.0.24 and am trying to use a servlet filter on a static resource and am having some troubles as the 2nd request returns a 304. What are you trying to do in the Filter? Post some code. If I could modify the calling code to hit a

Re: question about single Executor for multiple Connectors

2010-03-11 Thread Mark Thomas
On 11/03/2010 17:24, Timothy J Schumacher wrote: My question is: when i access tomcat via port 8080 I see in my logs that the thread that handles my request is called TCThreadPool-N as expected, however if I use port 80, though httpd, I see the name of the thread that handles my request is

Re: Applying a servlet filter to a static resource

2010-03-11 Thread André Warnier
Pid wrote: On 11/03/2010 14:38, Matt Veitas wrote: ... If I could modify the calling code to hit a servlet instead of the static resource, I could use that servlet to read the static resource (JSON), perform some business logic and modify the JSON, and return that to the client, but

Re: Applying a servlet filter to a static resource

2010-03-11 Thread André Warnier
André Warnier wrote: ... I have not tested the following, and it is not based on any certain knowledge based on the HTTP RFCs, so treat with caution, but you could try a cheap trick : In the link to that document in the html page, add a dummy query string, like : instead of

tomcat hangs without anything

2010-03-11 Thread Maurice Mengel
Hi! I am new to tomcat. It try to use it with some servlet (oaicat). It seems to run well on my pc at work, but I cannot run it on my laptop on which I would like to develop. I start it, it looks fine. And after a few seconds or minutes, I doesn't answer any response. I uninstalled already all

Re: tomcat hangs without anything

2010-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maurice, On 3/11/2010 3:42 PM, Maurice Mengel wrote: Hi! I am new to tomcat. It try to use it with some servlet (oaicat). It seems to run well on my pc at work, but I cannot run it on my laptop on which I would like to develop. I start it,

Re: foreach ant task

2010-03-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kaushal, On 3/11/2010 8:52 AM, Kaushal Shriyan wrote: can someone here give me example to use foreach ant task to deploy same war to multiple running Tomcat Server? http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html What have you tried

Re: tomcat hangs without anything

2010-03-11 Thread Maurice Mengel
1) thanks for the very quick response! 2) I get the static page, because it is still in the brower cache, browser is loading, but never actually displays anything; after a very long time, a timeout. How do you describe that? 3) yes stout goes to console, see attachment 4) here is the output of

Re: tomcat hangs without anything

2010-03-11 Thread André Warnier
Christopher Schultz wrote: - windows xp - I start tomcat with bin\startup.bat Can you post everything that shows up on the console during Tomcat startup? IIRC, bin\startup.bat leaves the window open and stdout just goes to the terminal. Not exactly. When you start it via startup.bat,

Re: tomcat hangs without anything

2010-03-11 Thread Maurice Mengel
As far as I can tell, it tells essentially the same. Now I am using different jdk and the catalina.bat run command. I didn't know I could copy from this windows at all. Usually, I use cygwin, but this seems not to make anything easier. C:\Apache\apache-tomcat-6.0.24bin\catalina.bat run Using

Re: tomcat hangs without anything

2010-03-11 Thread Maurice Mengel
4) no other server. I uninstalled apache-http and didn't do anything to tomcat config. I hope this is what you ask me for: !-- A Connector represents an endpoint by which requests are received and responses are returned. Documentation at : Java HTTP Connector:

RE: tomcat hangs without anything

2010-03-11 Thread Caldarale, Charles R
From: Maurice Mengel [mailto:mauricemen...@gmail.com] Subject: Re: tomcat hangs without anything 4) here is the output of jstack. Everything looks pretty normal here. http-8080-1 daemon prio=6 tid=0x0344b000 nid=0x180c in Object.wait() [0x03adf000]    java.lang.Thread.State: WAITING (on

RE: tomcat hangs without anything

2010-03-11 Thread Caldarale, Charles R
From: Maurice Mengel [mailto:mauricemen...@gmail.com] Subject: Re: tomcat hangs without anything I hope this is what you ask me for: It is, and it shows nothing unusual - all pretty standard settings. Example: This time I was able to click 10 times on manager/status and list applications

Re: tomcat hangs without anything

2010-03-11 Thread Maurice Mengel
I have changed server.xml to a ridiculous connectionTimeout value and now it seems to run better. Since I did this for no good reason at all, it is probably not the reason it runs better. Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2

RE: tomcat hangs without anything

2010-03-11 Thread Caldarale, Charles R
From: Maurice Mengel [mailto:mauricemen...@gmail.com] Subject: Re: tomcat hangs without anything Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 / That time value only controls how long Tomcat will wait after a connection

Tomcat Java permission issue -- cannot write to file from a webapp.

2010-03-11 Thread vivri
Hi, I'm new to this forum, and to developing for/using Tomcat in general (and a bit of a novice in programming in general). I tried various websites and tutorials to rectify my problem, with no results. My Apache Tomcat version is 5.5, installed on Ubuntu 8.04 through the aptitude package

RE: axis2:-) not seeing validation or administrator links from axis2

2010-03-11 Thread Terence Coffey
Hi Konstantin and Chuck, Almost there, another few steps taken. - No, It was a new installation. I think these extra files you mentioned were a misguided attempt by me to deploy the axis2.war file using the exploded directory format to resolve my initial problem of msvc(tomcat) not being able to

Re: axis2:-) not seeing validation or administrator links from axis2

2010-03-11 Thread Hassan Schroeder
On Thu, Mar 11, 2010 at 4:15 PM, Terence Coffey terence_j_cof...@yahoo.co.uk wrote: 2 further questions 1. How do I associate style information with the XML file so it's nicely formatted on the screen ? Normally you don't -- XML is for machine consumption. If you want it turned into (X)HTML

Portable

2010-03-11 Thread Asangansi
Sup guyz, i want to create a portable and mobile version of my webapp on a usb stick, so like to hav the gurus advice me on configuration options, files i wouldn't need so it could be lighter and so i wont have to config it when i move 2 another pc. And i'll to ask 'On what platform does Tomcat

RE: Tomcat Java permission issue -- cannot write to file from a webapp.

2010-03-11 Thread Caldarale, Charles R
From: vivri [mailto:victor.i...@gmail.com] Subject: Tomcat Java permission issue -- cannot write to file from a webapp. My Apache Tomcat version is 5.5, installed on Ubuntu 8.04 through the aptitude package manager. If you're just starting with Tomcat, then start with the current version -

RE: axis2:-) not seeing validation or administrator links from axis2

2010-03-11 Thread Caldarale, Charles R
From: Terence Coffey [mailto:terence_j_cof...@yahoo.co.uk] Subject: RE: axis2:-) not seeing validation or administrator links from axis2 I've removed the two directories WEB-INF and META-INF. You need to remove the other files and directories I pointed out as well. When I click on

RE: Tomcat Java permission issue -- cannot write to file from a webapp.

2010-03-11 Thread vivri
Thanks for the quick reply, Chuck. As a quick hack, I moved the records.txt file to my home directory (/root/records.txt) and changed the path in my java code as well. Then I restarted Tomcat (just to be sure), cleared the cache of my browser and tried again - only to find the results

[SOLVED] RE: Tomcat Java permission issue -- cannot write to file from a webapp.

2010-03-11 Thread vivri
I have installed Tomcat 6, and the problem(s) went away. Thanks for the time and for the help, Chuck. Victor. vivri wrote: Thanks for the quick reply, Chuck. As a quick hack, I moved the records.txt file to my home directory (/root/records.txt) and changed the path in my java code as

RE: Tomcat Java permission issue -- cannot write to file from a webapp.

2010-03-11 Thread Caldarale, Charles R
From: vivri [mailto:victor.i...@gmail.com] Subject: RE: Tomcat Java permission issue -- cannot write to file from a webapp. I restarted Tomcat (just to be sure), cleared the cache of my browser and tried again - only to find the results unchanged. I didn't say that moving the file to an

RE: [SOLVED] RE: Tomcat Java permission issue -- cannot write to file from a webapp.

2010-03-11 Thread Caldarale, Charles R
From: vivri [mailto:victor.i...@gmail.com] Subject: [SOLVED] RE: Tomcat Java permission issue -- cannot write to file from a webapp. I have installed Tomcat 6, and the problem(s) went away. From where? I believe that the Ubuntu distribution of Tomcat comes with a security manager enabled

RE: [SOLVED] RE: Tomcat Java permission issue -- cannot write to file from a webapp.

2010-03-11 Thread vivri
I got it from the official site (http://apache.skazkaforyou.com/tomcat/tomcat-6/v6.0.26/bin/apache-tomcat-6.0.26.tar.gz). I don't believe Ubuntu has 6.0.26 in any of their package repositories. This is exactly the same version as on my dev machine, and exhibits the same behavior (with none of the

RE: Tomcat Java permission issue -- cannot write to file from a webapp.

2010-03-11 Thread vivri
Right now this issue is just a curiosity, as I've got the website up and running properly on the other installation, but still... n828cl wrote: On the deployment machine, on the other hand, I am able to load the page while Tomcat isn't running, and even make changes to the website and

[ANN] Apache Tomcat 6.0.26 released

2010-03-11 Thread jean-frederic clere
The Apache Tomcat team announces the immediate availability of Apache Tomcat 6.0.26 stable. This release includes bug-fixes over Apache Tomcat 6.0.24. Note that is version has 4 zip binaries: a generic one and three bundled with Tomcat native binaries for different CPU architectures. Apache

Stopping Catalina From MBean Server

2010-03-11 Thread Gurkan Erdogdu
Hello; Environment : Tomcat 6.0.20 OS : XP Professional 2002 SP3 Is anybody try to stop the catalina engine from jconsole. I have been using Tomcat 6.0.20, and trying to stop Catalina from jconsole. I click Catalina/Service/Catalina/Operations/stop on the MBean view. INFO messages

Re: Portable

2010-03-11 Thread André Warnier
Asangansi wrote: Sup guyz, i want to create a portable and mobile version of my webapp on a usb stick, so like to hav the gurus advice me on configuration options, files i wouldn't need so it could be lighter and so i wont have to config it when i move 2 another pc. And i'll to ask 'On what