Re: Tomcat with 8 GB memory

2007-07-30 Thread Mohan2005
thanks for the clarifications. ronatartifact wrote: > > If you read the references that I posted, you will see when 32 bit is > faster than 64 bit. > You are not the first guy to ask the question so Microsoft did a pretty > nice test. > > Why is no major hardware vendor selling 32 bit servers

Re: Tomcat with 8 GB memory

2007-07-30 Thread Mohan2005
thanks for the clarifications. Peter Stavrinides wrote: > > This is really not true, (unless the machine in question is more than > four years then performance is faster for some operations and slower for > others), with a new machine you will gain. > > Mohan2005 wrote: >> Hello: >> >> we als

Re: tomcat and cookies problem

2007-07-30 Thread Bill Barker
>"Vaduvoiu Tiberiu" <[EMAIL PROTECTED]> wrote in message > >news:[EMAIL PROTECTED] >Hi, guys. I'm running tomcat 6.0.3 and I'm having a problem with cookies in >jsp. After I set a cookie time using >cookie.setMaxAge(3600), when I run >cookie.getMaxAge() I get -1 instead of 3600(cookie is a obje

Cannot start Tomcat as a service

2007-07-30 Thread rmiller
I used the kit obtained at http://people.apache.org/~fhanik/wrapper.html to install a Tomcat service. Tomcat starts from the command line using startup.bat but I get the following error when I try to start it as a service: $ ./TomcatService.bat wrapper | --> Wrapper Started as Console wrapper

Re: Tomcat with 8 GB memory

2007-07-30 Thread Karel V Sedlacek
Point taken,... thanks Hassan > On 7/30/07, ben short <[EMAIL PROTECTED]> wrote: > >> If they are uploading files, i >> would imagine that you will need to have enough ram to hold the >> uploaded file before you stream it to disk or database. Although >> Tomcat might be smart? and store the uploa

Re: Tomcat with 8 GB memory

2007-07-30 Thread Karel V Sedlacek
Thanks Ben. > Depends on what the users are doing when they hit your application. If > the are storing lots of data in the session then you'll need enough > ram to hold all the expected data. If they are uploading files, i > would imagine that you will need to have enough ram to hold the > uploade

Re: KLUDGE: WebDav - mapping question?

2007-07-30 Thread Mark Thomas
Johnny Kewl wrote: >> Guys I like this so much, I couldnt wait for a patch, or possible fix. Johnny, Your patch is close but needed a few tweaks to keep the flexibility that the existing WebDAV servlet has. If you are interested you can see what changed in the commit message in the archives: http

Re: Servlets Sending WEBDAV Requests(i.e. PROPPATCH) Work in Tomcat 4.x but not Tomcat 5.x +

2007-07-30 Thread Mark Thomas
Jason Kong wrote: > Greetings > > My Company has a number of servlets that communicate with each other using > Webdav requests, in particular > Requests containing the PROPPATCH verb. Under the tomcat 4.x environment, > there is no issue, but once under tomcat 5.x or even tomcat 6.x, the > request

Re: WebDav - mapping question?

2007-07-30 Thread Mark Thomas
Just to finish this thread off... The MS clients don't handle 302s at all well but this wasn't the problem in this case. Sorry for the mis-direction on my part. The default Tomcat WebDAV configuration is already set up to avoid this 302 issue. The problem in this case was that MS clients make sli

Re: Tomcat and Webdav - [Fatal Error] :-1:-1: Premature end of file

2007-07-30 Thread Mark Thomas
Katilie, John wrote: > All, I'm not sure if I should post this question to the Tomcat or > Commons List server so please let me know if posting it to Tomcat is > Incorrect. This is the right place. > Anyways, I am running Tomcat 5.5.23 and a Standalone Java application > using Common HttpClient t

Re: Unable to build Tomcat

2007-07-30 Thread Markus Schönhaber
Smith Norton wrote: > I get the following error when I try to build tomcat. After I entered > the command.. > > $ ant download > > I got this error => > > > /tomcatjava/tomcat6-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/BasicDataSource.java:44: > org.apache.tomcat.dbcp.dbcp.BasicDataSourc

Re: Tomcat with 8 GB memory

2007-07-30 Thread Hassan Schroeder
On 7/30/07, ben short <[EMAIL PROTECTED]> wrote: > If they are uploading files, i > would imagine that you will need to have enough ram to hold the > uploaded file before you stream it to disk or database. Although > Tomcat might be smart? and store the uploaded files to disk Nothing to do with

Re: Tomcat with 8 GB memory

2007-07-30 Thread ben short
Depends on what the users are doing when they hit your application. If the are storing lots of data in the session then you'll need enough ram to hold all the expected data. If they are uploading files, i would imagine that you will need to have enough ram to hold the uploaded file before you strea

Re: Tomcat with 8 GB memory

2007-07-30 Thread Karel V Sedlacek
So,... if I have 100s of users planned to hit the same Essbase application via Tomcat (5.0.28), do I need a 64 bit machine? And for us dummies, how do we set the heap and/or other performance-oriented settings? Karel > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > David, > > David kerber w

Re: How to change(override) application path

2007-07-30 Thread Hassan Schroeder
On 7/30/07, Burak Yýlmaz <[EMAIL PROTECTED]> wrote: > i got the solution thank you. If you have free time come and override these > thousands of links:) UltraEdit Program will do this automatization i hope. Don't know anything about UltraEdit, but jEdit does a great job of global search/replace.

