RE: How to deploy a web application under Tomcat 5

2004-03-24 Thread Oswald Campesato
Hello, Elisabeth: You can do something like this: cd parent-of-WEB-INF-directory jar cvf myFirstManualWarFile.war . Incidentally, out of curiosity I searched Google with manually creating WAR files and the first entry is a nice Sun Web page that will help you get up to speed with some of this

RE: Help with running Tomcat

2004-06-05 Thread Oswald Campesato
Another simple solution is to redirect stdout and stderr to text file like this: startup.bat 1std1 2std2 where std1 and std2 are quasi-arbitrarily chosen file names. This approach is convenient when you do not want to modify the contents of startup.bat. However, you will need to either open

RE: Tomcat OutOfMemory at 158MB - Not reclaiming any memory overn ight

2004-01-08 Thread Oswald Campesato
On Unix you can also use the truss command to attach to a running process (check Google for examples). I used this technique on a web application and discovered that a file with *static* content was being opened 1,000 times per hour by the application. Before I showed up at the company,

RE: Apache/Tomcat/Struts Certification Proposal

2004-02-20 Thread Oswald Campesato
Hello, Drew: Perception is reality but reality isn't necessarily perception has proven itselt many, many times. People often need credentials in order to _get_ the job but not to actually perform the tasks, especially with the current supply/demand imbalance. Non-technical hiring managers

Re: Hanging tomcat processes on heavy access

2004-02-26 Thread Oswald Campesato
Hello, Chris: I have a couple of suggestions (but no answers). 1) you can attach to a process with the 'truss' command and monitor the read/write activity of the process. Syntax, options, and examples of truss can be had via man truss or Google Unix truss command. This *might* reveal

Re: can't get tomcat 5 to work

2004-02-26 Thread Oswald Campesato
Hello, Joseph: Perhaps you can try starting with startup.bat debug and/or copying some JSPs into webapps\ROOT or webapps\jsp-examples to see if the problem occurs. Oswald Joseph Shraibman [EMAIL PROTECTED] wrote: I set up tomcat 5 but when I try to view a jsp or servlet all I get is a blank

Re: starting tomcat with custom propertys

2004-02-27 Thread Oswald Campesato
Hello, Ukiah: To see what's failing in the script you can try this: set -x catalina.sh You can then type set +x to switch off the display of executed commands or just open another command shell Oswald Ukiah Smith [EMAIL PROTECTED] wrote: I just used JAVA_OPTS =

Re: What is the problem with tomcat 5.0

2004-03-03 Thread Oswald Campesato
Hello, Joao: jmx.jar contains javax/management/ListenerNotFoundException.class and (for me) jmx.jar is in $TOMCAT_HOME/common/lib; perhaps it's not installed on your system. Here's a very simple yet useful Bourne shell script: for jar in `ls *jar` do