Re: How to change(override) application path

2007-07-30 Thread Burak Yýlmaz
i got the solution thank you. If you have free time come and override these thousands of links:) UltraEdit Program will do this automatization i hope. - Original Message From: Hassan Schroeder <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Monday, July 30, 2007 10:54:49 PM Subject: Re:

Re: Run service finished

2007-07-30 Thread Welkey Costa
Great shot, Len This is my problem. I didn't know it could work using the startup.bat! I'm still looking for the answer there. It became easy, after your tip! Thank you so much! - Original Message From: Len Popp <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Monday, July 30, 2007 5:01:

RE: Tomcat Administration

2007-07-30 Thread Caldarale, Charles R
> From: SophieKlusn [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat Administration > > The contents of admin.xml are as follows: That all looks reasonable. > I am still confounded with where the error page is > being served from. Might be time for a full search of your system for the admin mes

Re: Tomcat with 8 GB memory

2007-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David kerber wrote: > Nelson, Tracy M. wrote: >> | From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> | Sent: Friday, 27 July, 2007 18:25 >> | | First of all, no home user ever bought an 8-bit machine. >> >> Oh, I'll bet there are a ton of

RE: Tomcat Administration

2007-07-30 Thread SophieKlusn
Chuck, Thanks again, The contents of admin.xml are as follows: I don't think it is a files permission issue. I have given tomcat user the role of admin as well. I am still confounded with where the error page is being served from. I really appreciate your help. Thanks so much,

Re: Run service finished

2007-07-30 Thread Len Popp
That looks like it might be this problem: http://issues.apache.org/bugzilla/show_bug.cgi?id=41538 There are a couple of workarounds suggested there. -- Len On 7/30/07, Welkey Costa <[EMAIL PROTECTED]> wrote: > Hi, Everyone > I can't start my tomcat server and i don't know why! > I have this log f

Re: Tomcat with 8 GB memory

2007-07-30 Thread David kerber
Nelson, Tracy M. wrote: | From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Sent: Friday, 27 July, 2007 18:25 | | First of all, no home user ever bought an 8-bit machine. Oh, I'll bet there are a ton of former Apple ][, TRS-80 and Commodore Pet/64/VIC owners who would beg to differ... I

RE: Tomcat Administration

2007-07-30 Thread Caldarale, Charles R
> From: SophieKlusn [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat Administration > > I don't know what you mean by multiple elements. In conf/server.xml, there must be at least one element, which uses the name "localhost" by default, and has an appBase attribute with the value "webapps". If

Re: How to change(override) application path

2007-07-30 Thread Hassan Schroeder
On 7/30/07, Burak Yýlmaz <[EMAIL PROTECTED]> wrote: > I am also not sure i will ask about it on Sun Java Forums. If i get any > working valuable solution i will write here. The "solution" is to use absolute links and follow David's suggestion -- ${pageContext.request.contextPath}/path/to/resource

RE: Tomcat with 8 GB memory

2007-07-30 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat with 8 GB memory > > Yes... and I still have my old Tandy Color Computer :-). My Model I TRS-80 still boots... slowly... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is th

RE: Tomcat Administration

2007-07-30 Thread SophieKlusn
Dear Charles, Thanks so much for your help. Yes, I did make sure that I emptied the browser cache (both IE and Firefox). And yes, I restart the same tomcat instance where I deleted the webapps/ROOT/admin folder. I don't know what you mean by multiple elements. In conf/catalina/ I have localhost

Re: Tomcat with 8 GB memory

2007-07-30 Thread David Smith
Yes... and I still have my old Tandy Color Computer :-). It was a good machine for it's time. --David Nelson, Tracy M. wrote: | From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Sent: Friday, 27 July, 2007 18:25 | | First of all, no home user ever bought an 8-bit machine. Oh, I'll bet

Unable to build Tomcat

2007-07-30 Thread Smith Norton
I get the following error when I try to build tomcat. After I entered the command.. $ ant download I got this error => /tomcatjava/tomcat6-deps/dbcp/src/java/org/apache/tomcat/dbcp/dbcp/BasicDataSource.java:44: org.apache.tomcat.dbcp.dbcp.BasicDataSource is not abstract and does not override a

RE: Tomcat with 8 GB memory

2007-07-30 Thread Nelson, Tracy M.
| From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Sent: Friday, 27 July, 2007 18:25 | | First of all, no home user ever bought an 8-bit machine. Oh, I'll bet there are a ton of former Apple ][, TRS-80 and Commodore Pet/64/VIC owners who would beg to differ...

RE: Tomcat Administration

2007-07-30 Thread Caldarale, Charles R
> From: SophieKlusn [mailto:[EMAIL PROTECTED] > Subject: Tomcat Administration > > I have no clue from where the error page is being > served cause I deleted the admin directory from > webapps/ROOT folder. 1) Are you sure you emptied the browser cache? 2) Are you sure you're accessing the same

Re: How to change(override) application path

2007-07-30 Thread Burak Yýlmaz
I am also not sure i will ask about it on Sun Java Forums. If i get any working valuable solution i will write here. - Original Message From: Lyallex <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Monday, July 30, 2007 10:17:48 PM Subject: Re: How to change(override) application path

Tomcat Administration

2007-07-30 Thread SophieKlusn
Hi, Need help from someone. I've downloaded and installed admin package for Tomcat 5.5.20. However, I still see this message: Tomcat's administration web application is no longer installed by default. Download and install the "admin" package to use it. I came across several posts where people ha

Re: How to change(override) application path

2007-07-30 Thread David Smith
It's the browser that composes the full URL from the request URL and the relative path. The base tag can override the use of the request URL. If the relative path starts off with '/', the browser assumes the resource to come from the same server/port over the same protocol and makes a request

RE: getting more detailed logging in tomcat

2007-07-30 Thread Caldarale, Charles R
> From: Duin, Harry [mailto:[EMAIL PROTECTED] > Subject: getting more detailed logging in tomcat > > I have set up Tomcat 6.0.10 and got my first servlet app working with > windows and Eclipse. I am looking at the files in the logs directory, > but see NO logging of the HTTP messages Don't suppo

Re: Run service finished

2007-07-30 Thread Welkey Costa
Yes, i've already tried that! My webapp is running, tested, ready to use, but the tomcat doesn't work! thank you anyway - Original Message From: "Asensio, Rodrigo" <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Monday, July 30, 2007 4:03:41 PM Subject: RE: Run service finished Are you

getting more detailed logging in tomcat

2007-07-30 Thread Duin, Harry
Hi, I have set up Tomcat 6.0.10 and got my first servlet app working with windows and Eclipse. I am looking at the files in the logs directory, but see NO logging of the HTTP messages (including the servlet calls) In short, I want to know more of what is going on at the HTTP protocol level. I h

Re: How to change(override) application path

2007-07-30 Thread Lyallex
Not sure I really understand what you are saying. By the time the response is generated it's too late, you need to ensure that the paths are correct when the request is submitted (or at least that they are in a suitable state to be resolved by Tomcat). I don't think the response is the right plac

Re: Catalina.bat and Tomcat 5.5.23

2007-07-30 Thread Venkat Venkataramanan
Varuna: The batch file checks if there is an environmental variable called CATALINA_HOME" set. If it is not set, it creates the Environmental variable set to the directory, CURRENT_DIR is set to. Then it Then it checks for the batch file, catalina.bat, in "%CATALINA_HOME%\bin". If it is there, th

RE: Run service finished

2007-07-30 Thread Asensio, Rodrigo
Are you running a plain installation without any webapp running (excluding the defaults) ? Did you tried that ? -Original Message- From: Welkey Costa [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 2:47 PM To: users@tomcat.apache.org Subject: Run service finished Hi, Everyone I ca

Re: How to change(override) application path

2007-07-30 Thread Burak Yýlmaz
Its an amazing solution for me that i was looking for something like this exactly... But originally it would be better if i could send and set this from java response like response.BasePath=global value; I looked at response functions its not directly possible. Or is it? Thank you Note:Previou

Re: Catalina.bat and Tomcat 5.5.23

2007-07-30 Thread David kerber
Varuna Seneviratna wrote: Can you please explain the following rem Guess CATALINA_HOME if not defined set CURRENT_DIR=%cd% if not "%CATALINA_HOME%" == "" goto gotHome //What is meant by this, Does it mean if Catalina Home is not equal to "" then Yes: if environment variable CATALINA_HOME i

Re: How to change(override) application path

2007-07-30 Thread Burak Yýlmaz
Its an amazing solution - Original Message From: Lyallex <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Monday, July 30, 2007 9:29:01 PM Subject: Re: How to change(override) application path Hi I've had all sorts of problems understanding how relative links are resolved so I found th

Run service finished

2007-07-30 Thread Welkey Costa
Hi, Everyone I can't start my tomcat server and i don't know why! I have this log file, [2007-07-26 18:22:47] [info] Running Service... [2007-07-26 18:22:47] [info] Starting service... [2007-07-26 18:22:47] [174 javajni.c] [error] Nao foi possivel encontrar o modulo especificado. [2007-07

Catalina.bat and Tomcat 5.5.23

2007-07-30 Thread Varuna Seneviratna
Can you please explain the following rem Guess CATALINA_HOME if not defined set CURRENT_DIR=%cd% if not "%CATALINA_HOME%" == "" goto gotHome //What is meant by this, Does it mean if Catalina Home is not equal to "" then CATALINA_HOME=%CURRENT_DIR% //what is the need to execute

Re: Catalina.bat and Tomcat 5.5.23

2007-07-30 Thread Lyallex
Google 'dos batch files' There are all sorts of tutorials out there. Rgds Duncan On 7/30/07, Varuna Seneviratna <[EMAIL PROTECTED]> wrote: > Hi Can somebody direct me to understand Catalina.bat after opening it using > a Text editor or point me where I can get the information. The Tomcat > docum

Re: How to change(override) application path

2007-07-30 Thread Lyallex
Hi I've had all sorts of problems understanding how relative links are resolved so I found this solution somewhere and it works well for me All my pages import a header file (header.jsp) in header.jsp I have this <% String basePath = request.getScheme()+"://"+request.getServerName()+"/"; %>

Re: Catalina.bat and Tomcat 5.5.23

2007-07-30 Thread Hassan Schroeder
On 7/30/07, Varuna Seneviratna <[EMAIL PROTECTED]> wrote: > Hi Can somebody direct me to understand Catalina.bat It's just a Windows "batch" file -- the equivalent of a shell script in the *nix world. -- Hassan Schroeder [EMAIL PROTECTED] ---

Re: sessions not persisting between servlet calls

2007-07-30 Thread Chase Yarbrough
Hey All, Thanks for all your help. I've fixed it! For future reference, the problem was similar to what was described. The path in the cookie was different because I proxied /webappnameservlets to /webappname. When I changed the proxy so that the directory names matched, the sessions started w

RE: Quesion on starting tomcat (as a windows service) from Ant

2007-07-30 Thread Asensio, Rodrigo
Yo don't have to restart anything to redeploy your WAR What I see is that your autoDeploy is ON. Just drop the new WAR , tomcat will do all the work for you. -Original Message- From: Lenny Wintfeld [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 2:07 PM To: users@tomcat.apache.or

Re: How to change(override) application path

2007-07-30 Thread Hassan Schroeder
On 7/30/07, Burak Yýlmaz <[EMAIL PROTECTED]> wrote: > My links was not starting with "/" i misswrote it sorry. > > now when i wrote my links starting with "/" and links are like; > /images/xxx.jpg > and the images are displayed now. Anyway i now i have to put "/" on the start > of my every link...

Quesion on starting tomcat (as a windows service) from Ant

2007-07-30 Thread Lenny Wintfeld
I'm running tomcat locally on WinXP as a service. Now I'm starting to do webapp development. By experiment I've found the way to re-deploy a webapp when running Tomcat as a service is: Stop Tomcat service (with Procrun) Remove the subdirectory of the webapp to be updated from .../Tomcat 5

Re: How to do this

2007-07-30 Thread Varuna Seneviratna
Thank you very much Gregor for your anger wrapped help with all the RESPECT Varuna On 7/27/07, Gregor Schneider <[EMAIL PROTECTED]> wrote: > > ok, this information is for free, the next one you'll have to pay me for: > > they keys of software.distributions are check-sums over the > pr

Re: How to change(override) application path

2007-07-30 Thread Burak Yýlmaz
My links was not starting with "/" i misswrote it sorry. now when i wrote my links starting with "/" and links are like; /images/xxx.jpg and the images are displayed now. Anyway i now i have to put "/" on the start of my every link... I still didnt understand this path system is supplied by tomc

Catalina.bat and Tomcat 5.5.23

2007-07-30 Thread Varuna Seneviratna
Hi Can somebody direct me to understand Catalina.bat after opening it using a Text editor or point me where I can get the information. The Tomcat documentation does n,t include much Thanks Varuna

Re: Tomcat doubts

2007-07-30 Thread David Smith
ROOT.xml defines the ROOT context to tomcat for deployment. ROOT is a special context referring to the default context accepting requests when no other webapp handles it. The other two files (database.properties and datasource.properties) are specific to your ROOT webapp by all appearances.

Re: How to change(override) application path

2007-07-30 Thread David Smith
Personally I would find a good tool to automate the task and just change the links. Your solution might work as a temporary solution, but sooner or later I would think the links would need changing anyway. Additionally you might want to take a close look at your code and see if there is any w

Re: How to change(override) application path

2007-07-30 Thread Hassan Schroeder
On 7/30/07, Burak Yýlmaz <[EMAIL PROTECTED]> wrote: > my links to images,css,js are like below in jsp files; > > /images/xxx.jpg > /js/xxx.js > /css/xxx.css > > solution is fully re rewriting the url's i know like; No, not at all. If your links are really absolute paths, it should just work. The

Re: COMET - Delays in output

2007-07-30 Thread Sebastiaan van Erk
FelixG wrote: I'm testing in Eclipse/WinXP locally and on a solaris8 machine over a local network. The delay is occuring on both Tomcats. Ok, locally at least you shouldn't be experiencing any proxy hinder. :-) The flush should immediately push the data to the client. Did you try using netca

Tomcat doubts

2007-07-30 Thread André Vila Cova
Hi! Do you have 2 minutes of your time to explain me some doubts? Well, first of all: I'm trying to understand diffent configuration files. What's exactly the goal of ROOT.xml, database.properties and datasource.properties? ../conf/Catalina/localhost/ROOT.xml ../WEB-INF/classes/databa

Re: COMET - Delays in output

2007-07-30 Thread Filip Hanik - Dev Lists
FelixG wrote: Hi, I'm trying to implement the comet code-example from the Tomcat documentation, using Tomcat 6.0.13, Http11NioProtocol is working and my servlet is implementing CometProcessor. I am trying to write into the response's PrintWriter with this code in event(): if (event.getEventType(

Re: How to change(override) application path

2007-07-30 Thread Burak Yýlmaz
my links to images,css,js are like below in jsp files; /images/xxx.jpg /js/xxx.js /css/xxx.css solution is fully re rewriting the url's i know like; http://www.mydomain.com/images/xxx.jpg But its hard to change thousands of links and i thought if it is logical or not so i looked to a solution

LDAP authentication

2007-07-30 Thread Kim-Vân Ho-Dac
Hi, I'm getting started with Tomcat's Realm authentication with LDAP. I've performed the following steps to authenticate users in my web application : - put ldap.jar in $TOMCAT_HOME/common/lib - modified $TOMCAT_HOME/conf/server.xml as follows : ldap://my_url:389"; use

Re: How to change(override) application path

2007-07-30 Thread David Smith
How is the jsp composing the relative urls to images and stylesheets? I typically have jsps reference urls by doing ${pageContext.request.contextPath}/path/to/resource.jpg for example. That fills in the context path and forms a site absolute path to the resource. The jsp can move around and

RE: How to Understand Catalina.bat

2007-07-30 Thread Propes, Barry L
it's pretty much all written in Java. -Original Message- From: Varuna Seneviratna [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 10:43 AM To: Tomcat Subject: How to Understand Catalina.bat Can somebody direct me where to get information about Catalina.bat, What is the Programming

Re: Vista woes.. SOLVED (port no. issue..)

2007-07-30 Thread maya
Caldarale, Charles R wrote: From: news [mailto:[EMAIL PROTECTED] On Behalf Of maya Subject: Re: Vista woes.. SOLVED (port no. issue..) yesterday when I was trouble-shooting this I saw somewhere an error that port 80 was being used already... Probably some flavor of IIS that comes preinstalled

How to change(override) application path

2007-07-30 Thread Burak Yýlmaz
My question is related with java but i think the solution is at the tomcat global variables so i need this groups help. I want my web links to be like www.mydomain.com/album/13 with the help of the front controller at java i will translate the url to www.mydomain.com/album.jsp?id=3 and dispatch

How to Understand Catalina.bat

2007-07-30 Thread Varuna Seneviratna
Can somebody direct me where to get information about Catalina.bat, What is the Programming language in which Tomcat is written? Thanks Varuna

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-30 Thread Rainer Jung
Using sticky sessions will allow only requests without sessions to be balanced freely. If you've either got many sessions, or your sessions are relatively short, than load balancing will statistically still good. Only in case of few long lasting sessions, you could experience the problem, that

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-30 Thread ben short
So how does setting sticky sessions to true and the default value for the Load Balancing Directive 'method' (defaults to request) interact then? On 7/30/07, Rainer Jung <[EMAIL PROTECTED]> wrote: > Apart from all the other things I wrote: don't turn off session > stickyness, even if you use repli

Re: how to list all the current webapps of the tomcat into a text file

2007-07-30 Thread oj
Hi, just want to thank you both for your help!!! David Smith-2 wrote: > > If you look at > http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#JMX%20Query%20command > > or the equivalent for your specific version of tomcat, you'll see you > can do this: > > http://localhost:8080/man

RE: Tomcat consuming entire CPU.

2007-07-30 Thread Caldarale, Charles R
> From: Mark Stevens [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat consuming entire CPU. > > Every time I capture the thread using much higher percentage CPU than > all other threads, it's pointing to ' > > "VM Thread" prio=5 tid=0xb12f8 nid=0x4 runnable This is a high-priority background thr

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-30 Thread Rainer Jung
Apart from all the other things I wrote: don't turn off session stickyness, even if you use replication. Turn it off only, if you've got a really good reason. The fact that switching the backend between requests is possible with replication should not lead to the assumption, that it is a good i

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-30 Thread ben short
Hi Rainer, By shutdown I mean I have clicked the 'stop' link on the tomcat manager page. Im also using session replication between the two tomcats. I have just tried turning off firefoxes cache and I see the same result. On 7/30/07, Rainer Jung <[EMAIL PROTECTED]> wrote: > Hi Ben, > > I don't k

RE: Vista woes.. SOLVED (port no. issue..)

2007-07-30 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of maya > Subject: Re: Vista woes.. SOLVED (port no. issue..) > > yesterday when I was trouble-shooting this I saw somewhere > an error that port 80 was being used already... Probably some flavor of IIS that comes preinstalled, or possibly even To

Re: Cannot create resource instance

2007-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amol, Amol Chaudhari wrote: > jndiContextRoot.lookup("java:comp/UserTransaction"); Did you ever setup this JNDI object? Where is the configuration for that? (Please excuse my ignorance... I don't use transations in such a manner). > If I comment out

Re: Vista woes.. SOLVED (port no. issue..)

2007-07-30 Thread maya
yes you're right: I will get rid of CLASSPATH settings; as mentioned in my OP, I don't usu. set it but did so now for trouble-shooting purposes... (and yes SDK is installed, I can compile stand-alone classes fine..) here's what is was: I have always run Tomcat on port 80, just so don't have

Re: Cannot create resource instance

2007-07-30 Thread Amol Chaudhari
Chris, Thanks for the reply. Here's my complete btnSave_action method :- public String btnSave_action() { System.out.println("in btnSave_action..."); UserTransaction userTransaction = null; try { Context jndiContextRoot = new InitialContext(); userTra

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-30 Thread Rainer Jung
Hi Ben, I don't know what exactly you mean by "shutdown", but mod_jk has no memory/cache/buffer for parts or all of an earlier response. It does buffer parts of a request for reusing it during failover, but not with responses and not between different requests. If the webapp is not available

Re: how to list all the current webapps of the tomcat into a text file

2007-07-30 Thread Johnny Kewl
So many ways. pick one http://localhost:8080/manager/list Will give you the stuff in a browser, for the domain. If you look at the file name under Tomcat 5.5.23/conf/Catalina/host They are the loaded WebApps little bit of code will get it for you Maybe Dir *.* > filename will pi

Re: how to list all the current webapps of the tomcat into a text file

2007-07-30 Thread David Smith
If you look at http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html#JMX%20Query%20command or the equivalent for your specific version of tomcat, you'll see you can do this: http://localhost:8080/manager/list and it works just as well using curl or wget as it does with a full web clien

Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-07-30 Thread ben short
Hi, I have a odd issue occurring with my tomcat cluster serving ~50 lines of the page from a stopped webapp. My setup is as follows... Box 1 Apache running a jk mod loadbalancer. It loadbalances between an instance of tomcat on this box and on box 2. Box 2 Apache running a jk mod loadbalancer

how to list all the current webapps of the tomcat into a text file

2007-07-30 Thread oj
Hi, is it possible to list all the currently installed webapps into a file? I want to write a update software for my application so I need the information which webapps are running, does anyone know if i can query this information via the command line? Thanks -- View this message in context:

Re: Tomcat consuming entire CPU.

2007-07-30 Thread Mark Stevens
Hi again, I think I've located the Thread that is consuming the CPU, although I'm none the wiser. Every time I capture the thread using much higher percentage CPU than all other threads, it's pointing to ' "VM Thread" prio=5 tid=0xb12f8 nid=0x4 runnable With no stack trace associated to it, is

Re: Tomcat with 8 GB memory

2007-07-30 Thread Andrew Miehs
Hi Peter, On 30/07/2007, at 11:55 AM, Peter Stavrinides wrote: In theory yes you are right, but remember that a 64bit Integer can also be calculated by a 32bit processor, but only in two CPU cycles, this is where the theoretical advantage of the 64 bit architecture lies. Yes agreed. The

Re: COMET - Delays in output

2007-07-30 Thread john x
It seems must send enough bytes of data to client . try add this code to before you write for(int j=0;j<500;j++){ writer.println(" "); } By the way ,do you try the example of tomcat6.0.13 comet "chat " when I try to login ,the session always comes error ,it never happen in tomcat6.0.10

Re: Tomcat with 8 GB memory

2007-07-30 Thread Peter Stavrinides
Andrew, In theory yes you are right, but remember that a 64bit Integer can also be calculated by a 32bit processor, but only in two CPU cycles, this is where the theoretical advantage of the 64 bit architecture lies. However in reality introducing the 64bit processor also introduces a number

Re: COMET - Delays in output

2007-07-30 Thread FelixG
I'm testing in Eclipse/WinXP locally and on a solaris8 machine over a local network. The delay is occuring on both Tomcats. Sebastiaan van Erk wrote: > > What kind of environment are you testing in? Does the servlet run on > your local development machine or over the network. Are there possib

Kelly J Mulvaney is out of the office.

2007-07-30 Thread Kelly J Flowers
I will be out of the office starting 07/30/2007 and will not return until 08/02/2007. I will respond to your message when I return on August 6th.

Re: Tomcat with 8 GB memory

2007-07-30 Thread Andrew Miehs
On 30/07/2007, at 8:02 AM, Peter Stavrinides wrote: Apologies Ron this was supposed to be directed at Andrew Miehs! Peter Stavrinides wrote: From your comments Ron you obviously didn't understand a thing I wrote, because you have just repeated me! Dear Peter, Obviously! :-) On 29/07/2007

tomcat and cookies problem

2007-07-30 Thread Vaduvoiu Tiberiu
Hi, guys. I'm running tomcat 6.0.3 and I'm having a problem with cookies in jsp. After I set a cookie time using cookie.setMaxAge(3600), when I run cookie.getMaxAge() I get -1 instead of 3600(cookie is a object of type javax.servlet.http.Cookie). As I read on the internet about this issue I und